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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
push ebx
push esi
mov esi, ecx
mov byte [esp + 0xb], 0
push edi
xor ecx, ecx
mov dword [esp + 0x10], esi
mov ebx, edx
mov dword [esp + 0x50], ecx
mov edi, dword [esi + 8]
xor edx, edx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], edx
mov ecx, dword [edi + 0x6c]
mov dword [esp + 0x20], edi
mov dword [esp + 0x54], ecx
cmp dword [edi + 0x70], ecx
jg 0x1018f11c
push edx
push edx
push edx
mov edx, 0x11
mov ecx, edi
call fcn.1013e870
add esp, 0xc
mov dword [esp + 0x54], eax
jmp 0x1018f13f
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x11
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], edx
mov ecx, dword [ebp + 8]
xor edx, edx
mov edi, dword [ebp + 0x14]
xorps xmm0, xmm0
mov ebx, dword [ebx + 0x14]
mov dword [esp + 0x14], edx
mov eax, dword [ecx + 0x10]
mov edi, dword [edi + 0x48]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x28], edi
mov edi, dword [esp + 0x20]
movlpd qword [esp + 0x58], xmm0
mov eax, dword [eax + 0xc]
lea eax, [eax + eax*2]
shl eax, 4
add eax, ebx
mov dword [esp + 0x48], eax
cmp ebx, eax
jae 0x1018f2fc
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x24], eax
jmp 0x1018f199
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x28]
mov esi, dword [ebx]
mov eax, dword [edx]
or eax, dword [edx + 4]
jne 0x1018f20a
test byte [ebx + 0xa], 2
jne 0x1018f20a
test byte [esi + 4], 1
jne 0x1018f20a
mov eax, 3
mov dword [esp + 0x68], fcn.101553e0
mov word [esp + 0x78], ax
mov edx, esi
mov eax, dword [ecx + 0x2c]
lea ecx, [esp + 0x64]
mov dword [esp + 0x6c], 0x101552c0
mov dword [esp + 0x7c], eax
call fcn.10150660
cmp word [esp + 0x78], 0
je 0x1018f20a
mov edx, esi
mov esi, dword [esp + 0x10]
push 0
push 0
mov ecx, dword [esi]
call fcn.101542d0
mov edx, dword [esp + 0x38]
mov ecx, esi
push eax
call fcn.10153d60
add esp, 0xc
mov dword [esp + 0x30], eax
push dword [ebp + 0x10]
mov edx, dword [ebp + 8]
mov ecx, ebx
push dword [ebp + 0xc]
call fcn.1018efe0
add esp, 8
test eax, eax
je 0x1018f2dd
mov edx, dword [ebx + 0x1c]
xor esi, esi
cmp edx, 0x40
jl 0x1018f239
mov dword [esp + 0x38], SysStringLen
jmp 0x1018f252
mov eax, edx
xor ecx, ecx
bts esi, eax
cmp eax, 0x20
cmovae ecx, esi
xor esi, ecx
cmp eax, 0x40
cmovae ecx, esi
mov dword [esp + 0x38], ecx
cmp byte [esp + 0xf], 0
jne 0x1018f27f
lea ecx, [edx + edx*4]
mov edx, dword [esp + 0x3c]
mov eax, dword [edx + 4]
push dword [eax + ecx*4]
push dword [edx]
push str.automatic_index_on__s__s_
push 0x11c
call fcn.10122090
add esp, 0x10
mov byte [esp + 0xf], 1
mov eax, dword [esp + 0x38]
mov ecx, esi
and ecx, dword [esp + 0x24]
and eax, dword [esp + 0x1c]
or ecx, eax
jne 0x1018f2dd
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x28]
inc eax
mov dword [esp + 0x44], eax
push eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
call fcn.1018fe10
add esp, 4
test eax, eax
jne 0x1018fa98
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
or dword [esp + 0x24], esi
mov edx, dword [esp + 0x44]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x14], edx
mov dword [eax + ecx*4], ebx
mov ecx, dword [esp + 0x1c]
or ecx, dword [esp + 0x38]
mov dword [esp + 0x1c], ecx
jmp 0x1018f2e5
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
add ebx, 0x30
cmp ebx, dword [esp + 0x48]
jb 0x1018f196
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x24]
jmp 0x1018f304
mov ecx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x58]
movzx eax, dx
not ecx
mov edx, dword [esp + 0x28]
or ecx, 0x80000000
not ebx
mov word [edx + 0x28], ax
mov word [edx + 0x18], ax
mov eax, dword [ebp + 8]
mov dword [edx + 0x24], 0x4241
and ecx, dword [eax + 0x3c]
mov edx, dword [eax + 0x38]
and ebx, edx
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x24], ebx
mov ebx, 0x3f
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x40], edx
movzx ecx, word [eax + 0x2a]
mov dword [esp + 0x44], ecx
movzx eax, cx
cmp bx, cx
jge 0x1018f35a
mov dword [esp + 0x38], ebx
jmp 0x1018f368
movsx ebx, cx
mov dword [esp + 0x38], ebx
xor ebx, ebx
cmp bx, ax
jge 0x1018f3ac
mov edi, dword [esp + 0x38]
xor ebx, ebx
mov esi, dword [esp + 0x1c]
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 + 0x24]
and ecx, esi
or edx, ecx
je 0x1018f397
inc dword [esp + 0x14]
inc ebx
cmp ebx, edi
jl 0x1018f372
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x3c], 0
jg 0x1018f3cb
jl 0x1018f3bb
test edx, edx
jae 0x1018f3cb
movsx eax, cx
mov ecx, dword [esp + 0x14]
add ecx, 0xffffffc1
add ecx, eax
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x58]
mov ecx, dword [esi]
push eax
push 0
lea edx, [edx + 1]
call fcn.10164090
add esp, 8
mov dword [esp + 0x18], eax
test eax, eax
je 0x1018fa9c
mov ecx, dword [esp + 0x28]
xor ebx, ebx
xorps xmm0, xmm0
movlpd qword [esp + 0x58], xmm0
mov dword [ecx + 0x20], eax
mov ecx, dword [esp + 0x3c]
mov dword [eax], str.auto_index
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 0x4c]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x34], eax
cmp eax, dword [esp + 0x48]
jae 0x1018f520
mov ecx, dword [esp + 0x5c]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x40], ecx
push dword [ebp + 0x10]
mov edx, dword [ebp + 8]
mov ecx, eax
push dword [ebp + 0xc]
call fcn.1018efe0
add esp, 8
test eax, eax
je 0x1018f507
mov eax, dword [esp + 0x34]
xor edx, edx
mov eax, dword [eax + 0x1c]
movzx ecx, ax
mov dword [esp + 0x58], ecx
cmp eax, 0x40
jl 0x1018f46e
mov esi, SysReAllocString
jmp 0x1018f481
xor esi, esi
bts edx, eax
cmp eax, 0x20
cmovae esi, edx
xor edx, esi
cmp eax, 0x40
cmovae esi, edx
mov ecx, edx
mov eax, esi
and ecx, dword [esp + 0x40]
and eax, dword [esp + 0x44]
or ecx, eax
jne 0x1018f507
mov eax, dword [esp + 0x34]
or dword [esp + 0x40], edx
mov edx, dword [esp + 0x58]
or dword [esp + 0x44], esi
mov ecx, dword [eax]
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 4]
mov word [eax + ebx*2], dx
test dword [ecx + 4], 0x200
je 0x1018f4bf
mov esi, dword [ecx + 0xc]
mov edx, dword [ecx + 0x10]
jmp 0x1018f4c5
mov esi, dword [ecx + 0x10]
mov edx, dword [ecx + 0xc]
test dword [edx + 4], 0x100
jne 0x1018f4e8
test esi, esi
je 0x1018f4db
test dword [esi + 4], 0x100
jne 0x1018f4e6
mov ecx, edi
call fcn.10153010
test eax, eax
jne 0x1018f4f3
mov edx, esi
mov ecx, edi
call fcn.10153010
test eax, eax
je 0x1018f4f7
mov ecx, dword [eax]
jmp 0x1018f4fc
mov ecx, 0x10229bbc
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x20]
mov dword [eax + ebx*4], ecx
inc ebx
mov eax, dword [esp + 0x34]
add eax, 0x30
mov dword [esp + 0x34], eax
cmp eax, dword [esp + 0x48]
jb 0x1018f437
mov edi, dword [esp + 0x20]
xor esi, esi
cmp dword [esp + 0x38], esi
jle 0x1018f570
mov edi, dword [esp + 0x18]
nop dword [eax]
xor edx, edx
xor ecx, ecx
mov eax, esi
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
and edx, dword [esp + 0x24]
and ecx, dword [esp + 0x1c]
or edx, ecx
je 0x1018f565
mov eax, dword [edi + 4]
mov word [eax + ebx*2], si
mov eax, dword [edi + 0x20]
mov dword [eax + ebx*4], 0x10229bbc
inc ebx
inc esi
cmp esi, dword [esp + 0x38]
jl 0x1018f530
mov edi, dword [esp + 0x20]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x3c], 0
jg 0x1018f5b3
jl 0x1018f581
cmp dword [eax + 0x38], 0
jae 0x1018f5b3
mov esi, dword [esp + 0x3c]
mov eax, 0x3f
mov edx, dword [esp + 0x18]
cmp ax, word [esi + 0x2a]
jge 0x1018f5b7
mov ecx, eax
mov eax, dword [edx + 4]
mov word [eax + ebx*2], cx
inc ecx
mov eax, dword [edx + 0x20]
mov dword [eax + ebx*4], 0x10229bbc
inc ebx
movsx eax, word [esi + 0x2a]
cmp ecx, eax
jl 0x1018f596
jmp 0x1018f5b7
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 4]
or ecx, 0xffffffff
mov esi, dword [esp + 0x10]
mov word [eax + ebx*2], cx
mov eax, dword [edx + 0x20]
mov ecx, dword [ebp + 0x14]
mov edx, dword [esp + 0x14]
inc edx
mov dword [eax + ebx*4], 0x10229bbc
mov eax, dword [esi + 0x28]
mov dword [ecx + 8], eax
inc dword [esi + 0x28]
mov eax, dword [ecx + 8]
mov ecx, dword [edi + 0x6c]
mov dword [esp + 0x58], eax
cmp dword [edi + 0x70], ecx
jg 0x1018f604
push 0
push edx
push eax
mov edx, 0x63
mov ecx, edi
call fcn.1013e870
add esp, 0xc
jmp 0x1018f637
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x58]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x20]
mov dword [eax + ecx*4], 0x63
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 8]
mov ecx, esi
mov edx, dword [esp + 0x18]
mov dword [esp + 0x58], eax
call fcn.101662d0
mov esi, eax
test esi, esi
je 0x1018f67d
mov edx, dword [esp + 0x58]
mov ecx, dword [edx]
cmp byte [ecx + 0x51], 0
je 0x1018f66b
push esi
mov edx, 0xfffffff7
call fcn.1013f3f0
add esp, 4
jmp 0x1018f67d
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], esi
mov edx, dword [ebp + 0x14]
movzx eax, byte [edx + 0x34]
lea ecx, [eax + eax*8]
mov eax, dword [esp + 0x4c]
mov eax, dword [eax]
mov eax, dword [eax + 4]
test byte [eax + ecx*8 + 0x30], 0x10
lea esi, [eax + ecx*8]
mov dword [esp + 0x4c], esi
je 0x1018f78f
mov ecx, dword [edi + 0x6c]
mov edx, dword [esi + 0x24]
mov dword [esp + 0x48], edx
mov dword [esp + 0x50], ecx
cmp dword [edi + 0x70], ecx
jg 0x1018f6d4
push 0
push 0
push 0
mov edx, 0x45
mov ecx, edi
call fcn.1013e870
mov edx, dword [esp + 0x54]
add esp, 0xc
mov dword [esp + 0x50], eax
jmp 0x1018f707
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x45
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 [edi + 0x6c]
mov esi, dword [esi + 0x20]
cmp dword [edi + 0x70], ecx
jg 0x1018f72b
push esi
push 0
push edx
mov edx, 0xd
mov ecx, edi
call fcn.1013e870
mov edx, dword [esp + 0x54]
add esp, 0xc
jmp 0x1018f75a
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x20]
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], esi
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [edi + 0x6c]
cmp dword [edi + 0x70], esi
jg 0x1018f77a
push 0
push 0
push edx
mov edx, 0xe
mov ecx, edi
call fcn.1013e870
add esp, 0xc
mov esi, eax
jmp 0x1018f7e5
lea eax, [esi + 1]
mov dword [edi + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0xe
jmp 0x1018f7c5
mov esi, dword [edi + 0x6c]
mov edx, dword [edx + 4]
cmp dword [edi + 0x70], esi
jg 0x1018f7b2
push 0
push 0
push edx
mov edx, 0x25
mov ecx, edi
call fcn.1013e870
add esp, 0xc
mov esi, eax
jmp 0x1018f7e5
lea eax, [esi + 1]
mov dword [edi + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x25
mov edi, dword [esp + 0x20]
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 + 0x30]
test ecx, ecx
je 0x1018f813
mov eax, dword [esp + 0x10]
push 0x10
dec dword [eax + 0x38]
mov edx, dword [eax + 0x38]
push edx
push ecx
push eax
mov dword [esp + 0x3c], edx
call fcn.10159d70
mov eax, dword [esp + 0x38]
add esp, 0x10
or dword [eax + 0x24], 0x20000
mov ecx, dword [esp + 0x10]
mov al, byte [ecx + 0x13]
test al, al
jne 0x1018f826
inc dword [ecx + 0x2c]
mov eax, dword [ecx + 0x2c]
jmp 0x1018f835
dec al
mov byte [ecx + 0x13], al
movzx eax, al
mov eax, dword [ecx + eax*4 + 0x94]
mov edx, dword [esp + 0x18]
push 0
push 0
push 0
push 0
push eax
mov dword [esp + 0x50], eax
mov eax, dword [ebp + 0x14]
push dword [eax + 4]
call fcn.10168070
mov ecx, dword [edi + 0x6c]
add esp, 0x18
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 8]
mov dword [esp + 0x58], eax
cmp dword [edi + 0x70], ecx
jg 0x1018f883
mov edx, dword [esp + 0x3c]
mov ecx, edi
push 0
push edx
push eax
mov edx, 0x83
call fcn.1013e870
add esp, 0xc
jmp 0x1018f8b6
mov edx, dword [esp + 0x58]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + ecx*4], 0x83
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0x6c]
test ecx, ecx
jle 0x1018f8d0
mov eax, dword [edi + 0x68]
lea ecx, [ecx + ecx*4]
mov edx, 0x10
mov word [eax + ecx*4 - 0x12], dx
mov ecx, dword [edi + 0x6c]
cmp dword [esp + 0x30], 0
je 0x1018f904
mov edx, dword [edi + 0xc]
not dword [esp + 0x2c]
mov eax, dword [edx + 0x3c]
add eax, dword [edx + 0x38]
jns 0x1018f8fa
mov edx, dword [esp + 0x2c]
mov ecx, dword [edi + 0xc]
push edx
mov edx, edi
call fcn.1013ef70
add esp, 4
jmp 0x1018f904
mov eax, dword [edx + 0x40]
mov edx, dword [esp + 0x2c]
mov dword [eax + edx*4], ecx
mov eax, dword [esp + 0x4c]
test byte [eax + 0x30], 0x10
je 0x1018f9b7
mov ecx, dword [esp + 0x50]
test ecx, ecx
jns 0x1018f91e
mov ecx, dword [edi + 0x6c]
dec ecx
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
je 0x1018f92d
mov ecx, 0x102799b8
jmp 0x1018f936
mov eax, dword [edi + 0x68]
lea ecx, [ecx + ecx*4]
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x48]
mov edx, esi
add eax, ebx
mov ebx, dword [esp + 0x4c]
mov dword [ecx + 8], eax
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x10]
push dword [eax + 8]
push dword [ebx + 0x28]
push dword [eax + 4]
call fcn.1018ef40
mov ecx, dword [edi + 0x6c]
add esp, 0xc
cmp dword [edi + 0x70], ecx
jg 0x1018f982
push 0
push esi
push 0
mov edx, 0xb
mov ecx, edi
call fcn.1013e870
add esp, 0xc
and dword [ebx + 0x30], 0xffffffef
jmp 0x1018fa22
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
and dword [ebx + 0x30], 0xffffffef
jmp 0x1018fa22
mov eax, dword [ebp + 0x14]
lea edx, [esi + 1]
mov ecx, dword [edi + 0x6c]
mov ebx, dword [eax + 4]
cmp dword [edi + 0x70], ecx
jg 0x1018f9dd
push 0
push edx
push ebx
mov edx, 5
mov ecx, edi
call fcn.1013e870
add esp, 0xc
jmp 0x1018fa0b
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
lea edx, [esi + 1]
mov dword [eax + ecx*4], 5
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0x6c]
test eax, eax
jle 0x1018fa22
lea ecx, [eax + eax*4]
mov edx, 3
mov eax, dword [edi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov eax, dword [edi]
mov edx, dword [edi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x1018fa34
mov eax, 0x102799b8
jmp 0x1018fa45
test esi, esi
lea eax, [edx - 1]
cmovns eax, esi
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x68]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x3c]
mov esi, dword [esp + 0x10]
mov dword [eax + 8], edx
test ecx, ecx
je 0x1018fa68
mov al, byte [esi + 0x13]
cmp al, 8
jae 0x1018fa68
movzx eax, al
mov dword [esi + eax*4 + 0x94], ecx
inc byte [esi + 0x13]
mov eax, dword [edi]
mov edx, dword [edi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x1018fa7d
mov eax, 0x102799b8
mov dword [eax + 8], edx
jmp 0x1018fa9c
mov ecx, dword [esp + 0x54]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x1018fa9c
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x30]
test eax, eax
je 0x1018faad
mov ecx, dword [esi]
mov edx, eax
call fcn.101540e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret