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

Disassembly:
mov ecx, dword [0x5915c4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4a0912
sub esp, 0x68
mov eax, dword [esp + 0x6c]
movzx ecx, byte [eax + 5]
test cl, cl
je 0x4a03a8
mov ecx, dword [eax + 0x14]
jmp 0x4a03af
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x4c], ecx
lea edx, [eax + 0x18]
mov dword [esp], edx
mov dword [esp + 4], 1
mov dword [esp + 8], 0x44
movsd xmm0, qword [esp + 0x70]
movsd qword [esp + 0xc], xmm0
mov edx, dword [esp + 0x7c]
mov byte [esp + 0x14], dl
mov dword [esp + 0x18], ecx
mov ebx, dword [esp + 0x78]
mov dword [esp + 0x1c], ebx
call fcn.004756a0
mov eax, dword [esp + 0x20]
movzx ecx, byte [eax + 1]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
cmp cl, 0x2d
je 0x4a0408
cmp cl, 0x2b
jne 0x4a0418
dec ebx
mov ecx, ebx
neg ecx
sar ecx, 0x1f
and ecx, 1
dec edx
add eax, ecx
jmp 0x4a041b
mov byte [eax], 0x2b
mov ecx, dword [esp + 0x6c]
movzx ebp, byte [ecx + 9]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4a043b
cmp byte [eax], 0x2b
jne 0x4a043b
movzx ebp, byte [ecx + 7]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x4a043b
mov byte [eax], 0x20
movzx ebp, byte [eax + 1]
xchg ebp, eax
cmp al, 0x49
xchg ebp, eax
je 0x4a04ea
xchg ebp, eax
cmp al, 0x4e
xchg ebp, eax
je 0x4a04ea
movzx ebp, byte [ecx + 8]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4a0548
mov ebp, dword [esp + 0x7c]
cmp ebp, 0x62
je 0x4a0548
cmp ebp, 0x67
jg 0x4a0481
cmp ebp, 0x47
je 0x4a048b
cmp ebp, 0x67
je 0x4a048b
jmp 0x4a049b
cmp ebp, 0x76
je 0x4a048b
cmp ebp, 0x78
jne 0x4a049b
mov esi, dword [esp + 0x4c]
cmp esi, 0xffffffff
jne 0x4a049d
mov esi, 6
jmp 0x4a049d
xor esi, esi
mov dword [esp + 0x60], eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x2f], 0
mov word [esp + 0x33], 0
mov edi, 1
xor edi, edi
xchg edi, eax
mov byte [esp + 0x35], al
xchg edi, eax
xor edi, edi
xchg edi, eax
mov byte [esp + 0x37], al
xchg edi, eax
xor edi, edi
mov dword [esp + 0x38], edi
mov edi, 6
mov dword [esp + 0x3c], edi
lea edi, [esp + 0x2f]
mov dword [esp + 0x5c], edi
mov edi, 1
jmp 0x4a062b
movzx ebp, byte [ecx + 0xa]
xchg ebp, eax
mov byte [esp + 0x36], al
xchg ebp, eax
mov byte [ecx + 0xa], 0
cmp byte [eax + 1], 0x4e
jne 0x4a0524
movzx esi, byte [ecx + 9]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x4a0524
movzx esi, byte [ecx + 7]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x4a0524
dec ebx
mov esi, ebx
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, 1
dec edx
add eax, esi
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.0049f0e0
movzx eax, byte [esp + 0x36]
mov ecx, dword [esp + 0x6c]
mov byte [ecx + 0xa], al
add esp, 0x68
ret
movzx ebp, byte [ecx + 7]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x4a055b
cmp byte [eax], 0x2b
je 0x4a05fa
movzx ebp, byte [ecx + 0xa]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4a05e2
movzx ebp, byte [ecx + 4]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4a05e2
cmp dword [ecx + 0x10], edx
jle 0x4a05e2
mov dword [esp + 0x60], eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], edx
mov edx, dword [ecx]
movzx ebx, byte [eax]
mov dword [esp], edx
mov byte [esp + 4], bl
call fcn.004a0ac0
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 0x10]
mov dword [esp], eax
mov edx, dword [esp + 0x40]
sub ecx, edx
mov dword [esp + 4], ecx
call fcn.0049efc0
mov eax, dword [esp + 0x6c]
mov eax, dword [eax]
mov dword [esp], eax
mov eax, dword [esp + 0x44]
dec eax
mov ecx, dword [esp + 0x40]
dec ecx
mov edx, eax
neg eax
sar eax, 0x1f
and eax, 1
mov ebx, dword [esp + 0x60]
add eax, ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call fcn.004a0920
add esp, 0x68
ret
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.0049f0e0
add esp, 0x68
ret
mov dword [esp], ecx
lea ecx, [ebx - 1]
dec edx
mov ebx, ecx
neg ecx
sar ecx, 0x1f
and ecx, 1
add eax, ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.0049f0e0
add esp, 0x68
ret
inc edi
mov byte [esp + 0x35], cl
mov ecx, dword [esp + 0x6c]
cmp edx, edi
jle 0x4a07f0
mov dword [esp + 0x48], edi
mov dword [esp + 0x58], esi
movzx ecx, byte [eax + edi]
cmp cl, 0x45
ja 0x4a0668
cmp cl, 0x2e
jne 0x4a065e
movzx ecx, byte [esp + 0x35]
mov ecx, 1
mov byte [esp + 0x37], cl
movzx ecx, byte [esp + 0x35]
jmp 0x4a0622
cmp cl, 0x45
je 0x4a067a
jmp 0x4a0733
cmp cl, 0x50
je 0x4a074e
cmp cl, 0x65
jne 0x4a072e
cmp ebp, 0x78
je 0x4a0733
cmp ebp, 0x58
je 0x4a0733
sub edx, edi
mov ecx, dword [esp + 0x38]
lea ebp, [ecx + edx]
sub ebx, edi
neg ebx
sar ebx, 0x1f
and ebx, edi
add ebx, eax
mov eax, dword [esp + 0x3c]
cmp eax, ebp
jae 0x4a06f0
mov dword [esp + 0x54], edx
mov dword [esp + 0x64], ebx
mov ecx, dword [esp + 0x5c]
mov dword [esp], ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
lea eax, [0x4b7120]
mov dword [esp + 0x10], eax
call fcn.00453590
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x5c], eax
mov eax, ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], ebp
mov esi, dword [esp + 0x5c]
add ecx, esi
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
call fcn.0046df60
mov eax, dword [esp + 0x60]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x7c]
mov edi, dword [esp + 0x48]
mov edx, edi
movzx ecx, byte [esp + 0x35]
mov esi, dword [esp + 0x58]
jmp 0x4a0622
cmp cl, 0x70
je 0x4a074e
cmp cl, 0x30
setne cl
movzx ebx, byte [esp + 0x35]
or ecx, ebx
test cl, cl
je 0x4a0745
dec esi
mov ebx, dword [esp + 0x44]
jmp 0x4a0622
sub edx, edi
mov ecx, dword [esp + 0x38]
lea ebp, [ecx + edx]
sub ebx, edi
neg ebx
sar ebx, 0x1f
and ebx, edi
add ebx, eax
mov eax, dword [esp + 0x3c]
cmp eax, ebp
jae 0x4a07b2
mov dword [esp + 0x54], edx
mov dword [esp + 0x64], ebx
mov ecx, dword [esp + 0x5c]
mov dword [esp], ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
lea eax, [0x4b7120]
mov dword [esp + 0x10], eax
call fcn.00453590
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x5c], eax
mov eax, ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], eax
mov esi, dword [esp + 0x5c]
add ecx, esi
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
call fcn.0046df60
mov eax, dword [esp + 0x60]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x7c]
mov edi, dword [esp + 0x48]
mov edx, edi
movzx ecx, byte [esp + 0x35]
mov esi, dword [esp + 0x58]
jmp 0x4a0622
movzx ebp, byte [esp + 0x37]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x4a0853
cmp edx, 2
jne 0x4a0807
cmp byte [eax + 1], 0x30
jne 0x4a0807
dec esi
inc edx
cmp ebx, edx
jae 0x4a0846
mov dword [esp + 0x50], esi
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x4b7120]
mov dword [esp + 0x10], eax
call fcn.00453590
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x6c]
mov esi, dword [esp + 0x50]
mov byte [edx + eax - 1], 0x2e
jmp 0x4a0853
mov byte [edx + eax - 1], 0x30
dec esi
test esi, esi
jle 0x4a0898
inc edx
cmp ebx, edx
jae 0x4a084d
mov dword [esp + 0x4c], esi
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x4b7120]
mov dword [esp + 0x10], eax
call fcn.00453590
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x6c]
mov esi, dword [esp + 0x4c]
jmp 0x4a084d
mov ebp, dword [esp + 0x38]
lea esi, [ebp + edx]
cmp ebx, esi
jae 0x4a08da
mov dword [esp + 0x40], edx
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
lea eax, [0x4b7120]
mov dword [esp + 0x10], eax
call fcn.00453590
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x40]
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], esi
mov dword [esp + 0x60], eax
lea ecx, [eax + edx]
mov dword [esp], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
call fcn.0046df60
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x60]
mov ebx, dword [esp + 0x44]
jmp 0x4a0548
call fcn.0046c370
jmp fcn.004a0380