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

Disassembly:
mov ecx, dword [0x5efcb0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x38]
cmp eax, dword [ecx + 8]
jbe 0x4f302e
sub esp, 0xb8
mov eax, dword [esp + 0xbc]
test byte [eax], al
mov eax, dword [eax + 0x18c]
test eax, eax
jne 0x4f2ab3
jmp 0x4f2aba
add esp, 0xb8
ret
mov eax, dword [esp + 0xc8]
mov ecx, dword [esp + 0xc0]
mov edx, dword [esp + 0xc4]
inc edx
cmp eax, edx
jae 0x4f2ad6
jmp 0x4f2ad8
jmp 0x4f2b08
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
lea eax, [0x517ae0]
mov dword [esp + 0x10], eax
call fcn.00471230
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
jmp 0x4f2b08
lea ebx, [ecx + edx*4 - 4]
mov dword [ebx], 0x100
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], edx
mov dword [esp + 0xc8], eax
mov ebx, dword [esp + 0xbc]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
call fcn.004f3460
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x64], eax
mov dword [esp + 0x60], ecx
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x48], 0
mov eax, dword [esp + 0xd0]
mov ecx, dword [esp + 0xd4]
mov edx, dword [esp + 0xd8]
mov ebx, dword [esp + 0xbc]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call fcn.004f22c0
mov eax, dword [esp + 0x10]
movzx ecx, byte [esp + 0x14]
mov dword [esp + 0x60], eax
mov byte [esp + 0x2a], cl
mov eax, dword [esp + 0x60]
mov dword [esp + 0x70], eax
movzx eax, byte [esp + 0x2a]
mov byte [esp + 0x2b], al
mov eax, dword [esp + 0x70]
mov dword [esp + 0x2c], eax
movzx eax, byte [esp + 0x2b]
mov byte [esp + 0x29], al
test al, al
jne 0x4f2bd3
jmp 0x4f2be0
mov dword [esp + 0x44], 0x109
jmp 0x4f2f45
jmp 0x4f2be2
mov eax, dword [0x5cf458]
mov dword [esp + 0x78], eax
mov eax, dword [0x5cf45c]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0xbc]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004f21f0
mov eax, dword [esp + 8]
mov dword [esp + 0x30], eax
mov dword [esp + 0x40], 0
mov eax, dword [esp + 0xbc]
test byte [eax], al
mov eax, dword [eax + 0x180]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0xbc]
test byte [eax], al
mov eax, dword [eax + 0x184]
mov dword [esp + 0xa4], eax
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0xbc]
mov ebp, dword [esp + 0xa8]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], eax
call fcn.004f1a50
mov eax, dword [esp + 0xbc]
test byte [eax], al
add eax, 0x10c
test byte [eax], al
jmp 0x4f2c89
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], 0x13
mov dword [esp + 0xb4], 0x13
mov eax, dword [esp + 0xbc]
test byte [eax], al
mov eax, dword [eax + 0x188]
mov dword [esp + 0xa0], eax
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0xb0]
mov ebx, dword [esp + 0xb4]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], 7
call fcn.004f5650
mov eax, dword [esp + 0xbc]
test byte [eax], al
mov eax, dword [eax + 0x180]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0xbc]
test byte [eax], al
mov eax, dword [eax + 0x184]
mov dword [esp + 0x98], eax
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0xbc]
mov ebx, dword [esp + 0x9c]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.004f1ff0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x68], ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x40], ecx
cmp dword [esp + 0x30], eax
jg 0x4f2d67
jmp 0x4f2d93
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0xbc]
test byte [eax], al
mov eax, dword [eax + 0x180]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0xbc]
test byte [eax], al
mov eax, dword [eax + 0x184]
mov dword [esp + 0x74], eax
jmp 0x4f2d95
jmp 0x4f2d95
movzx eax, byte [esp + 0x29]
mov byte [esp + 0x2a], al
test al, al
jne 0x4f2da4
jmp 0x4f2db5
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x30], eax
setg al
mov byte [esp + 0x2a], al
jmp 0x4f2db7
jmp 0x4f2db7
movzx eax, byte [esp + 0x2a]
test al, al
jne 0x4f2dc2
jmp 0x4f2e23
mov eax, dword [esp + 0xd4]
mov dword [esp + 0x64], eax
movzx ecx, byte [esp + 0xcc]
mov edx, dword [esp + 0xbc]
mov dword [esp], edx
mov dword [esp + 4], eax
mov byte [esp + 8], cl
call fcn.004f2950
mov eax, dword [esp + 0xd0]
mov ecx, dword [esp + 0xd4]
mov edx, dword [esp + 0xd8]
mov ebx, dword [esp + 0xbc]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call fcn.004f1890
add esp, 0xb8
ret
mov eax, dword [esp + 0x78]
cmp dword [0x5cf458], eax
je 0x4f2e31
jmp 0x4f2e4e
movzx eax, byte [esp + 0xcc]
mov ecx, dword [esp + 0xbc]
mov dword [esp], ecx
mov byte [esp + 4], al
call fcn.004f2a10
jmp 0x4f2e83
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x40]
movzx ebx, byte [esp + 0xcc]
mov ebp, dword [esp + 0xbc]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov byte [esp + 0x10], bl
call fcn.004f2640
jmp 0x4f2e83
mov eax, dword [esp + 0x78]
test byte [eax], al
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x74]
test byte [eax], al
mov ecx, dword [eax]
mov dword [esp + 0x7c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x5c], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x58], eax
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], eax
mov ebx, dword [esp + 0xc0]
mov ebp, dword [esp + 0xbc]
mov esi, dword [esp + 0xc4]
mov edi, dword [esp + 0xc8]
mov eax, dword [esp + 0x8c]
mov edx, dword [esp + 0x90]
mov ecx, dword [esp + 0x94]
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x24], eax
call fcn.004f38f0
add esp, 0xb8
ret
mov edx, dword [esp + 0x44]
cmp dword [esp + 0x3c], edx
jg 0x4f2f51
jmp 0x4f2fb0
mov edx, dword [esp + 0xbc]
test byte [edx], al
mov ecx, dword [edx + 0x160]
mov edx, dword [edx + 0x15c]
mov eax, dword [esp + 0x44]
cmp ecx, eax
ja 0x4f2f73
jmp 0x4f3028
lea edx, [edx + eax*4]
mov edx, dword [edx]
mov ecx, dword [0x5cce44]
mov ebx, dword [0x5cce40]
mov ebp, dword [esp + 0x44]
lea eax, [ebp - 0x101]
cmp ecx, eax
ja 0x4f2f97
jmp 0x4f3023
lea ebx, [ebp + ebx - 0x101]
movsx ebx, byte [ebx]
imul edx, ebx
add dword [esp + 0x48], edx
jmp 0x4f2faa
inc dword [esp + 0x44]
jmp 0x4f2f45
mov dword [esp + 0x34], 4
jmp 0x4f2fba
mov edx, dword [esp + 0x34]
cmp dword [esp + 0x38], edx
jg 0x4f2fc6
jmp 0x4f3014
mov edx, dword [esp + 0xbc]
test byte [edx], al
mov ecx, dword [edx + 0x16c]
mov edx, dword [edx + 0x168]
mov eax, dword [esp + 0x34]
cmp ecx, eax
ja 0x4f2fe5
jmp 0x4f301e
lea edx, [edx + eax*4]
mov edx, dword [edx]
mov eax, dword [esp + 0x34]
mov ecx, dword [0x5cce64]
mov ebx, dword [0x5cce60]
cmp ecx, eax
ja 0x4f3000
jmp 0x4f3019
add ebx, eax
movsx ebx, byte [ebx]
imul edx, ebx
add dword [esp + 0x48], edx
jmp 0x4f300e
inc dword [esp + 0x34]
jmp 0x4f2fba
jmp 0x4f2be2
call fcn.00475830
call fcn.00475830
call fcn.00475830
call fcn.00475830
nop
call fcn.004743b0
jmp fcn.004f2a80