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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x34]
cmp eax, dword [ecx + 8]
jbe 0x4f4f6a
sub esp, 0xb4
mov edx, dword [esp + 0xbc]
mov ebx, edx
sar edx, 0x1f
mov dword [esp + 0x4c], edx
mov ebp, dword [esp + 0xc4]
mov esi, dword [esp + 0xc8]
xor eax, eax
xor ecx, ecx
xor edi, edi
xor eax, eax
mov dword [esp + 0x6c], eax
xor eax, eax
mov dword [esp + 0xb0], eax
xor eax, eax
mov dword [esp + 0x68], eax
xor eax, eax
mov dword [esp + 0x64], eax
xor eax, eax
mov dword [esp + 0xac], eax
xor eax, eax
jmp 0x4f4bfc
mov dword [esp + 0x68], edi
mov eax, dword [esp + 0xa0]
lea ecx, [eax + edx]
mov dword [esp], ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
call fcn.0045aff0
mov eax, dword [esp + 0x50]
inc eax
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0xc4]
mov ebx, dword [esp + 0xbc]
mov ebp, dword [esp + 0xc8]
mov esi, dword [esp + 0xa0]
mov edi, dword [esp + 0x68]
mov edx, ecx
mov ebp, dword [esp + 0xc4]
mov esi, dword [esp + 0xc8]
mov ecx, dword [esp + 0x58]
mov edi, dword [esp + 0x54]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0xb0], eax
mov dword [esp + 0x88], edx
mov edx, dword [esp + 0x68]
mov dword [esp + 0x64], edx
mov dword [esp + 0x80], ebp
mov ebp, dword [esp + 0xa0]
mov dword [esp + 0xac], ebp
mov dword [esp + 0x78], ebx
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x68], ebx
mov eax, dword [esp + 0x90]
mov edx, dword [esp + 0x88]
mov ebp, dword [esp + 0xc4]
mov ebx, dword [esp + 0x78]
test esi, esi
je 0x4f4f64
mov dword [esp + 0x50], eax
cdq
idiv esi
cmp edx, esi
jae 0x4f4f5b
mov edx, dword [ebp + edx*4]
mov dword [esp + 0x98], edx
mov eax, ebp
mov ebp, dword [edx]
mov esi, dword [ebp + 8]
mov ebp, dword [ebp + 4]
lea edx, [esi - 1]
test edx, edx
jl 0x4f4f1b
mov ebp, dword [ebp + esi*4 - 4]
nop
cmp ebp, 0x10000
jb 0x4f4f14
shr ebp, 0x10
mov esi, 0x10
cmp ebp, 0x100
jb 0x4f4c5a
shr ebp, 8
add esi, 8
cmp ebp, 0x100
jae 0x4f4f4f
shl edx, 5
lea eax, [0x5fcb80]
movzx ebp, byte [eax + ebp]
add ebp, esi
add edx, ebp
mov ebp, dword [esp + 0x4c]
cmp ebp, edi
xchg esi, ebx
setl bl
xchg esi, ebx
cmp ebx, ecx
setbe al
cmp ebp, edi
sete bl
and eax, ebx
or eax, esi
lea ebx, [edx + 7]
sar ebx, 0x1f
shr ebx, 0x1d
lea edx, [ebx + edx + 7]
test al, al
jne 0x4f4ed0
mov dword [esp + 0x48], edi
sar edx, 3
lea eax, [edx - 0x42]
mov dword [esp + 0x60], eax
mov edx, ecx
add ecx, eax
mov ebx, eax
sar eax, 0x1f
mov dword [esp + 0x44], eax
mov esi, edx
add edx, ebx
mov edx, edi
adc edi, eax
cmp ebp, edi
xchg edi, ebx
sete bl
xchg edi, ebx
setl al
mov ebx, dword [esp + 0xbc]
cmp ebx, ecx
setb cl
and ecx, edi
or ecx, eax
test cl, cl
je 0x4f4ec3
sub ebx, esi
mov eax, ebp
sbb eax, edx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], eax
mov dword [esp + 0x5c], esi
add esi, ebx
mov dword [esp + 0x58], esi
lea edx, [0x527a00]
mov dword [esp], edx
call fcn.0040b6c0
mov eax, dword [esp + 4]
mov dword [esp + 0xa8], eax
mov dword [eax + 0xcc], 0xf
mov dword [esp], eax
call fcn.004f2c70
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x40]
add ecx, eax
mov esi, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
adc ecx, esi
test ecx, ecx
jne 0x4f4f3d
mov edx, dword [esp + 0xc0]
mov ebx, dword [esp + 0x58]
cmp edx, ebx
jb 0x4f4f36
test esi, esi
jne 0x4f4f2f
cmp eax, ebx
ja 0x4f4f28
mov dword [esp + 0x54], ecx
mov ecx, dword [0x61e858]
mov ebp, dword [0x61e85c]
lea esi, [0x569ae8]
mov dword [esp], esi
mov edi, dword [esp + 0xa8]
mov dword [esp + 4], edi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x10], ecx
sub edx, eax
mov ebp, edx
neg edx
sar edx, 0x1f
and edx, eax
mov edi, dword [esp + 0xb8]
add edx, edi
mov dword [esp + 0x14], edx
sub ebx, eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
call fcn.004f1e40
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x2c]
test eax, eax
jne 0x4f4e8a
mov dword [esp + 0x6c], eax
mov dword [esp + 0xa4], ecx
mov edx, dword [esp + 0x68]
lea esi, [ebx + edx]
mov dword [esp + 0x60], esi
mov edi, dword [esp + 0x64]
cmp esi, edi
ja 0x4f4e37
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0xa0], eax
jmp 0x4f4b3f
mov dword [esp + 0x64], ebx
mov dword [esp + 0x9c], ebp
lea eax, [0x51b4a0]
mov dword [esp], eax
mov ecx, dword [esp + 0xac]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], esi
call fcn.004427c0
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x68]
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x9c]
mov dword [esp + 0xa0], eax
jmp 0x4f4b3f
mov eax, dword [esp + 0xac]
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0xd4], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], edx
mov dword [esp + 0xe0], ecx
add esp, 0xb4
ret
mov eax, dword [esp + 0x44]
mov ebx, dword [esp + 0x60]
jmp 0x4f4cf4
mov eax, dword [esp + 0xac]
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0xd4], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0xd8], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0xdc], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0xe0], eax
add esp, 0xb4
ret
xor esi, esi
jmp 0x4f4c4c
lea eax, [0x5fcb80]
xor edx, edx
jmp 0x4f4c77
mov ecx, ebx
call fcn.0045a760
mov ecx, ebx
call fcn.0045a830
mov ecx, ebx
call fcn.0045a740
mov esi, ecx
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0xc0]
call fcn.0045a810
mov eax, ebp
mov ecx, 0x100
call fcn.0045a710
mov eax, edx
mov ecx, esi
call fcn.0045a700
call fcn.0042f3b0
nop
call fcn.00459120
jmp fcn.004f4ad0