Function at 0x4a4180
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 0x59f6b6
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x550
mov eax, dword [0x5e000c]
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 - 0x4a4], ecx
cmp dword [0x5e1c64], 0
mov eax, dword [ebx + 8]
mov edx, dword [ebx + 0x10]
mov edi, dword [ebx + 0x18]
mov dword [ebp - 0x4cc], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x4e0], 0
jne 0x4a41f3
xor eax, eax
jmp 0x4a55d9
push edx
mov dword [ecx + 0x318], 0
mov dword [ecx + 0x314], 0xffffffff
mov ecx, dword [0x5e6598]
push eax
call fcn.00453db0
xor ecx, ecx
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x4b8], eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], 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 0x4a425d
cmp dword [esi + 0x14], 0x10
jb 0x4a425f
mov esi, dword [esi]
jmp 0x4a425f
xor esi, esi
lea edx, [ebp - 0x44]
mov ecx, esi
call fcn.004cdd40
mov edx, dword [ebp - 0x4b8]
movss xmm1, dword [0x5c92a8]
mov dword [ebp - 0x534], 0
mov dword [ebp - 0x524], 0
mov ecx, dword [edx + 0x50]
mov eax, ecx
shr eax, 0x18
mov dword [ebp - 0x530], 0
mov dword [ebp - 0x520], 0
mov dword [ebp - 0x52c], 0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
mov dword [ebp - 0x51c], 0
mov dword [ebp - 0x528], 0
mov dword [ebp - 0x518], 0
addsd xmm0, qword [eax*8 + 0x5c9490]
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 + 0x5c9490]
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 + 0x5c9490]
movzx eax, cl
mov ecx, dword [edx + 0x54]
cvtpd2ps xmm0, xmm0
divss xmm0, xmm1
movss dword [ebp - 0x54c], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x5c9490]
mov eax, ecx
shr eax, 0x18
cvtpd2ps xmm0, xmm0
divss xmm0, xmm1
movss dword [ebp - 0x548], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x5c9490]
mov eax, ecx
shr eax, 0x10
movzx eax, al
cvtpd2ps xmm0, xmm0
divss xmm0, xmm1
movss dword [ebp - 0x544], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x5c9490]
mov eax, ecx
shr eax, 8
movzx eax, al
cvtpd2ps xmm0, xmm0
divss xmm0, xmm1
movss dword [ebp - 0x540], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x5c9490]
cvtpd2ps xmm0, xmm0
divss xmm0, xmm1
movss dword [ebp - 0x53c], xmm0
movzx eax, cl
push 0x4125a0
push 0x412570
push 0x14
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
push 0x18
addsd xmm0, qword [eax*8 + 0x5c9490]
lea eax, [ebp - 0x490]
push eax
cvtpd2ps xmm0, xmm0
divss xmm0, xmm1
movss dword [ebp - 0x538], xmm0
call fcn.0052f9d8
mov dword [ebp - 0x2b0], 0
push 0x4125a0
push 0x412570
push 0x14
push 0x18
lea eax, [ebp - 0x2a8]
mov byte [ebp - 4], 1
push eax
call fcn.0052f9d8
mov dword [ebp - 0xc8], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x490]
movsd xmm1, qword [0x5c8fb8]
call fcn.004a6aa0
lea eax, [ebp - 0x490]
mov ecx, edi
push eax
push 2
lea eax, [ebp - 0x2a8]
push eax
push str.getMessageLogTextColor
call fcn.004a72c0
xorps xmm0, xmm0
test al, al
je 0x4a4502
mov esi, dword [ebp - 0xc8]
test esi, esi
jle 0x4a44be
cmp dword [ebp - 0x2a8], 3
jne 0x4a44be
movsd xmm0, qword [ebp - 0x298]
call fcn.00582df0
lea edx, [ebp - 0x534]
mov ecx, eax
call fcn.004cdea0
cmp esi, 1
jg 0x4a44da
xorps xmm0, xmm0
jmp 0x4a44f0
cmp dword [ebp - 0x290], 3
je 0x4a44e8
xorps xmm0, xmm0
jmp 0x4a44f0
movsd xmm0, qword [ebp - 0x280]
call fcn.00582df0
lea edx, [ebp - 0x524]
mov ecx, eax
call fcn.004cdea0
lea ecx, [ebp - 0x490]
mov dword [ebp - 0x514], 0
mov dword [ebp - 0x504], 0
mov dword [ebp - 0x510], 0
mov dword [ebp - 0x500], 0
mov dword [ebp - 0x50c], 0
mov dword [ebp - 0x4fc], 0
mov dword [ebp - 0x508], 0
mov dword [ebp - 0x4f8], 0
call fcn.004a6a50
xorps xmm1, xmm1
lea ecx, [ebp - 0x490]
call fcn.004a6aa0
lea eax, [ebp - 0x490]
mov ecx, edi
push eax
push 2
lea eax, [ebp - 0x2a8]
push eax
push str.getMessageLogTextColor
call fcn.004a72c0
test al, al
je 0x4a45f4
mov esi, dword [ebp - 0xc8]
test esi, esi
jg 0x4a459a
xorps xmm0, xmm0
jmp 0x4a45b0
cmp dword [ebp - 0x2a8], 3
je 0x4a45a8
xorps xmm0, xmm0
jmp 0x4a45b0
movsd xmm0, qword [ebp - 0x298]
call fcn.00582df0
lea edx, [ebp - 0x514]
mov ecx, eax
call fcn.004cdea0
cmp esi, 1
jg 0x4a45cc
xorps xmm0, xmm0
jmp 0x4a45e2
cmp dword [ebp - 0x290], 3
je 0x4a45da
xorps xmm0, xmm0
jmp 0x4a45e2
movsd xmm0, qword [ebp - 0x280]
call fcn.00582df0
lea edx, [ebp - 0x504]
mov ecx, eax
call fcn.004cdea0
mov eax, dword [0x5e1c60]
xor edx, edx
xor ecx, ecx
mov dword [ebp - 0x4bc], edx
mov esi, dword [eax]
mov dword [ebp - 0x4dc], esi
cmp esi, eax
je 0x4a533a
nop dword [eax]
nop word [eax + eax]
xor eax, eax
mov dword [ebp - 0x4b0], eax
mov dword [ebp - 0x4d8], eax
mov dword [ebp - 0x4d4], eax
mov dword [ebp - 0x4d0], eax
mov byte [ebp - 4], 3
test ecx, ecx
je 0x4a46cf
mov ecx, dword [ebp - 0x4b8]
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x30], 8
mov edi, dword [ebp - 0x4a4]
cmovae eax, dword [ebp - 0x44]
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 - 0x4d8]
push edx
lea edx, [ebp - 0x4a8]
push edx
lea edx, [ebp - 0x544]
push edx
push dword [ecx + 0x44]
lea edx, [ebp - 0x554]
push dword [ecx + 0x40]
push edx
push ecx
push 0x5acc34
push eax
push dword [ecx + 0x3c]
mov ecx, edi
push 0
push dword [ebp - 0x4cc]
call fcn.004e9d30
add dword [edi + 0x318], eax
mov eax, dword [ebp - 0x4d8]
mov dword [ebp - 0x4b0], eax
jmp 0x4a46d5
mov edi, dword [ebp - 0x4a4]
cmp dword [esi + 0x1c], 0
je 0x4a4b81
push 1
xor eax, eax
mov dword [ebp - 0x78], 0
push 0x5bfd38
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 7
mov word [ebp - 0x78], ax
call fcn.004039b0
mov byte [ebp - 4], 4
lea eax, [esi + 0xc]
cmp dword [eax + 0x14], 8
mov edi, dword [eax + 0x10]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x49c], eax
mov dword [ebp - 0x4b0], edi
jb 0x4a4742
mov eax, dword [eax]
mov dword [ebp - 0x49c], eax
cmp edi, 8
jae 0x4a475b
movups xmm0, xmmword [eax]
mov eax, 7
mov dword [ebp - 0x498], eax
movups xmmword [ebp - 0x2c], xmm0
jmp 0x4a479a
mov eax, edi
mov ecx, 0x7ffffffe
or eax, 7
cmp eax, 0x7ffffffe
cmova eax, ecx
mov dword [ebp - 0x498], eax
inc eax
push eax
call fcn.00403c90
lea ecx, [edi*2 + 2]
mov dword [ebp - 0x2c], eax
push ecx
push dword [ebp - 0x49c]
push eax
call fcn.00582b4b
mov eax, dword [ebp - 0x498]
add esp, 0xc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edi
mov edx, dword [ebp - 0x4b0]
lea ecx, [ebp - 0x2c]
cmp eax, 8
mov byte [ebp - 4], 5
push 3
cmovae ecx, dword [ebp - 0x2c]
setae byte [ebp - 0x491]
push 0x5acb28
push 0
call fcn.0040b290
add esp, 0xc
mov dword [ebp - 0x49c], eax
cmp eax, 0xffffffff
je 0x4a4838
mov edi, dword [ebp - 0x4b0]
cmp edi, eax
jb 0x4a55f9
mov ecx, edi
mov edx, 3
sub ecx, eax
lea eax, [ebp - 0x2c]
cmp ecx, edx
cmovb edx, ecx
cmp byte [ebp - 0x491], 0
mov ecx, dword [ebp - 0x49c]
cmovne eax, dword [ebp - 0x2c]
sub edi, edx
mov dword [ebp - 0x1c], edi
sub edi, dword [ebp - 0x49c]
lea ecx, [eax + ecx*2]
lea eax, [edi*2 + 2]
push eax
lea eax, [ecx + edx*2]
push eax
push ecx
call fcn.00582b6f
mov eax, dword [ebp - 0x18]
add esp, 0xc
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x498], eax
jmp 0x4a483e
mov eax, dword [ebp - 0x498]
cmp eax, 8
lea ecx, [ebp - 0x2c]
push 3
cmovae ecx, dword [ebp - 0x2c]
mov edx, edi
push 0x5acb68
push 0
setae byte [ebp - 0x491]
call fcn.0040b290
add esp, 0xc
mov dword [ebp - 0x49c], eax
cmp eax, 0xffffffff
je 0x4a48c8
cmp edi, eax
jb 0x4a55f9
mov ecx, edi
mov edx, 3
sub ecx, eax
lea eax, [ebp - 0x2c]
cmp ecx, edx
cmovb edx, ecx
cmp byte [ebp - 0x491], 0
mov ecx, dword [ebp - 0x49c]
cmovne eax, dword [ebp - 0x2c]
sub edi, edx
mov dword [ebp - 0x1c], edi
sub edi, dword [ebp - 0x49c]
lea ecx, [eax + ecx*2]
lea eax, [edi*2 + 2]
push eax
lea eax, [ecx + edx*2]
push eax
push ecx
call fcn.00582b6f
mov eax, dword [ebp - 0x18]
add esp, 0xc
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x498], eax
jmp 0x4a48ce
mov eax, dword [ebp - 0x498]
cmp eax, 8
lea ecx, [ebp - 0x2c]
push 3
cmovae ecx, dword [ebp - 0x2c]
mov edx, edi
push 0x5acb70
push 0
setae byte [ebp - 0x491]
call fcn.0040b290
add esp, 0xc
mov dword [ebp - 0x49c], eax
cmp eax, 0xffffffff
je 0x4a494f
cmp edi, eax
jb 0x4a55f9
mov ecx, edi
mov edx, 3
sub ecx, eax
lea eax, [ebp - 0x2c]
cmp ecx, edx
cmovb edx, ecx
cmp byte [ebp - 0x491], 0
mov ecx, dword [ebp - 0x49c]
cmovne eax, dword [ebp - 0x2c]
sub edi, edx
mov dword [ebp - 0x1c], edi
sub edi, dword [ebp - 0x49c]
lea ecx, [eax + ecx*2]
lea eax, [edi*2 + 2]
push eax
lea eax, [ecx + edx*2]
push eax
push ecx
call fcn.00582b6f
mov eax, dword [ebp - 0x18]
add esp, 0xc
jmp 0x4a4955
mov eax, dword [ebp - 0x498]
cmp eax, 8
lea edx, [ebp - 0x2c]
cmovae edx, dword [ebp - 0x2c]
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a4964
sub ecx, edi
mov eax, 0x7ffffffe
mov edi, dword [ebp - 0x68]
sub eax, edi
sar ecx, 1
cmp eax, ecx
jb 0x4a55fe
cmp dword [ebp - 0x64], 8
lea eax, [ebp - 0x78]
push ecx
cmovae eax, dword [ebp - 0x78]
push edx
push edi
push eax
push ecx
push dword [ebp - 0x4ac]
lea ecx, [ebp - 0x90]
call fcn.00403fa0
mov edi, dword [ebp - 0x4e0]
or edi, 1
push 1
push 0x5c0b9c
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 6
call fcn.00407fc0
mov edx, dword [ebp - 0x64]
xor ecx, ecx
or edi, 2
mov dword [ebp - 0x4e0], edi
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x58], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x560], xmm0
movq qword [ebp - 0xb0], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
cmp edx, 8
jb 0x4a4a3f
mov ecx, dword [ebp - 0x78]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a4a2d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a55c4
push edx
push ecx
call fcn.0052f847
movq xmm0, qword [ebp - 0x560]
add esp, 8
movups xmm1, xmmword [ebp - 0x58]
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 5
movq qword [ebp - 0x68], xmm0
movups xmmword [ebp - 0x78], xmm1
call fcn.00403950
cmp dword [ebp - 0xac], 8
lea ecx, [ebp - 0x78]
mov edx, dword [ebp - 0x4b8]
lea eax, [ebp - 0x44]
cmovae ecx, dword [ebp - 0x58]
lea edi, [ebp - 0x4d8]
cmp dword [ebp - 0x30], 8
cmovae eax, dword [ebp - 0x44]
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 - 0x4bc]
push 0
push 0
push 0
push 0
push edi
lea edi, [ebp - 0x4a8]
push edi
lea edi, [ebp - 0x504]
push edi
push dword [edx + 0x44]
lea edi, [ebp - 0x514]
push dword [edx + 0x40]
push edi
mov edi, dword [ebp - 0x4a4]
push ecx
push ecx
push eax
push dword [edx + 0x3c]
mov ecx, edi
push 0
push dword [ebp - 0x4cc]
call fcn.004e9d30
add dword [edi + 0x318], eax
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x4a4b23
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a4b19
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a55c4
push edx
push ecx
call fcn.0052f847
add esp, 8
xor eax, eax
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
cmp edx, 8
jb 0x4a4b75
mov ecx, dword [ebp - 0x78]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a4b6b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a55c4
push edx
push ecx
call fcn.0052f847
add esp, 8
mov eax, dword [ebp - 0x4d8]
mov dword [ebp - 0x4b0], eax
mov eax, dword [edi + 0x2bc]
sub eax, dword [edi + 0x2b8]
mov edi, dword [esi + 0x40]
sar eax, 2
mov dword [ebp - 0x4ac], eax
mov dword [ebp - 0x4e8], eax
mov dword [ebp - 0x49c], edi
cmp edi, dword [esi + 0x44]
je 0x4a51f4
lea eax, [ebp - 0x4c8]
mov dword [ebp - 0x55c], eax
mov dword [ebp - 0x4ec], eax
lea eax, [edi + 0x30]
mov dword [ebp - 0x498], eax
nop dword [eax]
push 3
xor eax, eax
mov dword [ebp - 0xa8], 0
push 0x5acb28
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 7
mov word [ebp - 0xa8], ax
call fcn.004039b0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x90]
push 3
xor eax, eax
mov dword [ebp - 0x90], 0
push 0x5acb68
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 7
mov word [ebp - 0x90], ax
call fcn.004039b0
mov byte [ebp - 4], 8
push 2
mov dword [ebp - 0x4c8], 0
mov dword [ebp - 0x4c4], 0
mov dword [ebp - 0x4c0], 0
call fcn.00403bf0
mov esi, eax
mov dword [ebp - 0x4c8], esi
mov dword [ebp - 0x4c4], esi
lea ecx, [esi + 0x30]
mov dword [ebp - 0x4c0], ecx
lea edi, [ebp - 0xa8]
mov dword [ebp - 0x4f4], esi
mov dword [ebp - 0x4f0], esi
mov byte [ebp - 4], 0xa
push edi
mov ecx, esi
call fcn.004037a0
add esi, 0x18
lea eax, [ebp - 0x78]
add edi, 0x18
mov dword [ebp - 0x4f0], esi
cmp edi, eax
jne 0x4a4c96
mov edi, dword [ebp - 0x49c]
mov dword [ebp - 0x4f4], esi
mov dword [ebp - 0x4c4], esi
push 0x4036d0
push 2
push 0x18
lea eax, [ebp - 0xa8]
mov byte [ebp - 4], 0xc
push eax
call fcn.0052f4e1
mov edx, dword [ebp - 0x498]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
cmp dword [edx], 8
lea eax, [edx - 0x14]
mov ecx, dword [edx - 4]
mov dword [ebp - 0x4a8], ecx
mov dword [ebp - 0x4a0], eax
jb 0x4a4d16
mov eax, dword [eax]
mov dword [ebp - 0x4a0], eax
cmp ecx, 8
jae 0x4a4d35
movups xmm0, xmmword [eax]
mov eax, 7
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x4b4], eax
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], eax
jmp 0x4a4d89
mov esi, ecx
mov eax, 0x7ffffffe
or esi, 7
cmp esi, 0x7ffffffe
cmova esi, eax
mov dword [ebp - 0x4b4], esi
lea eax, [esi + 1]
push eax
call fcn.00403c90
mov ecx, dword [ebp - 0x4a8]
mov dword [ebp - 0x2c], eax
lea ecx, [ecx*2 + 2]
push ecx
push dword [ebp - 0x4a0]
push eax
call fcn.00582b4b
mov eax, dword [ebp - 0x4a8]
add esp, 0xc
mov dword [ebp - 0x4a8], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 0xd
mov esi, dword [ebp - 0x4c8]
cmp esi, dword [ebp - 0x4c4]
je 0x4a4e3c
nop
xor edi, edi
cmp dword [esi + 0x14], 8
mov eax, esi
mov dword [ebp - 0x4a0], esi
jb 0x4a4db8
mov eax, dword [esi]
mov dword [ebp - 0x4a0], eax
mov edx, eax
lea ecx, [edx + 2]
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4a4dc0
sub edx, ecx
lea ecx, [ebp - 0x2c]
sar edx, 1
cmp dword [ebp - 0x4b4], 8
push edx
push dword [ebp - 0x4a0]
cmovae ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x4a8]
push edi
call fcn.0040b290
mov edi, eax
add esp, 0xc
cmp edi, 0xffffffff
je 0x4a4e27
push 0
push 0x5bf4a0
push dword [esi + 0x10]
lea ecx, [ebp - 0x2c]
push edi
call fcn.004a6140
mov ecx, dword [ebp - 0x18]
add edi, dword [esi + 0x10]
mov dword [ebp - 0x4b4], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x4a8], ecx
jmp 0x4a4da2
add esi, 0x18
cmp esi, dword [ebp - 0x4c4]
jne 0x4a4da0
mov edi, dword [ebp - 0x49c]
mov ecx, dword [ebp - 0x498]
cmp dword [ecx - 0x18], 0xffffffff
jne 0x4a4fdf
cmp dword [ebx + 0x1c], 0
je 0x4a4fdf
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0xf
mov byte [ebp - 0x90], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
push 0
push 0
push 0
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x4b4], 8
push 0
cmovae eax, dword [ebp - 0x2c]
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call dword [0x5a6208]
mov dword [ebp - 0x4a0], eax
test eax, eax
je 0x4a4f1f
lea ecx, [eax + 1]
push ecx
call fcn.0052f8ad
add esp, 4
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
mov esi, eax
cmovae ecx, dword [ebp - 0x2c]
push 0
push 0
push dword [ebp - 0x4a0]
push esi
push 0xffffffffffffffff
push ecx
push 0
push 0xfde9
call dword [0x5a6208]
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4a4f00
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x90]
call fcn.004122f0
push esi
call fcn.0052f8a8
add esp, 4
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.004a3620
cmp dword [ebp - 0x4c], 0x10
lea ecx, [ebp - 0x60]
lea edx, [ebp - 0x2c]
cmovae ecx, dword [ebp - 0x60]
call fcn.004cdd40
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x4c]
cmp edx, 0x10
jb 0x4a4f87
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4a4f7d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a55c4
push edx
push ecx
call fcn.0052f847
add esp, 8
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x7c]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
cmp edx, 0x10
jb 0x4a4fd4
mov ecx, dword [ebp - 0x90]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4a4fca
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a55c4
push edx
push ecx
call fcn.0052f847
add esp, 8
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x498]
jmp 0x4a4fe5
mov esi, dword [ebp - 0x4b4]
lea eax, [ecx + 4]
mov ecx, dword [ecx + 8]
sub ecx, dword [eax]
mov eax, 0x2aaaaaab
imul ecx
mov ecx, dword [ebp - 0x4b8]
sar edx, 3
mov eax, edx
shr eax, 0x1f
movss xmm0, dword [ecx + 0x4c]
add eax, edx
movss xmm1, dword [ecx + 0x48]
lea eax, [ebp - 0x44]
mov edx, dword [ebp - 0x498]
lea ecx, [ebp - 0x2c]
je 0x4a5071
cmp esi, 8
mov esi, dword [ebp - 0x4b8]
cmovae ecx, dword [ebp - 0x2c]
cmp dword [ebp - 0x30], 8
cmovae eax, dword [ebp - 0x44]
sub esp, 8
add edx, 4
movss dword [esp + 4], xmm0
movss dword [esp], xmm1
push 0
push dword [ebp - 0x4bc]
push 0
push 0
push 0
push 0
push edx
lea edx, [ebp - 0x4a8]
push edx
lea edx, [ebp - 0x524]
push edx
mov edx, dword [esi + 0x44]
push edx
mov edx, dword [esi + 0x40]
push edx
lea edx, [ebp - 0x534]
jmp 0x4a50c4
cmp esi, 8
mov esi, dword [ebp - 0x4b8]
cmovae ecx, dword [ebp - 0x2c]
cmp dword [ebp - 0x30], 8
cmovae eax, dword [ebp - 0x44]
sub esp, 8
add edx, 4
movss dword [esp + 4], xmm0
movss dword [esp], xmm1
push 0
push dword [ebp - 0x4bc]
push 0
push 0
push 0
push 0
push edx
lea edx, [ebp - 0x4a8]
push edx
lea edx, [ebp - 0x544]
push edx
mov edx, dword [esi + 0x44]
push edx
mov edx, dword [esi + 0x40]
push edx
lea edx, [ebp - 0x554]
push edx
push ecx
push ecx
push eax
push dword [esi + 0x3c]
mov esi, dword [ebp - 0x4a4]
mov ecx, esi
push 0
push dword [ebp - 0x4cc]
call fcn.004e9d30
add dword [esi + 0x318], eax
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x4a5124
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a511a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a55c4
push edx
push ecx
call fcn.0052f847
add esp, 8
xor eax, eax
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x4c8]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
test esi, esi
je 0x4a51d5
mov eax, dword [ebp - 0x4c4]
cmp esi, eax
je 0x4a5170
mov edi, eax
mov ecx, esi
call fcn.00403950
add esi, 0x18
cmp esi, edi
jne 0x4a5156
mov edi, dword [ebp - 0x49c]
mov esi, dword [ebp - 0x4c8]
mov ecx, dword [ebp - 0x4c0]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x4a51ad
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a55c4
push ecx
push esi
call fcn.0052f847
add esp, 8
mov dword [ebp - 0x4c8], 0
mov dword [ebp - 0x4c4], 0
mov dword [ebp - 0x4c0], 0
mov esi, dword [ebp - 0x4dc]
add edi, 0x40
add dword [ebp - 0x498], 0x40
mov dword [ebp - 0x49c], edi
cmp edi, dword [esi + 0x44]
jne 0x4a4bd0
mov ecx, dword [ebp - 0x4a4]
mov eax, dword [ecx + 0x2bc]
sub eax, dword [ecx + 0x2b8]
sar eax, 2
cmp dword [esi + 0x34], 0
mov dword [ebp - 0x4e4], eax
jne 0x4a5228
or eax, 0xffffffff
or edi, eax
mov dword [ebp - 0x4e4], eax
mov dword [ebp - 0x4e8], edi
jmp 0x4a522e
mov edi, dword [ebp - 0x4ac]
mov edx, dword [ecx + 0x330]
add ecx, 0x32c
cmp edx, dword [ecx + 8]
je 0x4a524a
mov dword [edx], edi
mov dword [edx + 4], eax
add dword [ecx + 4], 8
jmp 0x4a5257
lea eax, [ebp - 0x4e8]
push eax
push edx
call fcn.00411dc0
mov edx, dword [ebp - 0x4bc]
mov ecx, 1
mov eax, dword [ebp - 0x4b0]
inc edx
mov dword [ebp - 0x4ac], ecx
mov dword [ebp - 0x4bc], edx
mov byte [ebp - 4], 2
test eax, eax
je 0x4a5324
mov edi, eax
cmp edi, dword [ebp - 0x4d4]
je 0x4a52ad
mov esi, dword [ebp - 0x4d4]
lea ecx, [edi + 0x18]
call fcn.00403950
mov ecx, edi
call fcn.00403950
add edi, 0x30
cmp edi, esi
jne 0x4a5291
mov esi, dword [ebp - 0x4dc]
mov ecx, dword [ebp - 0x4d0]
mov eax, 0x2aaaaaab
mov edi, dword [ebp - 0x4b0]
sub ecx, edi
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, edi
shl ecx, 4
cmp ecx, 0x1000
jb 0x4a52f0
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a55c4
push ecx
push edi
call fcn.0052f847
mov ecx, dword [ebp - 0x4ac]
add esp, 8
mov edx, dword [ebp - 0x4bc]
mov dword [ebp - 0x4d8], 0
mov dword [ebp - 0x4d4], 0
mov dword [ebp - 0x4d0], 0
mov eax, dword [esi]
mov esi, eax
mov dword [ebp - 0x4dc], eax
cmp eax, dword [0x5e1c60]
jne 0x4a4620
mov ecx, dword [ebp - 0x4a4]
xorps xmm0, xmm0
xorps xmm3, xmm3
mov eax, dword [ecx + 0x318]
mov dword [ecx + 0x2c8], eax
mov esi, dword [ecx + 0x2bc]
cmp esi, dword [ecx + 0x2b8]
je 0x4a54d4
mov edi, dword [esi - 4]
ucomiss xmm3, xmm0
lahf
test ah, 0x44
jp 0x4a537b
movd xmm3, dword [edi + 0x110]
cvtdq2ps xmm3, xmm3
push 0xffffffffffffffff
push 0
push ecx
mov ecx, edi
movaps xmm4, xmm3
add esi, 0xfffffffc
call fcn.0043e0a0
cmp dword [edi + 0x80], 0
addss xmm3, xmm0
mov ecx, dword [ebp - 0x4a4]
jne 0x4a5434
movd xmm0, dword [ecx + 0x2b4]
cvtdq2ps xmm0, xmm0
comiss xmm3, xmm0
jb 0x4a5444
movd xmm3, dword [ecx + 0x2b4]
mov esi, 0
mov eax, dword [edi + 0x78]
cvtdq2ps xmm3, xmm3
sub eax, 1
mov dword [ebp - 0x4a0], eax
subss xmm3, xmm4
je 0x4a540b
nop word [eax + eax]
lea eax, [esi + 1]
push eax
push ecx
mov ecx, edi
mov dword [ebp - 0x4ac], eax
call fcn.0043e1a0
comiss xmm0, xmm3
ja 0x4a5405
mov esi, dword [ebp - 0x4ac]
cmp esi, dword [ebp - 0x4a0]
jb 0x4a53e0
mov ecx, dword [ebp - 0x4a4]
mov eax, dword [ecx + 0x2c8]
sub eax, esi
mov dword [ecx + 0x2c8], eax
cmp eax, dword [ecx + 0x318]
jne 0x4a54d4
mov dword [ecx + 0x2c8], 0
jmp 0x4a54d4
movd xmm0, dword [ecx + 0x2b0]
cvtdq2ps xmm0, xmm0
comiss xmm3, xmm0
jae 0x4a546e
mov eax, dword [ecx + 0x2c8]
xor edx, edx
sub eax, dword [edi + 0x78]
cmp eax, dword [ecx + 0x318]
cmove eax, edx
mov dword [ecx + 0x2c8], eax
cmp esi, dword [ecx + 0x2b8]
je 0x4a54d4
xorps xmm0, xmm0
jmp 0x4a5364
movd xmm3, dword [ecx + 0x2b0]
mov esi, 0
mov eax, dword [edi + 0x78]
cvtdq2ps xmm3, xmm3
sub eax, 1
mov dword [ebp - 0x4a0], eax
subss xmm3, xmm4
je 0x4a54bb
lea eax, [esi + 1]
push eax
push ecx
mov ecx, edi
mov dword [ebp - 0x4ac], eax
call fcn.0043e1a0
comiss xmm0, xmm3
ja 0x4a54b5
mov esi, dword [ebp - 0x4ac]
cmp esi, dword [ebp - 0x4a0]
jb 0x4a5490
mov ecx, dword [ebp - 0x4a4]
mov eax, dword [ecx + 0x2c8]
xor edx, edx
sub eax, esi
cmp eax, dword [ecx + 0x318]
cmove eax, edx
mov dword [ecx + 0x2c8], eax
mov byte [ebp - 4], 0x10
xor edi, edi
mov eax, dword [ebp - 0xc8]
test eax, eax
jle 0x4a5519
lea esi, [ebp - 0x298]
nop word [eax + eax]
cmp dword [esi - 0x10], 4
jne 0x4a5511
mov eax, dword [esi]
test eax, eax
je 0x4a5505
push eax
call fcn.0052f8a8
add esp, 4
mov dword [esi], 0
mov eax, dword [ebp - 0xc8]
inc edi
add esi, 0x18
cmp edi, eax
jl 0x4a54f0
push 0x4125a0
push 0x14
push 0x18
lea eax, [ebp - 0x2a8]
mov dword [ebp - 0xc8], 0
push eax
call fcn.0052f4e1
mov byte [ebp - 4], 0x11
xor edi, edi
mov eax, dword [ebp - 0x2b0]
test eax, eax
jle 0x4a5579
lea esi, [ebp - 0x480]
nop
cmp dword [esi - 0x10], 4
jne 0x4a5571
mov eax, dword [esi]
test eax, eax
je 0x4a5565
push eax
call fcn.0052f8a8
add esp, 4
mov dword [esi], 0
mov eax, dword [ebp - 0x2b0]
inc edi
add esi, 0x18
cmp edi, eax
jl 0x4a5550
push 0x4125a0
push 0x14
push 0x18
lea eax, [ebp - 0x490]
mov dword [ebp - 0x2b0], 0
push eax
call fcn.0052f4e1
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x4a55d4
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a55ca
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4a55ca
call dword [0x5a67b8]
push edx
push ecx
call fcn.0052f847
add esp, 8
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.0052f4c5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x18
call fcn.004057e0
call fcn.00402970
int3