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

Disassembly:
mov ecx, dword [0x6b21fc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x24]
cmp eax, dword [ecx + 8]
jbe 0x4d4df5
sub esp, 0xa4
mov eax, dword [esp + 0xa8]
mov dword [esp], eax
call fcn.004d6540
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
test eax, eax
je 0x4d49a1
mov eax, dword [esp + 0x10]
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
test eax, eax
je 0x4d4938
mov eax, dword [eax + 4]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ecx
lea eax, [0x549f59]
mov dword [esp], eax
mov dword [esp + 4], 0x13
lea eax, [esp + 0x5c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004a1ec0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xb8], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], ecx
add esp, 0xa4
ret
mov eax, dword [esp + 0xa8]
movzx ecx, word [eax + 0x12]
add ecx, dword [eax + 0x28]
movzx edx, byte [eax + 3]
dec ecx
mov dword [esp + 0x38], ecx
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 4]
mov esi, dword [esp + 0xc]
test dl, dl
je 0x4d4a83
mov dword [esp + 0x30], ebx
mov dword [esp + 0x4c], ebp
sub ecx, ebx
inc ecx
mov word [eax + 0x14], cx
lea ecx, [0x5285a0]
mov dword [esp], ecx
call fcn.0040c3d0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x30]
lea edx, [ecx + 2]
mov ebx, dword [esp + 0xa8]
movzx ebp, word [ebx + 0x14]
xchg ebp, ebx
mov byte [eax], bl
xchg ebp, ebx
movzx ebp, word [ebx + 0x14]
shr bp, 8
xchg ebp, ebx
mov byte [eax + 1], bl
xchg ebp, ebx
cmp edx, 2
ja 0x4d4a20
mov ebp, 2
jmp 0x4d4a54
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], 2
mov dword [esp + 0xc], ecx
lea eax, [0x52abc0]
mov dword [esp + 0x10], eax
call fcn.0044f350
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebp, ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x50], eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ebp
lea ebx, [eax + 2]
mov dword [esp], ebx
mov ebx, dword [esp + 0x4c]
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.004691a0
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
mov ebp, dword [esp + 0x50]
mov dword [esp + 0x30], ebx
mov eax, dword [esp + 0xac]
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0xb0]
mov dword [esp], ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], esi
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
test eax, eax
jne 0x4d4dc5
mov edx, dword [esp + 0xa8]
movzx ebx, byte [edx]
test bl, bl
jne 0x4d4d95
mov ebx, dword [esp + 0x30]
cvtsi2ss xmm0, ebx
movss xmm1, dword [0x5d34e4]
mulss xmm0, xmm1
mov ebp, dword [edx + 0x28]
cvtsi2ss xmm1, ebp
movzx esi, byte [edx + 1]
divss xmm0, xmm1
xchg esi, eax
test al, al
xchg esi, eax
je 0x4d4afc
lea eax, [0x54652e]
jmp 0x4d4b02
lea eax, [0x54652b]
mov dword [esp + 0x2c], ecx
movss dword [esp + 0x28], xmm0
mov dword [esp + 0x40], ebp
movzx esi, byte [edx + 2]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x4d4b24
movzx esi, byte [edx + 3]
xchg esi, eax
test al, al
xchg esi, eax
je 0x4d4b2c
lea esi, [0x54652e]
jmp 0x4d4b32
lea esi, [0x54652b]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], esi
lea edi, [esp + 0x84]
xor eax, eax
call fcn.00468aa8
mov ecx, dword [esp + 0x44]
mov dword [esp], ecx
mov dword [esp + 4], 3
call fcn.00409c10
mov ecx, dword [esp + 8]
lea edx, [0x52a880]
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0xa8]
movzx ebx, word [ecx + 0x12]
mov word [esp], bx
call fcn.00409a90
mov ecx, dword [esp + 4]
lea edx, [0x52ad00]
mov dword [esp + 0x8c], edx
mov dword [esp + 0x90], ecx
mov ecx, dword [esp + 0x38]
mov word [esp], cx
call fcn.00409a90
mov ecx, dword [esp + 4]
lea edx, [0x52ad00]
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp], ecx
call fcn.00409b00
mov ecx, dword [esp + 4]
lea edx, [0x52aa00]
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], ecx
mov ecx, dword [0x68b9cc]
lea ebx, [0x5d4354]
mov dword [esp], ebx
mov dword [esp + 4], ecx
lea ecx, [0x551772]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 0x29
lea ecx, [esp + 0x84]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], 4
mov dword [esp + 0x18], 4
call fcn.004a48b0
lea edi, [esp + 0x64]
xor eax, eax
call fcn.00468aa8
mov ecx, dword [esp + 0x48]
mov dword [esp], ecx
mov dword [esp + 4], 3
call fcn.00409c10
mov ecx, dword [esp + 8]
lea edx, [0x52a880]
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0xa8]
movzx edx, word [ecx + 0x14]
mov word [esp], dx
call fcn.00409a90
mov ecx, dword [esp + 4]
lea edx, [0x52ad00]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0xa8]
movzx ecx, word [ecx + 0x14]
mov edx, dword [esp + 0x30]
lea ecx, [ecx + edx - 1]
mov dword [esp], ecx
call fcn.00409b00
mov ecx, dword [esp + 4]
lea edx, [0x52aa00]
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp], ecx
call fcn.00409b00
mov ecx, dword [esp + 4]
lea edx, [0x52aa00]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], ecx
mov ecx, dword [0x68b9cc]
lea edx, [0x5d4354]
mov dword [esp], edx
mov dword [esp + 4], ecx
lea ecx, [0x55179b]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 0x29
lea ecx, [esp + 0x64]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], 4
mov dword [esp + 0x18], 4
call fcn.004a48b0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
movss xmm0, dword [esp + 0x28]
movss dword [esp + 0x3c], xmm0
mov ecx, dword [esp + 0x3c]
mov dword [esp], ecx
call fcn.00409b00
mov ecx, dword [esp + 4]
lea edx, [0x52a980]
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], ecx
mov ecx, dword [0x68b9cc]
lea edx, [0x5d4354]
mov dword [esp], edx
mov dword [esp + 4], ecx
lea ecx, [0x550399]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 0x24
lea ecx, [esp + 0x54]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 1
call fcn.004a48b0
mov ecx, dword [esp + 0x2c]
mov eax, ecx
sar ecx, 0x1f
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xb4], eax
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
add esp, 0xa4
ret
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, ecx
sar ecx, 0x1f
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], edx
add esp, 0xa4
ret
call fcn.00467460
jmp fcn.004d48e0