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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x112d5a0
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x11a16ec]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x11a16ec]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x14]
test dword [esi + 0x14], 0x4000
mov edi, dword [ebp + 8]
mov al, byte [ebp + 0x18]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x2c], edi
mov byte [esp + 0x30], al
jne 0xf87ee7
movzx eax, byte [ebp + 0x1c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x1c]
push eax
mov eax, dword [esp + 0x34]
push eax
mov eax, dword [ebp + 0x10]
push esi
push eax
mov eax, dword [ebp + 0xc]
push eax
push edi
call edx
mov eax, edi
jmp 0xf880c3
lea eax, [esp + 0x28]
push eax
mov ecx, esi
call fcn.00f85ec0
push eax
mov dword [esp + 0x84], 0
call fcn.00f8a5f0
mov dword [esp + 0x84], 0xffffffff
mov ebx, dword [esp + 0x2c]
add esp, 4
mov dword [esp + 0x18], eax
test ebx, ebx
je 0xf87f59
push 0
lea ecx, [esp + 0x20]
call fcn.010c80f0
mov eax, dword [ebx + 4]
test eax, eax
je 0xf87f39
cmp eax, 0xffffffff
jae 0xf87f39
dec eax
mov dword [ebx + 4], eax
mov edi, dword [ebx + 4]
neg edi
sbb edi, edi
lea ecx, [esp + 0x1c]
not edi
call fcn.010c8118
and edi, ebx
je 0xf87f59
mov edx, dword [edi]
mov eax, dword [edx]
push 1
mov ecx, edi
call eax
xor edi, edi
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], edi
mov byte [esp + 0x38], 0
cmp byte [ebp + 0x1c], 0
mov dword [esp + 0x80], 1
je 0xf87fb3
lea ecx, [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.00f89600
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x84], 2
call fcn.00f87740
mov byte [esp + 0x80], 1
cmp dword [esp + 0x68], 0x10
jb 0xf87fef
mov edx, dword [esp + 0x54]
push edx
jmp 0xf87fe7
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x54]
push eax
call fcn.00f895e0
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x84], 3
call fcn.00f87740
mov byte [esp + 0x80], 1
cmp dword [esp + 0x68], 0x10
jb 0xf87fef
mov ecx, dword [esp + 0x54]
push ecx
call fcn.010c8a36
add esp, 4
mov ecx, dword [esi + 0x24]
mov eax, dword [esi + 0x20]
mov edx, dword [esp + 0x48]
cmp ecx, edi
jl 0xf88013
jg 0xf88003
cmp eax, edi
jbe 0xf88013
mov dword [esp + 0x20], ecx
cmp eax, edx
jbe 0xf88013
sub eax, edx
mov dword [esp + 0x20], ecx
mov edi, eax
mov eax, dword [esi + 0x14]
mov ebx, dword [esp + 0x30]
and eax, 0x1c0
cmp eax, 0x40
je 0xf88051
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push edi
push ebx
push edx
mov edx, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x2c]
push ecx
push edx
call fcn.00f89570
mov ecx, dword [eax]
mov dword [ebp + 0xc], ecx
mov edx, dword [eax + 4]
add esp, 0x18
mov dword [ebp + 0x10], edx
mov edx, dword [esp + 0x48]
xor edi, edi
cmp dword [esp + 0x4c], 0x10
mov eax, dword [esp + 0x38]
jae 0xf88060
lea eax, [esp + 0x38]
mov ecx, dword [ebp + 0xc]
push edx
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [esp + 0x20]
push ecx
lea edx, [esp + 0x40]
push edx
push eax
call fcn.00f89b70
mov ecx, dword [eax]
push edi
mov dword [ebp + 0xc], ecx
mov eax, dword [eax + 4]
push ebx
xor edx, edx
push eax
push ecx
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0x20], edx
mov dword [esi + 0x24], edx
mov esi, dword [esp + 0x54]
push esi
push ecx
mov dword [ebp + 0x10], eax
call fcn.00f89570
add esp, 0x30
mov dword [esp + 0x80], 0xffffffff
cmp dword [esp + 0x4c], 0x10
jb 0xf880c1
mov edx, dword [esp + 0x38]
push edx
call fcn.010c8a36
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.010c8a41
mov esp, ebp
pop ebp
ret 0x18