Function at 0x100d7b50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [0x102d4008]
xor eax, esp
mov dword [esp + 0x78], eax
mov eax, ecx
mov byte [esp + 7], 0
push ebx
push esi
xor ecx, ecx
mov dword [esp + 8], eax
mov esi, dword [eax + 8]
mov ebx, edx
mov edx, dword [ebp + 8]
mov dword [esp + 0x5c], ecx
push edi
mov ecx, dword [esi + 0x6c]
mov edi, dword [ebp + 0x14]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x38], edx
mov dword [esp + 0x40], edi
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x1c], esi
mov dword [esp + 0x64], ecx
cmp dword [esi + 0x70], ecx
jg 0x100d7bce
push 0
push 0
push 0
mov edx, 0x11
mov ecx, esi
call fcn.10086db0
mov edx, dword [esp + 0x44]
add esp, 0xc
mov dword [esp + 0x64], eax
jmp 0x100d7c01
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x11
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edx + 0x10]
xor ecx, ecx
mov ebx, dword [ebx + 0x14]
xorps xmm0, xmm0
mov edi, dword [edi + 0x48]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x4c], edi
movlpd qword [esp + 0x28], xmm0
mov eax, dword [eax + 0xc]
lea eax, [eax + eax*2]
shl eax, 4
add eax, ebx
mov dword [esp + 0x24], eax
cmp ebx, eax
jae 0x100d7db6
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x30], eax
jmp 0x100d7c54
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x4c]
mov edi, dword [ebx]
mov eax, dword [ecx]
or eax, dword [ecx + 4]
jne 0x100d7cc2
test byte [ebx + 0xa], 2
jne 0x100d7cc2
test byte [edi + 4], 1
jne 0x100d7cc2
mov eax, dword [edx + 0x2c]
lea ecx, [esp + 0x68]
mov edx, edi
mov byte [esp + 0x7c], 3
mov dword [esp + 0x6c], fcn.1009de90
mov dword [esp + 0x70], 0x1009dd60
mov dword [esp + 0x80], eax
call fcn.10099120
cmp byte [esp + 0x7c], 0
je 0x100d7cc2
mov edx, edi
mov edi, dword [esp + 0xc]
push 0
push 0
mov ecx, dword [edi]
call fcn.1009cc00
mov edx, dword [esp + 0x5c]
mov ecx, edi
push eax
call fcn.1009c640
add esp, 0xc
mov dword [esp + 0x54], eax
push dword [ebp + 0x10]
mov edx, dword [esp + 0x3c]
mov ecx, ebx
push dword [ebp + 0xc]
call fcn.100d7a80
add esp, 8
test eax, eax
je 0x100d7d97
mov edx, dword [ebx + 0x1c]
xor edi, edi
cmp edx, 0x40
jl 0x100d7cf2
mov dword [esp + 0x20], closesocket
jmp 0x100d7d0b
mov eax, edx
xor ecx, ecx
bts edi, eax
cmp eax, 0x20
cmovae ecx, edi
xor edi, ecx
cmp eax, 0x40
cmovae ecx, edi
mov dword [esp + 0x20], ecx
cmp byte [esp + 0x13], 0
jne 0x100d7d37
mov ecx, dword [esp + 0x18]
add edx, edx
mov eax, dword [ecx + 4]
push dword [eax + edx*8]
push dword [ecx]
push str.automatic_index_on__s__s_
push 0x11c
call sym.BasicSQLite.dll_sqlite3_log
add esp, 0x10
mov byte [esp + 0x13], 1
mov eax, dword [esp + 0x20]
mov ecx, edi
mov edx, dword [esp + 0x34]
and eax, edx
and ecx, dword [esp + 0x30]
or ecx, eax
jne 0x100d7d9b
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x4c]
inc eax
mov dword [esp + 0x44], eax
push eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
call fcn.100d8920
add esp, 4
test eax, eax
jne 0x100d854c
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x34]
or dword [esp + 0x30], edi
mov eax, dword [eax + 0x30]
or edx, dword [esp + 0x20]
mov dword [esp + 0x34], edx
mov dword [eax + ecx*4], ebx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x14], ecx
jmp 0x100d7d9f
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x14]
add ebx, 0x30
cmp ebx, dword [esp + 0x24]
jb 0x100d7c50
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x4c]
jmp 0x100d7dbe
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
movzx eax, cx
not edx
mov word [edi + 0x28], ax
or edx, 0x80000000
mov word [edi + 0x18], ax
not ebx
mov eax, dword [esp + 0x38]
mov dword [edi + 0x24], 0x4241
and edx, dword [eax + 0x3c]
mov ecx, dword [eax + 0x38]
and ebx, ecx
mov eax, dword [esp + 0x18]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], edx
mov edx, 0x3f
mov dword [esp + 0x58], ecx
movzx ebx, word [eax + 0x2a]
mov dword [esp + 0x44], ebx
movzx eax, bx
cmp dx, bx
jge 0x100d7e11
mov dword [esp + 0x20], edx
jmp 0x100d7e1f
movsx edx, bx
mov dword [esp + 0x20], edx
xor edx, edx
cmp dx, ax
jge 0x100d7e6a
mov esi, dword [esp + 0x20]
xor edi, edi
mov ebx, dword [esp + 0x34]
nop dword [eax]
xor edx, edx
xor ecx, ecx
mov eax, edi
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
and edx, dword [esp + 0x30]
and ecx, ebx
or edx, ecx
je 0x100d7e55
inc dword [esp + 0x14]
inc edi
cmp edi, esi
jl 0x100d7e30
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x44]
mov ecx, dword [esp + 0x58]
mov edi, dword [esp + 0x4c]
mov eax, dword [esp + 0x38]
cmp dword [eax + 0x3c], 0
jg 0x100d7e8a
jl 0x100d7e7a
test ecx, ecx
jae 0x100d7e8a
mov ecx, dword [esp + 0x14]
movsx eax, bx
add ecx, 0xffffffc1
add ecx, eax
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x28]
mov ebx, dword [esp + 0xc]
push eax
push 0
lea edx, [edx + 1]
mov ecx, dword [ebx]
call fcn.100ad020
add esp, 8
mov dword [esp + 0x3c], eax
test eax, eax
je 0x100d8550
mov ecx, dword [esp + 0x18]
xorps xmm0, xmm0
mov dword [edi + 0x20], eax
xor edi, edi
mov dword [eax], str.auto_index
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 0x48]
movlpd qword [esp + 0x28], xmm0
mov eax, dword [eax + 0x14]
mov dword [esp + 0x5c], eax
cmp eax, dword [esp + 0x24]
jae 0x100d7fc9
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x58], ecx
push dword [ebp + 0x10]
mov edx, dword [esp + 0x3c]
mov ecx, eax
push dword [ebp + 0xc]
call fcn.100d7a80
add esp, 8
test eax, eax
je 0x100d7fb0
mov eax, dword [esp + 0x5c]
xor edx, edx
mov eax, dword [eax + 0x1c]
movzx ecx, ax
mov dword [esp + 0x28], ecx
cmp eax, 0x40
jl 0x100d7f2e
mov ebx, closesocket
jmp 0x100d7f41
xor ebx, ebx
bts edx, eax
cmp eax, 0x20
cmovae ebx, edx
xor edx, ebx
cmp eax, 0x40
cmovae ebx, edx
mov ecx, edx
mov eax, ebx
and ecx, dword [esp + 0x58]
and eax, dword [esp + 0x44]
or ecx, eax
jne 0x100d7fb0
mov eax, dword [esp + 0x5c]
or dword [esp + 0x58], edx
mov edx, dword [esp + 0x28]
or dword [esp + 0x44], ebx
mov ecx, dword [eax]
mov eax, dword [esi + 4]
mov word [eax + edi*2], dx
mov edx, dword [ecx + 0xc]
mov ebx, dword [ecx + 0x10]
test dword [edx + 4], 0x100
jne 0x100d7f95
test ebx, ebx
je 0x100d7f86
test dword [ebx + 4], 0x100
jne 0x100d7f93
mov ecx, dword [esp + 0xc]
call fcn.1009ba20
test eax, eax
jne 0x100d7fa7
mov edx, ebx
mov ecx, dword [esp + 0xc]
call fcn.1009ba20
mov ecx, 0x102aa584
test eax, eax
je 0x100d7fa9
mov ecx, dword [eax]
mov eax, dword [esi + 0x20]
mov dword [eax + edi*4], ecx
inc edi
mov eax, dword [esp + 0x5c]
add eax, 0x30
mov dword [esp + 0x5c], eax
cmp eax, dword [esp + 0x24]
jb 0x100d7ef6
mov esi, dword [esp + 0x1c]
xor ebx, ebx
cmp dword [esp + 0x20], ebx
jle 0x100d8015
mov esi, dword [esp + 0x3c]
xor edx, edx
xor ecx, ecx
mov eax, ebx
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
and edx, dword [esp + 0x30]
and ecx, dword [esp + 0x34]
or edx, ecx
je 0x100d800a
mov eax, dword [esi + 4]
mov word [eax + edi*2], bx
mov eax, dword [esi + 0x20]
mov dword [eax + edi*4], 0x102aa584
inc edi
inc ebx
cmp ebx, dword [esp + 0x20]
jl 0x100d7fd5
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x38]
cmp dword [eax + 0x3c], 0
jg 0x100d805d
jl 0x100d8027
cmp dword [eax + 0x38], 0
jae 0x100d805d
mov edx, dword [esp + 0x18]
mov eax, 0x3f
mov ebx, dword [esp + 0x3c]
cmp ax, word [edx + 0x2a]
jge 0x100d8061
mov ecx, eax
nop dword [eax]
mov eax, dword [ebx + 4]
mov word [eax + edi*2], cx
inc ecx
mov eax, dword [ebx + 0x20]
mov dword [eax + edi*4], 0x102aa584
inc edi
movsx eax, word [edx + 0x2a]
cmp ecx, eax
jl 0x100d8040
jmp 0x100d8061
mov ebx, dword [esp + 0x3c]
mov eax, dword [ebx + 4]
or ecx, 0xffffffff
mov edx, dword [esp + 0x40]
mov word [eax + edi*2], cx
mov eax, dword [ebx + 0x20]
mov ecx, dword [esp + 0xc]
mov dword [eax + edi*4], 0x102aa584
mov eax, dword [ecx + 0x28]
mov dword [edx + 8], eax
mov eax, dword [esp + 0x40]
inc dword [ecx + 0x28]
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + 0x6c]
inc edx
mov eax, dword [eax + 8]
mov dword [esp + 0x28], eax
cmp dword [esi + 0x70], ecx
jg 0x100d80b3
push 0
push edx
push eax
mov edx, 0x6f
mov ecx, esi
call fcn.10086db0
add esp, 0xc
jmp 0x100d80e6
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x28]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0x6f
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0xc]
mov edx, ebx
mov eax, dword [ecx + 8]
mov dword [esp + 0x28], eax
call fcn.100af470
mov ebx, eax
test ebx, ebx
je 0x100d812c
mov edx, dword [esp + 0x28]
mov ecx, dword [edx]
cmp byte [ecx + 0x51], 0
je 0x100d811a
push ebx
mov edx, 0xfffffff7
call fcn.10087940
add esp, 4
jmp 0x100d812c
mov eax, dword [edx + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x68]
mov byte [eax + ecx*4 - 0x13], 0xf7
mov dword [eax + ecx*4 - 4], ebx
mov edx, dword [esp + 0x40]
movzx eax, byte [edx + 0x34]
lea ecx, [eax + eax*8]
mov eax, dword [esp + 0x48]
mov eax, dword [eax]
mov eax, dword [eax + 4]
test byte [eax + ecx*8 + 0x30], 0x10
lea ebx, [eax + ecx*8]
mov dword [esp + 0x48], ebx
je 0x100d823f
mov ecx, dword [esi + 0x6c]
mov edx, dword [ebx + 0x24]
mov dword [esp + 0x24], edx
mov dword [esp + 0x60], ecx
cmp dword [esi + 0x70], ecx
jg 0x100d8184
push 0
push 0
push 0
mov edx, 0x46
mov ecx, esi
call fcn.10086db0
mov edx, dword [esp + 0x30]
add esp, 0xc
mov dword [esp + 0x60], eax
jmp 0x100d81b7
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x46
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x6c]
mov ebx, dword [ebx + 0x20]
cmp dword [esi + 0x70], ecx
jg 0x100d81db
push ebx
push 0
push edx
mov edx, 0xd
mov ecx, esi
call fcn.10086db0
mov edx, dword [esp + 0x30]
add esp, 0xc
jmp 0x100d820a
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0xd
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], 0
mov ebx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ebx
jg 0x100d822a
push 0
push 0
push edx
mov edx, 0xe
mov ecx, esi
call fcn.10086db0
add esp, 0xc
mov ebx, eax
jmp 0x100d8295
lea eax, [ebx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ebx + ebx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xe
jmp 0x100d8275
mov ebx, dword [esi + 0x6c]
mov edx, dword [edx + 4]
cmp dword [esi + 0x70], ebx
jg 0x100d8262
push 0
push 0
push edx
mov edx, 0x24
mov ecx, esi
call fcn.10086db0
add esp, 0xc
mov ebx, eax
jmp 0x100d8295
lea eax, [ebx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ebx + ebx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x24
mov esi, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 0x10], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 4], edx
mov ecx, dword [esp + 0x54]
test ecx, ecx
je 0x100d82c3
mov eax, dword [esp + 0xc]
push 0x10
dec dword [eax + 0x38]
mov edx, dword [eax + 0x38]
push edx
push ecx
push eax
mov dword [esp + 0x60], edx
call fcn.100a2820
mov eax, dword [esp + 0x5c]
add esp, 0x10
or dword [eax + 0x24], 0x20000
mov ecx, dword [esp + 0xc]
mov al, byte [ecx + 0x13]
test al, al
jne 0x100d82d6
inc dword [ecx + 0x2c]
mov eax, dword [ecx + 0x2c]
jmp 0x100d82e5
dec al
mov byte [ecx + 0x13], al
movzx eax, al
mov eax, dword [ecx + eax*4 + 0x94]
mov edx, dword [esp + 0x3c]
push 0
push 0
push 0
push 0
push eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x54]
push dword [eax + 4]
call fcn.100b12c0
mov ecx, dword [esi + 0x6c]
add esp, 0x18
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 8]
mov dword [esp + 0x28], eax
cmp dword [esi + 0x70], ecx
jg 0x100d8335
mov edx, dword [esp + 0x18]
mov ecx, esi
push 0
push edx
push eax
mov edx, 0x84
call fcn.10086db0
add esp, 0xc
jmp 0x100d8368
mov edx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x84
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x6c]
test ecx, ecx
jle 0x100d8382
mov eax, dword [esi + 0x68]
lea ecx, [ecx + ecx*4]
mov edx, 0x10
mov word [eax + ecx*4 - 0x12], dx
mov ecx, dword [esi + 0x6c]
cmp dword [esp + 0x54], 0
je 0x100d83b6
mov edx, dword [esi + 0xc]
not dword [esp + 0x50]
mov eax, dword [edx + 0x3c]
add eax, dword [edx + 0x38]
jns 0x100d83ac
mov edx, dword [esp + 0x50]
mov ecx, dword [esi + 0xc]
push edx
mov edx, esi
call fcn.10087400
add esp, 4
jmp 0x100d83b6
mov eax, dword [edx + 0x40]
mov edx, dword [esp + 0x50]
mov dword [eax + edx*4], ecx
mov eax, dword [esp + 0x48]
test byte [eax + 0x30], 0x10
je 0x100d846a
mov ecx, dword [esp + 0x60]
test ecx, ecx
jns 0x100d83d0
mov ecx, dword [esi + 0x6c]
dec ecx
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
je 0x100d83df
mov ecx, 0x102e1ed0
jmp 0x100d83e8
mov eax, dword [esi + 0x68]
lea ecx, [ecx + ecx*4]
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x24]
mov edx, ebx
add eax, edi
mov edi, dword [esp + 0x48]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0xc]
push dword [eax + 8]
push dword [edi + 0x28]
push dword [eax + 4]
call fcn.100d79e0
mov ecx, dword [esi + 0x6c]
add esp, 0xc
cmp dword [esi + 0x70], ecx
jg 0x100d8435
push 0
push ebx
push 0
mov edx, 0xb
mov ecx, esi
call fcn.10086db0
add esp, 0xc
and dword [edi + 0x30], 0xffffffef
jmp 0x100d84bf
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
and dword [edi + 0x30], 0xffffffef
jmp 0x100d84bf
mov eax, dword [esp + 0x40]
lea edx, [ebx + 1]
mov ecx, dword [esi + 0x6c]
mov edi, dword [eax + 4]
cmp dword [esi + 0x70], ecx
jg 0x100d8491
push 0
push edx
push edi
mov edx, 5
mov ecx, esi
call fcn.10086db0
add esp, 0xc
jmp 0x100d84bf
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
lea edx, [ebx + 1]
mov dword [eax + ecx*4], 5
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esi + 0x6c]
test edx, edx
jle 0x100d84d9
mov eax, dword [esi + 0x68]
lea ecx, [edx + edx*4]
mov edx, 3
mov word [eax + ecx*4 - 0x12], dx
mov edx, dword [esi + 0x6c]
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
je 0x100d84e8
mov eax, 0x102e1ed0
jmp 0x100d84f9
test ebx, ebx
lea eax, [edx - 1]
cmovns eax, ebx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0xc]
mov dword [eax + 8], edx
test ecx, ecx
je 0x100d851c
mov al, byte [ebx + 0x13]
cmp al, 8
jae 0x100d851c
movzx eax, al
mov dword [ebx + eax*4 + 0x94], ecx
inc byte [ebx + 0x13]
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x100d8531
mov eax, 0x102e1ed0
mov dword [eax + 8], edx
jmp 0x100d8550
mov ecx, dword [esp + 0x64]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x100d8550
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x54]
test eax, eax
je 0x100d8561
mov ecx, dword [ebx]
mov edx, eax
call fcn.1009c990
mov ecx, dword [esp + 0x84]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1010f56f
mov esp, ebp
pop ebp
ret