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

Disassembly:
sub esp, 0x64
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 0
mov dword [esp + 0x3c], esi
lea ecx, [esi + 0x60]
call fcn.10164bd5
mov eax, dword [esi]
mov ecx, esi
mov ebx, dword [esp + 0x7c]
push ebx
call dword [eax + 0xe4]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x6c]
mov dword [esp + 0x40], eax
test eax, eax
je 0x10185ca3
mov edx, dword [eax]
mov ecx, eax
push esi
call dword [edx + 0x78]
lea ecx, [esi + 0x54]
call fcn.1001af03
mov ecx, dword [esi + 0x54]
mov dword [esp + 0x34], eax
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x10185cbf
mov ecx, dword [ecx - 4]
jmp 0x10185cc1
xor ecx, ecx
lea eax, [eax + ecx*2]
lea ecx, [esi + 0x58]
mov dword [esp + 0x30], eax
call fcn.101887d6
mov edx, dword [esi]
mov ecx, esi
push ebx
mov dword [esp + 0x20], eax
call dword [edx + 0xd8]
mov ecx, eax
call fcn.1015ab3c
mov ecx, dword [esp + 0x78]
mov dword [esi + 0x5c], eax
push eax
mov edx, dword [ecx]
call dword [edx + 0xc]
mov edx, dword [esp + 0x34]
lea edi, [esp + 0x44]
xor eax, eax
xor ecx, ecx
mov ebx, ecx
stosd dword es:[edi], eax
mov ebp, ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ebp
stosd dword es:[edi], eax
mov byte [esp + 0x13], cl
mov dword [esp + 0x2c], ecx
stosd dword es:[edi], eax
cmp edx, dword [esp + 0x30]
jae 0x10185fad
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov eax, edi
xorps xmm0, xmm0
sub eax, edx
mov edx, dword [esp + 0x30]
sar eax, 1
push ecx
mov ecx, edi
mov dword [esp + 0x40], eax
movdqu xmmword [esp + 0x5c], xmm0
mov dword [esp + 0x54], eax
call fcn.10185b38
pop ecx
mov ecx, dword [esp + 0x1c]
push ecx
lea ecx, [esp + 0x48]
mov dword [esp + 0x58], eax
call fcn.10167723
test al, al
je 0x10185da9
push dword [esp + 0x3c]
mov edx, dword [esi]
mov ecx, esi
push dword [esp + 0x80]
call dword [edx + 0xd4]
mov edi, dword [esp + 0x78]
mov ecx, eax
mov dword [esp + 0x14], eax
mov esi, dword [edi]
call fcn.1015ab3c
push eax
mov ecx, edi
call dword [esi + 0xc]
mov eax, dword [esp + 0x1c]
lea edi, [esp + 0x44]
mov esi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x18]
jmp 0x10185dad
mov eax, dword [esp + 0x1c]
test byte [eax], 0x80
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x70], ecx
je 0x10185e45
mov ecx, dword [esp + 0x7c]
xor edi, edi
mov eax, dword [esp + 0x18]
and dword [esp + 0x6c], edi
mov dword [esp + 0x68], edi
mov edx, dword [ecx]
movzx eax, word [eax]
push eax
call dword [edx + 0x4c]
push dword [esp + 0x7c]
mov ecx, dword [esp + 0x40]
push dword [esp + 0x7c]
mov edx, dword [eax]
mov dword [eax + 0x1c], ecx
mov ecx, eax
mov dword [esp + 0x2c], eax
mov dword [eax + 0x18], esi
call dword [edx + 0x288]
mov eax, dword [esp + 0x24]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xe8]
test al, al
jne 0x10185e2e
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx]
call dword [eax + 0x13c]
mov edi, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x6c], edi
and dword [eax + 0x24], 0
and dword [eax + 0x28], 0
jmp 0x10185efa
mov eax, dword [esp + 0x24]
cmp ebp, dword [eax + 0x34]
cmovl ebp, dword [eax + 0x34]
add ebx, dword [eax + 0x34]
mov dword [esp + 0x28], ebx
jmp 0x10185efe
movzx eax, word [edi]
cmp eax, 0xd
jne 0x10185e6d
xor ecx, ecx
cmp dword [esp + 0x20], ebx
mov dword [esp + 0x68], ecx
cmovg ebx, dword [esp + 0x20]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], ecx
jmp 0x10185f3b
cmp eax, 0xa
jne 0x10185e8c
mov eax, dword [esp + 0x34]
xor edi, edi
inc edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], edi
cmp dword [esp + 0x18], eax
je 0x10185f02
jmp 0x10185f37
mov ecx, dword [esp + 0x78]
push dword [esp + 0x54]
push edi
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov edi, eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], edi
test eax, eax
je 0x10185efe
cmp dword [esi + 0x34], 0
je 0x10185efe
mov eax, dword [eax + 0xe4]
cmp eax, 0xff
je 0x10185efe
test eax, eax
je 0x10185efe
cmp dword [esp + 0x54], 1
jle 0x10185efe
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x54]
cmp edi, dword [esi + 0x34]
jle 0x10185ef2
mov ecx, dword [esp + 0x78]
dec ebp
push ebp
push ebx
mov dword [esp + 0x5c], ebp
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov edi, eax
mov dword [esp + 0x6c], edi
cmp ebp, 1
jg 0x10185ed2
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x68], edi
mov ecx, dword [esp + 0x14]
cmp byte [esp + 0x13], 0
je 0x10185f20
cmp dword [ecx + 0x38], 0x80000000
je 0x10185f18
cmp dword [ecx + 0x38], 1
je 0x10185f20
mov eax, edi
mov dword [esp + 0x2c], edi
jmp 0x10185f2a
mov eax, dword [esp + 0x2c]
add eax, edi
mov dword [esp + 0x2c], eax
cmp ebp, eax
cmovl ebp, eax
add dword [esp + 0x20], edi
mov dword [esp + 0x24], ebp
mov edi, dword [esp + 0x18]
lea eax, [esp + 0x50]
push eax
lea ecx, [esi + 0x60]
call fcn.10188a70
mov ecx, dword [esp + 0x1c]
mov al, byte [ecx]
shr al, 7
mov byte [esp + 0x13], al
not al
test al, 1
je 0x10185f6d
mov eax, dword [esp + 0x54]
mov cx, word [edi + eax*2 - 2]
call fcn.10185ade
test al, al
jne 0x10185f79
cmp byte [esp + 0x13], 0
mov byte [esp + 0x13], 0
je 0x10185f7e
mov byte [esp + 0x13], 1
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x34]
lea edi, [edi + eax*2]
imul eax, eax, 0xc
mov dword [esp + 0x18], edi
add ecx, eax
mov dword [esp + 0x1c], ecx
cmp edi, dword [esp + 0x30]
jb 0x10185d2c
cmp dword [esp + 0x20], ebx
cmovg ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x38], 0x80000000
je 0x10185fc1
cmp dword [eax + 0x38], 2
cmove ebp, ebx
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0xe4]
cmp eax, 0xff
je 0x10185fe7
test eax, eax
je 0x10185fe7
mov eax, dword [esi + 0x34]
test eax, eax
je 0x10185fe7
cmp ebx, eax
cmovg ebx, eax
cmp ebp, eax
cmovg ebp, eax
mov dword [esi + 0x40], ebp
pop edi
mov dword [esi + 0x44], ebx
pop esi
pop ebp
pop ebx
add esp, 0x64
ret 8