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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59d8a3
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x558
mov eax, dword [0x5de00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4b0], ecx
cmp dword [0x5dfc24], 0
mov eax, dword [ebx + 8]
mov edx, dword [ebx + 0x10]
mov edi, dword [ebx + 0x18]
mov dword [ebp - 0x4d4], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x4e4], 0
jne 0x4a25b3
xor eax, eax
jmp 0x4a365c
push edx
mov dword [ecx + 0x318], 0
mov dword [ecx + 0x314], 0xffffffff
mov ecx, dword [0x5e461c]
push eax
call fcn.00453a50
xorps xmm0, xmm0
mov dword [ebp - 0x4c4], eax
xor ecx, ecx
mov dword [ebp - 0x68], 0
movups xmmword [ebp - 0x78], xmm0
mov dword [ebp - 0x64], 7
mov word [ebp - 0x78], cx
mov dword [ebp - 4], ecx
mov ecx, dword [eax + 0x34]
mov esi, dword [eax + 0x30]
sub ecx, esi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4a261d
cmp dword [esi + 0x14], 0x10
jb 0x4a261f
mov esi, dword [esi]
jmp 0x4a261f
xor esi, esi
lea edx, [ebp - 0x78]
mov ecx, esi
call fcn.004cbd00
mov edx, dword [ebp - 0x4c4]
movss xmm1, dword [0x5c7264]
mov dword [ebp - 0x544], 0
mov dword [ebp - 0x534], 0
mov ecx, dword [edx + 0x50]
mov eax, ecx
shr eax, 0x18
mov dword [ebp - 0x540], 0
mov dword [ebp - 0x530], 0
mov dword [ebp - 0x53c], 0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
mov dword [ebp - 0x52c], 0
mov dword [ebp - 0x538], 0
mov dword [ebp - 0x528], 0
addsd xmm0, qword [eax*8 + 0x5c7480]
mov eax, ecx
shr eax, 0x10
movzx eax, al
cvtpd2ps xmm0, xmm0
divss xmm0, xmm1
movss dword [ebp - 0x564], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x5c7480]
mov eax, ecx
shr eax, 8
movzx eax, al
cvtpd2ps xmm0, xmm0
divss xmm0, xmm1
movss dword [ebp - 0x560], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x5c7480]
movzx eax, cl
mov ecx, dword [edx + 0x54]
cvtpd2ps xmm0, xmm0
divss xmm0, xmm1
movss dword [ebp - 0x55c], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x5c7480]
mov eax, ecx
shr eax, 0x18
cvtpd2ps xmm0, xmm0
divss xmm0, xmm1
movss dword [ebp - 0x558], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x5c7480]
mov eax, ecx
shr eax, 0x10
movzx eax, al
cvtpd2ps xmm0, xmm0
divss xmm0, xmm1
movss dword [ebp - 0x554], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x5c7480]
mov eax, ecx
shr eax, 8
movzx eax, al
cvtpd2ps xmm0, xmm0
divss xmm0, xmm1
movss dword [ebp - 0x550], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x5c7480]
cvtpd2ps xmm0, xmm0
divss xmm0, xmm1
movss dword [ebp - 0x54c], xmm0
movzx eax, cl
push 0x412ac0
push 0x412a90
push 0x14
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
push 0x18
addsd xmm0, qword [eax*8 + 0x5c7480]
lea eax, [ebp - 0x4a8]
push eax
cvtpd2ps xmm0, xmm0
divss xmm0, xmm1
movss dword [ebp - 0x548], xmm0
call fcn.0052d8d8
mov dword [ebp - 0x2c8], 0
push 0x412ac0
push 0x412a90
push 0x14
push 0x18
lea eax, [ebp - 0x2c0]
mov byte [ebp - 4], 1
push eax
call fcn.0052d8d8
mov dword [ebp - 0xe0], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4a8]
movsd xmm1, qword [0x5c6f80]
call fcn.004a4cc0
lea eax, [ebp - 0x4a8]
mov ecx, edi
push eax
push 2
lea eax, [ebp - 0x2c0]
push eax
push str.getMessageLogTextColor
call fcn.004a5510
xorps xmm0, xmm0
test al, al
je 0x4a28c2
mov esi, dword [ebp - 0xe0]
test esi, esi
jle 0x4a287e
cmp dword [ebp - 0x2c0], 3
jne 0x4a287e
movsd xmm0, qword [ebp - 0x2b0]
call fcn.00580f50
lea edx, [ebp - 0x544]
mov ecx, eax
call fcn.004cbe60
cmp esi, 1
jg 0x4a289a
xorps xmm0, xmm0
jmp 0x4a28b0
cmp dword [ebp - 0x2a8], 3
je 0x4a28a8
xorps xmm0, xmm0
jmp 0x4a28b0
movsd xmm0, qword [ebp - 0x298]
call fcn.00580f50
lea edx, [ebp - 0x534]
mov ecx, eax
call fcn.004cbe60
lea ecx, [ebp - 0x4a8]
mov dword [ebp - 0x524], 0
mov dword [ebp - 0x514], 0
mov dword [ebp - 0x520], 0
mov dword [ebp - 0x510], 0
mov dword [ebp - 0x51c], 0
mov dword [ebp - 0x50c], 0
mov dword [ebp - 0x518], 0
mov dword [ebp - 0x508], 0
call fcn.004a4c70
xorps xmm1, xmm1
lea ecx, [ebp - 0x4a8]
call fcn.004a4cc0
lea eax, [ebp - 0x4a8]
mov ecx, edi
push eax
push 2
lea eax, [ebp - 0x2c0]
push eax
push str.getMessageLogTextColor
call fcn.004a5510
test al, al
je 0x4a29b4
mov esi, dword [ebp - 0xe0]
test esi, esi
jg 0x4a295a
xorps xmm0, xmm0
jmp 0x4a2970
cmp dword [ebp - 0x2c0], 3
je 0x4a2968
xorps xmm0, xmm0
jmp 0x4a2970
movsd xmm0, qword [ebp - 0x2b0]
call fcn.00580f50
lea edx, [ebp - 0x524]
mov ecx, eax
call fcn.004cbe60
cmp esi, 1
jg 0x4a298c
xorps xmm0, xmm0
jmp 0x4a29a2
cmp dword [ebp - 0x2a8], 3
je 0x4a299a
xorps xmm0, xmm0
jmp 0x4a29a2
movsd xmm0, qword [ebp - 0x298]
call fcn.00580f50
lea edx, [ebp - 0x514]
mov ecx, eax
call fcn.004cbe60
mov eax, dword [0x5dfc20]
xor edx, edx
xor edi, edi
mov dword [ebp - 0x4c8], edx
mov esi, dword [eax]
mov dword [ebp - 0x4c0], esi
cmp esi, eax
je 0x4a347c
mov dword [ebp - 0x4f8], 0
mov dword [ebp - 0x4f4], 0
mov dword [ebp - 0x4f0], 0
mov byte [ebp - 4], 3
test edi, edi
je 0x4a2a7a
mov ecx, dword [ebp - 0x4c4]
lea eax, [ebp - 0x78]
cmp dword [ebp - 0x64], 8
mov edi, dword [ebp - 0x4b0]
cmovae eax, dword [ebp - 0x78]
sub esp, 8
movss xmm0, dword [ecx + 0x4c]
movss xmm1, dword [ecx + 0x48]
movss dword [esp + 4], xmm0
movss dword [esp], xmm1
push 0
push edx
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x4f8]
push edx
lea edx, [ebp - 0x4b8]
push edx
lea edx, [ebp - 0x554]
push edx
push dword [ecx + 0x44]
lea edx, [ebp - 0x564]
push dword [ecx + 0x40]
push edx
push ecx
push 0x5aab9c
push eax
push dword [ecx + 0x3c]
mov ecx, edi
push 0
push dword [ebp - 0x4d4]
call fcn.004e7f90
add dword [edi + 0x318], eax
jmp 0x4a2a80
mov edi, dword [ebp - 0x4b0]
cmp dword [esi + 0x1c], 0
je 0x4a2ed0
push 1
xorps xmm0, xmm0
mov dword [ebp - 0x98], 0
push 0x5bdcc0
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0x94], 0
movups xmmword [ebp - 0xa8], xmm0
call fcn.00403d10
mov byte [ebp - 4], 4
lea ecx, [esi + 0xc]
cmp dword [ecx + 0x14], 8
xorps xmm0, xmm0
mov edi, dword [ecx + 0x10]
mov dword [ebp - 0x4b4], ecx
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
jb 0x4a2aed
mov ecx, dword [ecx]
mov dword [ebp - 0x4b4], ecx
cmp edi, 0x7ffffffe
ja 0x4a3681
cmp edi, 8
jae 0x4a2b12
mov eax, 7
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], eax
movups xmm0, xmmword [ecx]
movups xmmword [ebp - 0x2c], xmm0
jmp 0x4a2b70
mov eax, edi
mov dword [ebp - 0x18], 7
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x4a2b2c
mov eax, SysReAllocString
jmp 0x4a2b37
cmp eax, 0xa
mov ecx, 0xa
cmovb eax, ecx
mov dword [ebp - 0x4b8], eax
inc eax
push eax
call fcn.00403f30
mov ecx, dword [ebp - 0x4b8]
mov dword [ebp - 0x18], ecx
lea ecx, [edi*2 + 2]
push ecx
push dword [ebp - 0x4b4]
mov dword [ebp - 0x2c], eax
push eax
mov dword [ebp - 0x1c], edi
call sub.VCRUNTIME140.dll_memcpy
mov edi, dword [ebp - 0x1c]
add esp, 0xc
mov eax, dword [ebp - 0x18]
cmp eax, 8
mov byte [ebp - 4], 5
push 3
lea ecx, [ebp - 0x2c]
mov edx, edi
cmovae ecx, dword [ebp - 0x2c]
setae byte [ebp - 0x4a9]
push 0x5aaa90
push 0
call fcn.0040b5f0
mov ecx, eax
add esp, 0xc
mov dword [ebp - 0x4bc], ecx
cmp ecx, 0xffffffff
je 0x4a2bee
cmp edi, ecx
jb 0x4a367c
mov eax, edi
mov edx, 3
sub eax, ecx
cmp eax, edx
cmovb edx, eax
cmp byte [ebp - 0x4a9], 0
lea eax, [ebp - 0x2c]
cmovne eax, dword [ebp - 0x2c]
sub edi, edx
lea ecx, [eax + ecx*2]
mov eax, edi
sub eax, dword [ebp - 0x4bc]
lea eax, [eax*2 + 2]
push eax
lea eax, [ecx + edx*2]
push eax
push ecx
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov dword [ebp - 0x1c], edi
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x2c]
push 3
cmovae ecx, dword [ebp - 0x2c]
mov edx, edi
push 0x5aaad0
push 0
setae byte [ebp - 0x4a9]
call fcn.0040b5f0
add esp, 0xc
mov dword [ebp - 0x4b4], eax
cmp eax, 0xffffffff
je 0x4a2c6d
cmp edi, eax
jb 0x4a367c
mov ecx, edi
mov edx, 3
sub ecx, eax
lea eax, [ebp - 0x2c]
cmp ecx, edx
cmovb edx, ecx
cmp byte [ebp - 0x4a9], 0
mov ecx, dword [ebp - 0x4b4]
cmovne eax, dword [ebp - 0x2c]
sub edi, edx
lea ecx, [eax + ecx*2]
mov eax, edi
sub eax, dword [ebp - 0x4b4]
lea eax, [eax*2 + 2]
push eax
lea eax, [ecx + edx*2]
push eax
push ecx
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov dword [ebp - 0x1c], edi
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x2c]
push 3
cmovae ecx, dword [ebp - 0x2c]
mov edx, edi
push 0x5aaad8
push 0
setae byte [ebp - 0x4a9]
call fcn.0040b5f0
add esp, 0xc
mov dword [ebp - 0x4b4], eax
cmp eax, 0xffffffff
je 0x4a2cec
cmp edi, eax
jb 0x4a367c
mov ecx, edi
mov edx, 3
sub ecx, eax
lea eax, [ebp - 0x2c]
cmp ecx, edx
cmovb edx, ecx
cmp byte [ebp - 0x4a9], 0
mov ecx, dword [ebp - 0x4b4]
cmovne eax, dword [ebp - 0x2c]
sub edi, edx
lea ecx, [eax + ecx*2]
mov eax, edi
sub eax, dword [ebp - 0x4b4]
lea eax, [eax*2 + 2]
push eax
lea eax, [ecx + edx*2]
push eax
push ecx
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov dword [ebp - 0x1c], edi
cmp dword [ebp - 0x18], 8
lea edx, [ebp - 0x2c]
cmovae edx, dword [ebp - 0x2c]
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a2d00
sub ecx, edi
mov eax, SysReAllocString
mov edi, dword [ebp - 0x98]
sub eax, edi
sar ecx, 1
cmp eax, ecx
jb 0x4a3681
cmp dword [ebp - 0x94], 8
lea eax, [ebp - 0xa8]
push ecx
cmovae eax, dword [ebp - 0xa8]
push edx
push edi
push eax
push ecx
push dword [ebp - 0x4cc]
lea ecx, [ebp - 0x44]
call fcn.00403e90
mov edi, dword [ebp - 0x4e4]
or edi, 2
push 1
push 0x5beac0
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 6
call fcn.004083e0
xor ecx, ecx
or edi, 1
mov dword [ebp - 0x4e4], edi
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x58], xmm0
movups xmmword [ebp - 0x90], xmm0
movq xmm0, qword [eax + 0x10]
mov word [eax], cx
lea ecx, [ebp - 0xa8]
movq qword [ebp - 0x4d0], xmm0
movq qword [ebp - 0x80], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
call fcn.00403990
movups xmm0, xmmword [ebp - 0x58]
xor eax, eax
mov dword [ebp - 0x80], 0
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x7c], 7
movups xmmword [ebp - 0xa8], xmm0
mov word [ebp - 0x90], ax
movq xmm0, qword [ebp - 0x4d0]
movq qword [ebp - 0x98], xmm0
call fcn.00403990
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 5
call fcn.00403990
cmp dword [ebp - 0x94], 8
lea ecx, [ebp - 0xa8]
mov edx, dword [ebp - 0x4c4]
lea eax, [ebp - 0x78]
cmovae ecx, dword [ebp - 0x58]
lea edi, [ebp - 0x4f8]
cmp dword [ebp - 0x64], 8
cmovae eax, dword [ebp - 0x78]
sub esp, 8
movss xmm0, dword [edx + 0x4c]
movss xmm1, dword [edx + 0x48]
movss dword [esp + 4], xmm0
movss dword [esp], xmm1
push 0
push dword [ebp - 0x4c8]
push 0
push 0
push 0
push 0
push edi
lea edi, [ebp - 0x4b8]
push edi
lea edi, [ebp - 0x514]
push edi
push dword [edx + 0x44]
lea edi, [ebp - 0x524]
push dword [edx + 0x40]
push edi
mov edi, dword [ebp - 0x4b0]
push ecx
push ecx
push eax
push dword [edx + 0x3c]
push 0
push dword [ebp - 0x4d4]
mov ecx, edi
call fcn.004e7f90
add dword [edi + 0x318], eax
lea ecx, [ebp - 0x2c]
call fcn.00403990
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x94]
cmp ecx, 8
jb 0x4a2ed0
mov edx, dword [ebp - 0xa8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4a2ec6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a3476
push ecx
push edx
call fcn.0052d747
add esp, 8
mov eax, dword [edi + 0x2bc]
sub eax, dword [edi + 0x2b8]
mov edi, dword [esi + 0x40]
sar eax, 2
mov dword [ebp - 0x4cc], eax
mov dword [ebp - 0x4ec], eax
mov dword [ebp - 0x4b8], edi
cmp edi, dword [esi + 0x44]
je 0x4a33e0
lea eax, [ebp - 0xd8]
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0x50], eax
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov esi, edx
shr esi, 0x1f
add esi, edx
mov dword [ebp - 0x4b4], esi
jmp 0x4a2f36
mov esi, dword [ebp - 0x4b4]
push 3
xorps xmm0, xmm0
mov dword [ebp - 0xc8], 0
push 0x5aaa90
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0xc4], 0
movups xmmword [ebp - 0xd8], xmm0
call fcn.00403d10
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xc0]
push 3
xorps xmm0, xmm0
mov dword [ebp - 0xb0], 0
push 0x5aaad0
movups xmmword [ebp - 0xc0], xmm0
mov dword [ebp - 0xac], 0
call fcn.00403d10
mov byte [ebp - 4], 8
mov dword [ebp - 0x4e0], 0
mov dword [ebp - 0x4dc], 0
mov dword [ebp - 0x4d8], 0
test esi, esi
je 0x4a3063
cmp esi, 0xaaaaaaa
ja 0x4a3686
push esi
call fcn.00403bd0
mov esi, eax
mov eax, dword [ebp - 0x4b4]
mov dword [ebp - 0x4e0], esi
mov dword [ebp - 0x4dc], esi
lea ecx, [eax + eax*2]
lea ecx, [esi + ecx*8]
lea eax, [ebp - 0x4e0]
mov dword [ebp - 0x4d8], ecx
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0xd8]
mov dword [ebp - 0x504], esi
lea ecx, [ebp - 0x4e0]
mov dword [ebp - 0x4bc], eax
mov dword [ebp - 0x500], esi
mov dword [ebp - 0x4fc], ecx
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0xa
cmp eax, ecx
je 0x4a3057
mov edi, eax
push edi
mov ecx, esi
call fcn.004037a0
add esi, 0x18
lea eax, [ebp - 0xa8]
add edi, 0x18
mov dword [ebp - 0x500], esi
cmp edi, eax
jne 0x4a3033
mov edi, dword [ebp - 0x4b8]
mov dword [ebp - 0x504], esi
mov dword [ebp - 0x4dc], esi
push 0x403710
push 2
push 0x18
lea eax, [ebp - 0xd8]
mov byte [ebp - 4], 0xc
push eax
call fcn.0052d3e1
cmp dword [edi + 0x30], 8
lea ecx, [edi + 0x1c]
mov eax, dword [ecx + 0x10]
xorps xmm0, xmm0
mov dword [ebp - 0x4bc], ecx
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x4c], eax
jb 0x4a30ae
mov ecx, dword [ecx]
mov dword [ebp - 0x4bc], ecx
cmp eax, 0x7ffffffe
ja 0x4a3681
mov dword [ebp - 0x30], 7
cmp eax, 8
jae 0x4a30d1
mov dword [ebp - 0x34], eax
movups xmm0, xmmword [ecx]
movups xmmword [ebp - 0x44], xmm0
jmp 0x4a311c
mov esi, eax
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x4a30e5
mov esi, SysReAllocString
jmp 0x4a30f0
cmp esi, 0xa
mov eax, 0xa
cmovb esi, eax
lea eax, [esi + 1]
push eax
call fcn.00403f30
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x30], esi
lea ecx, [ecx*2 + 2]
push ecx
push dword [ebp - 0x4bc]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [ebp - 4], 0xd
mov esi, dword [ebp - 0x4e0]
cmp esi, dword [ebp - 0x4dc]
je 0x4a31ad
xor edi, edi
cmp dword [esi + 0x14], 8
mov eax, esi
mov dword [ebp - 0x4bc], esi
jb 0x4a314a
mov eax, dword [esi]
mov dword [ebp - 0x4bc], eax
mov edx, eax
lea ecx, [edx + 2]
nop
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4a3150
sub edx, ecx
lea ecx, [ebp - 0x44]
sar edx, 1
cmp dword [ebp - 0x30], 8
push edx
push dword [ebp - 0x4bc]
cmovae ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x34]
push edi
call fcn.0040b5f0
mov edi, eax
add esp, 0xc
cmp edi, 0xffffffff
je 0x4a319c
push 0
push 0x5bd430
push dword [esi + 0x10]
lea ecx, [ebp - 0x44]
push edi
call fcn.004a42a0
add edi, dword [esi + 0x10]
jmp 0x4a3134
add esi, 0x18
cmp esi, dword [ebp - 0x4dc]
jne 0x4a3132
mov edi, dword [ebp - 0x4b8]
cmp dword [edi + 0x18], 0xffffffff
jne 0x4a32bd
cmp dword [ebx + 0x1c], 0
je 0x4a32bd
xorps xmm0, xmm0
mov dword [ebp - 0x80], 0
movups xmmword [ebp - 0x90], xmm0
mov dword [ebp - 0x7c], 0xf
mov byte [ebp - 0x90], 0
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
lea edx, [ebp - 0x90]
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x44]
call fcn.004cbc70
cmp dword [ebp - 0x7c], 0x10
lea ecx, [ebp - 0x60]
push 1
lea eax, [ebp - 0x90]
cmovae eax, dword [ebp - 0x90]
push ecx
push eax
call fcn.004a1990
cmp dword [ebp - 0x4c], 0x10
lea ecx, [ebp - 0x60]
lea edx, [ebp - 0x44]
cmovae ecx, dword [ebp - 0x60]
call fcn.004cbd00
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0x10
jb 0x4a3270
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a3266
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a3476
push ecx
push edx
call fcn.0052d747
add esp, 8
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
cmp ecx, 0x10
jb 0x4a32bd
mov edx, dword [ebp - 0x90]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a32b3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a3476
push ecx
push edx
call fcn.0052d747
add esp, 8
mov ecx, dword [edi + 0x38]
lea esi, [edi + 0x34]
sub ecx, dword [esi]
mov eax, 0x2aaaaaab
imul ecx
lea ecx, [ebp - 0x44]
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov eax, dword [ebp - 0x4c4]
movss xmm0, dword [eax + 0x4c]
movss xmm1, dword [eax + 0x48]
mov edx, dword [eax + 0x44]
lea eax, [ebp - 0x78]
je 0x4a3341
cmp dword [ebp - 0x30], 8
cmovae ecx, dword [ebp - 0x44]
cmp dword [ebp - 0x64], 8
cmovae eax, dword [ebp - 0x78]
sub esp, 8
movss dword [esp + 4], xmm0
movss dword [esp], xmm1
push 0
push dword [ebp - 0x4c8]
push 0
push 0
push 0
push 0
push esi
lea esi, [ebp - 0x4b8]
push esi
lea esi, [ebp - 0x534]
push esi
mov esi, dword [ebp - 0x4c4]
push edx
mov edx, dword [esi + 0x40]
push edx
lea edx, [ebp - 0x544]
jmp 0x4a338f
cmp dword [ebp - 0x30], 8
cmovae ecx, dword [ebp - 0x44]
cmp dword [ebp - 0x64], 8
cmovae eax, dword [ebp - 0x78]
sub esp, 8
movss dword [esp + 4], xmm0
movss dword [esp], xmm1
push 0
push dword [ebp - 0x4c8]
push 0
push 0
push 0
push 0
push esi
lea esi, [ebp - 0x4b8]
push esi
lea esi, [ebp - 0x554]
push esi
mov esi, dword [ebp - 0x4c4]
push edx
mov edx, dword [esi + 0x40]
push edx
lea edx, [ebp - 0x564]
push edx
push ecx
push ecx
push eax
push dword [esi + 0x3c]
mov esi, dword [ebp - 0x4b0]
mov ecx, esi
push 0
push dword [ebp - 0x4d4]
call fcn.004e7f90
add dword [esi + 0x318], eax
lea ecx, [ebp - 0x44]
call fcn.00403990
lea ecx, [ebp - 0x4e0]
mov byte [ebp - 4], 3
call fcn.004038f0
mov esi, dword [ebp - 0x4c0]
add edi, 0x40
mov dword [ebp - 0x4b8], edi
cmp edi, dword [esi + 0x44]
jne 0x4a2f30
mov ecx, dword [ebp - 0x4b0]
mov eax, dword [ecx + 0x2bc]
sub eax, dword [ecx + 0x2b8]
sar eax, 2
cmp dword [esi + 0x34], 0
mov dword [ebp - 0x4e8], eax
jne 0x4a3414
or eax, 0xffffffff
or edi, eax
mov dword [ebp - 0x4e8], eax
mov dword [ebp - 0x4ec], edi
jmp 0x4a341a
mov edi, dword [ebp - 0x4cc]
mov edx, dword [ecx + 0x330]
add ecx, 0x32c
cmp edx, dword [ecx + 8]
je 0x4a3436
mov dword [edx], edi
mov dword [edx + 4], eax
add dword [ecx + 4], 8
jmp 0x4a3443
lea eax, [ebp - 0x4ec]
push eax
push edx
call fcn.00412340
inc dword [ebp - 0x4c8]
lea ecx, [ebp - 0x4f8]
mov edi, 1
call fcn.00411de0
mov eax, dword [esi]
mov esi, eax
mov dword [ebp - 0x4c0], eax
cmp eax, dword [0x5dfc20]
je 0x4a347c
mov edx, dword [ebp - 0x4c8]
jmp 0x4a29d3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov ecx, dword [ebp - 0x4b0]
xorps xmm0, xmm0
xorps xmm3, xmm3
mov eax, dword [ecx + 0x318]
mov dword [ecx + 0x2c8], eax
mov esi, dword [ecx + 0x2bc]
mov ecx, dword [ecx + 0x2b8]
mov dword [ebp - 0x4cc], ecx
cmp esi, ecx
je 0x4a3607
mov ecx, esi
mov dword [ebp - 0x4c0], esi
mov edx, esi
mov edi, eax
nop word [eax + eax]
ucomiss xmm3, xmm0
lahf
test ah, 0x44
jp 0x4a34dd
mov eax, dword [ecx - 4]
mov edx, dword [ebp - 0x4c0]
movd xmm3, dword [eax + 0x110]
cvtdq2ps xmm3, xmm3
push 0xffffffffffffffff
push 0
push ecx
mov ecx, dword [edx - 4]
movaps xmm5, xmm3
add esi, 0xfffffffc
call fcn.0043dc00
mov eax, dword [esi]
addss xmm3, xmm0
mov edx, dword [ebp - 0x4b0]
mov dword [ebp - 0x4c0], eax
cmp dword [eax + 0x80], 0
jne 0x4a3560
movd xmm4, dword [edx + 0x2b4]
cvtdq2ps xmm4, xmm4
comiss xmm3, xmm4
jb 0x4a3570
mov ecx, dword [eax + 0x78]
subss xmm4, xmm5
sub ecx, 1
mov esi, 0
mov dword [ebp - 0x4cc], ecx
je 0x4a35e7
lea edi, [esi + 1]
push edi
push ecx
mov ecx, eax
call fcn.0043dd00
comiss xmm0, xmm4
ja 0x4a35e1
mov eax, dword [ebp - 0x4c0]
mov esi, edi
cmp esi, dword [ebp - 0x4cc]
jb 0x4a3536
jmp 0x4a35e1
movd xmm4, dword [edx + 0x2b0]
cvtdq2ps xmm4, xmm4
comiss xmm3, xmm4
jae 0x4a35a7
sub edi, dword [eax + 0x78]
mov dword [edx + 0x2c8], edi
cmp edi, dword [edx + 0x318]
jne 0x4a358d
mov dword [edx + 0x2c8], 0
xor edi, edi
mov ecx, esi
mov edx, ecx
mov dword [ebp - 0x4c0], ecx
cmp esi, dword [ebp - 0x4cc]
je 0x4a3607
xorps xmm0, xmm0
jmp 0x4a34c0
mov ecx, dword [eax + 0x78]
subss xmm4, xmm5
sub ecx, 1
mov esi, 0
mov dword [ebp - 0x4cc], ecx
je 0x4a35e7
nop
lea edi, [esi + 1]
push edi
push ecx
mov ecx, eax
call fcn.0043dd00
comiss xmm0, xmm4
ja 0x4a35e1
mov eax, dword [ebp - 0x4c0]
mov esi, edi
cmp esi, dword [ebp - 0x4cc]
jb 0x4a35c0
mov edx, dword [ebp - 0x4b0]
mov eax, dword [edx + 0x2c8]
sub eax, esi
mov dword [edx + 0x2c8], eax
cmp eax, dword [edx + 0x318]
jne 0x4a3607
mov dword [edx + 0x2c8], 0
lea ecx, [ebp - 0x2c0]
mov byte [ebp - 4], 0x10
call fcn.004a4c70
push 0x412ac0
push 0x14
push 0x18
lea eax, [ebp - 0x2c0]
push eax
call fcn.0052d3e1
lea ecx, [ebp - 0x4a8]
mov byte [ebp - 4], 0x11
call fcn.004a4c70
push 0x412ac0
push 0x14
push 0x18
lea eax, [ebp - 0x4a8]
push eax
call fcn.0052d3e1
lea ecx, [ebp - 0x78]
call fcn.00403990
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0052d3c5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x18
call fcn.00405980
call fcn.00402990
call fcn.004038e0
int3