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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4feb93
sub esp, 0x60
xor ebx, ebx
xor ebx, ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
xor ebx, ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp], 0x5cbd20
mov ebx, dword [esp + 0x6c]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x70]
mov dword [esp + 8], ebx
lea ebx, [esp + 0x4c]
mov dword [esp + 0xc], ebx
call fcn.0040d820
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
movzx ebx, byte [esp + 0x10]
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x24], esi
mov ebp, dword [esp + 0x50]
mov dword [esp + 0x28], ebp
cmp bl, 0
je 0x4fe941
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp], ebp
mov ebx, dword [esi + 0x14]
call ebx
mov esi, dword [esp + 0xc]
mov ebp, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], ebp
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], ecx
add esp, 0x60
ret
xor ebx, ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp], 0x5cbc60
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
lea ebx, [esp + 0x44]
mov dword [esp + 0xc], ebx
call fcn.0040d820
movzx ebx, byte [esp + 0x10]
mov edx, dword [esp + 0x44]
mov dword [esp + 0x2c], edx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x30], ecx
cmp bl, 0
je 0x4fe9c9
mov ebx, dword [esp + 0x6c]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x70]
mov dword [esp + 8], ebx
mov dword [esp], ecx
mov ebx, dword [edx + 0x14]
call ebx
mov esi, dword [esp + 0xc]
mov ebp, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], ebp
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], ecx
add esp, 0x60
ret
mov ebx, dword [esp + 0x74]
cmp ebx, 0
jne 0x4fea16
mov dword [esp], 0x5c5920
mov dword [esp + 4], 0x8000
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0x8000
mov dword [esp + 0x10], 0
call fcn.0043d560
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x74], ebx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x78], ebx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x7c], ebx
mov ebx, dword [esp + 0x74]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x78]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x70]
mov dword [esp], ebx
mov ebx, dword [esp + 0x6c]
mov ebx, dword [ebx + 0x14]
call ebx
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x40], ebx
cmp eax, 0
jle 0x4feb24
mov dword [esp + 0x20], eax
mov ecx, eax
mov eax, dword [esp + 0x7c]
cmp ecx, eax
ja 0x4feb8c
mov edx, dword [esp + 0x74]
mov dword [esp + 0x54], edx
mov dword [esp + 4], edx
mov dword [esp + 0x58], ecx
mov dword [esp + 8], ecx
mov dword [esp + 0x5c], eax
mov dword [esp + 0xc], eax
mov ebx, dword [esp + 0x68]
mov dword [esp], ebx
mov ebx, dword [esp + 0x64]
mov ebx, dword [ebx + 0x14]
call ebx
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x38], ebx
cmp ecx, 0
jle 0x4feadd
mov edi, dword [esp + 0x80]
mov esi, dword [esp + 0x84]
mov eax, ecx
cdq
mov ebp, eax
mov ebx, edx
mov eax, edi
mov edx, esi
add eax, ebp
adc edx, ebx
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edx
mov ebx, dword [esp + 0x34]
cmp ebx, 0
je 0x4feb00
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x88], ebx
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x8c], ebx
add esp, 0x60
ret
mov ebx, dword [esp + 0x20]
cmp ebx, ecx
je 0x4feb24
mov ebx, dword [0x6ca488]
mov dword [esp + 0x88], ebx
mov ebx, dword [0x6ca48c]
mov dword [esp + 0x8c], ebx
jmp 0x4feafc
mov ecx, dword [esp + 0x3c]
mov ebx, dword [0x6ca468]
cmp ecx, ebx
jne 0x4feb64
mov ebp, dword [esp + 0x3c]
mov dword [esp], ebp
mov ebp, dword [esp + 0x40]
mov dword [esp + 4], ebp
mov ebp, dword [0x6ca468]
mov dword [esp + 8], ebp
mov ebp, dword [0x6ca46c]
mov dword [esp + 0xc], ebp
call fcn.004045f0
movzx ebx, byte [esp + 0x10]
cmp bl, 0
jne 0x4feafc
mov ebx, dword [esp + 0x3c]
cmp ebx, 0
je 0x4fea16
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x88], ebx
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x8c], ebx
jmp 0x4feafc
call fcn.00429b80
ud2
call fcn.00452240
jmp fcn.004fe870