Function at 0x4f54c0
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 0x4f5a70
sub esp, 0xb4
mov eax, dword [esp + 0xc4]
test eax, eax
je 0x4f59db
mov ecx, dword [eax + 8]
cmp ecx, 0x4487de9d
jne 0x4f5a42
lea edx, [0x80e1a0]
cmp edx, eax
jne 0x4f5a38
mov ebx, dword [esp + 0xc8]
jne 0x4f5940
mov dword [esp + 0x54], ebx
lea eax, [0x8345c0]
mov dword [esp], eax
call fcn.00409d90
mov eax, dword [esp + 4]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0xb8]
mov dword [esp], ecx
mov ecx, dword [esp + 0xbc]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0xc0]
mov dword [esp + 8], ecx
lea ecx, [0x924930]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call fcn.004ed370
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
test eax, eax
jne 0x4f592b
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 4]
mov dword [esp + 0x44], ecx
mov eax, dword [eax]
mov dword [esp + 0x68], eax
xor edx, edx
jmp 0x4f559a
mov ebx, dword [esp + 0x40]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x44]
cmp edx, ecx
jge 0x4f590e
mov dword [esp + 0x40], edx
mov ecx, dword [eax + edx*4]
mov ebx, dword [ecx]
mov ebx, dword [ebx]
mov dword [esp + 0x2c], ebx
mov ebp, dword [ecx + 8]
mov dword [esp + 0x28], ebp
mov ecx, dword [ecx + 4]
mov dword [esp + 0x4c], ecx
mov esi, ebx
shl ebx, 3
or ebx, 2
mov dword [esp], ebx
mov ebx, esi
sar esi, 0x1f
shr ebx, 0x1d
shl esi, 3
or esi, ebx
mov dword [esp + 4], esi
call fcn.004ef830
mov eax, dword [esp + 0xc]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x5c], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x34], edx
lea edi, [esp + 0x9c]
xor eax, eax
call fcn.0044c95a
lea ecx, [0x80e1a0]
mov dword [esp], ecx
mov ebp, dword [esp + 0x54]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0x2c]
mov dword [esp + 8], esi
call fcn.0040cdc0
mov esi, dword [esp + 0xc]
movzx eax, byte [esp + 0x10]
lea edi, [esp + 0x9c]
call fcn.0044ce34
lea edi, [esp + 0x6c]
lea esi, [esp + 0x9c]
call fcn.0044ce34
test al, al
je 0x4f5901
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x30]
cmp ebx, ecx
ja 0x4f5a69
sub eax, ebx
mov dword [esp + 0x24], eax
mov ebp, eax
neg eax
sar eax, 0x1f
and eax, ebx
add eax, edx
mov dword [esp + 0x48], eax
mov dword [esp], eax
sub ecx, ebx
mov dword [esp + 0x20], ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
call fcn.004ec5b0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
cmp eax, ecx
ja 0x4f5a62
sub ecx, eax
mov edx, dword [esp + 0x24]
sub edx, eax
mov ebx, edx
neg edx
sar edx, 0x1f
and eax, edx
mov edx, dword [esp + 0x48]
add eax, edx
mov edx, dword [esp + 0x28]
lea ebp, [edx + ecx]
mov dword [esp + 0x3c], ebp
cmp ebp, ebx
ja 0x4f58c6
test ebp, ebp
jl 0x4f5a5b
cmp ebp, ebx
ja 0x4f5a5b
mov dword [esp + 0x64], eax
add ecx, eax
mov dword [esp], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.0044d060
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x28], eax
mov dword [esp + 0x4c], ecx
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call fcn.004ef830
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x30]
lea edx, [ecx + eax]
mov dword [esp + 0x3c], edx
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 0x34]
cmp edx, ebp
ja 0x4f587f
mov esi, dword [esp + 0x5c]
test edx, edx
jl 0x4f5a54
cmp edx, ebp
ja 0x4f5a54
mov dword [esp + 0x34], ebp
mov dword [esp + 0x5c], esi
add ecx, esi
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call fcn.0044d060
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x28]
lea edx, [ecx + eax]
mov dword [esp + 0x30], edx
mov ebx, dword [esp + 0x34]
cmp edx, ebx
ja 0x4f5844
mov ebp, dword [esp + 0x5c]
test edx, edx
jl 0x4f5a4d
cmp edx, ebx
ja 0x4f5a4d
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x34], ebx
add eax, ebp
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.0044d060
lea edi, [esp + 0x84]
xor eax, eax
call fcn.0044c95a
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x90], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x98], ecx
lea ecx, [0x80e1a0]
mov dword [esp], ecx
mov edx, dword [esp + 0x54]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 8], ebx
call fcn.0040cf20
mov edi, dword [esp + 0xc]
test byte [edi], al
mov eax, dword [0xc6f140]
test eax, eax
jne 0x4f5822
lea esi, [esp + 0x84]
call fcn.0044ce34
jmp 0x4f558b
lea eax, [0x844ac0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x84]
mov dword [esp + 8], eax
call fcn.0040f790
jmp 0x4f558b
lea ecx, [0x80a6a0]
mov dword [esp], ecx
mov ebp, dword [esp + 0x5c]
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call fcn.00438c30
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
jmp 0x4f5786
mov dword [esp + 0x38], eax
mov dword [esp + 0x60], ebx
lea eax, [0x80a6a0]
mov dword [esp], eax
mov ebx, dword [esp + 0x5c]
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], edx
call fcn.00438c30
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x60]
jmp 0x4f573d
mov dword [esp + 0x20], ecx
lea edx, [0x80a6a0]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.00438c30
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov ebp, dword [esp + 0x3c]
jmp 0x4f56d1
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x4c]
jmp 0x4f5703
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
add esp, 0xb4
ret
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], ecx
add esp, 0xb4
ret
cmp ecx, 0xf2e3004f
jne 0x4f59db
lea ecx, [0x82d420]
cmp ecx, eax
jne 0x4f5a2e
mov eax, dword [esp + 0xc8]
jne 0x4f59db
mov ecx, dword [eax]
test ecx, ecx
je 0x4f5973
mov eax, dword [eax]
mov ebx, dword [eax + 8]
jmp 0x4f5519
mov dword [esp + 0x58], eax
lea eax, [0x824740]
mov dword [esp], eax
call fcn.00409d90
mov eax, dword [0xc6f140]
mov ecx, dword [esp + 4]
test eax, eax
jne 0x4f59ce
mov eax, dword [esp + 0x58]
mov dword [eax], ecx
call fcn.0040a810
mov eax, dword [esp + 0x58]
mov ecx, dword [eax]
test byte [ecx], al
mov edx, dword [0xc6f140]
mov ebx, dword [esp]
test edx, edx
jne 0x4f59be
mov dword [ecx + 8], ebx
lea edx, [0x80e1a0]
jmp 0x4f5969
lea edi, [ecx + 8]
mov ecx, eax
mov eax, ebx
call fcn.0044c860
mov eax, ecx
jmp 0x4f59b6
mov edi, dword [esp + 0x58]
mov eax, ecx
call fcn.0044c860
jmp 0x4f5999
lea eax, [0x826720]
mov dword [esp], eax
call fcn.00409d90
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x1b
mov eax, dword [0xc6f140]
test eax, eax
jne 0x4f5a21
lea eax, [0x8a5f85]
mov dword [edi], eax
lea eax, [0x9218b0]
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], edi
add esp, 0xb4
ret
lea eax, [0x8a5f85]
call fcn.0044c860
jmp 0x4f5a06
mov eax, 0
jmp 0x4f5961
mov ebx, 0
jmp 0x4f5513
lea edx, [0x80e1a0]
jmp 0x4f5940
call fcn.00426870
ud2
call fcn.00426870
ud2
call fcn.00426870
ud2
call fcn.00426870
ud2
call fcn.00426870
ud2
call fcn.0044b100
jmp fcn.004f54c0