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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4f26b1
sub esp, 0x44
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x7c]
cmp eax, ecx
jne 0x4f2697
mov edx, dword [esp + 0x64]
cmp ecx, edx
jne 0x4f2697
mov ebx, dword [esp + 0x70]
cmp ebx, ecx
jne 0x4f2697
mov ebp, dword [esp + 0x50]
cmp ecx, ebp
jg 0x4f2651
ja 0x4f2690
mov esi, dword [esp + 0x48]
mov dword [esp + 0x40], esi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ebp
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
call fcn.004f19f0
xor eax, eax
xor ecx, ecx
jmp 0x4f24b2
mov edx, dword [esp + 0x30]
inc edx
mov ecx, eax
mov eax, edx
mov edx, dword [esp + 0x7c]
cmp eax, edx
jge 0x4f25e6
mov ebx, dword [esp + 0x64]
cmp eax, ebx
jae 0x4f2689
mov dword [esp + 0x30], eax
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x60]
mov edx, dword [ecx + eax*4]
mov ebx, dword [esp + 0x40]
mov dword [esp], ebx
mov ebp, dword [esp + 0x28]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0x2c]
mov dword [esp + 8], esi
mov edi, dword [esp + 0x54]
mov dword [esp + 0xc], edi
mov edi, dword [esp + 0x58]
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edx
call fcn.005015d0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
test ecx, ecx
jbe 0x4f2682
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x40]
mov edx, dword [eax]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 8], ebx
mov ebp, dword [esp + 0x6c]
mov dword [esp + 0xc], ebp
mov esi, dword [esp + 0x70]
mov dword [esp + 0x10], esi
mov edi, dword [esp + 0x74]
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x78]
imul edx, edi
mov dword [esp + 0x18], edx
call fcn.005015d0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x2c]
lea edx, [ecx - 1]
neg edx
sar edx, 0x1f
and edx, 4
mov ebx, dword [esp + 0x40]
add edx, ebx
mov ebp, dword [esp + 0x28]
lea esi, [ebp - 1]
cmp ebp, esi
jle 0x4f25e2
mov dword [esp], ebx
mov dword [esp + 4], edx
shl esi, 2
mov dword [esp + 8], esi
call fcn.0044e0c0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
add ecx, eax
mov edx, dword [esp + 0x34]
lea ebx, [ecx + edx]
mov ebp, dword [esp + 0x7c]
lea esi, [ebp - 1]
mov edi, dword [esp + 0x28]
cmp esi, edi
jae 0x4f267b
mov esi, dword [esp + 0x40]
mov dword [esi + ebp*4 - 4], ebx
cmp ecx, eax
jae 0x4f25d7
mov eax, 1
jmp 0x4f24a9
cmp ebx, edx
jb 0x4f25cd
xor eax, eax
jmp 0x4f24a9
mov esi, ebp
jmp 0x4f258a
test ecx, ecx
jne 0x4f260f
mov eax, dword [esp + 0x40]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x88], eax
add esp, 0x44
ret
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x2c]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x70]
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x20], ebx
call fcn.00501450
jmp 0x4f25ea
lea eax, [0x744200]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [ecx + 4]
mov dword [esp + 8], eax
call fcn.00439b00
mov ecx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0xc]
jmp 0x4f2487
call fcn.00426960
ud2
call fcn.00426960
ud2
call fcn.00426960
ud2
call fcn.004269c0
ud2
lea eax, [0x744900]
mov dword [esp], eax
lea eax, [0x7ff748]
mov dword [esp + 4], eax
call fcn.004277b0
ud2
call fcn.0044be50
jmp fcn.004f2430