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

Disassembly:
sub esp, 0xbe4
mov eax, dword [0x101366b4]
xor eax, esp
mov dword [esp + 0xbe0], eax
push ebx
push ebp
mov ebp, dword [esp + 0xbf4]
lea eax, [esp + 0x6c]
push esi
mov esi, dword [esp + 0xbf4]
mov ebx, ecx
push edi
mov edi, dword [esp + 0xc00]
lea ecx, [esp + 0x128]
push 0
push 0
push eax
push 0
push 0
push ebx
push esi
mov dword [esp + 0x88], ebx
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], edi
mov dword [esp + 0x90], 1
call fcn.10057170
mov eax, dword [esp + 0x74]
test al, 8
jne 0x10088055
mov ecx, dword [esp + 0x14c]
lea edx, [esp + 0x74]
push edx
push 0
push 1
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [esp + 0x74]
mov edx, eax
and edx, 8
je 0x1008807b
test al, 1
jne 0x1008806a
cmp dword [esp + 0x78], 0xfffff9bd
je 0x1008807b
lea eax, [esp + 0x74]
mov ecx, edi
push eax
call fcn.10062ed0
jmp 0x1008876e
test edx, edx
jne 0x1008876e
lea ecx, [esp + 0x3b4]
mov dword [esp + 0x14], 1
call fcn.10081920
mov eax, dword [ebp + 0x20]
mov ecx, 0x10138ce8
mov dword [esp + 0x68], eax
call fcn.10083a80
mov ecx, 0x4000
cmp eax, ecx
push edi
cmovb eax, ecx
lea ecx, [esp + 0x3b8]
push eax
push 0
push dword [esi + 0xc]
call fcn.1007c8c0
test byte [edi], 8
jne 0x1008871b
lea eax, [esp + 0xe8]
mov dword [esp + 0xe4], 0x40
xor edi, edi
mov dword [esp + 0xdc], eax
mov eax, dword [esi + 0xc]
push eax
mov dword [esp + 0x38], edi
mov dword [esp + 0xdc], edi
mov dword [esp + 0xe4], edi
mov dword [esp + 0x44], eax
call fcn.10068de0
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
test eax, eax
je 0x1008814a
mov eax, dword [ebx + 0x28]
cmp dword [eax + 0x48], 1
je 0x1008814a
push dword [esp + 0x2c]
lea eax, [esp + 0x44]
mov byte [esp + 0x17], 1
push eax
mov dword [esp + 0x54], edi
call fcn.100698b0
mov dword [esp + 0x4c], 1
jmp 0x1008814f
mov byte [esp + 0x13], 0
test byte [esp + 0x14], 8
jne 0x1008849f
lea ebx, [ebx]
mov ecx, dword [esp + 0x14c]
lea edx, [esp + 0x14]
push edx
xor bl, bl
mov dword [esp + 0x74], 0
mov eax, dword [ecx]
call dword [eax + 0x30]
test byte [esp + 0x14], 8
mov esi, eax
mov dword [esp + 0x64], esi
jne 0x1008849f
lea eax, [esp + 0x14]
push eax
push 0x202
lea ecx, [esp + 0x3bc]
call fcn.1007c020
test byte [esp + 0x14], 8
mov dword [esp + 0x38], eax
jne 0x1008849f
cmp eax, dword [esp + 0x3cc]
je 0x1008848f
mov eax, dword [eax]
xor edi, edi
mov dword [esp + 0x58], eax
mov dword [esp + 0xd8], 0
cmp dword [esp + 0x68], edi
jle 0x1008835f
jmp 0x100881e0
test byte [esp + 0x14], 8
jne 0x10088341
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax + edi*8]
mov eax, dword [eax + edi*8 + 4]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x6c]
add eax, 0xb0
lea ebp, [eax + ecx*4]
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
cmp al, 0xc
jne 0x10088379
mov ecx, dword [ebp]
lea eax, [esp + 0x9f0]
mov dword [esp + 0x8c], eax
lea edx, [esp + 0x14]
lea eax, [esp + 0x128]
mov dword [esp + 0x90], 0x1fe
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], 0
mov dword [esp + 0xa4], 1
mov dword [esp + 0x88], esi
mov dword [esp + 0x9c], ecx
mov eax, dword [ecx]
push edx
lea edx, [esp + 0x8c]
push edx
call dword [eax + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x60], eax
test cl, 1
jne 0x100882f3
cmp dword [esp + 0x18], 0x3ee
jne 0x100882a6
mov eax, dword [esp + 0x90]
lea ecx, [esp + 0x14]
mov dword [esp + 0x60], eax
call fcn.10063060
mov ecx, dword [esp + 0x14]
test cl, 1
jne 0x100882f3
cmp dword [esp + 0x18], 0x3ec
jne 0x100882f3
lea ecx, [esp + 0x14]
call fcn.10063060
mov eax, dword [ebp]
mov ecx, dword [esp + 0x28]
mov esi, dword [eax]
call fcn.1006da30
mov ecx, dword [ebp]
push eax
lea eax, [esp + 0x18]
push eax
xor eax, eax
cmp byte [esp + 0x38], al
push 0
push 0
sete al
push eax
lea eax, [esp + 0xec]
push eax
call dword [esi + 0x20]
or bl, 1
jmp 0x1008832e
mov eax, dword [ebp]
mov ecx, dword [esp + 0x28]
mov esi, dword [eax]
call fcn.1006da30
mov ecx, dword [ebp]
push eax
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x68]
lea eax, [esp + 0x9fc]
push eax
xor eax, eax
cmp byte [esp + 0x40], al
sete al
push eax
lea eax, [esp + 0xec]
push eax
call dword [esi + 0x20]
or bl, 2
mov ebp, dword [esp + 0x28]
inc edi
mov esi, dword [esp + 0x64]
cmp edi, dword [esp + 0x68]
jl 0x100881e0
cmp dword [esp + 0xd8], 0x1fe
jbe 0x1008835f
push 0x1fe
lea ecx, [esp + 0xdc]
call fcn.10073b60
test byte [esp + 0x14], 8
jne 0x100883bb
mov ecx, dword [esp + 0x14c]
lea edx, [esp + 0x14]
push edx
mov eax, dword [ecx]
call dword [eax + 0xc]
jmp 0x100883bf
mov eax, dword [ebp]
mov ecx, dword [esp + 0x28]
mov esi, dword [eax]
call fcn.1006da30
mov ecx, dword [ebp]
push eax
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x6c]
xor eax, eax
cmp byte [esp + 0x3c], al
sete al
push eax
lea eax, [esp + 0xe8]
push eax
mov eax, dword [esi + 0x24]
call eax
test al, al
je 0x1008832b
or bl, 1
jmp 0x1008832e
mov eax, dword [esp + 0x70]
test byte [esp + 0x14], 8
jne 0x100883d8
lea ecx, [esp + 0x14]
push ecx
push eax
lea ecx, [esp + 0xe0]
call fcn.100725e0
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x5c]
lea ecx, [esp + 0xdc]
push 0x202
add eax, 8
push eax
call fcn.10072fa0
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0xd8]
mov ecx, dword [edx]
mov dword [ecx + 4], eax
lea eax, [esp + 0x14]
push eax
push 1
push edx
lea ecx, [esp + 0x3c0]
call fcn.1007bfa0
test byte [esp + 0x14], 8
jne 0x1008842a
mov ecx, dword [eax]
mov eax, dword [ecx + 4]
mov byte [eax + ecx + 8], bl
mov al, byte [ebp + 5]
test al, 8
je 0x10088448
test bl, 1
je 0x10088448
push 1
push 0xfffffbe3
lea ecx, [esp + 0x1c]
call fcn.10063120
jmp 0x10088451
test al, 2
je 0x1008845d
test bl, 2
jne 0x1008845d
lea ecx, [esp + 0x3b8]
call fcn.1007cee0
test byte [esp + 0x14], 8
mov edi, dword [esp + 0x34]
jne 0x1008849f
mov ecx, dword [esp + 0x14c]
lea edx, [esp + 0x14]
push edx
push 2
inc edi
mov eax, dword [ecx]
push 1
mov dword [esp + 0x40], edi
call dword [eax + 8]
test byte [esp + 0x14], 8
je 0x10088160
jmp 0x1008849f
push 1
push 0xfffffc0d
lea ecx, [esp + 0x1c]
call fcn.10063120
test byte [esp + 0x14], 1
jne 0x100884b0
cmp dword [esp + 0x18], 0xfffff9bd
je 0x100884c2
mov ebx, dword [esp + 0x2c]
lea eax, [esp + 0x14]
push eax
mov ecx, ebx
call fcn.10062ed0
jmp 0x100884c6
mov ebx, dword [esp + 0x2c]
test byte [ebx], 8
jne 0x100886d2
lea ecx, [esp + 0x14]
call fcn.10063060
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x3b8]
call fcn.1007c290
mov eax, dword [esp + 0x14]
test al, 8
jne 0x100886c6
mov eax, dword [esp + 0x54]
lea ecx, [esp + 0x3b4]
cmp byte [esp + 0x13], 0
cmovne eax, edi
mov dword [esp + 0x54], eax
lea eax, [esp + 0x14]
push eax
call fcn.1007c410
mov edi, eax
mov eax, dword [esp + 0x14]
test al, 8
jne 0x100886a7
cmp edi, dword [esp + 0x3cc]
je 0x100886a7
movzx ebx, byte [ebp + 5]
lea eax, [esp + 0x128]
push ebp
push eax
lea ecx, [esp + 0x2c8]
and ebx, 1
call fcn.1004ed90
test byte [esp + 0x14], 8
lea eax, [esp + 0x98]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x88], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0x40
jne 0x10088687
jmp 0x10088590
cmp edi, dword [esp + 0x3cc]
je 0x10088687
mov esi, dword [edi]
mov ecx, dword [esi + 4]
lea eax, [esi + 8]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x3c], ecx
push eax
lea ecx, [esp + 0x2c8]
call fcn.1004f520
test byte [esp + 0x14], 8
jne 0x10088687
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x38]
add eax, 0xfffffffc
mov dword [esp + 0x58], eax
cmp eax, dword [esp + 0x88]
jne 0x1008861d
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x5c]
call fcn.1004f740
test eax, eax
jne 0x1008861d
cmp ebx, 1
jne 0x1008863c
mov eax, dword [esi + 4]
test byte [eax + esi + 8], bl
jne 0x1008863c
push 0xfffff9bb
lea ecx, [esp + 0x18]
call fcn.10063000
jmp 0x1008863c
push 1
mov ecx, ebp
call fcn.1006d520
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x90]
call fcn.10072ec0
push 1
mov ecx, ebp
call fcn.1006d500
cmp byte [esp + 0x13], 0
je 0x10088668
mov eax, dword [esp + 0x50]
inc eax
mov dword [esp + 0x50], eax
test al, 0x7f
jne 0x10088668
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
call fcn.100698b0
lea eax, [esp + 0x14]
push eax
push edi
lea ecx, [esp + 0x3bc]
call fcn.1007c5e0
test byte [esp + 0x14], 8
mov edi, eax
je 0x10088590
lea ecx, [esp + 0x88]
call fcn.100725c0
lea ecx, [esp + 0x2c0]
call fcn.1004ee30
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x2c]
test al, 1
jne 0x100886c2
cmp dword [esp + 0x18], 0xfffff9bd
jne 0x100886c2
lea ecx, [esp + 0x14]
call fcn.10063060
mov eax, dword [esp + 0x14]
test al, 8
je 0x100886d2
lea eax, [esp + 0x14]
mov ecx, ebx
push eax
call fcn.10062ed0
lea ecx, [esp + 0x3b4]
call fcn.1007c070
cmp byte [esp + 0x13], 0
je 0x1008870f
test byte [ebx], 8
jne 0x100886fc
mov eax, dword [esp + 0x50]
mov dword [esp + 0x4c], 3
mov dword [esp + 0x54], eax
jmp 0x10088704
mov dword [esp + 0x4c], 4
push ebx
lea eax, [esp + 0x44]
push eax
call fcn.100698b0
lea ecx, [esp + 0xd8]
call fcn.100725c0
lea ecx, [esp + 0x3b4]
call fcn.1007c070
lea esi, [esp + 0x9f0]
mov edi, 6
sub esi, 0xac
mov ecx, esi
call fcn.1007d470
dec edi
jns 0x10088733
lea ecx, [esp + 0x514]
call fcn.1008eb10
lea ecx, [esp + 0x3b8]
call fcn.1007cd20
test dword [esp + 0x14], 0xfffffffe
je 0x1008876e
lea ecx, [esp + 0x14]
call fcn.10062fa0
lea ecx, [esp + 0x128]
call fcn.10057420
test dword [esp + 0x74], 0xfffffffe
pop edi
pop esi
pop ebp
pop ebx
je 0x10088791
lea ecx, [esp + 0x64]
call fcn.10062fa0
mov ecx, dword [esp + 0xbe0]
xor ecx, esp
call fcn.10117cfd
add esp, 0xbe4
ret 0xc