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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x870f96
sub esp, 0x6c
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.008712b0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 4]
mov ebx, dword [esp + 8]
test ecx, ecx
jne 0x870f77
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], ebx
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 0x74]
mov dword [esp + 0x4c], ecx
add edx, ecx
mov dword [esp + 0x24], edx
mov ebp, dword [eax + 0x40]
mov dword [esp + 0x2c], ebp
add edx, ebp
mov dword [esp + 0x48], edx
mov edi, dword [eax + 0x44]
mov dword [esp + 0x44], edi
mov edx, dword [eax + 0x64]
mov dword [esp + 0x1c], edx
mov edi, dword [eax + 0x68]
mov dword [esp + 0x58], edi
mov eax, dword [eax + 0x78]
mov dword [esp + 0x40], eax
lea edi, [0x977720]
mov dword [esp], edi
call fcn.0040af00
mov eax, dword [esp + 4]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x1c]
mov dword [eax], ecx
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x4c]
add edx, ecx
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x40]
adc ebx, edx
mov dword [esp + 0x28], ebx
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x2c]
mov edi, ebp
add ebp, esi
mov ebp, dword [esp + 0x44]
adc ebx, ebp
mov ebp, dword [0xe8ff30]
test ebp, ebp
jne 0x870f5c
mov ebp, dword [esp + 0x58]
mov dword [eax + 4], ebp
mov dword [eax + 8], edi
mov ecx, dword [esp + 0x28]
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edi
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ebx
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx + 0x60]
movzx ebx, word [ecx + 0x18]
mov dword [esp], edx
mov word [esp + 4], bx
call fcn.00870a80
mov edx, dword [esp + 8]
test edx, edx
je 0x870f31
lea eax, [0xaa5190]
mov dword [esp], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 4], eax
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x14], ecx
mov ebx, dword [esp + 0x70]
movzx ebp, word [ebx + 0x16]
test bp, 8
jne 0x870e6a
xor edx, edx
xor ebp, ebp
mov dword [esp + 0x64], edx
mov dword [esp + 0x30], ebp
mov eax, dword [0xe79fcc]
mov dword [esp + 0x50], eax
lea ecx, [0xe8fdb0]
mov dword [esp], ecx
lea ecx, [0x9ff450]
mov dword [esp + 4], ecx
call fcn.004631c0
lea eax, [0x959e20]
mov dword [esp], eax
call fcn.0040af00
mov eax, dword [esp + 4]
mov dword [esp + 0x68], eax
mov ecx, dword [0xe8ff30]
test ecx, ecx
jne 0x870e59
mov ecx, dword [esp + 0x50]
mov dword [eax + 4], ecx
lea eax, [0x9879c0]
mov dword [esp], eax
call fcn.0040af00
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x14]
mov dword [eax], ecx
mov ecx, dword [0xe8ff30]
test ecx, ecx
jne 0x870e44
mov ecx, dword [esp + 0x54]
mov dword [eax + 4], ecx
lea ecx, [0xaae120]
mov dword [eax + 8], ecx
mov ecx, dword [0xe8ff30]
test ecx, ecx
jne 0x870e26
mov ecx, dword [esp + 0x68]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x70]
mov dword [eax + 0x18], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 0x1c], ecx
mov ecx, dword [0xe8ff30]
test ecx, ecx
jne 0x870e14
mov ecx, dword [esp + 0x64]
mov dword [eax + 0x20], ecx
lea ecx, [0xaa8af0]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
add esp, 0x6c
ret
lea edi, [eax + 0x20]
mov ecx, eax
mov eax, dword [esp + 0x64]
call fcn.00456ab0
mov eax, ecx
jmp 0x870def
lea edi, [eax + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x68]
call fcn.00456ab0
lea edi, [ecx + 0x18]
mov eax, dword [esp + 0x70]
call fcn.00456ab0
mov eax, ecx
jmp 0x870dd7
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x54]
call fcn.00456ab0
mov eax, ecx
jmp 0x870db6
lea edi, [eax + 4]
mov eax, dword [esp + 0x50]
call fcn.00456ab0
jmp 0x870d89
mov eax, dword [ebx + 0x74]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x34]
add ecx, eax
mov dword [esp + 0x48], ecx
mov ebp, dword [esp + 0x2c]
add ecx, ebp
mov dword [esp + 0x20], ecx
add ecx, 0x10
mov dword [esp + 0x3c], ecx
mov ecx, dword [ebx + 0x68]
mov dword [esp + 0x5c], ecx
mov ecx, dword [ebx + 0x64]
mov dword [esp + 0x18], ecx
mov ebx, dword [ebx + 0x78]
mov dword [esp + 0x40], ebx
lea edi, [0x977720]
mov dword [esp], edi
call fcn.0040af00
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x18]
mov dword [eax], ecx
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x4c]
add ecx, edx
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x40]
adc ecx, edx
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x2c]
add edx, ebx
mov edx, dword [esp + 0x44]
adc ecx, edx
mov edx, dword [esp + 0x20]
mov ebx, edx
add edx, 0x10
mov edx, ecx
adc ecx, 0
mov ebp, dword [0xe8ff30]
test ebp, ebp
jne 0x870f1f
mov ebp, dword [esp + 0x5c]
mov dword [eax + 4], ebp
mov dword [eax + 8], ebx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], edx
mov ebx, dword [esp + 0x3c]
mov dword [eax + 0x18], ebx
mov dword [eax + 0x1c], ecx
mov edx, eax
lea ebp, [0xaa5190]
jmp 0x870d34
lea edi, [eax + 4]
mov ebp, eax
mov eax, dword [esp + 0x5c]
call fcn.00456ab0
mov eax, ebp
jmp 0x870efc
mov eax, dword [0xe7a588]
mov ecx, dword [0xe7a58c]
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
add esp, 0x6c
ret
lea ebp, [eax + 4]
mov edi, ebp
mov eax, dword [esp + 0x58]
call fcn.00456ab0
mov eax, dword [esp + 0x60]
mov edi, dword [esp + 0x24]
jmp 0x870cba
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
add esp, 0x6c
ret
call fcn.00455270
jmp fcn.00870be0