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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 4]
cmp eax, dword [ecx + 8]
jbe 0x4f5411
sub esp, 0x84
lea ecx, [esp + 4]
mov dword [esp + 0x58], ecx
mov ebx, dword [esp + 0x88]
mov ebp, dword [ebx + 0x26c]
mov dword [esp + 0x2c], ebp
mov esi, dword [ebx + 0x268]
mov dword [esp + 0x4c], esi
mov eax, ecx
mov ecx, dword [ebx + 0x270]
mov dword [esp + 0x30], ecx
lea edi, [ebx + 0x268]
mov dword [esp + 0x54], edi
xor edx, edx
jmp 0x4f51ca
lea edi, [esp + 0x5c]
xor eax, eax
call fcn.00459a8b
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x64], ecx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x68], edx
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x6c], ebx
mov ebp, dword [esp + 0x88]
mov dword [esp], ebp
mov edi, dword [esp + 0x58]
lea esi, [esp + 0x5c]
call fcn.00459f6e
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x18], ecx
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x48]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebp
call fcn.004f33e0
movzx ecx, byte [esp + 0x45]
mov edx, dword [esp + 0x28]
add edx, ecx
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x30]
mov ebx, dword [esp + 0x88]
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x54]
cmp edx, ebp
jge 0x4f5383
mov dword [esp + 0x28], edx
mov ebx, dword [ebx + 0x190]
mov edi, esp
xor eax, eax
call fcn.00459a8b
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebp
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov ecx, dword [ebx]
mov edx, ebx
call ecx
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], ebx
mov ecx, dword [esp + 0x44]
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], ebx
movzx ecx, byte [esp + 0x3e]
test cl, cl
jne 0x4f537c
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
movzx ecx, byte [esp + 0x39]
test cl, 8
sete cl
test cl, cl
je 0x4f514d
mov eax, dword [esp + 0x88]
mov dword [esp], eax
call fcn.004f3fa0
mov eax, dword [esp + 0x88]
mov dword [esp], eax
lea ecx, [eax + 0x1d4]
mov dword [esp + 0x50], ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], pe_nt_image_headers32
mov dword [esp + 0xc], pe_nt_image_headers32
call fcn.004f3030
mov ecx, dword [esp + 0x10]
cmp ecx, 0x80
ja 0x4f5406
mov dword [esp + 0x24], ecx
lea edi, [esp + 0x70]
xor eax, eax
call fcn.00459a8b
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x78], ecx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x7c], edx
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x80], ebx
mov ebp, dword [esp + 0x88]
mov dword [esp], ebp
mov edi, dword [esp + 0x58]
lea esi, [esp + 0x70]
call fcn.00459f6e
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x18], ecx
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x48]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebp
call fcn.004f33e0
movzx ecx, byte [esp + 0x45]
mov edx, dword [esp + 0x28]
lea eax, [ecx + edx]
mov ecx, dword [esp + 0x2c]
cmp eax, ecx
ja 0x4f5401
sub ecx, eax
mov edx, dword [esp + 0x88]
mov dword [edx + 0x26c], ecx
mov ecx, dword [esp + 0x30]
sub ecx, eax
mov dword [edx + 0x270], ecx
mov ebx, dword [0x73c0c0]
neg ecx
sar ecx, 0x1f
and eax, ecx
mov ecx, dword [esp + 0x4c]
add eax, ecx
test ebx, ebx
jne 0x4f5371
mov dword [edx + 0x268], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], pe_nt_image_headers32
add esp, 0x84
ret
mov edi, dword [esp + 0x54]
call fcn.00459850
jmp 0x4f5349
xor ecx, ecx
jmp 0x4f5247
mov dword [ebx + 0x26c], 0
mov dword [ebx + 0x270], 0
mov ecx, dword [0x73c0c0]
test ecx, ecx
jne 0x4f53e7
mov dword [ebx + 0x268], 0
lea eax, [0x5631a8]
mov dword [ebx + 0x25c], eax
mov dword [esp], ebx
call fcn.004f7240
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], edx
add esp, 0x84
ret
xor eax, eax
call fcn.00459850
lea edi, [ebx + 0x25c]
lea eax, [0x5631a8]
call fcn.00459850
jmp 0x4f53b7
call fcn.00459930
mov edx, pe_nt_image_headers32
call fcn.004598f0
nop
call fcn.00458300
jmp fcn.004f50f0