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

Disassembly:
mov ecx, dword [0x5efcb0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x70]
cmp eax, dword [ecx + 8]
jbe 0x4d2a7a
sub esp, 0xf0
mov dword [esp + 0xfc], 0
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
mov dword [esp + 0x10c], 0
mov dword [esp + 0xd4], 0
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
mov eax, dword [esp + 0xf4]
mov ecx, dword [esp + 0xf8]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004d1f10
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov dword [esp + 0xd4], eax
mov dword [esp + 0xcc], ecx
mov dword [esp + 0xd0], edx
mov eax, dword [esp + 0xd4]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0xd0]
mov ecx, dword [esp + 0xcc]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
test eax, eax
jne 0x4d2582
jmp 0x4d25c5
mov dword [esp + 0xfc], 0
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x108], eax
mov dword [esp + 0x10c], ecx
call fcn.0043b2e0
add esp, 0xf0
ret
mov eax, dword [esp + 0x60]
mov dword [esp + 0x94], eax
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
lea eax, [esp + 0xac]
mov dword [esp + 0xb4], eax
test byte [eax], al
lea ecx, [0x4d2a90]
mov dword [eax], ecx
test byte [eax], al
mov ecx, dword [0x5efdd0]
mov edx, dword [esp + 0x94]
test ecx, ecx
je 0x4d2613
jmp 0x4d2615
jmp 0x4d2624
call fcn.004757c0
mov dword [edi], edx
mov ecx, dword [eax + 4]
mov dword [edi + 4], ecx
jmp 0x4d2624
mov dword [eax + 4], edx
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x30]
mov dword [esp], eax
call fcn.0043aff0
test eax, eax
jne 0x4d27b4
jmp 0x4d2641
mov dword [esp + 0x28], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
mov eax, dword [esp + 0x60]
mov dword [esp], eax
call fcn.004d4710
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0x10]
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], edx
mov dword [esp + 0xcc], ecx
mov dword [esp + 0xd0], ebx
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0xc8]
mov dword [esp + 0xe8], eax
mov dword [esp + 0xec], ecx
mov eax, dword [esp + 0xcc]
mov ecx, dword [esp + 0xd0]
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], ecx
mov eax, dword [esp + 0xe8]
mov ecx, dword [esp + 0xec]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
mov eax, dword [esp + 0xe0]
mov ecx, dword [esp + 0xe4]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ecx
test eax, eax
jne 0x4d2717
jmp 0x4d2719
jmp 0x4d2758
mov eax, dword [esp + 0x58]
test byte [eax], al
mov eax, dword [eax + 0x1c]
mov ecx, dword [esp + 0x5c]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
mov edx, eax
sar eax, 0x1f
cmp ecx, eax
sete al
and eax, 1
test al, al
jne 0x4d274e
jmp 0x4d2754
mov dword [esp + 0x28], edx
jmp 0x4d2756
jmp 0x4d2756
jmp 0x4d2758
mov eax, dword [esp + 0x28]
inc eax
mov dword [esp + 0x28], eax
cmp eax, 0x200
jl 0x4d276a
jmp 0x4d2774
mov dword [esp + 0x28], 0x200
jmp 0x4d2776
jmp 0x4d2776
mov eax, dword [esp + 0x28]
lea ecx, [0x511660]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], eax
call fcn.004711a0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], eax
jmp 0x4d27c0
call fcn.0043b2e0
add esp, 0xf0
ret
jmp 0x4d27c2
mov eax, dword [esp + 0x80]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x4c], ecx
mov edx, dword [esp + 0x84]
mov ebx, dword [esp + 0x7c]
cmp edx, ecx
jae 0x4d27ec
jmp 0x4d2a74
cmp ecx, eax
jae 0x4d27f5
jmp 0x4d2a6f
sub edx, eax
sub ecx, eax
mov ebp, edx
neg edx
sar edx, 0x1f
and eax, edx
add eax, ebx
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], ebp
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0xbc]
mov ebx, dword [esp + 0xc0]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.004d1850
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x48], ecx
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], edx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x54], ecx
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], edx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], edx
mov eax, dword [esp + 0x80]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x2c]
add ecx, eax
mov dword [esp + 0x4c], ecx
mov eax, dword [esp + 0x84]
cmp eax, ecx
jae 0x4d28c5
jmp 0x4d2a68
jmp 0x4d28c7
mov dword [esp + 0x80], ecx
mov ebx, dword [esp + 0x64]
test ebx, ebx
jne 0x4d28db
jmp 0x4d2989
mov eax, dword [esp + 0x64]
cmp dword [0x5cf7a0], eax
je 0x4d28e9
jmp 0x4d2922
mov eax, dword [esp + 0x64]
mov ecx, dword [0x5cf7a4]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00405320
movzx eax, byte [esp + 0xc]
test al, al
jne 0x4d290e
jmp 0x4d2920
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
jmp 0x4d2924
jmp 0x4d2924
jmp 0x4d2924
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], ecx
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x84]
mov dword [esp + 0xfc], eax
mov dword [esp + 0x100], ecx
mov dword [esp + 0x104], edx
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0x108], eax
mov dword [esp + 0x10c], ecx
call fcn.0043b2e0
add esp, 0xf0
ret
mov dword [esp + 0x4c], ecx
mov ebx, dword [esp + 0x84]
mov dword [esp + 0x48], ebx
cmp ebx, ecx
jle 0x4d29a1
jmp 0x4d2a55
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x48], ecx
mov edx, dword [esp + 0x84]
mov ebx, dword [esp + 0x7c]
cmp edx, ecx
jae 0x4d29c0
jmp 0x4d2a63
jmp 0x4d29c2
lea ebp, [ecx + 1]
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], edx
cmp edx, ebp
jae 0x4d29e0
jmp 0x4d29e2
jmp 0x4d2a12
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x511660]
mov dword [esp + 0x10], eax
call fcn.00471230
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
jmp 0x4d2a12
lea esi, [ebp + ebx - 1]
mov byte [esi], 0
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x90], edx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x48], ecx
cmp edx, ecx
jae 0x4d2a3f
jmp 0x4d2a5e
jmp 0x4d2a41
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], edx
jmp 0x4d2a57
jmp 0x4d2a57
jmp 0x4d2a59
jmp 0x4d27c0
call fcn.00475870
call fcn.00475870
mov edx, eax
call fcn.00475870
call fcn.00475890
call fcn.00475870
nop
call fcn.004743b0
jmp fcn.004d2480