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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x178
mov eax, dword [0x45100c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebx + 8]
push esi
mov esi, dword [0x451660]
push edi
mov dword [ebp - 0x10c], ecx
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xd0], esi
call fcn.0040c220
mov edi, eax
mov dword [ebp - 0xd8], eax
test edi, edi
sete cl
mov byte [ebp - 0xb1], cl
test eax, eax
jne 0x40e6a2
mov edx, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0x10c]
call fcn.0040c270
mov edi, eax
mov eax, dword [ebp - 0xc0]
mov ecx, eax
and ecx, 0xc0200
mov edx, eax
or edx, 6
cmp ecx, 0xc0200
mov ecx, dword [esi + 0x3dc0]
cmovne edx, eax
mov dword [ebp - 0x104], ecx
cmp dword [esi + 0x3dfc], 0
mov eax, dword [edi + 0x220]
mov dword [ebp - 0xc8], edx
mov dword [ebp - 0x108], eax
jne 0x40e6f2
cmp byte [esi + 0x3dcd], 0
je 0x40e6f2
mov al, 1
jmp 0x40e6f4
xor al, al
mov byte [edi + 0x96], al
lea eax, [ecx - 1]
mov ecx, dword [ebp - 0x108]
cmp ecx, eax
setl ch
mov byte [ebp - 0xc9], ch
test edx, 0x4000000
je 0x40e754
mov eax, dword [esi + 0x3fb8]
lea esi, [eax + eax*4]
mov eax, dword [ebp - 0xd0]
mov edx, dword [eax + 0x3fb4]
mov eax, dword [edi + 0xa4]
cmp edi, dword [edx + esi*8 + 4]
setne cl
cmp eax, dword [edx + esi*8]
mov esi, dword [ebp - 0xd0]
mov edx, dword [ebp - 0xc8]
setne al
or cl, al
or ch, cl
mov byte [ebp - 0xc9], ch
mov byte [edi + 0x94], ch
test ch, ch
je 0x40e773
or byte [edi + 0xb4], 8
or byte [edi + 0xb5], 8
or byte [edi + 0xb6], 8
mov eax, dword [ebp - 0x108]
cmp eax, dword [ebp - 0x104]
je 0x40e912
mov ecx, dword [ebp - 0xd8]
mov al, byte [edi + 0x97]
shr edx, 0x18
and edx, 0xffffff01
mov dword [ebp - 0x24], edx
test ecx, ecx
je 0x40e7a9
cmp dl, al
je 0x40e8c1
test dl, dl
jne 0x40e80e
mov edx, dword [0x451660]
add edx, 0x3de4
mov dword [ebp - 0xc0], edx
mov ecx, dword [edx + 4]
cmp dword [edx], ecx
jne 0x40e7fc
test ecx, ecx
je 0x40e7db
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 0xc0]
sar eax, 1
add eax, ecx
jmp 0x40e7e0
mov eax, 8
mov ecx, dword [edx]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.00418230
mov esi, dword [ebp - 0xd0]
mov edx, dword [ebp - 0xc0]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov dword [eax + ecx*4], edi
inc dword [edx]
mov eax, dword [edx]
dec eax
jmp 0x40e8ba
test ecx, ecx
je 0x40e8c1
cmp dl, al
je 0x40e8c1
test dl, dl
je 0x40e8c1
mov edx, dword [0x451660]
movsx ecx, word [edi + 0xa0]
inc ecx
mov eax, dword [edx + 0x3de4]
mov dword [ebp - 0xc0], eax
cmp ecx, eax
jge 0x40e86b
mov eax, dword [edx + 0x3dec]
mov eax, dword [eax + ecx*4]
inc ecx
dec word [eax + 0xa0]
mov esi, dword [edx + 0x3de4]
mov dword [ebp - 0xc0], esi
cmp ecx, esi
jl 0x40e844
mov esi, dword [ebp - 0xd0]
mov eax, dword [edx + 0x3dec]
movsx edx, word [edi + 0xa0]
mov ecx, dword [0x451660]
shl edx, 2
sub edx, eax
add edx, dword [ecx + 0x3dec]
sar edx, 2
lea ecx, [eax + edx*4]
mov eax, dword [ebp - 0xc0]
sub eax, edx
lea eax, [eax*4 - 4]
push eax
lea eax, [ecx + 4]
push eax
push ecx
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [0x451660]
add esp, 0xc
dec dword [eax + 0x3de4]
or eax, 0xffffffff
mov word [edi + 0xa0], ax
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0xc8]
mov byte [edi + 0x97], al
mov eax, dword [ebp - 0x104]
mov dword [edi + 0x220], eax
xor eax, eax
mov dword [edi + 8], edx
movsd xmm0, qword [esi + 0x3db8]
cvtpd2ps xmm0, xmm0
mov word [edi + 0x9c], ax
movss dword [edi + 0x224], xmm0
movzx eax, word [esi + 0x3e14]
inc dword [esi + 0x3e14]
mov word [edi + 0x9e], ax
jmp 0x40e91b
mov edx, dword [edi + 8]
mov dword [ebp - 0xc8], edx
mov eax, dword [esi + 0x3dfc]
test eax, eax
je 0x40e932
imul ecx, eax, 0x54
mov eax, dword [esi + 0x3e04]
mov eax, dword [eax + ecx - 0x54]
mov ecx, dword [ebp - 0x108]
mov dword [ebp - 0xe0], eax
cmp ecx, dword [ebp - 0x104]
je 0x40e95c
mov ecx, edx
and ecx, 0x5000000
neg ecx
sbb ecx, ecx
and ecx, eax
mov dword [ebp - 0xd4], ecx
jmp 0x40e968
mov eax, dword [edi + 0x2e0]
mov dword [ebp - 0xd4], eax
cmp dword [edi + 0xc8], 0
lea eax, [edi + 0xc8]
jne 0x40e99d
cmp dword [eax + 4], 0
jne 0x40e98c
push 8
mov ecx, eax
call fcn.00418230
lea eax, [edi + 0xc8]
mov edx, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [edi + 4]
mov dword [ecx + edx*4], eax
inc dword [edi + 0xc8]
push 0x3c
lea eax, [ebp - 0xac]
mov dword [esi + 0x3e20], edi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [0x451660]
lea edx, [esi + 0x3dfc]
mov eax, dword [esi + 0x3f00]
xorps xmm0, xmm0
mov dword [ebp - 0x74], eax
add esp, 0xc
movups xmmword [ebp - 0x70], xmm0
mov eax, dword [ecx + 0x3e20]
movups xmm0, xmmword [esi + 0x3ec8]
mov word [ebp - 0x60], 0
mov dword [ebp - 0xb0], edi
movzx eax, word [eax + 0xc8]
mov word [ebp - 0x70], ax
movzx eax, word [ecx + 0x3f64]
mov word [ebp - 0x6e], ax
movzx eax, word [ecx + 0x3f70]
mov word [ebp - 0x6c], ax
movzx eax, word [ecx + 0x3f7c]
mov word [ebp - 0x6a], ax
movzx eax, word [ecx + 0x3f88]
mov word [ebp - 0x68], ax
movzx eax, word [ecx + 0x3fa0]
movups xmmword [ebp - 0xac], xmm0
mov word [ebp - 0x66], ax
movups xmm0, xmmword [esi + 0x3ed8]
movzx eax, word [ecx + 0x3f94]
mov word [ebp - 0x64], ax
movzx eax, word [ecx + 0x3fb8]
movups xmmword [ebp - 0x9c], xmm0
mov word [ebp - 0x62], ax
movups xmm0, xmmword [esi + 0x3ee8]
movzx eax, word [ecx + 0x51c0]
mov ecx, dword [edx]
movups xmmword [ebp - 0x8c], xmm0
mov word [ebp - 0x60], ax
mov eax, dword [edx + 4]
movq xmm0, qword [esi + 0x3ef8]
movq qword [ebp - 0x7c], xmm0
mov dword [ebp - 0x24], eax
cmp ecx, eax
jne 0x40eab7
inc ecx
test eax, eax
je 0x40ea9f
cdq
sub eax, edx
lea edx, [esi + 0x3dfc]
sar eax, 1
add eax, dword [ebp - 0x24]
jmp 0x40eaa4
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.004187e0
lea edx, [esi + 0x3dfc]
imul ecx, dword [edx], 0x54
movups xmm0, xmmword [ebp - 0xb0]
mov eax, dword [ebp - 0x60]
add ecx, dword [edx + 8]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [ebp - 0xa0]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [ebp - 0x90]
movups xmmword [ecx + 0x20], xmm0
movups xmm0, xmmword [ebp - 0x80]
movups xmmword [ecx + 0x30], xmm0
movups xmm0, xmmword [ebp - 0x70]
movups xmmword [ecx + 0x40], xmm0
mov dword [ecx + 0x50], eax
mov ecx, dword [ebp - 0xc8]
mov eax, ecx
inc dword [edx]
and eax, 0x10000000
mov dword [esi + 0x3e20], 0
mov dword [ebp - 0xec], eax
je 0x40eb1a
inc dword [esi + 0x3fc4]
mov edx, ecx
and edx, 0x4000000
mov dword [ebp - 0xdc], edx
je 0x40ec07
mov eax, dword [esi + 0x3fb8]
lea edx, [esi + 0x3fb8]
mov dword [ebp - 0xb8], edx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x3fb4]
mov dword [ebp - 0xc0], eax
mov esi, eax
mov dword [ebp - 0xe4], ecx
mov dword [eax + ecx*8 + 4], edi
mov eax, dword [ebp - 0xe0]
mov eax, dword [eax + 0x12c]
mov dword [esi + ecx*8 + 0xc], eax
mov eax, dword [edx + 4]
mov ecx, dword [edx]
mov esi, dword [ebp - 0xd0]
mov dword [ebp - 0x24], eax
cmp ecx, eax
jne 0x40ebaa
inc ecx
test eax, eax
je 0x40eb92
cdq
sub eax, edx
lea edx, [esi + 0x3fb8]
sar eax, 1
add eax, dword [ebp - 0x24]
jmp 0x40eb97
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.00418760
lea edx, [esi + 0x3fb8]
mov eax, dword [edx]
mov esi, dword [ebp - 0xe4]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 8]
mov edx, dword [ebp - 0xc0]
movups xmm0, xmmword [edx + esi*8]
movups xmmword [eax + ecx*8], xmm0
movups xmm0, xmmword [edx + esi*8 + 0x10]
movups xmmword [eax + ecx*8 + 0x10], xmm0
movq xmm0, qword [edx + esi*8 + 0x20]
mov edx, dword [ebp - 0xb8]
movq qword [eax + ecx*8 + 0x20], xmm0
mov eax, esi
mov ecx, dword [ebp - 0xc0]
mov esi, dword [ebp - 0xd0]
inc dword [edx]
mov edx, dword [ebp - 0xdc]
mov eax, dword [ecx + eax*8]
mov ecx, dword [ebp - 0xc8]
mov dword [edi + 0xa4], eax
mov eax, dword [ebp - 0x108]
cmp eax, dword [ebp - 0x104]
je 0x40ecc3
mov eax, dword [ebp - 0xd4]
mov dword [edi + 0x2e0], eax
mov dword [edi + 0x2f4], edi
mov dword [edi + 0x2f0], edi
mov dword [edi + 0x2ec], edi
mov dword [edi + 0x2e8], edi
test eax, eax
je 0x40ec93
mov eax, ecx
and eax, 0x3000000
cmp eax, 0x1000000
jne 0x40ec61
mov eax, dword [ebp - 0xd4]
mov eax, dword [eax + 0x2e8]
mov dword [edi + 0x2e8], eax
test edx, edx
mov edx, dword [ebp - 0xd4]
je 0x40ec77
mov eax, dword [edx + 0x2ec]
mov dword [edi + 0x2ec], eax
test ecx, 0x8000000
jne 0x40ec93
test ecx, 0x5000000
je 0x40ec93
mov eax, dword [edx + 0x2f0]
mov dword [edi + 0x2f0], eax
test dword [edi + 8], 0x800000
je 0x40ecb7
mov ecx, edi
nop
mov eax, dword [ecx + 0x2e0]
mov ecx, eax
mov dword [edi + 0x2f4], eax
test dword [ecx + 8], 0x800000
jne 0x40eca0
mov eax, dword [ebp - 0xe0]
mov dword [edi + 0x2e4], eax
test byte [esi + 0x3f04], 1
mov byte [ebp - 0xb9], 0
mov byte [ebp - 0xc1], 0
mov byte [ebp - 0xba], 0
je 0x40ed85
mov dl, byte [edi + 0xb4]
mov ecx, dword [esi + 0x3f08]
movsx eax, dl
test ecx, eax
setne byte [ebp - 0xb9]
test ecx, eax
je 0x40ed74
movss xmm1, dword [esi + 0x3f20]
movss xmm0, dword [esi + 0x3f1c]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm0, dword [0x44d4a4]
jbe 0x40ed74
mov eax, dword [esi + 0x3f14]
mov ecx, dword [esi + 0x3f18]
mov dword [edi + 0xbc], ecx
mov dword [edi + 0xb8], eax
mov eax, dword [esi + 0x3f1c]
mov ecx, dword [esi + 0x3f20]
mov dword [edi + 0xc4], ecx
mov dword [edi + 0xc0], eax
mov eax, dword [edi + 0xb4]
movzx ecx, dl
and eax, 0xffffff00
and ecx, 0xf1
or ecx, eax
mov dword [edi + 0xb4], ecx
jmp 0x40ed85
push ecx
lea edx, [esi + 0x3f14]
mov ecx, edi
call fcn.00411590
add esp, 4
test byte [esi + 0x3f04], 2
xorps xmm1, xmm1
je 0x40edee
movsx eax, byte [edi + 0xb5]
lea edx, [esi + 0x3f24]
mov ecx, dword [esi + 0x3f0c]
and eax, ecx
je 0x40edba
movss xmm0, dword [edx]
comiss xmm0, xmm1
jbe 0x40edba
mov byte [ebp - 0xc1], 1
jmp 0x40edc5
mov byte [ebp - 0xc1], 0
test eax, eax
je 0x40edd9
movss xmm0, dword [esi + 0x3f28]
comiss xmm0, xmm1
mov byte [ebp - 0xba], 1
ja 0x40ede0
mov byte [ebp - 0xba], 0
push ecx
mov ecx, edi
call fcn.004116f0
add esp, 4
xorps xmm1, xmm1
test byte [esi + 0x3f04], 0x80
je 0x40ee29
movss xmm0, dword [esi + 0x3f34]
comiss xmm0, xmm1
jb 0x40ee10
movss dword [edi + 0x6c], xmm0
mov dword [edi + 0x74], 0
movss xmm0, dword [esi + 0x3f38]
comiss xmm0, xmm1
jb 0x40ee29
movss dword [edi + 0x70], xmm0
mov dword [edi + 0x78], 0
test byte [esi + 0x3f04], 4
je 0x40ee46
mov eax, dword [esi + 0x3f2c]
mov ecx, dword [esi + 0x3f30]
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], ecx
jmp 0x40ee62
mov eax, dword [ebp - 0x108]
cmp eax, dword [ebp - 0x104]
je 0x40ee62
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
test byte [esi + 0x3f04], 8
je 0x40eeaf
mov ecx, dword [esi + 0x3f10]
mov dl, byte [esi + 0x3f3c]
test ecx, ecx
je 0x40ee86
movsx eax, byte [edi + 0xb6]
test ecx, eax
je 0x40eeaf
movzx ecx, byte [edi + 0xb6]
mov eax, dword [edi + 0xb4]
and ecx, 0xf1
shl ecx, 0x10
and eax, 0xff00ffff
or ecx, eax
mov byte [edi + 0x91], dl
mov dword [edi + 0xb4], ecx
test byte [esi + 0x3f04], 0x20
je 0x40eebf
mov ecx, edi
call fcn.00411280
cmp byte [edi + 0x94], 0
je 0x40eedd
and byte [edi + 0xb4], 0xf7
and byte [edi + 0xb5], 0xf7
and byte [edi + 0xb6], 0xf7
mov eax, dword [ebp - 0x108]
cmp eax, dword [ebp - 0x104]
je 0x410c1e
mov eax, dword [ebp - 0xc8]
and eax, 0x3000000
mov byte [edi + 0x8e], 1
mov byte [edi + 0x98], 0
mov dword [ebp - 0xfc], eax
mov al, byte [edi + 0xb1]
mov dword [edi + 0x1f8], 0xff7fffff
mov dword [edi + 0x1fc], 0xff7fffff
mov dword [edi + 0x200], 0x7f7fffff
mov byte [ebp - 0xe5], al
mov dword [edi + 0x204], 0x7f7fffff
mov eax, dword [edi + 0xcc]
cmp eax, 1
jge 0x40ef7b
test eax, eax
je 0x40ef60
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, dword [edi + 0xcc]
jmp 0x40ef65
mov ecx, 8
mov eax, 1
cmp ecx, eax
cmovg eax, ecx
lea ecx, [edi + 0xc8]
push eax
call fcn.00418230
mov dword [edi + 0xc8], 1
mov ecx, dword [edi + 0x24c]
call fcn.00420780
cmp byte [edi + 0x32c], 0
mov dword [edi + 0x17c], 0xffffffff
je 0x40efe6
mov ecx, dword [edi + 0x24c]
push dword [edi + 0x324]
add ecx, 0xc
mov byte [edi + 0x32c], 0
call fcn.00418620
mov ecx, dword [edi + 0x24c]
push dword [edi + 0x328]
add ecx, 0x18
call fcn.00418430
mov dword [edi + 0x328], 0
mov dword [edi + 0x324], 0
cmp dword [esi + 0x412c], 0
je 0x40f0e9
test dword [edi + 8], 0x80000
jne 0x40f0e9
cmp dword [ebp - 0xd8], 0
je 0x40f0e9
mov eax, dword [edi]
mov ecx, eax
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0x10c]
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40f040
test dl, dl
je 0x40f03c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40f040
add eax, 2
add ecx, 2
test dl, dl
jne 0x40f020
xor eax, eax
jmp 0x40f045
sbb eax, eax
or eax, 1
test eax, eax
je 0x40f0e9
mov ecx, dword [ebp - 0x10c]
mov edx, dword [edi + 0x50]
mov dword [ebp - 0xe4], edx
lea eax, [ecx + 1]
mov dword [ebp - 0xb8], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40f065
sub ecx, dword [ebp - 0xb8]
lea eax, [ecx + 1]
mov ecx, dword [ebp - 0xe0]
mov dword [ebp - 0xc0], eax
cmp edx, eax
jae 0x40f0ce
test ecx, ecx
je 0x40f098
mov eax, dword [0x451660]
test eax, eax
je 0x40f098
dec dword [eax + 0xa8]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [0x451660]
add esp, 4
test eax, eax
je 0x40f0b1
inc dword [eax + 0xa8]
push dword [ebp - 0xc0]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ecx, eax
add esp, 4
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xe4], eax
push eax
push dword [ebp - 0x10c]
push ecx
call sub.VCRUNTIME140.dll_memcpy
mov dword [edi], eax
add esp, 0xc
mov eax, dword [ebp - 0xe4]
mov dword [edi + 0x50], eax
lea eax, [edi + 0x30]
mov ecx, edi
lea edx, [edi + 0x28]
push eax
call fcn.0040c7f0
mov al, byte [edi + 0xb0]
add esp, 4
test al, al
jle 0x40f10c
dec al
mov byte [edi + 0xb0], al
mov al, byte [edi + 0xb1]
test al, al
jle 0x40f11e
dec al
mov byte [edi + 0xb1], al
mov al, byte [edi + 0xb2]
test al, al
jle 0x40f130
dec al
mov byte [edi + 0xb2], al
cmp dword [ebp - 0xd8], 0
mov al, byte [ebp - 0xc1]
mov cl, byte [ebp - 0xba]
jne 0x40f154
test al, al
je 0x40f14d
test cl, cl
jne 0x40f154
mov byte [edi + 0xb1], 1
cmp byte [ebp - 0xc9], 0
je 0x40f1b7
mov edx, dword [ebp - 0xc8]
test edx, 0x6000000
je 0x40f1b7
mov byte [edi + 0xb1], 1
test dl, 0x40
je 0x40f1b7
test al, al
jne 0x40f189
mov dword [edi + 0x20], 0
mov dword [edi + 0x18], 0
test cl, cl
jne 0x40f19b
mov dword [edi + 0x24], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov edx, dword [0x451660]
mov eax, dword [edx + 0x3fd0]
mov eax, dword [eax]
mov dword [edi + 0xc], eax
mov dword [ebp - 0xb8], eax
mov dword [edx + 0x3e20], edi
mov eax, dword [edi + 0x17c]
cmp eax, 0xffffffff
je 0x40f1ed
imul eax, eax, 0x1d8
add eax, dword [edx + 0x4210]
jmp 0x40f1ef
xor eax, eax
movss xmm0, dword [edx + 0x3bc0]
mov dword [edx + 0x41f4], eax
mov eax, dword [edi + 0x2e0]
mulss xmm0, dword [edi + 0x244]
test eax, eax
je 0x40f217
mulss xmm0, dword [eax + 0x244]
mov eax, dword [ebp - 0xc8]
mov ecx, eax
and ecx, 0x1000000
movss dword [edx + 0x3bd0], xmm0
movss dword [edx + 0x3bbc], xmm0
mov dword [ebp - 0x100], ecx
je 0x40f247
movss xmm0, dword [esi + 0x37c0]
jmp 0x40f267
test eax, 0x6000000
je 0x40f25f
test eax, 0x8000000
jne 0x40f25f
movss xmm0, dword [esi + 0x37c8]
jmp 0x40f267
movss xmm0, dword [esi + 0x37a4]
movss dword [edi + 0x4c], xmm0
xorps xmm7, xmm7
mov eax, dword [esi + 0x3798]
mov ecx, dword [esi + 0x379c]
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], ecx
mov ecx, dword [ebp - 0xc8]
mov eax, ecx
and eax, 0x5010000
cmp eax, 0x1000000
jne 0x40f2bf
ucomiss xmm0, xmm7
lahf
test ah, 0x44
jp 0x40f2bf
test ecx, 0x400
je 0x40f2b0
movss xmm0, dword [esi + 0x379c]
jmp 0x40f2b3
xorps xmm0, xmm0
mov dword [edi + 0x40], 0
movss dword [edi + 0x44], xmm0
movss xmm0, dword [edi + 0x40]
maxss xmm0, dword [esi + 0x37dc]
maxss xmm0, dword [esi + 0x3f5c]
movss dword [edi + 0x13c], xmm0
mov eax, dword [esi + 0x3f60]
mov dword [edi + 0x140], eax
test cl, 0x21
jne 0x40f423
mov ecx, dword [edi + 8]
test cl, 1
je 0x40f2fe
xorps xmm2, xmm2
jmp 0x40f330
movss xmm0, dword [edi + 0x244]
mov eax, dword [edi + 0x2e0]
mulss xmm0, dword [edx + 0x3bc0]
test eax, eax
je 0x40f320
mulss xmm0, dword [eax + 0x244]
movss xmm2, dword [edx + 0x37d0]
addss xmm2, xmm2
addss xmm2, xmm0
movss xmm3, dword [edi + 0x10]
movaps xmm0, xmm3
movss xmm4, dword [edi + 0x14]
addss xmm0, dword [edi + 0x20]
addss xmm2, dword [edi + 0x14]
cmp dword [esi + 0x3e24], edi
jne 0x40f3ee
cmp dword [esi + 0x3e44], 0
jne 0x40f3ee
cmp dword [esi + 0x3e48], 0
jne 0x40f3ee
mov eax, dword [edx + 0x3e20]
movss xmm1, dword [edx + 0x37f4]
movaps xmm5, xmm1
maxss xmm3, dword [eax + 0x1f8]
minss xmm0, dword [eax + 0x200]
maxss xmm4, dword [eax + 0x1fc]
minss xmm2, dword [eax + 0x204]
subss xmm3, xmm1
movss xmm1, dword [edx + 0xdb0]
addss xmm5, xmm0
movss xmm0, dword [edx + 0x37f8]
movaps xmm6, xmm0
subss xmm4, xmm0
addss xmm6, xmm2
comiss xmm1, xmm3
jb 0x40f3ee
movss xmm0, dword [edx + 0xdb4]
comiss xmm0, xmm4
jb 0x40f3ee
comiss xmm5, xmm1
jbe 0x40f3ee
comiss xmm6, xmm0
jbe 0x40f3ee
cmp word [esi + 0x36fa], 2
jne 0x40f3ee
mov byte [edi + 0x92], 1
cmp byte [edi + 0x92], 0
je 0x40f42a
cmp byte [edi + 0x91], 0
sete al
mov byte [edi + 0x91], al
test ecx, 0x100
jne 0x40f42a
comiss xmm7, dword [edx + 0x5204]
jb 0x40f42a
mov eax, dword [edx + 0x1c]
mov dword [edx + 0x5204], eax
jmp 0x40f42a
mov byte [edi + 0x91], 0
lea eax, [edi + 0x30]
mov byte [edi + 0x92], 0
push eax
mov edx, edi
lea ecx, [ebp - 0x2c]
call fcn.0040c920
mov al, byte [ebp - 0xb1]
add esp, 4
test byte [ebp - 0xc8], 0x40
mov byte [ebp - 0xb2], al
je 0x40f49f
cmp byte [edi + 0x91], 0
jne 0x40f49f
cmp byte [ebp - 0xc1], 0
lea edx, [edi + 0x20]
jne 0x40f47c
movss xmm0, dword [ebp - 0x2c]
movss dword [edx], xmm0
mov byte [ebp - 0xb1], 1
cmp byte [ebp - 0xba], 0
jne 0x40f554
movss xmm0, dword [ebp - 0x28]
movss dword [edi + 0x24], xmm0
mov byte [ebp - 0xb2], 1
jmp 0x40f554
mov al, byte [edi + 0xa8]
test al, al
jg 0x40f4b6
cmp byte [edi + 0xa9], 0
jle 0x40f551
cmp byte [ebp - 0xc1], 0
lea edx, [edi + 0x20]
jne 0x40f4ea
test al, al
jle 0x40f4ea
cmp byte [edi + 0xab], 0
je 0x40f4da
movss xmm0, dword [edx]
maxss xmm0, dword [ebp - 0x2c]
jmp 0x40f4df
movss xmm0, dword [ebp - 0x2c]
movss dword [edx], xmm0
mov byte [ebp - 0xb1], 1
cmp byte [ebp - 0xba], 0
jne 0x40f522
cmp byte [edi + 0xa9], 0
jle 0x40f522
cmp byte [edi + 0xab], 0
je 0x40f511
movss xmm0, dword [edi + 0x24]
maxss xmm0, dword [ebp - 0x28]
jmp 0x40f516
movss xmm0, dword [ebp - 0x28]
movss dword [edi + 0x24], xmm0
mov byte [ebp - 0xb2], 1
cmp byte [edi + 0x91], 0
jne 0x40f554
test dword [edi + 8], 0x100
mov ecx, dword [0x451660]
jne 0x40f554
xorps xmm3, xmm3
comiss xmm3, dword [ecx + 0x5204]
jb 0x40f554
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x5204], eax
jmp 0x40f554
lea edx, [edi + 0x20]
push edx
mov edx, edi
lea ecx, [ebp - 0x118]
call fcn.0040c5e0
add esp, 4
cmp byte [edi + 0x91], 0
movss xmm3, dword [eax]
movss xmm0, dword [eax + 4]
movss dword [edi + 0x20], xmm3
movss dword [edi + 0x24], xmm0
je 0x40f5f7
cmp dword [ebp - 0x100], 0
jne 0x40f5f7
test byte [edi + 8], 1
je 0x40f595
xorps xmm2, xmm2
jmp 0x40f5cd
mov ecx, dword [0x451660]
mov eax, dword [edi + 0x2e0]
movss xmm0, dword [ecx + 0x3bc0]
mulss xmm0, dword [edi + 0x244]
test eax, eax
je 0x40f5bd
mulss xmm0, dword [eax + 0x244]
movss xmm2, dword [ecx + 0x37d0]
addss xmm2, xmm2
addss xmm2, xmm0
movss xmm0, dword [edi + 0x10]
addss xmm2, dword [edi + 0x14]
addss xmm0, xmm3
subss xmm2, dword [edi + 0x14]
subss xmm0, dword [edi + 0x10]
movss dword [ebp - 0xf4], xmm2
movss dword [ebp - 0xf8], xmm0
jmp 0x40f609
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x24]
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0xf4], ecx
mov edx, dword [0x451660]
lea ecx, [ebp - 0xf8]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edi + 0x1c], ecx
mov ecx, dword [edi + 8]
mov dword [edi + 0x18], eax
test cl, 1
je 0x40f62d
xorps xmm1, xmm1
jmp 0x40f65f
movss xmm0, dword [edx + 0x3bc0]
mov eax, dword [edi + 0x2e0]
mulss xmm0, dword [edi + 0x244]
test eax, eax
je 0x40f64f
mulss xmm0, dword [eax + 0x244]
movss xmm1, dword [edx + 0x37d0]
addss xmm1, xmm1
addss xmm1, xmm0
test ecx, 0x400
je 0x40f6a3
movss xmm2, dword [edx + 0x3bc0]
mov eax, dword [edi + 0x2e0]
mulss xmm2, dword [edi + 0x244]
test eax, eax
je 0x40f689
mulss xmm2, dword [eax + 0x244]
movss xmm0, dword [edx + 0x37d0]
addss xmm2, dword [edi + 0x140]
addss xmm0, xmm0
addss xmm2, xmm0
jmp 0x40f6a6
xorps xmm2, xmm2
cmp byte [ebp - 0xc9], 0
addss xmm2, xmm1
movss dword [ebp - 0xe4], xmm2
je 0x40f705
mov eax, dword [ebp - 0xc8]
and eax, 0xc000000
mov dword [edi + 0xac], 0xffffffff
cmp eax, 0x4000000
jne 0x40f705
cmp byte [ebp - 0xb9], 0
jne 0x40f705
mov eax, dword [esi + 0x3fb8]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x3fc0]
movss xmm0, dword [eax + ecx*8 - 0x10]
movss xmm1, dword [eax + ecx*8 - 0xc]
movss dword [edi + 0x10], xmm0
movss dword [edi + 0x14], xmm1
cmp dword [ebp - 0x100], 0
je 0x40f7b1
mov edx, dword [ebp - 0xd4]
add edx, 0x168
mov dword [ebp - 0xc0], edx
mov ax, word [edx]
mov word [edi + 0x9c], ax
mov ecx, dword [edx + 4]
cmp dword [edx], ecx
jne 0x40f76b
test ecx, ecx
je 0x40f74a
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 0xc0]
sar eax, 1
add eax, ecx
jmp 0x40f74f
mov eax, 8
mov ecx, dword [edx]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.00418230
mov esi, dword [ebp - 0xd0]
mov edx, dword [ebp - 0xc0]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov dword [eax + ecx*4], edi
inc dword [edx]
mov ecx, dword [ebp - 0xdc]
mov al, byte [ebp - 0xb9]
mov edx, dword [ebp - 0xfc]
test ecx, ecx
jne 0x40f7c3
test al, al
jne 0x40f7c3
cmp edx, 0x3000000
je 0x40f7c3
mov ecx, dword [ebp - 0xd4]
mov eax, dword [ecx + 0xd4]
mov ecx, dword [ecx + 0xd8]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], ecx
jmp 0x40f7b7
mov edx, dword [ebp - 0xfc]
mov ecx, dword [ebp - 0xdc]
mov al, byte [ebp - 0xb9]
movss xmm1, dword [edi + 0xb8]
ucomiss xmm1, dword [0x44d62c]
lahf
test ah, 0x44
jnp 0x40f82f
cmp byte [edi + 0xb1], 0
jne 0x40f82f
movss xmm0, dword [edi + 0x18]
lea edx, [ebp - 0xf8]
mulss xmm0, dword [edi + 0xc0]
mov ecx, edi
push 0
subss xmm1, xmm0
movss xmm0, dword [edi + 0xbc]
movss dword [ebp - 0xf8], xmm1
movss xmm1, dword [edi + 0xc4]
mulss xmm1, dword [edi + 0x1c]
subss xmm0, xmm1
movss dword [ebp - 0xf4], xmm0
call fcn.00411590
add esp, 4
jmp 0x40f882
cmp dword [ebp - 0xec], 0
jne 0x40f862
test ecx, ecx
je 0x40f848
test al, al
jne 0x40f848
cmp byte [ebp - 0xe5], al
jg 0x40f862
mov ecx, dword [ebp - 0xc8]
test ecx, 0x2000000
je 0x40f888
test al, al
jne 0x40f888
cmp edx, 0x3000000
je 0x40f888
mov edx, edi
lea ecx, [ebp - 0x128]
call fcn.00412f70
movss xmm1, dword [eax + 4]
movss xmm0, dword [eax]
movss dword [edi + 0x10], xmm0
movss dword [edi + 0x14], xmm1
mov ecx, dword [ebp - 0xc8]
cmp byte [ebp - 0xb9], 0
mov eax, dword [ebp - 0xb8]
movss xmm3, dword [esi + 0x383c]
movss xmm2, dword [esi + 0x3838]
maxss xmm3, dword [esi + 0x3844]
movss xmm7, dword [eax + 0x14]
movss xmm6, dword [eax + 0x18]
addss xmm7, dword [eax + 0x1c]
addss xmm6, dword [eax + 0x20]
movss xmm0, dword [eax + 4]
movss xmm1, dword [eax + 8]
movaps xmm5, xmm0
maxss xmm2, dword [esi + 0x3840]
addss xmm5, dword [eax + 0xc]
movaps xmm4, xmm1
movss dword [ebp - 0x40], xmm0
addss xmm4, dword [eax + 0x10]
subss xmm6, xmm3
movss dword [ebp - 0x3c], xmm1
addss xmm3, dword [eax + 0x18]
subss xmm7, xmm2
movss dword [ebp - 0x38], xmm5
addss xmm2, dword [eax + 0x14]
movss dword [ebp - 0x34], xmm4
movss dword [ebp - 0x44], xmm6
movss dword [ebp - 0x4c], xmm3
movss dword [ebp - 0x48], xmm7
movss dword [ebp - 0x50], xmm2
jne 0x40f9e5
cmp dword [ebp - 0x100], 0
jne 0x40f9e5
cmp byte [edi + 0xa8], 0
jg 0x40f9e5
cmp byte [edi + 0xa9], 0
jg 0x40f9e5
subss xmm5, xmm0
xorps xmm0, xmm0
comiss xmm5, xmm0
jbe 0x40f9e5
subss xmm4, xmm1
comiss xmm4, xmm0
jbe 0x40f9e5
mov edx, dword [0x451660]
movss xmm1, dword [edi + 0x1c]
cmp byte [edx + 0x5f], 0
je 0x40f9b0
test byte [edi + 8], 1
jne 0x40f9b0
movss xmm0, dword [edx + 0x3bc0]
mov eax, dword [edi + 0x2e0]
mulss xmm0, dword [edi + 0x244]
test eax, eax
je 0x40f9a0
mulss xmm0, dword [eax + 0x244]
movss xmm1, dword [edx + 0x37d0]
addss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [edi + 0x14]
subss xmm3, xmm1
subss xmm2, dword [edi + 0x18]
comiss xmm3, xmm0
ja 0x40f9ca
movaps xmm3, xmm6
minss xmm3, xmm0
movss xmm0, dword [edi + 0x10]
comiss xmm2, xmm0
ja 0x40f9db
movaps xmm2, xmm7
minss xmm2, xmm0
movss dword [edi + 0x10], xmm2
movss dword [edi + 0x14], xmm3
cmp dword [ebp - 0x100], 0
cvttss2si eax, dword [edi + 0x10]
movd xmm1, eax
cvttss2si eax, dword [edi + 0x14]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x10], xmm1
movss dword [edi + 0x14], xmm0
je 0x40fa1a
movss xmm0, dword [esi + 0x37bc]
jmp 0x40fa3a
mov eax, ecx
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x40fa32
movss xmm0, dword [esi + 0x37c4]
jmp 0x40fa3a
movss xmm0, dword [esi + 0x37a0]
xor dl, dl
movss dword [edi + 0x48], xmm0
mov dword [ebp - 0xe0], edx
cmp byte [ebp - 0xc9], dl
je 0x40fcad
test ecx, 0x1000
jne 0x40fcad
cmp dword [ebp - 0xdc], 0
je 0x40fa71
mov byte [ebp - 0xe0], 1
jmp 0x40fa89
cmp dword [ebp - 0xfc], 0
mov eax, 1
movzx edx, dl
cmove edx, eax
mov dword [ebp - 0xe0], edx
call fcn.00412b30
mov edx, eax
test edx, edx
je 0x40fcad
mov eax, dword [edi + 0x2e8]
mov ecx, edi
mov dword [ebp - 0xdc], eax
cmp eax, edx
je 0x40fcad
nop
cmp ecx, edx
je 0x40fcad
mov ecx, dword [ecx + 0x2e4]
test ecx, ecx
jne 0x40fab0
mov byte [ebp - 0xe0], cl
cmp edi, eax
jne 0x40fcad
mov edx, dword [0x451660]
mov eax, dword [edx + 0x3fac]
test eax, eax
jle 0x40fbb2
add eax, 0xffffffff
mov dword [ebp - 0xc0], eax
js 0x40fbb2
mov edx, dword [edx + 0x3fb4]
lea ecx, [eax + eax*4]
add edx, 4
lea edx, [edx + ecx*8]
mov dword [ebp - 0xb8], edx
nop dword [eax + eax]
mov edx, dword [edx]
test edx, edx
je 0x40fb94
test dword [edx + 8], 0x8000000
je 0x40fb94
cmp byte [edx + 0x8e], 0
jne 0x40fb35
cmp byte [edx + 0x8f], 0
je 0x40fb94
mov eax, edi
cmp dword [ebp - 0xdc], edx
je 0x40fbb2
nop
cmp eax, edx
je 0x40fbb2
mov eax, dword [eax + 0x2e4]
test eax, eax
jne 0x40fb40
mov eax, dword [edx + 0x2e4]
mov ecx, dword [eax + 0x2e8]
test ecx, ecx
je 0x40fb8e
nop
mov eax, edi
cmp dword [ebp - 0xdc], ecx
je 0x40fbb4
nop word [eax + eax]
cmp eax, ecx
je 0x40fbb4
mov eax, dword [eax + 0x2e4]
test eax, eax
jne 0x40fb70
mov eax, dword [ecx + 0x2e4]
mov ecx, dword [eax + 0x2e8]
test ecx, ecx
jne 0x40fb60
mov eax, dword [ebp - 0xc0]
mov edx, dword [ebp - 0xb8]
dec eax
sub edx, 0x28
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xb8], edx
test eax, eax
jns 0x40fb10
xor edx, edx
mov eax, dword [edx + 0x2e8]
mov dword [ebp - 0xec], eax
mov eax, dword [0x451660]
mov ecx, dword [eax + 0x3de0]
mov edx, ecx
mov eax, dword [eax + 0x3dd8]
lea ecx, [ecx + eax*4]
cmp edx, ecx
jae 0x40fbeb
mov eax, dword [ebp - 0xdc]
cmp dword [edx], eax
je 0x40fbeb
add edx, 4
cmp edx, ecx
jb 0x40fbe0
mov esi, dword [0x451660]
mov eax, dword [esi + 0x3de0]
sub edx, eax
sar edx, 2
cmp eax, ecx
jae 0x40fc11
mov esi, dword [ebp - 0xec]
cmp dword [eax], esi
je 0x40fc11
add eax, 4
cmp eax, ecx
jb 0x40fc06
mov esi, dword [0x451660]
sub eax, dword [esi + 0x3de0]
sar eax, 2
mov dword [ebp - 0xec], eax
lea ecx, [eax*4]
mov dword [ebp - 0xb8], ecx
cmp edx, eax
jge 0x40fc6e
mov ecx, dword [esi + 0x3de0]
sub eax, edx
lea eax, [eax*4 - 4]
lea ecx, [ecx + edx*4]
push eax
lea eax, [ecx + 4]
push eax
push ecx
call sub.VCRUNTIME140.dll_memmove
mov edx, dword [ebp - 0xb8]
mov eax, esi
mov ecx, dword [ebp - 0xdc]
mov eax, dword [eax + 0x3de0]
mov dword [edx + eax - 4], ecx
jmp 0x40fca4
sub edx, dword [ebp - 0xec]
mov eax, dword [esi + 0x3de0]
shl edx, 2
add eax, ecx
push edx
push eax
add eax, 4
push eax
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [0x451660]
mov edx, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0xdc]
mov eax, dword [eax + 0x3de0]
mov dword [edx + eax], ecx
mov esi, dword [ebp - 0xd0]
add esp, 0xc
movss xmm2, dword [esi + 0x3bbc]
xorps xmm0, xmm0
movaps xmmword [ebp - 0x20], xmm0
movaps xmm1, xmm2
movss xmm0, dword [edi + 0x48]
xor eax, eax
addss xmm0, dword [0x44d510]
mulss xmm2, dword [0x44d4c4]
cmp byte [esi + 0x5e], al
mulss xmm1, dword [0x44d514]
setne al
mov dword [ebp - 0x24], 0xffffffff
addss xmm2, xmm0
inc eax
cmp byte [edi + 0x91], 0
mov dword [ebp - 0xf4], eax
maxss xmm1, xmm2
cvttss2si esi, xmm1
jne 0x40fd2b
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x20]
push ecx
push eax
lea eax, [ebp - 0x24]
mov ecx, edi
push eax
lea edx, [ebp - 0x2c]
call fcn.0040ccc0
add esp, 0x10
test al, al
je 0x40fd2b
mov cl, 1
mov ch, cl
jmp 0x40fd37
mov ch, byte [ebp - 0xb1]
mov cl, byte [ebp - 0xb2]
cmp byte [edi + 0x91], 0
mov al, byte [ebp - 0x24]
mov byte [edi + 0x99], al
jne 0x40fea6
cmp dword [ebp - 0xd8], 0
lea eax, [ebp - 0xf0]
movss xmm2, dword [edi + 0x1c0]
movss xmm3, dword [edi + 0x1c4]
subss xmm2, dword [edi + 0x1b8]
subss xmm3, dword [edi + 0x1bc]
movss xmm4, dword [edi + 0x24]
movss xmm5, dword [edi + 0x20]
subss xmm4, dword [ebp - 0xe4]
addss xmm2, dword [edi + 0x84]
addss xmm3, dword [edi + 0x88]
jne 0x40fdb4
mov dword [ebp - 0xf0], 0
mov dword [ebp - 0xec], 0
jmp 0x40fde0
movss xmm0, dword [edi + 0x40]
movss xmm1, dword [edi + 0x44]
addss xmm0, xmm0
addss xmm1, xmm1
addss xmm0, dword [edi + 0x28]
addss xmm1, dword [edi + 0x2c]
movss dword [ebp - 0xf0], xmm0
movss dword [ebp - 0xec], xmm1
movss xmm6, dword [eax]
movss xmm1, dword [eax + 4]
test ch, ch
jne 0x40fdf0
movaps xmm5, xmm2
test cl, cl
jne 0x40fdf7
movaps xmm4, xmm3
mov eax, dword [ebp - 0xc8]
test eax, 0x4000
jne 0x40fe11
comiss xmm1, xmm4
jbe 0x40fe0d
test al, 8
je 0x40fe11
xor cl, cl
jmp 0x40fe13
mov cl, 1
mov edx, dword [ebp - 0xd0]
add edx, 0x3804
mov byte [edi + 0x8d], cl
test eax, 0x8000
jne 0x40fe60
test cl, cl
je 0x40fe36
movss xmm0, dword [edx]
jmp 0x40fe39
xorps xmm0, xmm0
subss xmm5, xmm0
comiss xmm6, xmm5
jbe 0x40fe54
mov eax, dword [ebp - 0xc8]
and eax, 0x808
cmp eax, 0x800
je 0x40fe60
mov byte [edi + 0x8c], 0
xorps xmm1, xmm1
jmp 0x40fe89
mov byte [edi + 0x8c], 1
test cl, cl
jne 0x40fe85
comiss xmm1, xmm4
jbe 0x40fe7d
test byte [ebp - 0xc8], 8
jne 0x40fe7d
mov cl, 1
jmp 0x40fe7f
xor cl, cl
mov byte [edi + 0x8d], cl
movss xmm1, dword [edx]
test cl, cl
je 0x40fe93
movss xmm0, dword [edx]
jmp 0x40fe96
xorps xmm0, xmm0
movss dword [edi + 0x84], xmm0
movss dword [edi + 0x88], xmm1
mov ecx, dword [ebp - 0xc8]
mov eax, ecx
and eax, 0x5000000
mov dword [ebp - 0xdc], eax
cmp eax, 0x1000000
jne 0x40fed9
cmp dword [ebp - 0xfc], 0x3000000
je 0x40fed9
mov eax, dword [ebp - 0xd4]
add eax, 0x1f8
jmp 0x40fedc
lea eax, [ebp - 0x40]
test byte [edi + 8], 1
movss xmm0, dword [edi + 0x10]
movups xmm4, xmmword [eax]
movss xmm7, dword [edi + 0x14]
movaps xmm5, xmm0
addss xmm5, dword [edi + 0x18]
movaps xmm6, xmm7
movaps xmmword [ebp - 0x140], xmm4
addss xmm6, dword [edi + 0x1c]
movss dword [ebp - 0xb8], xmm0
je 0x40ff13
xorps xmm3, xmm3
jmp 0x40ff53
mov edx, dword [0x451660]
mov eax, dword [edi + 0x2e0]
movss xmm0, dword [edx + 0x3bc0]
mulss xmm0, dword [edi + 0x244]
test eax, eax
je 0x40ff3b
mulss xmm0, dword [eax + 0x244]
movss xmm3, dword [edx + 0x37d0]
addss xmm3, xmm3
addss xmm3, xmm0
movss xmm0, dword [ebp - 0xb8]
movaps xmm2, xmm0
movss dword [ebp - 0x120], xmm0
addss xmm2, dword [edi + 0x20]
movss xmm0, dword [edi + 0x14]
movaps xmm1, xmm7
movss dword [ebp - 0x11c], xmm0
addss xmm1, xmm3
movss xmm0, dword [ebp - 0xb8]
mov eax, ecx
mov edx, dword [ebp - 0xd0]
and eax, 0x401
movss dword [ebp - 0x118], xmm2
movaps xmm2, xmm4
shufps xmm2, xmm4, 0xff
movss dword [ebp - 0x114], xmm1
movss dword [edi + 0x1a8], xmm0
movss dword [edi + 0x1ac], xmm7
movss dword [edi + 0x1b0], xmm5
movaps xmm5, xmm4
movss dword [edi + 0x1b4], xmm6
movss xmm0, dword [edi + 0x1a8]
shufps xmm5, xmm4, 0x55
maxss xmm0, xmm4
maxss xmm7, xmm5
movups xmmword [ebp - 0x170], xmm5
movups xmmword [ebp - 0x150], xmm2
movss dword [edi + 0x1a8], xmm0
movaps xmm0, xmm4
movss dword [edi + 0x1ac], xmm7
movss xmm1, dword [edi + 0x1b0]
shufps xmm0, xmm4, 0xaa
minss xmm1, xmm0
movups xmmword [ebp - 0x160], xmm0
movss xmm0, dword [edi + 0x1b4]
minss xmm0, xmm2
movss dword [edi + 0x1b0], xmm1
movss dword [edi + 0x1b4], xmm0
movss xmm7, dword [edi + 0x10]
movss xmm6, dword [edi + 0x14]
movss dword [edi + 0x1b8], xmm7
movaps xmm0, xmm6
addss xmm7, dword [edi + 0x18]
addss xmm6, dword [edi + 0x1c]
addss xmm0, dword [ebp - 0xe4]
subss xmm7, dword [edi + 0x84]
subss xmm6, dword [edi + 0x88]
movss dword [ebp - 0xec], xmm0
movss dword [edi + 0x1bc], xmm0
movss dword [edi + 0x1c0], xmm7
movss dword [edi + 0x1c4], xmm6
cmp eax, 1
jne 0x410091
movss xmm0, dword [edi + 0x4c]
jmp 0x410099
movss xmm0, dword [edx + 0x37d8]
movss xmm2, dword [0x44d4dc]
movss dword [ebp - 0xb8], xmm0
addss xmm7, xmm2
movss xmm0, dword [edi + 0x40]
addss xmm6, xmm2
mulss xmm0, xmm2
movups xmm3, xmmword [ebp - 0x150]
cvttss2si eax, xmm0
movss xmm0, dword [edi + 0x10]
addss xmm0, xmm2
subss xmm6, dword [edi + 0x4c]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
maxss xmm1, dword [edi + 0x4c]
addss xmm0, xmm1
subss xmm7, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1c8], xmm0
movss xmm0, dword [ebp - 0xec]
addss xmm0, xmm2
addss xmm0, dword [ebp - 0xb8]
cvttss2si ecx, xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
cvttss2si ecx, xmm7
movss dword [edi + 0x1cc], xmm0
movd xmm0, ecx
cvttss2si ecx, xmm6
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1d0], xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1d4], xmm0
movss xmm0, dword [edi + 0x1cc]
comiss xmm5, xmm0
jbe 0x410159
movaps xmm1, xmm5
jmp 0x410160
movaps xmm1, xmm3
minss xmm1, xmm0
movups xmm6, xmmword [ebp - 0x160]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm4, xmm2
jbe 0x410178
movaps xmm0, xmm4
jmp 0x41017f
movaps xmm0, xmm6
minss xmm0, xmm2
movss dword [edi + 0x1c8], xmm0
movss dword [edi + 0x1cc], xmm1
movss xmm1, dword [edi + 0x1d4]
comiss xmm5, xmm1
jbe 0x4101a1
movaps xmm0, xmm5
jmp 0x4101a8
movaps xmm0, xmm3
minss xmm0, xmm1
movss xmm1, dword [edi + 0x1d0]
comiss xmm4, xmm1
ja 0x4101bc
movaps xmm4, xmm6
minss xmm4, xmm1
movss dword [edi + 0x1d0], xmm4
xorps xmm2, xmm2
movss dword [edi + 0x1d4], xmm0
movss xmm0, dword [edi + 0x18]
comiss xmm0, xmm2
jbe 0x4101ef
test dword [ebp - 0xc8], 0x2000040
jne 0x4101ef
mulss xmm0, dword [0x44d4e4]
jmp 0x4101ff
movss xmm0, dword [edx + 0x3bbc]
mulss xmm0, dword [0x44d56c]
cvttss2si eax, xmm0
mov edx, edi
lea ecx, [ebp - 0x128]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x228], xmm0
movss xmm1, dword [edi + 0x40]
movss xmm0, dword [edi + 0x1c0]
addss xmm1, xmm1
subss xmm0, dword [edi + 0x1b8]
addss xmm1, dword [edi + 0x28]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
movss xmm1, dword [edi + 0x44]
addss xmm1, xmm1
movss dword [edi + 0x64], xmm0
movss xmm0, dword [edi + 0x1c4]
subss xmm0, dword [edi + 0x1bc]
addss xmm1, dword [edi + 0x2c]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
movss dword [edi + 0x68], xmm0
call fcn.004123a0
mov ecx, dword [edi + 0x24c]
mov dword [ebp - 0xc0], ecx
add ecx, 0x48
mov dword [ebp - 0xb8], ecx
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
mov eax, dword [ebp - 0xd0]
movss dword [edi + 0x5c], xmm0
movss dword [edi + 0x60], xmm1
mov dword [edi + 0x6c], 0x7f7fffff
mov dword [edi + 0x70], 0x7f7fffff
mov eax, dword [eax + 0x3bb8]
mov edx, dword [ecx]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 4]
mov dword [ebp - 0xd8], eax
mov eax, dword [ecx + 4]
cmp edx, eax
jne 0x410303
inc edx
mov dword [ebp - 0xec], edx
test eax, eax
je 0x4102ed
cdq
sub eax, edx
mov edx, dword [ebp - 0xec]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x4102f2
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.00418230
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ecx]
mov eax, dword [ecx + 8]
mov ecx, dword [ebp - 0xd8]
mov dword [eax + edx*4], ecx
mov ecx, dword [ebp - 0xb8]
mov eax, dword [ebp - 0xd8]
inc dword [ecx]
mov ecx, dword [ebp - 0xc0]
mov dword [ecx + 0x70], eax
call fcn.00420ba0
mov ecx, dword [0x451660]
movaps xmm0, xmmword [ebp - 0x140]
comiss xmm0, dword [ebp - 0x160]
mov eax, dword [ecx + 0x3e20]
mov byte [eax + 0x90], 1
mov eax, dword [ecx + 0x3e20]
mov dword [ebp - 0xc0], eax
movaps xmmword [ebp - 0x40], xmm0
mov eax, dword [eax + 0x24c]
mov dword [ebp - 0xd8], eax
jb 0x41037c
movss dword [ebp - 0x38], xmm0
movaps xmm0, xmmword [ebp - 0x40]
movaps xmmword [ebp - 0x140], xmm0
movups xmm0, xmmword [ebp - 0x170]
comiss xmm0, dword [ebp - 0x150]
jb 0x41039c
movss dword [ebp - 0x34], xmm0
movaps xmm0, xmmword [ebp - 0x40]
movaps xmmword [ebp - 0x140], xmm0
mov edx, dword [eax + 0x3c]
lea ecx, [eax + 0x3c]
mov eax, dword [ecx + 4]
mov dword [ebp - 0xb8], ecx
cmp edx, eax
jne 0x4103e0
inc edx
mov dword [ebp - 0xec], edx
test eax, eax
je 0x4103ca
cdq
sub eax, edx
mov edx, dword [ebp - 0xec]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x4103cf
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.00427b20
mov ecx, dword [ebp - 0xb8]
mov eax, dword [ecx]
movaps xmm0, xmmword [ebp - 0x140]
shl eax, 4
add eax, dword [ecx + 8]
movups xmmword [eax], xmm0
inc dword [ecx]
mov ecx, dword [ebp - 0xd8]
movups xmmword [ecx + 0x60], xmm0
call fcn.00420b00
mov edx, dword [ebp - 0xc0]
mov byte [ebp - 0xb1], 0
mov eax, dword [edx + 0x24c]
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
add ecx, ecx
cmp dword [ebp - 0xdc], 0x1000000
movss xmm0, dword [eax + ecx*8 - 0xc]
movss xmm1, dword [eax + ecx*8 - 8]
movss xmm2, dword [eax + ecx*8 - 4]
mov eax, dword [eax + ecx*8 - 0x10]
mov dword [edx + 0x1f8], eax
movss dword [edx + 0x1fc], xmm0
movss dword [edx + 0x200], xmm1
movss dword [edx + 0x204], xmm2
jne 0x410522
cmp dword [ebp - 0xfc], 0x3000000
je 0x410522
mov eax, dword [ebp - 0xd4]
mov ecx, dword [eax + 0x168]
cmp ecx, 2
jl 0x4104de
mov eax, dword [eax + 0x170]
mov eax, dword [eax + ecx*4 - 8]
test eax, eax
je 0x4104de
movss xmm5, dword [eax + 0x14]
movss xmm7, dword [eax + 0x10]
movaps xmm0, xmm5
addss xmm0, dword [eax + 0x1c]
movss xmm6, dword [edi + 0x10]
movaps xmm3, xmm7
movss xmm2, dword [edi + 0x14]
movaps xmm4, xmm6
addss xmm3, dword [eax + 0x18]
addss xmm4, dword [edi + 0x18]
comiss xmm0, dword [edi + 0x14]
addss xmm2, dword [edi + 0x1c]
jbe 0x4104de
comiss xmm2, xmm5
jbe 0x4104de
comiss xmm3, xmm6
jbe 0x4104de
comiss xmm4, xmm7
mov byte [ebp - 0xb2], 1
ja 0x4104e5
mov byte [ebp - 0xb2], 0
mov edx, dword [edi + 0x24c]
mov eax, dword [edx]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 8]
cmp dword [eax + ecx*8 - 0xc], 0
jne 0x410522
mov eax, dword [ebp - 0xd4]
mov eax, dword [eax + 0x24c]
cmp dword [eax + 0x18], 0
jle 0x410522
cmp byte [ebp - 0xb2], 0
jne 0x410522
mov byte [ebp - 0xb1], 1
mov dword [edi + 0x24c], eax
mov eax, dword [ebp - 0xd0]
mov ecx, dword [eax + 0x4124]
test ecx, ecx
jne 0x410538
mov ecx, dword [eax + 0x3fd4]
cmp byte [ebp - 0xe0], 0
jne 0x41055c
test ecx, ecx
je 0x410553
mov eax, dword [edi + 0x2f0]
cmp eax, dword [ecx + 0x2f0]
je 0x41055c
mov byte [ebp - 0xb8], 0
jmp 0x410563
mov byte [ebp - 0xb8], 1
movd xmm0, esi
lea eax, [ebp - 0x20]
cvtdq2ps xmm0, xmm0
push ecx
lea edx, [ebp - 0x120]
mov ecx, edi
movss dword [esp], xmm0
push eax
push dword [ebp - 0xf4]
push dword [ebp - 0xb8]
call fcn.0040db70
add esp, 0x10
cmp byte [ebp - 0xb1], 0
je 0x4105a5
lea eax, [edi + 0x250]
mov dword [edi + 0x24c], eax
mov edx, dword [ebp - 0xc8]
xorps xmm2, xmm2
movss xmm5, dword [edi + 0x38]
mov ecx, edx
shr ecx, 3
not cl
and cl, 1
ucomiss xmm5, xmm2
lahf
test ah, 0x44
jnp 0x4105cb
movaps xmm7, xmm5
jmp 0x410601
movss xmm0, dword [edi + 0x40]
mov eax, edx
movss xmm1, dword [edi + 0x18]
addss xmm0, xmm0
and eax, 0x808
subss xmm1, xmm0
subss xmm1, dword [edi + 0x84]
cmp eax, 0x800
jne 0x4105fa
movss xmm7, dword [edi + 0x28]
jmp 0x4105fd
xorps xmm7, xmm7
maxss xmm7, xmm1
movss xmm4, dword [edi + 0x3c]
ucomiss xmm4, xmm2
lahf
test ah, 0x44
jnp 0x410614
movaps xmm6, xmm4
jmp 0x410648
movss xmm0, dword [edi + 0x44]
movss xmm1, dword [edi + 0x1c]
addss xmm0, xmm0
subss xmm1, xmm0
subss xmm1, dword [ebp - 0xe4]
subss xmm1, dword [edi + 0x88]
test cl, cl
je 0x410641
movss xmm6, dword [edi + 0x2c]
jmp 0x410644
xorps xmm6, xmm6
maxss xmm6, xmm1
movss xmm1, dword [edi + 0x40]
movss xmm2, dword [edi + 0x5c]
movss xmm0, dword [edi + 0x1b8]
subss xmm0, xmm2
movss dword [ebp - 0xec], xmm1
maxss xmm1, dword [edi + 0x4c]
movss dword [ebp - 0xf4], xmm2
ucomiss xmm5, dword [0x44d494]
addss xmm1, xmm0
movss xmm0, dword [edi + 0x60]
movss dword [ebp - 0xd8], xmm0
movss xmm0, dword [edi + 0x1bc]
subss xmm0, dword [ebp - 0xd8]
cvttss2si eax, xmm1
movss xmm1, dword [edi + 0x44]
movss dword [ebp - 0xb8], xmm1
maxss xmm1, dword [edi + 0x4c]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
addss xmm1, xmm0
addss xmm7, xmm2
movss dword [edi + 0x1d8], xmm2
movss xmm2, dword [ebp - 0xec]
cvttss2si eax, xmm1
movss dword [edi + 0x1e0], xmm7
movss xmm7, dword [ebp - 0xf4]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
lahf
movss dword [edi + 0x1dc], xmm0
addss xmm6, xmm0
movss dword [edi + 0x1e4], xmm6
movss xmm6, dword [ebp - 0xb8]
movups xmm0, xmmword [edi + 0x1d8]
movups xmmword [edi + 0x1e8], xmm0
movss xmm0, dword [edi + 0x10]
movss dword [ebp - 0xc0], xmm0
movaps xmm1, xmm0
subss xmm1, xmm7
addss xmm1, xmm2
movss dword [edi + 0x208], xmm1
movss xmm0, dword [edi + 0x14]
movss dword [ebp - 0xf4], xmm0
movaps xmm3, xmm0
subss xmm3, dword [ebp - 0xd8]
addss xmm3, xmm6
addss xmm3, dword [ebp - 0xe4]
movss dword [edi + 0x20c], xmm3
test ah, 0x44
jp 0x41077f
movss xmm5, dword [edi + 0x18]
movaps xmm0, xmm2
addss xmm0, xmm2
subss xmm5, xmm0
subss xmm5, dword [edi + 0x84]
addss xmm1, xmm5
xorps xmm5, xmm5
ucomiss xmm4, xmm5
movss dword [edi + 0x210], xmm1
lahf
test ah, 0x44
jp 0x4107b7
movss xmm4, dword [edi + 0x1c]
movaps xmm0, xmm6
addss xmm0, xmm6
subss xmm4, xmm0
subss xmm4, dword [ebp - 0xe4]
subss xmm4, dword [edi + 0x88]
movaps xmm0, xmm2
mov esi, dword [ebp - 0xd0]
addss xmm0, xmm5
addss xmm4, xmm3
movss xmm3, dword [ebp - 0xc0]
cvtps2pd xmm3, xmm3
lea ecx, [edi + 0x144]
movss dword [edi + 0x214], xmm4
subss xmm0, xmm7
movss dword [edi + 0x118], xmm0
cvtps2pd xmm0, xmm2
mov dword [edi + 0x120], 0
mov dword [edi + 0x11c], 0
movss xmm2, dword [ebp - 0xf4]
addsd xmm3, xmm0
cvtps2pd xmm0, xmm7
cvtps2pd xmm2, xmm2
subsd xmm3, xmm0
cvtps2pd xmm0, xmm6
addsd xmm3, qword [0x44d498]
addsd xmm2, xmm0
movss xmm0, dword [ebp - 0xd8]
cvtps2pd xmm0, xmm0
subsd xmm2, xmm0
movss xmm0, dword [ebp - 0xe4]
cvtps2pd xmm0, xmm0
addsd xmm2, xmm0
cvtpd2ps xmm0, xmm3
cvtpd2ps xmm1, xmm2
movss dword [edi + 0xe4], xmm0
movss dword [edi + 0xe8], xmm1
movss xmm0, dword [edi + 0xe4]
cvtps2pd xmm0, xmm0
subsd xmm3, xmm0
movss xmm0, dword [edi + 0xe8]
cvtps2pd xmm0, xmm0
cvtpd2ps xmm1, xmm3
subsd xmm2, xmm0
movss dword [edi + 0x124], xmm1
cvtpd2ps xmm0, xmm2
movss dword [edi + 0x128], xmm0
movss xmm1, dword [edi + 0xe4]
movss xmm0, dword [edi + 0xe8]
movss dword [edi + 0xd4], xmm1
movss dword [edi + 0xd8], xmm0
movss dword [edi + 0xdc], xmm1
movss dword [edi + 0xe0], xmm0
movss dword [edi + 0xec], xmm1
movss dword [edi + 0xf0], xmm0
movss dword [edi + 0xf4], xmm1
movss dword [edi + 0xf8], xmm0
mov dword [edi + 0x104], 0
mov dword [edi + 0x108], 0
mov dword [edi + 0xfc], 0
mov dword [edi + 0x100], 0
mov dword [edi + 0x110], 0
mov dword [edi + 0x10c], 0
mov byte [edi + 0x114], 0
mov dword [edi + 0x12c], 0
mov ax, word [edi + 0x132]
mov word [edi + 0x130], ax
xor eax, eax
mov word [edi + 0x132], ax
mov byte [edi + 0x138], al
movss xmm0, dword [edi + 0x68]
comiss xmm0, xmm5
seta al
cmp byte [ebp - 0xc9], 0
mov byte [edi + 0x139], al
mov byte [edi + 0x13a], 0
movss xmm1, dword [esi + 0x37dc]
je 0x410980
xorps xmm0, xmm0
movq qword [ecx + 0x12], xmm0
cvttss2si eax, xmm1
push ecx
mov word [ecx + 8], ax
call fcn.0042b4c0
xorps xmm0, xmm0
movq qword [edi + 0x156], xmm0
mov eax, dword [edi + 0x148]
mov dword [edi + 0x144], eax
lea eax, [edi + 0x168]
mov dword [edi + 0x148], 0
mov dword [edi + 0x160], 0
mov dword [edi + 0x164], 0
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x4109f2
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x168]
call fcn.00418230
lea eax, [edi + 0x168]
mov dword [eax], 0
lea eax, [edi + 0x22c]
mov dword [edi + 0x174], eax
mov eax, dword [ebp - 0xd4]
mov dword [edi + 0x178], 0
mov dword [edi + 0x180], 1
test eax, eax
je 0x410a2a
mov eax, dword [eax + 0x180]
jmp 0x410a2f
mov eax, 1
mov dword [edi + 0x184], eax
mov eax, dword [edi + 0x228]
mov dword [edi + 0x188], eax
lea eax, [edi + 0x190]
mov dword [edi + 0x18c], 0xbf800000
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x410a7a
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x190]
call fcn.00418230
lea eax, [edi + 0x190]
mov dword [eax], 0
lea eax, [edi + 0x19c]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x410aaf
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x19c]
call fcn.00418230
lea eax, [edi + 0x19c]
mov dword [eax], 0
mov al, byte [edi + 0xa8]
test al, al
jle 0x410ac7
dec al
mov byte [edi + 0xa8], al
mov al, byte [edi + 0xa9]
test al, al
jle 0x410ad9
dec al
mov byte [edi + 0xa9], al
cmp byte [ebp - 0xe0], 0
je 0x410af2
mov ecx, edi
call fcn.00411280
xor dl, dl
mov ecx, edi
call fcn.00414130
test byte [ebp - 0xc8], 1
movss xmm4, dword [ebp - 0x114]
movss xmm2, dword [ebp - 0x118]
movss xmm3, dword [ebp - 0x11c]
movss xmm5, dword [ebp - 0x120]
jne 0x410b82
movaps xmm0, xmm5
movss dword [ebp - 0x13c], xmm3
addss xmm0, dword [edi + 0x4c]
push ecx
push dword [ebp - 0x10c]
lea edx, [ebp - 0x140]
movss dword [ebp - 0x134], xmm4
mov ecx, edi
movss dword [ebp - 0x140], xmm0
movaps xmm0, xmm2
subss xmm0, dword [edi + 0x4c]
movss dword [ebp - 0x138], xmm0
call fcn.0040e190
movss xmm2, dword [ebp - 0x118]
add esp, 8
movss xmm3, dword [ebp - 0x11c]
movss xmm4, dword [ebp - 0x114]
movss xmm5, dword [ebp - 0x120]
mov edx, dword [0x451660]
xor eax, eax
mov dword [edi + 0x218], eax
movss xmm1, dword [edx + 0x37f4]
movss xmm0, dword [edx + 0x37f8]
subss xmm5, xmm1
addss xmm2, xmm1
movss xmm1, dword [edx + 0xdb0]
addss xmm4, xmm0
subss xmm3, xmm0
comiss xmm1, xmm5
jb 0x410bde
movss xmm0, dword [edx + 0xdb4]
comiss xmm0, xmm3
jb 0x410bde
comiss xmm2, xmm1
jbe 0x410bde
comiss xmm4, xmm0
mov dword [ebp - 0xb8], 1
ja 0x410be4
mov dword [ebp - 0xb8], eax
mov eax, dword [edi + 0x54]
mov ecx, dword [esi + 0x3eb0]
movups xmm0, xmmword [ebp - 0x120]
mov dword [edx + 0x3ec8], eax
mov eax, dword [ebp - 0xb8]
mov dword [edx + 0x3ed0], eax
mov eax, dword [ebp - 0x100]
mov dword [edx + 0x3ecc], ecx
movups xmmword [edx + 0x3ed4], xmm0
jmp 0x410c8d
mov eax, dword [0x451660]
mov dword [eax + 0x3e20], edi
mov ecx, dword [edi + 0x17c]
cmp ecx, 0xffffffff
je 0x410c42
imul ecx, ecx, 0x1d8
add ecx, dword [eax + 0x4210]
jmp 0x410c44
xor ecx, ecx
movss xmm0, dword [eax + 0x3bc0]
mov dword [eax + 0x41f4], ecx
mov ecx, dword [edi + 0x2e0]
mulss xmm0, dword [edi + 0x244]
test ecx, ecx
je 0x410c6c
mulss xmm0, dword [ecx + 0x244]
movss dword [eax + 0x3bd0], xmm0
movss dword [eax + 0x3bbc], xmm0
mov eax, dword [ebp - 0xc8]
and eax, 0x1000000
mov dword [ebp - 0x100], eax
test eax, eax
je 0x410c9f
mov eax, dword [ebp - 0xd4]
mov eax, dword [eax + 0x134]
jmp 0x410ced
mov ecx, dword [edi + 0xc8]
xor edx, edx
mov eax, dword [edi + 0xd0]
push dword [eax + ecx*4 - 4]
mov ecx, str.FOCUSSCOPE
call fcn.004056a0
mov ecx, dword [0x451660]
add esp, 4
mov dword [ebp - 0xf4], eax
cmp dword [ecx + 0x3e40], eax
jne 0x410ced
push ecx
push str.FOCUSSCOPE
mov edx, 0xb
mov ecx, eax
call fcn.00417ad0
mov eax, dword [ebp - 0xf4]
add esp, 8
mov ecx, dword [0x451660]
mov dword [edi + 0x134], eax
mov eax, dword [ecx + 0x3e20]
mov byte [eax + 0x90], 1
mov eax, dword [ecx + 0x3e20]
movss xmm1, dword [edi + 0x1c8]
movss xmm0, dword [edi + 0x1cc]
movss xmm2, dword [edi + 0x1d0]
movss xmm3, dword [edi + 0x1d4]
mov dword [ebp - 0xb8], eax
mov eax, dword [eax + 0x24c]
mov dword [ebp - 0x24], eax
movss dword [ebp - 0x130], xmm1
movss dword [ebp - 0x12c], xmm0
movups xmm4, xmmword [eax + 0x60]
movss dword [ebp - 0x128], xmm2
comiss xmm4, xmm1
movss dword [ebp - 0x124], xmm3
movaps xmmword [ebp - 0x150], xmm4
jbe 0x410d76
movaps xmm1, xmm4
movss dword [ebp - 0x130], xmm1
movss xmm4, dword [ebp - 0x14c]
comiss xmm4, xmm0
jbe 0x410d8e
movaps xmm0, xmm4
movss dword [ebp - 0x12c], xmm0
movss xmm4, dword [ebp - 0x148]
comiss xmm2, xmm4
jbe 0x410da6
movaps xmm2, xmm4
movss dword [ebp - 0x128], xmm2
movss xmm4, dword [ebp - 0x144]
comiss xmm3, xmm4
jbe 0x410dbe
movaps xmm3, xmm4
movss dword [ebp - 0x124], xmm3
comiss xmm1, xmm2
jb 0x410dcb
movss dword [ebp - 0x128], xmm1
comiss xmm0, xmm3
jb 0x410dd8
movss dword [ebp - 0x124], xmm0
mov edx, dword [eax + 0x3c]
lea ecx, [eax + 0x3c]
mov eax, dword [ecx + 4]
mov dword [ebp - 0xec], ecx
cmp edx, eax
jne 0x410e1c
inc edx
mov dword [ebp - 0xf4], edx
test eax, eax
je 0x410e06
cdq
sub eax, edx
mov edx, dword [ebp - 0xf4]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x410e0b
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.00427b20
mov ecx, dword [ebp - 0xec]
mov eax, dword [ecx]
mov edx, dword [ecx + 8]
add eax, eax
movaps xmm0, xmmword [ebp - 0x130]
movups xmmword [edx + eax*8], xmm0
inc dword [ecx]
mov ecx, dword [ebp - 0x24]
movups xmmword [ecx + 0x60], xmm0
call fcn.00420b00
mov edx, dword [ebp - 0xb8]
mov eax, dword [edx + 0x24c]
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
shl ecx, 4
movss xmm0, dword [eax + ecx - 0xc]
movss xmm1, dword [eax + ecx - 8]
movss xmm2, dword [eax + ecx - 4]
mov eax, dword [eax + ecx - 0x10]
mov dword [edx + 0x1f8], eax
mov eax, dword [ebp - 0x108]
movss dword [edx + 0x1fc], xmm0
movss dword [edx + 0x200], xmm1
movss dword [edx + 0x204], xmm2
mov byte [edi + 0x90], 0
inc word [edi + 0x9a]
mov dword [esi + 0x3f04], 0
cmp eax, dword [ebp - 0x104]
je 0x411016
cmp dword [ebp - 0x100], 0
je 0x410f80
mov eax, dword [ebp - 0xc8]
test al, 0x40
jne 0x410f44
cmp byte [edi + 0xa8], 0
jg 0x410f44
cmp byte [edi + 0xa9], 0
jg 0x410f44
test eax, 0x800000
je 0x410f0c
cmp byte [esi + 0x4014], 0
je 0x410f0c
mov eax, dword [esi + 0x3fd4]
test eax, eax
je 0x410f0c
mov eax, dword [eax + 0x2f4]
cmp eax, dword [edi + 0x2f4]
jne 0x410f0c
mov al, 1
jmp 0x410f0e
xor al, al
cmp byte [esi + 0x5248], 0
jne 0x410f44
test al, al
jne 0x410f44
movss xmm0, dword [edi + 0x1a8]
comiss xmm0, dword [edi + 0x1b0]
jae 0x410f3d
movss xmm0, dword [edi + 0x1ac]
comiss xmm0, dword [edi + 0x1b4]
jb 0x410f44
mov byte [edi + 0xb0], 1
mov eax, dword [ebp - 0xd4]
test eax, eax
je 0x410f80
cmp byte [eax + 0x91], 0
jne 0x410f60
cmp byte [eax + 0xb0], 0
jle 0x410f67
mov byte [edi + 0xb0], 1
cmp byte [eax + 0x91], 0
jne 0x410f79
cmp byte [eax + 0xb1], 0
jle 0x410f80
mov byte [edi + 0xb1], 1
xorps xmm0, xmm0
comiss xmm0, dword [esi + 0x3790]
jb 0x410f93
mov byte [edi + 0xb0], 1
cmp byte [edi + 0xb0], 0
jg 0x410fb3
cmp byte [edi + 0xb1], 0
jg 0x410fb3
xor cl, cl
cmp byte [edi + 0xb2], cl
jg 0x410fb5
xor al, al
jmp 0x410fb7
mov cl, 1
mov al, 1
mov byte [edi + 0x95], al
mov al, byte [edi + 0xb3]
test al, al
jle 0x410fd6
dec al
mov byte [edi + 0xb3], al
or dword [edi + 8], 0xc0200
xor al, al
cmp byte [edi + 0x91], al
jne 0x410fec
cmp byte [edi + 0x8e], al
je 0x410fec
test cl, cl
je 0x411010
cmp byte [edi + 0xa8], 0
jg 0x411010
cmp byte [edi + 0xa9], 0
jg 0x411010
cmp byte [edi + 0xb1], 0
mov ecx, 1
movzx eax, al
cmovle eax, ecx
mov byte [edi + 0x93], al
cmp byte [edi + 0x93], 0
mov ecx, dword [ebp - 4]
sete al
xor ecx, ebp
pop edi
pop esi
call fcn.00443af3
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret