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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1025f89a
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0xc8], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0xe0]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x50], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x4c], esi
test eax, eax
js 0x1018d3c4
cmp eax, dword [ebx + 4]
jge 0x1018d3c4
cmp dword [ebp + 0x24], 0
je 0x1018cb3a
call fcn.1008b6ce
cmp dword [eax + 0x1ac], 8
jg 0x1018cb36
xor eax, eax
inc eax
jmp 0x1018d3c6
mov edx, dword [esp + 0x3c]
mov ecx, dword [ebx + 0x68]
lea edi, [ebx + 0x6c]
mov eax, dword [ebx + 0x64]
add eax, edx
mov dword [esp + 0xa0], esi
mov dword [esp + 0xa4], eax
lea eax, [esi + ecx]
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa8], eax
lea esi, [esp + 0x9c]
movsd dword es:[edi], dword [esi]
xor ecx, ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cmp dword [ebx + 0x20], ecx
je 0x1018cb80
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], ecx
jmp 0x1018cb8e
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x20], eax
push 0x20
mov dword [esp + 0x58], ecx
pop esi
cmp dword [ebp + 0x28], ecx
je 0x1018cb9f
cmp dword [ebp + 0x1c], ecx
je 0x1018cbc5
cmp dword [ebx + 0x2c], ecx
je 0x1018cbc5
cmp dword [ebx + 8], esi
jge 0x1018cbc5
push dword [ebx + 0x8c]
push dword [0x102a6cfc]
call dword [0x102ab05c]
mov edx, dword [esp + 0x3c]
xor ecx, ecx
mov dword [esp + 0x54], eax
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x7c], eax
cmp dword [ebx + 8], esi
jne 0x1018cbe1
test eax, eax
je 0x1018cbe1
xor eax, eax
mov dword [ebx + 0x20], ecx
inc eax
mov dword [esp + 0x2c], eax
jmp 0x1018cbe5
mov dword [esp + 0x2c], ecx
cmp dword [ebx + 8], esi
je 0x1018cbfb
cmp dword [0x102a6d30], 0
jne 0x1018cbfb
mov eax, dword [ebx + 0xa8]
jmp 0x1018cbfe
or eax, 0xffffffff
xor ecx, ecx
mov dword [esp + 0x34], eax
cmp eax, 0xffffffff
mov dword [esp + 0x30], eax
mov eax, dword [ebx + 0x20]
setne cl
mov dword [esp + 0x40], ecx
test eax, eax
jne 0x1018cc21
mov edi, dword [esp + 0x50]
test ecx, ecx
je 0x1018cc24
lea edi, [ebx + 0x44]
mov dword [esp + 0x48], edi
test eax, eax
jne 0x1018cc36
test ecx, ecx
jne 0x1018cc36
mov dword [esp + 0x24], edx
jmp 0x1018cc3b
and dword [esp + 0x24], 0
test eax, eax
jne 0x1018cc4d
test ecx, ecx
jne 0x1018cc4d
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x28], eax
jmp 0x1018cc52
and dword [esp + 0x28], 0
lea esi, [ebx + 0x7c]
mov eax, dword [esi]
mov dword [esp + 0x38], eax
mov eax, dword [ebx + 0x80]
push esi
mov dword [esp + 0x48], eax
call dword [0x102aba94]
test eax, eax
je 0x1018cc75
mov eax, dword [ebx + 0x54]
jmp 0x1018cc7a
mov eax, dword [esi + 8]
sub eax, dword [esi]
push esi
mov dword [esp + 0x1c], eax
call dword [0x102aba94]
test eax, eax
je 0x1018cc8e
mov eax, dword [ebx + 0x58]
jmp 0x1018cc94
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 4]
cmp dword [ebx + 0x20], 0
mov edx, dword [esp + 0x40]
mov dword [esp + 0x14], eax
jne 0x1018ccaa
test edx, edx
je 0x1018cd6f
and dword [esp + 0x9c], 0
and dword [esp + 0xa0], 0
mov eax, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x58]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], ecx
test edx, edx
je 0x1018cd1e
call fcn.1008b6ce
mov ecx, dword [esp + 0x34]
cmp ecx, dword [eax + 0x1c]
je 0x1018cd1e
push ecx
lea ecx, [esp + 0x88]
call fcn.10274e59
push dword [esp + 0x88]
lea eax, [esp + 0xa0]
push eax
push dword [edi + 4]
call dword [0x102aba48]
lea ecx, [esp + 0x84]
mov dword [esp + 0x84], 0x10006198
call fcn.10097cc7
jmp 0x1018cd3f
call fcn.1008b6ce
add eax, 0x98
je 0x1018cd2d
mov eax, dword [eax + 4]
push eax
lea eax, [esp + 0xa0]
push eax
push dword [edi + 4]
call dword [0x102aba48]
mov ecx, dword [ebp + 0x1c]
test ecx, ecx
je 0x1018cd72
call fcn.1008b6ce
cmp dword [eax + 0x1ac], 0x10
jne 0x1018cd6f
push dword [esp + 0xa0]
push dword [esp + 0xa0]
push dword [edi + 4]
call dword [0x102ab088]
mov dword [esp + 0x30], eax
mov ecx, dword [ebp + 0x1c]
xor edx, edx
mov dword [esp + 0x60], edx
test ecx, ecx
je 0x1018cd90
cmp dword [ebx + 8], 0x18
jl 0x1018cd90
xor ecx, ecx
xor eax, eax
inc eax
mov dword [ebp + 0x1c], ecx
mov edx, eax
mov dword [esp + 0x60], eax
mov esi, dword [ebp + 0x24]
test esi, esi
je 0x1018cda3
mov eax, dword [ebx + 8]
sub eax, 0x20
neg eax
sbb eax, eax
and esi, eax
cmp dword [esp + 0x20], 0
jne 0x1018d157
test ecx, ecx
jne 0x1018d157
test esi, esi
jne 0x1018d15b
push 0x20
pop ecx
cmp dword [ebx + 8], ecx
je 0x1018cdd2
cmp dword [0x102a6d30], esi
je 0x1018d07c
mov eax, dword [ebp + 0x2c]
mov byte [esp + 0x1e], al
xor eax, eax
inc eax
mov word [esp + 0x1c], 0
mov byte [esp + 0x1f], al
test edx, edx
je 0x1018cdf4
mov al, byte [0x1029b160]
mov byte [esp + 0x1e], al
xor edx, edx
cmp dword [ebp + 0x28], edx
je 0x1018ce09
cmp dword [ebx + 0x2c], edx
je 0x1018ce09
mov al, byte [0x1029b161]
mov byte [esp + 0x1e], al
cmp dword [esp + 0x2c], 0
lea eax, [ebx + 0x64]
jne 0x1018ce16
lea eax, [ebx + 0x54]
mov esi, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x80], esi
mov dword [esp + 0x2c], eax
cmp dword [ebx + 8], ecx
je 0x1018d036
mov eax, dword [esp + 0x14]
xor esi, esi
mov ecx, dword [esp + 0x18]
inc esi
push 0x20
mov word [esp + 0xbc], si
pop esi
push edx
mov word [esp + 0xbe], si
mov esi, eax
push edx
mov dword [esp + 0xbc], eax
lea eax, [esp + 0x28]
push eax
imul esi, ecx
lea eax, [esp + 0xb8]
push edx
push eax
push edx
mov dword [esp + 0xc4], 0x28
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xd4], edx
mov dword [esp + 0xd8], esi
mov dword [esp + 0xdc], edx
mov dword [esp + 0xe0], edx
mov dword [esp + 0xe4], edx
mov dword [esp + 0xe8], edx
mov dword [esp + 0x38], edx
call dword [0x102ab0b0]
test eax, eax
je 0x1018d3c4
and dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0x10005fc8
and dword [esp + 0xe8], 0
lea ecx, [esp + 0x58]
push eax
call fcn.10274d53
xor eax, eax
mov dword [esp + 0x6c], 0x10040f2c
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
xor ecx, ecx
inc ecx
push eax
mov byte [esp + 0xec], cl
call dword [0x102ab054]
push eax
lea ecx, [esp + 0x70]
call fcn.10273aed
push dword [esp + 0x5c]
push dword [esp + 0x74]
call fcn.10273c3c
mov ecx, dword [ebx + 0x54]
imul ecx, dword [ebp + 0x14]
push 0xcc0020
push dword [esp + 0x48]
mov dword [esp + 0x6c], eax
add ecx, dword [esp + 0x40]
push ecx
push dword [0x102a6cfc]
push dword [esp + 0x24]
push dword [esp + 0x2c]
push 0
push 0
push dword [esp + 0x90]
call dword [0x102ab0a0]
cmp dword [ebx + 0xa8], 0xffffffff
jne 0x1018cf74
test esi, esi
jle 0x1018cfbc
mov eax, dword [esp + 0x20]
or dword [eax], 0xff000000
mov eax, dword [esp + 0x20]
add eax, 4
mov dword [esp + 0x20], eax
dec esi
jne 0x1018cf5e
jmp 0x1018cfbc
movzx ecx, byte [ebx + 0xa8]
movzx eax, byte [ebx + 0xa9]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx + 0xaa]
shl ecx, 8
or ecx, eax
test esi, esi
jle 0x1018cfbc
mov eax, dword [esp + 0x20]
mov edx, dword [eax]
cmp edx, ecx
je 0x1018cfab
or edx, 0xff000000
mov dword [eax], edx
jmp 0x1018cfae
and dword [eax], 0
mov eax, dword [esp + 0x20]
add eax, 4
mov dword [esp + 0x20], eax
dec esi
jne 0x1018cf9b
push dword [esp + 0x1c]
push dword [esp + 0x18]
push dword [esp + 0x20]
push 0
push 0
push dword [esp + 0x84]
push dword [esp + 0x44]
push dword [esp + 0x9c]
push dword [esp + 0x48]
push dword [esp + 0x48]
push dword [edi + 4]
call dword [0x102a506c]
mov esi, eax
mov eax, dword [esp + 0x64]
test eax, eax
jne 0x1018cffd
xor ecx, ecx
jmp 0x1018d000
mov ecx, dword [eax + 4]
push ecx
push dword [esp + 0x74]
call fcn.10273c3c
lea ecx, [esp + 0x6c]
mov byte [esp + 0xe8], 0
call fcn.10273b6c
or dword [esp + 0xe8], 0xffffffff
lea ecx, [esp + 0x58]
mov dword [esp + 0x58], 0x10005fc8
call fcn.10097cc7
jmp 0x1018d074
push dword [esp + 0x1c]
mov eax, dword [ebx + 0x54]
push dword [esp + 0x18]
imul eax, dword [ebp + 0x14]
push dword [esp + 0x20]
push dword [esp + 0x50]
add eax, dword [esp + 0x48]
push eax
push dword [0x102a6cfc]
call fcn.10273ada
push eax
push dword [esp + 0x44]
mov ecx, edi
push esi
push dword [esp + 0x48]
push dword [esp + 0x48]
call fcn.100c7f8a
mov esi, eax
test esi, esi
jne 0x1018d334
mov eax, dword [ebx + 0x54]
imul eax, dword [ebp + 0x14]
mov esi, dword [esp + 0x14]
push 0xcc0020
push dword [esp + 0x48]
add eax, dword [esp + 0x40]
push eax
push dword [0x102a6cfc]
push esi
push dword [esp + 0x2c]
push dword [esp + 0x40]
push dword [esp + 0x40]
push dword [edi + 4]
call dword [0x102ab0a0]
cmp dword [esp + 0x60], 0
je 0x1018d338
mov dword [esp + 0x64], 0x1000bf6c
mov dword [esp + 0x68], edi
cmp dword [esp + 0x30], 0xffffffff
mov dword [esp + 0xe8], 2
jne 0x1018d0e6
call fcn.1008b6ce
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x30], eax
call fcn.1008b6fa
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x8c], edi
add edi, 2
add ecx, edi
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], ecx
lea ecx, [edx + 2]
mov edx, dword [eax]
add ecx, esi
mov dword [esp + 0x98], ecx
mov ecx, eax
call dword [edx + 0xc0]
push eax
push dword [esp + 0x34]
lea esi, [esp + 0x94]
push 0xffffffffffffffff
sub esp, 0x10
lea ecx, [esp + 0x80]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.100c32e8
or dword [esp + 0xe8], 0xffffffff
jmp 0x1018d334
test esi, esi
je 0x1018d1ba
mov eax, dword [ebx + 0x94]
test eax, eax
je 0x1018d1ba
push eax
push dword [0x102a6cfc]
call dword [0x102ab05c]
mov ecx, dword [ebx + 0x54]
mov esi, eax
imul ecx, dword [ebp + 0x14]
push 0xcc0020
push dword [esp + 0x48]
add ecx, dword [esp + 0x40]
push ecx
push dword [0x102a6cfc]
push dword [esp + 0x24]
push dword [esp + 0x2c]
push dword [esp + 0x40]
push dword [esp + 0x40]
push dword [edi + 4]
call dword [0x102ab0a0]
push esi
push dword [0x102a6cfc]
call dword [0x102ab05c]
jmp 0x1018d334
test ecx, ecx
jne 0x1018d1ce
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x1018d1ce
test esi, esi
je 0x1018d2b3
xor eax, eax
mov ecx, ebx
push 0
inc eax
push eax
push dword [ebp + 0x14]
call fcn.1018c86c
test esi, esi
je 0x1018d1ea
mov ecx, dword [ebx + 0xb0]
jmp 0x1018d1ec
xor ecx, ecx
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x38]
mov eax, dword [edi]
mov ecx, edi
push 0xffffff
call dword [eax + 0x34]
cmp dword [ebp + 0x1c], 0
je 0x1018d262
call fcn.1008b6fa
cmp dword [eax + 0x58], 0
je 0x1018d262
call fcn.1008b6ce
mov ecx, edi
push dword [eax + 0x10]
call fcn.1009a5f2
mov esi, eax
test esi, esi
je 0x1018d262
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
add ecx, 2
push 0xb8074a
push 0
push 0
push dword [0x102a6d00]
add eax, 2
push ecx
push eax
mov eax, dword [esp + 0x40]
inc eax
push eax
mov eax, dword [esp + 0x40]
inc eax
push eax
push dword [edi + 4]
call dword [0x102ab0a0]
push esi
mov ecx, edi
call fcn.1009a5f2
call fcn.1008b6ce
mov ecx, edi
push dword [eax + 0x14]
call fcn.1009a5f2
mov esi, eax
test esi, esi
je 0x1018d2af
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
add ecx, 2
push 0xb8074a
push 0
push 0
push dword [0x102a6d00]
add eax, 2
push ecx
push eax
push dword [esp + 0x40]
push dword [esp + 0x40]
push dword [edi + 4]
call dword [0x102ab0a0]
push esi
mov ecx, edi
call fcn.1009a5f2
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x20], 0
jne 0x1018d2be
test eax, eax
je 0x1018d334
call fcn.1008b6ce
add eax, 0xa8
mov ecx, edi
push eax
call fcn.10273c95
mov esi, eax
test esi, esi
je 0x1018d334
mov eax, dword [esp + 0x1c]
xor ecx, ecx
push dword [ebp + 0x1c]
test eax, eax
sete cl
push ecx
push dword [ebp + 0x14]
mov ecx, ebx
call fcn.1018c86c
mov eax, dword [edi]
mov ecx, edi
push 0
call dword [eax + 0x38]
mov eax, dword [edi]
mov ecx, edi
push 0xffffff
call dword [eax + 0x34]
push 0xe20746
push 0
push 0
push dword [0x102a6d00]
push dword [esp + 0x24]
push dword [esp + 0x2c]
push dword [esp + 0x40]
push dword [esp + 0x40]
push dword [edi + 4]
call dword [0x102ab0a0]
push esi
mov ecx, edi
call fcn.10273c95
mov esi, dword [esp + 0x14]
xor edx, edx
cmp dword [ebx + 0x20], edx
je 0x1018d36d
cmp dword [esp + 0x40], edx
je 0x1018d34b
mov ecx, dword [esp + 0x34]
jmp 0x1018d355
call fcn.1008b6ce
xor edx, edx
mov ecx, dword [eax + 0x1c]
mov eax, dword [esp + 0x50]
test eax, eax
jne 0x1018d361
mov eax, edx
jmp 0x1018d364
mov eax, dword [eax + 4]
push dword [ebx + 0x68]
push dword [ebx + 0x64]
push ecx
jmp 0x1018d38a
cmp dword [esp + 0x40], edx
je 0x1018d3a3
mov eax, dword [esp + 0x50]
test eax, eax
jne 0x1018d37f
mov eax, edx
jmp 0x1018d382
mov eax, dword [eax + 4]
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [esp + 0x3c]
push edx
push edx
push dword [esp + 0x5c]
push esi
push dword [esp + 0x34]
push dword [esp + 0x6c]
push dword [esp + 0x60]
push eax
call fcn.1018f481
mov eax, dword [esp + 0x54]
test eax, eax
je 0x1018d3b8
push eax
push dword [0x102a6cfc]
call dword [0x102ab05c]
mov ecx, dword [esp + 0x7c]
mov dword [ebx + 0x20], ecx
jmp 0x1018cb2e
xor eax, eax
mov ecx, dword [esp + 0xe0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc8]
xor ecx, esp
call fcn.1028105c
mov esp, ebp
pop ebp
ret 0x28