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

Disassembly:
mov ecx, dword [0x5efcb0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x20]
cmp eax, dword [ecx + 8]
jbe 0x4f3447
sub esp, 0xa0
mov eax, dword [esp + 0xa4]
test byte [eax], al
mov eax, dword [eax + 0x18c]
test eax, eax
jne 0x4f3073
jmp 0x4f307a
add esp, 0xa0
ret
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xac]
inc edx
cmp eax, edx
jae 0x4f3096
jmp 0x4f3098
jmp 0x4f30c8
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 0x4f30c8
lea ebx, [ecx + edx*4 - 4]
mov dword [ebx], 0x100
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], edx
mov dword [esp + 0xb0], eax
mov ebx, dword [esp + 0xa4]
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 + 0x54], eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], ecx
mov eax, dword [esp + 0xa4]
test byte [eax], al
mov eax, dword [eax + 0x180]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0xa4]
test byte [eax], al
mov eax, dword [eax + 0x184]
mov dword [esp + 0x8c], eax
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0xa4]
mov ebp, dword [esp + 0x90]
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 + 0xa4]
test byte [eax], al
add eax, 0x10c
test byte [eax], al
jmp 0x4f318e
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], 0x13
mov dword [esp + 0x9c], 0x13
mov eax, dword [esp + 0xa4]
test byte [eax], al
mov eax, dword [eax + 0x188]
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x98]
mov ebx, dword [esp + 0x9c]
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 + 0xa4]
test byte [eax], al
mov eax, dword [eax + 0x180]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0xa4]
test byte [eax], al
mov eax, dword [eax + 0x184]
mov dword [esp + 0x80], eax
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0x84]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0
call fcn.004f1ff0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x3c], ecx
mov eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0xbc]
mov edx, dword [esp + 0xc0]
mov ebx, dword [esp + 0xa4]
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 + 0x54], eax
mov byte [esp + 0x2a], cl
mov eax, dword [esp + 0x54]
mov dword [esp + 0x58], eax
movzx eax, byte [esp + 0x2a]
mov byte [esp + 0x2b], al
mov eax, dword [esp + 0x58]
mov dword [esp + 0x2c], eax
movzx eax, byte [esp + 0x2b]
mov byte [esp + 0x29], al
mov byte [esp + 0x2a], al
test al, al
jne 0x4f32d1
jmp 0x4f32e9
mov eax, dword [esp + 0x30]
sar eax, 4
add eax, dword [esp + 0x30]
cmp dword [esp + 0x2c], eax
setl al
mov byte [esp + 0x2a], al
jmp 0x4f32eb
jmp 0x4f32eb
movzx eax, byte [esp + 0x2a]
test al, al
jne 0x4f32f6
jmp 0x4f3357
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x54], eax
movzx ecx, byte [esp + 0xb4]
mov edx, dword [esp + 0xa4]
mov dword [esp], edx
mov dword [esp + 4], eax
mov byte [esp + 8], cl
call fcn.004f2950
mov eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0xbc]
mov edx, dword [esp + 0xc0]
mov ebx, dword [esp + 0xa4]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call fcn.004f1890
add esp, 0xa0
ret
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
movzx ebx, byte [esp + 0xb4]
mov ebp, dword [esp + 0xa4]
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
mov eax, dword [esp + 0xa4]
test byte [eax], al
mov eax, dword [eax + 0x180]
test byte [eax], al
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0xa4]
test byte [eax], al
mov eax, dword [eax + 0x184]
test byte [eax], al
mov ecx, dword [eax]
mov dword [esp + 0x64], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x4c], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x48], eax
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], eax
mov ebx, dword [esp + 0xa8]
mov ebp, dword [esp + 0xa4]
mov esi, dword [esp + 0xac]
mov edi, dword [esp + 0xb0]
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
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 + 0x64]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x24], eax
call fcn.004f38f0
add esp, 0xa0
ret
call fcn.004743b0
jmp fcn.004f3040