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

Disassembly:
mov ecx, dword [0x9aee30]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4fcab6
sub esp, 0x50
mov eax, dword [esp + 0x6c]
test eax, eax
jne 0x4fc901
mov ebx, dword [esp + 0x58]
mov ebp, dword [esp + 0x64]
cmp ebx, ebp
jne 0x4fc81d
test ebx, ebx
je 0x4fc813
mov esi, dword [esp + 0x54]
mov edi, dword [esp + 0x60]
cmp esi, edi
jne 0x4fc825
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], ebx
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x78], eax
add esp, 0x50
ret
mov esi, dword [esp + 0x54]
mov edi, dword [esp + 0x60]
jmp 0x4fc825
mov esi, dword [esp + 0x54]
mov edi, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
test edx, edx
je 0x4fc845
mov ebx, dword [esp + 0x68]
test ebx, ebx
je 0x4fc845
lea ecx, [esi + edx*4 - 4]
lea ebx, [edi + ebx*4 - 4]
cmp ebx, ecx
je 0x4fc911
nop
cmp edx, ebp
jl 0x4fc84e
mov eax, ebp
jmp 0x4fc8bc
cmp ebp, 1
jne 0x4fc88b
lea eax, [0x693140]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004507f0
mov eax, dword [esp + 0xc]
mov edi, dword [esp + 0x60]
mov ebp, 1
mov esi, eax
mov edx, 1
mov eax, dword [esp + 0x64]
jmp 0x4fc8bc
lea eax, [0x693140]
mov dword [esp], eax
mov dword [esp + 4], ebp
lea eax, [ebp + 4]
mov dword [esp + 0x28], eax
mov dword [esp + 8], eax
call fcn.004507f0
mov eax, dword [esp + 0xc]
mov edi, dword [esp + 0x60]
mov ebp, dword [esp + 0x64]
mov esi, eax
mov edx, dword [esp + 0x28]
mov eax, ebp
cmp eax, ebp
jl 0x4fc8c2
mov eax, ebp
cmp edi, esi
je 0x4fc8f1
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x4c], esi
mov dword [esp], esi
mov dword [esp + 4], edi
shl eax, 2
mov dword [esp + 8], eax
call fcn.0046d220
mov edx, dword [esp + 0x38]
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], edx
add esp, 0x50
ret
mov edx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x64]
mov esi, dword [esp + 0x54]
mov edi, dword [esp + 0x60]
test ebp, ebp
je 0x4fca5d
mov ebx, eax
shr ebx, 5
mov dword [esp + 0x44], ebx
lea ecx, [ebx + ebp + 1]
lea eax, [ebx + ebp]
mov dword [esp + 0x30], eax
cmp edx, ecx
jl 0x4fc93c
jae 0x4fc9c0
jmp 0x4fcab0
test eax, eax
jne 0x4fc980
lea eax, [0x693140]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004507f0
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x64]
mov edi, dword [esp + 0x60]
mov edx, 1
mov esi, eax
mov ecx, 1
mov eax, dword [esp + 0x30]
jmp 0x4fc9c0
mov dword [esp + 0x2c], ecx
lea eax, [0x693140]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [ebx + ebp + 5]
mov dword [esp + 0x24], eax
mov dword [esp + 8], eax
call fcn.004507f0
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x64]
mov edi, dword [esp + 0x60]
mov edx, dword [esp + 0x24]
mov esi, eax
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
cmp edx, eax
jb 0x4fcaa9
cmp ebx, eax
ja 0x4fcaa0
mov dword [esp + 0x20], ecx
mov dword [esp + 0x48], esi
mov dword [esp + 0x24], edx
sub edx, ebx
mov dword [esp + 0x40], edx
shl ebx, 2
mov dword [esp + 0x3c], ebx
neg edx
sar edx, 0x1f
and edx, ebx
add edx, esi
mov dword [esp], edx
mov dword [esp + 4], ebp
mov edx, dword [esp + 0x40]
mov dword [esp + 8], edx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ebp
mov edx, dword [esp + 0x68]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x6c]
and edx, 0x1f
mov dword [esp + 0x18], edx
call fcn.00504550
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x30]
cmp ecx, eax
jbe 0x4fca9b
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x48]
mov dword [ebp + eax*4], ebx
nop
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4fca5a
mov dword [esp], ebp
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
call fcn.0046d050
mov ecx, dword [esp + 0x20]
mov ebp, dword [esp + 0x48]
nop
jmp 0x4fca72
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], edx
add esp, 0x50
ret
dec ecx
test ecx, ecx
jle 0x4fca7e
mov eax, dword [ebp + ecx*4 - 4]
test eax, eax
je 0x4fca71
mov edx, dword [esp + 0x24]
cmp ecx, edx
ja 0x4fca96
mov dword [esp + 0x70], ebp
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
add esp, 0x50
ret
call fcn.0046c950
call fcn.0046c910
mov ecx, eax
mov eax, ebx
call fcn.0046c970
mov ecx, eax
call fcn.0046c950
call fcn.0046c950
nop
call fcn.0046b490
jmp fcn.004fc7c0