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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x148
mov eax, dword [0x4901c0]
xor eax, esp
mov dword [esp + 0x144], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [0x4927a0]
push edi
mov dword [esp + 0x4c], edx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x2c], esi
call fcn.0040b1d0
test eax, eax
mov dword [esp + 0x44], eax
mov edi, eax
sete cl
mov dword [esp + 0xc], edi
mov byte [esp + 0x13], cl
test eax, eax
jne 0x40de3c
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x54]
call fcn.0040b410
mov edi, eax
mov dword [esp + 0xc], edi
mov edx, edi
mov dword [esp + 0x24], edi
jmp 0x40de52
push dword [esp + 0x14]
mov dl, cl
mov ecx, edi
call fcn.0040b310
mov edx, edi
add esp, 4
mov dword [esp + 0x24], edx
mov ecx, dword [esp + 0x14]
mov eax, ecx
and eax, 0xc0200
cmp eax, 0xc0200
jne 0x40de6b
or ecx, 6
mov dword [esp + 0x14], ecx
cmp dword [esi + 0x3ee0], 0
mov eax, dword [esi + 0x3ea0]
mov dword [esp + 0x40], eax
mov eax, dword [edx + 0x254]
mov dword [esp + 0x48], eax
jne 0x40de95
cmp byte [esi + 0x3eb1], 0
je 0x40de95
mov al, 1
jmp 0x40de97
xor al, al
mov byte [edi + 0xcb], al
mov eax, dword [esp + 0x40]
dec eax
cmp dword [edx + 0x254], eax
setl ah
mov byte [esp + 0x1b], ah
test ecx, 0x4000000
je 0x40def1
mov eax, dword [esi + 0x40c8]
lea esi, [eax + eax*8]
mov eax, dword [esp + 0x2c]
mov edx, dword [eax + 0x40c4]
mov eax, dword [edi + 0xd8]
cmp edi, dword [edx + esi*4 + 4]
setne cl
cmp eax, dword [edx + esi*4]
mov ah, byte [esp + 0x1b]
mov edx, dword [esp + 0x24]
setne al
or cl, al
or ah, cl
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x1b], ah
mov esi, dword [esp + 0x48]
mov al, byte [edi + 0xc9]
cmp esi, dword [esp + 0x40]
mov esi, dword [esp + 0x2c]
mov byte [esp + 0x12], al
je 0x40df75
mov byte [edi + 0xc9], ah
test ah, ah
je 0x40df2f
or byte [edi + 0xe8], 8
or byte [edi + 0xe9], 8
or byte [edi + 0xea], 8
or byte [edi + 0xeb], 8
mov eax, dword [edi + 8]
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x40]
mov dword [edi + 8], ecx
mov dword [edx + 0x254], eax
xor eax, eax
movsd xmm0, qword [esi + 0x3e98]
cvtpd2ps xmm0, xmm0
movss dword [edi + 0x25c], xmm0
mov word [edi + 0xd2], ax
mov ax, word [esi + 0x3ef8]
mov word [edi + 0xd4], ax
inc dword [esi + 0x3ef8]
jmp 0x40df7c
mov eax, dword [edi + 8]
mov dword [esp + 0x14], eax
test dword [esi + 0x3fec], 0x200
je 0x40df9e
push dword [esi + 0x3ffc]
mov edx, dword [esi + 0x404c]
mov ecx, edi
call fcn.00420460
add esp, 4
mov eax, dword [esp + 0x48]
cmp eax, dword [esp + 0x40]
je 0x40e083
cmp dword [edi + 0x390], 0
jne 0x40e067
cmp dword [edi + 0x388], 0
jne 0x40e067
mov eax, dword [0x4927a0]
xor cl, cl
cmp byte [eax + 0x5a], cl
jne 0x40dfdb
cmp byte [edi + 0x28], cl
je 0x40e069
test dword [edi + 8], 0x1200001
jne 0x40e069
cmp byte [edi + 0xcb], 0
jne 0x40e069
mov al, byte [edi + 0x36d]
mov byte [esp + 0xb], al
mov edx, dword [esp + 0x4c]
mov ecx, edi
call fcn.004208b0
test byte [edi + 0x36d], 1
mov edx, dword [edi + 8]
mov dword [esp + 0x14], edx
je 0x40e01d
and dword [esi + 0x3fec], 0xffffffef
test byte [edi + 0x36d], 4
je 0x40e087
mov al, byte [esp + 0xb]
test al, 4
jne 0x40e087
test al, 2
je 0x40e087
cmp byte [edi + 0xc9], 0
jne 0x40e087
cmp byte [esp + 0x12], 0
jne 0x40e087
mov byte [edi + 0xc9], 1
or byte [edi + 0xe8], 8
or byte [edi + 0xe9], 8
or byte [edi + 0xea], 8
or byte [edi + 0xeb], 8
jmp 0x40e087
mov cl, 1
mov al, byte [edi + 0x36d]
mov byte [esp + 0xb], al
test cl, cl
jne 0x40dffb
and al, 0xfb
and al, 0xfd
and al, 0xfe
mov byte [edi + 0x36d], al
mov edx, dword [esp + 0x14]
test byte [edi + 0x36d], 1
je 0x40e09b
mov eax, dword [edi + 0x388]
mov eax, dword [eax + 0x70]
jmp 0x40e0b2
mov eax, dword [esi + 0x3ee0]
test eax, eax
je 0x40e0b2
imul ecx, eax, 0x54
mov eax, dword [esi + 0x3ee8]
mov eax, dword [eax + ecx - 0x54]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x38], eax
cmp ecx, dword [esp + 0x40]
je 0x40e0d2
and edx, 0x5000000
neg edx
sbb edx, edx
and edx, eax
mov dword [esp + 0x34], edx
jmp 0x40e0dc
mov eax, dword [edi + 0x31c]
mov dword [esp + 0x34], eax
cmp dword [edi + 0xfc], 0
lea ecx, [edi + 0xfc]
jne 0x40e0f4
lea eax, [edi + 4]
push eax
call fcn.004224f0
push 0x3c
lea eax, [esp + 0x78]
mov dword [esi + 0x3f04], edi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [0x4927a0]
xorps xmm0, xmm0
mov eax, dword [esi + 0x3fe8]
add esp, 0xc
mov dword [esp + 0xac], eax
movups xmmword [esp + 0xb0], xmm0
mov eax, dword [ecx + 0x3f04]
movups xmm0, xmmword [esi + 0x3fb0]
mov edx, dword [esi + 0x3ee0]
mov word [esp + 0xc0], 0
movzx eax, word [eax + 0xfc]
mov word [esp + 0xb0], ax
movzx eax, word [ecx + 0x4074]
mov word [esp + 0xb2], ax
movzx eax, word [ecx + 0x4080]
mov word [esp + 0xb4], ax
movzx eax, word [ecx + 0x408c]
mov word [esp + 0xb6], ax
movzx eax, word [ecx + 0x4098]
mov word [esp + 0xb8], ax
movzx eax, word [ecx + 0x40b0]
movups xmmword [esp + 0x74], xmm0
mov word [esp + 0xba], ax
movzx eax, word [ecx + 0x40a4]
movups xmm0, xmmword [esi + 0x3fc0]
mov word [esp + 0xbc], ax
movzx eax, word [ecx + 0x40c8]
movups xmmword [esp + 0x84], xmm0
mov word [esp + 0xbe], ax
movzx eax, word [ecx + 0x52f8]
movups xmm0, xmmword [esi + 0x3fd0]
mov ecx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov dword [esp + 0x3c], ecx
mov ecx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
movups xmmword [esp + 0x94], xmm0
mov word [esp + 0xc0], ax
movq xmm0, qword [esi + 0x3fe0]
mov eax, dword [esi + 0x3ee4]
mov dword [esp + 0x1c], ecx
mov ecx, dword [0x4927a0]
mov dword [esp + 0x70], edi
movq qword [esp + 0xa4], xmm0
cmp edx, eax
jne 0x40e2c9
inc edx
mov dword [esp + 0x24], edx
test eax, eax
je 0x40e247
cdq
sub eax, edx
mov edx, dword [esp + 0x24]
sar eax, 1
add eax, dword [esi + 0x3ee4]
jmp 0x40e24c
mov eax, 8
cmp eax, edx
cmovg edx, eax
mov dword [esp + 0x24], edx
cmp edx, dword [esi + 0x3ee4]
jle 0x40e2c9
inc dword [ecx + 0xb0]
imul eax, edx, 0x54
push eax
call dword [esp + 0x40]
mov edx, dword [esi + 0x3ee8]
add esp, 4
mov dword [esp + 0xfc], eax
test edx, edx
je 0x40e2b9
imul ecx, dword [esi + 0x3ee0], 0x54
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esi + 0x3ee8]
add esp, 0xc
test ecx, ecx
je 0x40e2aa
mov eax, dword [0x4927a0]
test eax, eax
je 0x40e2aa
dec dword [eax + 0xb0]
push ecx
call dword [esp + 0x20]
mov eax, dword [esp + 0x100]
add esp, 4
mov dword [esi + 0x3ee8], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0x3ee4], eax
imul eax, dword [esi + 0x3ee0], 0x54
mov ecx, dword [esi + 0x3ee8]
movups xmm0, xmmword [esp + 0x70]
add ecx, eax
mov eax, dword [esp + 0xc0]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [esp + 0x80]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [esp + 0x90]
movups xmmword [ecx + 0x20], xmm0
movups xmm0, xmmword [esp + 0xa0]
movups xmmword [ecx + 0x30], xmm0
movups xmm0, xmmword [esp + 0xb0]
movups xmmword [ecx + 0x40], xmm0
mov dword [ecx + 0x50], eax
inc dword [esi + 0x3ee0]
mov eax, dword [esp + 0x14]
mov dword [esi + 0x3f04], 0
test eax, 0x10000000
je 0x40e33b
inc dword [esi + 0x40d4]
test eax, 0x4000000
je 0x40e3ec
mov eax, dword [esi + 0x40c8]
lea ecx, [esi + 0x40c8]
mov edx, dword [esi + 0x40c4]
mov dword [esp + 0x20], edx
lea eax, [eax + eax*8]
mov dword [edx + eax*4 + 4], edi
mov edx, dword [ecx]
mov dword [esp + 0x24], eax
mov eax, dword [ecx + 4]
cmp edx, eax
jne 0x40e3a3
inc edx
mov dword [esp + 0xfc], edx
test eax, eax
je 0x40e38d
cdq
sub eax, edx
mov edx, dword [esp + 0xfc]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x40e392
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.00422c70
lea ecx, [esi + 0x40c8]
mov eax, dword [ecx]
mov esi, dword [esp + 0x20]
mov ecx, dword [ecx + 8]
lea edx, [eax + eax*8]
mov eax, dword [esp + 0x24]
movups xmm0, xmmword [esi + eax*4]
movups xmmword [ecx + edx*4], xmm0
movups xmm0, xmmword [esi + eax*4 + 0x10]
movups xmmword [ecx + edx*4 + 0x10], xmm0
mov eax, dword [esi + eax*4 + 0x20]
mov esi, dword [esp + 0x2c]
mov dword [ecx + edx*4 + 0x20], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
inc dword [esi + 0x40c8]
mov eax, dword [ecx + eax*4]
mov dword [edi + 0xd8], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x48]
cmp ecx, dword [esp + 0x40]
je 0x40e410
push dword [esp + 0x34]
mov edx, eax
mov ecx, edi
call fcn.0040dd00
mov eax, dword [esp + 0x3c]
add esp, 4
mov dword [edi + 0x320], eax
test byte [esi + 0x3fec], 1
mov byte [esp + 0x12], 0
mov byte [esp + 0x1a], 0
mov byte [esp + 0x19], 0
je 0x40e4cc
movsx eax, byte [edi + 0xe8]
mov ecx, dword [esi + 0x3ff0]
test ecx, eax
setne byte [esp + 0x12]
test ecx, eax
je 0x40e4bb
movss xmm1, dword [esi + 0x400c]
movss xmm0, dword [esi + 0x4008]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm0, dword [0x485b34]
jbe 0x40e4bb
mov eax, dword [esi + 0x4000]
mov ecx, dword [esi + 0x4004]
mov dword [edi + 0xec], eax
mov dword [edi + 0xf0], ecx
mov eax, dword [esi + 0x4008]
mov ecx, dword [esi + 0x400c]
mov dword [edi + 0xf4], eax
mov dword [edi + 0xf8], ecx
movzx ecx, byte [edi + 0xe8]
mov eax, dword [edi + 0xe8]
and ecx, 0xf1
and eax, 0xffffff00
or ecx, eax
mov dword [edi + 0xe8], ecx
jmp 0x40e4cc
push ecx
lea edx, [esi + 0x4000]
mov ecx, edi
call fcn.00411290
add esp, 4
test byte [esi + 0x3fec], 2
xorps xmm1, xmm1
je 0x40e532
movsx eax, byte [edi + 0xe9]
mov ecx, dword [esi + 0x3ff4]
and eax, ecx
je 0x40e4fd
movss xmm0, dword [esi + 0x4010]
comiss xmm0, xmm1
jbe 0x40e4fd
mov byte [esp + 0x1a], 1
jmp 0x40e507
xor dl, dl
mov byte [esp + 0x1a], dl
test eax, eax
je 0x40e519
movss xmm0, dword [esi + 0x4014]
comiss xmm0, xmm1
mov byte [esp + 0x19], 1
ja 0x40e51e
mov byte [esp + 0x19], 0
push ecx
lea edx, [esi + 0x4010]
mov ecx, edi
call fcn.004113b0
add esp, 4
xorps xmm1, xmm1
test byte [esi + 0x3fec], 0x80
je 0x40e579
movss xmm0, dword [esi + 0x4020]
comiss xmm0, xmm1
jb 0x40e55a
movss dword [edi + 0xa0], xmm0
mov dword [edi + 0xa8], 0
movss xmm0, dword [esi + 0x4024]
comiss xmm0, xmm1
jb 0x40e579
movss dword [edi + 0xa4], xmm0
mov dword [edi + 0xac], 0
test byte [esi + 0x3fec], 4
je 0x40e596
mov eax, dword [esi + 0x4018]
mov ecx, dword [esi + 0x401c]
mov dword [edi + 0x68], eax
mov dword [edi + 0x6c], ecx
jmp 0x40e5ae
mov eax, dword [esp + 0x48]
cmp eax, dword [esp + 0x40]
je 0x40e5ae
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0
test dword [esi + 0x3fec], 0x400
je 0x40e5db
movups xmm0, xmmword [esi + 0x4050]
movups xmmword [edi + 0x10], xmm0
movq xmm0, qword [esi + 0x4060]
movq qword [edi + 0x20], xmm0
mov eax, dword [esi + 0x4068]
mov dword [edi + 0x28], eax
test byte [esi + 0x3fec], 8
je 0x40e628
mov ecx, dword [esi + 0x3ff8]
mov dl, byte [esi + 0x4029]
test ecx, ecx
je 0x40e5ff
movsx eax, byte [edi + 0xea]
test ecx, eax
je 0x40e628
movzx ecx, byte [edi + 0xea]
mov eax, dword [edi + 0xe8]
and ecx, 0xf1
shl ecx, 0x10
and eax, 0xff00ffff
or ecx, eax
mov byte [edi + 0xc6], dl
mov dword [edi + 0xe8], ecx
test byte [esi + 0x3fec], 0x20
je 0x40e638
mov ecx, edi
call fcn.00411060
cmp byte [edi + 0xc9], 0
je 0x40e65d
and byte [edi + 0xe8], 0xf7
and byte [edi + 0xe9], 0xf7
and byte [edi + 0xea], 0xf7
and byte [edi + 0xeb], 0xf7
mov eax, dword [esp + 0x48]
cmp eax, dword [esp + 0x40]
je 0x41091d
mov eax, dword [esp + 0x14]
lea ecx, [edi + 0xfc]
and eax, 0x3000000
cmp dword [esp + 0x4c], 0
mov dword [esp + 0x50], eax
mov al, byte [edi + 0xe5]
mov byte [edi + 0xc3], 1
mov byte [esp + 0x33], al
setne al
mov byte [edi + 0xcd], al
mov dword [edi + 0x22c], 0xff7fffff
mov dword [edi + 0x230], 0xff7fffff
mov dword [edi + 0x234], 0x7f7fffff
push 1
mov dword [edi + 0x238], 0x7f7fffff
call fcn.00422da0
mov ecx, dword [edi + 0x288]
call fcn.0042b080
test dword [esp + 0x14], 0x20000000
mov dword [edi + 0x1b0], 0xffffffff
je 0x40e70d
mov ecx, dword [edi + 0x288]
sub esp, 8
add ecx, 0x78
call fcn.0042dc40
mov ecx, dword [edi + 0x288]
push 1
push ecx
add ecx, 0x78
call fcn.0042e230
cmp byte [edi + 0x36c], 0
je 0x40e759
mov byte [edi + 0x36c], 0
mov ecx, dword [edi + 0x288]
push dword [edi + 0x364]
add ecx, 0xc
call fcn.00422fd0
mov ecx, dword [edi + 0x288]
push dword [edi + 0x368]
add ecx, 0x18
call fcn.00422e50
mov dword [edi + 0x368], 0
mov dword [edi + 0x364], 0
mov eax, dword [edi + 0x2c]
test eax, eax
je 0x40e765
cmp dword [eax + 0x6c], edi
je 0x40e788
test byte [edi + 0x36d], 1
jne 0x40e788
cmp dword [esi + 0x4278], 0
je 0x40e855
test dword [edi + 8], 0x80000
jne 0x40e855
cmp dword [esp + 0x44], 0
je 0x40e855
mov eax, dword [edi]
mov ecx, eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x54]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40e7c0
test dl, dl
je 0x40e7bc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40e7c0
add eax, 2
add ecx, 2
test dl, dl
jne 0x40e7a0
xor eax, eax
jmp 0x40e7c5
sbb eax, eax
or eax, 1
test eax, eax
je 0x40e855
mov ecx, dword [esp + 0x54]
mov edx, dword [edi + 0x80]
mov dword [esp + 0x28], edx
lea eax, [ecx + 1]
mov dword [esp + 0x24], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40e7e2
sub ecx, dword [esp + 0x24]
lea eax, [ecx + 1]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x24], eax
cmp edx, eax
jae 0x40e83b
test ecx, ecx
je 0x40e80f
mov eax, dword [0x4927a0]
test eax, eax
je 0x40e80f
dec dword [eax + 0xb0]
push ecx
call dword [esp + 0x20]
mov eax, dword [0x4927a0]
add esp, 4
test eax, eax
je 0x40e826
inc dword [eax + 0xb0]
push dword [esp + 0x24]
call dword [esp + 0x40]
mov ecx, eax
add esp, 4
mov eax, dword [esp + 0x24]
mov dword [esp + 0x28], eax
push eax
push dword [esp + 0x58]
push ecx
call sub.VCRUNTIME140.dll_memcpy
mov dword [edi], eax
add esp, 0xc
mov eax, dword [esp + 0x28]
mov dword [edi + 0x80], eax
lea eax, [edi + 0x60]
mov ecx, edi
push eax
lea edx, [edi + 0x58]
call fcn.0040b950
mov al, byte [edi + 0xe4]
add esp, 4
test al, al
jle 0x40e878
dec al
mov byte [edi + 0xe4], al
mov al, byte [edi + 0xe5]
test al, al
jle 0x40e88a
dec al
mov byte [edi + 0xe5], al
mov al, byte [edi + 0xe6]
test al, al
jle 0x40e89c
dec al
mov byte [edi + 0xe6], al
cmp dword [esp + 0x44], 0
mov cl, byte [esp + 0x1a]
mov dl, byte [esp + 0x19]
jne 0x40e8ba
test cl, cl
je 0x40e8b3
test dl, dl
jne 0x40e8ba
mov byte [edi + 0xe5], 1
cmp byte [esp + 0x1b], 0
je 0x40e917
mov eax, dword [esp + 0x14]
test eax, 0x6000000
je 0x40e917
mov byte [edi + 0xe5], 1
test al, 0x40
je 0x40e917
test cl, cl
jne 0x40e8e9
mov dword [edi + 0x50], 0
mov dword [edi + 0x48], 0
test dl, dl
jne 0x40e8fb
mov dword [edi + 0x54], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov ecx, edi
call fcn.004190f0
mov edx, dword [edi + 0x2c]
mov ecx, dword [0x4927a0]
test edx, edx
je 0x40e934
mov eax, dword [ecx + 0x3ea0]
mov dword [edx + 0x4c], eax
cmp dword [ecx + 0x40e8], edx
je 0x40e977
test edx, edx
je 0x40e967
mov eax, dword [edx + 0x28]
mov dword [ecx + 0x40e4], eax
mov eax, dword [ecx + 0x3808]
mov dword [ecx + 0x40e8], edx
test eax, eax
je 0x40e977
push edx
call eax
mov ecx, dword [0x4927a0]
add esp, 4
jmp 0x40e977
mov dword [ecx + 0x40e4], 0x3f800000
mov dword [ecx + 0x40e8], edx
test dword [esi + 8], 0x8000
je 0x40e98a
mov eax, dword [edi + 0x2c]
movss xmm0, dword [eax + 0x28]
jmp 0x40e992
movss xmm0, dword [0x485bc0]
movss dword [edi + 0x280], xmm0
mov dword [ecx + 0x3f04], edi
mov eax, dword [edi + 0x1b0]
cmp eax, 0xffffffff
je 0x40e9b9
imul eax, eax, 0x1d8
add eax, dword [ecx + 0x434c]
jmp 0x40e9bb
xor eax, eax
movss xmm0, dword [ecx + 0x3c9c]
mov dword [ecx + 0x4330], eax
mulss xmm0, dword [edi + 0x27c]
mov eax, dword [edi + 0x31c]
mulss xmm0, dword [edi + 0x280]
test eax, eax
je 0x40e9eb
mulss xmm0, dword [eax + 0x27c]
movss dword [ecx + 0x3cac], xmm0
movss dword [ecx + 0x3c98], xmm0
mov edx, dword [edi + 8]
mov dword [esp + 0x14], edx
test edx, 0x1000000
je 0x40ea15
mov eax, dword [esi + 0x3884]
mov dword [edi + 0x7c], eax
jmp 0x40ea3c
test edx, 0x6000000
je 0x40ea2f
test edx, 0x8000000
jne 0x40ea2f
movss xmm0, dword [esi + 0x388c]
jmp 0x40ea37
movss xmm0, dword [esi + 0x3868]
movss dword [edi + 0x7c], xmm0
test byte [edi + 0x36d], 1
jne 0x40ea93
mov eax, edx
and eax, 0x5010000
cmp eax, 0x1000000
jne 0x40ea93
movss xmm0, dword [edi + 0x7c]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x40ea93
test edx, 0x400
je 0x40ea82
movss xmm0, dword [esi + 0x3860]
mov dword [edi + 0x70], 0
movss dword [edi + 0x74], xmm0
jmp 0x40eaab
xorps xmm0, xmm0
mov dword [edi + 0x70], 0
movss dword [edi + 0x74], xmm0
jmp 0x40eaab
mov ecx, dword [esi + 0x3860]
mov eax, dword [esi + 0x385c]
mov dword [edi + 0x70], eax
mov dword [edi + 0x74], ecx
mov ecx, dword [0x4927a0]
movss xmm0, dword [edi + 0x70]
maxss xmm0, dword [esi + 0x38a0]
maxss xmm0, dword [esi + 0x406c]
movss dword [edi + 0x170], xmm0
mov eax, dword [esi + 0x4070]
mov dword [edi + 0x174], eax
test dl, 0x21
jne 0x40ec70
test byte [edi + 0x36d], 1
jne 0x40ec70
test byte [edi + 8], 1
je 0x40eaf5
xorps xmm3, xmm3
jmp 0x40eb2f
movss xmm0, dword [ecx + 0x3c9c]
mulss xmm0, dword [edi + 0x27c]
mov eax, dword [edi + 0x31c]
mulss xmm0, dword [edi + 0x280]
test eax, eax
je 0x40eb1f
mulss xmm0, dword [eax + 0x27c]
movss xmm3, dword [ecx + 0x3894]
addss xmm3, xmm3
addss xmm3, xmm0
movss xmm5, dword [edi + 0x40]
movaps xmm4, xmm5
movss xmm6, dword [edi + 0x44]
addss xmm4, dword [edi + 0x50]
addss xmm3, dword [edi + 0x44]
cmp dword [esi + 0x3f08], edi
jne 0x40ec37
cmp dword [esi + 0x3f2c], 0
jne 0x40ec37
cmp dword [esi + 0x3f30], 0
jne 0x40ec37
mov eax, dword [ecx + 0x3f04]
movss xmm0, dword [ecx + 0x38bc]
movss xmm1, dword [ecx + 0x38b8]
minss xmm3, dword [eax + 0x238]
maxss xmm5, dword [eax + 0x22c]
minss xmm4, dword [eax + 0x234]
maxss xmm6, dword [eax + 0x230]
movaps xmm2, xmm3
addss xmm2, xmm0
movaps xmm7, xmm4
addss xmm7, xmm1
movss dword [esp + 0x28], xmm2
movaps xmm2, xmm5
subss xmm2, xmm1
movaps xmm1, xmm6
subss xmm1, xmm0
movss xmm0, dword [ecx + 0xd58]
comiss xmm0, xmm2
jb 0x40ec37
movss xmm0, dword [ecx + 0xd5c]
comiss xmm0, xmm1
jb 0x40ec37
comiss xmm7, dword [ecx + 0xd58]
jbe 0x40ec37
movss xmm1, dword [esp + 0x28]
comiss xmm1, xmm0
jbe 0x40ec37
mov eax, dword [ecx + 0x40ec]
movss xmm2, dword [eax + 0xc]
movss xmm7, dword [eax + 8]
movaps xmm0, xmm2
addss xmm0, dword [eax + 0x14]
movaps xmm1, xmm7
addss xmm1, dword [eax + 0x10]
comiss xmm0, xmm6
jbe 0x40ec37
comiss xmm3, xmm2
jbe 0x40ec37
comiss xmm1, xmm5
jbe 0x40ec37
comiss xmm4, xmm7
jbe 0x40ec37
cmp word [esi + 0x3682], 2
jne 0x40ec37
mov byte [edi + 0xc7], 1
cmp byte [edi + 0xc7], 0
je 0x40ec77
cmp byte [edi + 0xc6], 0
sete al
mov byte [edi + 0xc6], al
test dword [edi + 8], 0x100
jne 0x40ec77
xorps xmm0, xmm0
comiss xmm0, dword [ecx + 0x536c]
jb 0x40ec77
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x536c], eax
jmp 0x40ec77
mov byte [edi + 0xc6], 0
lea eax, [edi + 0x60]
mov byte [edi + 0xc7], 0
push eax
mov edx, edi
lea ecx, [esp + 0x11c]
call fcn.0040ba80
mov cl, byte [esp + 0x17]
add esp, 4
test byte [esp + 0x14], 0x40
mov byte [esp + 0xb], cl
je 0x40ece8
cmp byte [edi + 0xc6], 0
jne 0x40ece8
cmp byte [esp + 0x1a], 0
jne 0x40ecc5
movss xmm0, dword [esp + 0x118]
movss dword [edi + 0x50], xmm0
mov byte [esp + 0x13], 1
cmp byte [esp + 0x19], 0
jne 0x40ed9f
movss xmm0, dword [esp + 0x11c]
movss dword [edi + 0x54], xmm0
mov byte [esp + 0xb], 1
jmp 0x40ed9f
mov al, byte [edi + 0xdc]
test al, al
jg 0x40ecff
cmp byte [edi + 0xdd], 0
jle 0x40ed9f
cmp byte [esp + 0x1a], 0
jne 0x40ed36
test al, al
jle 0x40ed36
cmp byte [edi + 0xdf], 0
je 0x40ed23
movss xmm0, dword [edi + 0x50]
maxss xmm0, dword [esp + 0x118]
jmp 0x40ed2c
movss xmm0, dword [esp + 0x118]
movss dword [edi + 0x50], xmm0
mov byte [esp + 0x13], 1
cmp byte [esp + 0x19], 0
jne 0x40ed72
cmp byte [edi + 0xdd], 0
jle 0x40ed72
cmp byte [edi + 0xdf], 0
je 0x40ed5f
movss xmm0, dword [edi + 0x54]
maxss xmm0, dword [esp + 0x11c]
jmp 0x40ed68
movss xmm0, dword [esp + 0x11c]
movss dword [edi + 0x54], xmm0
mov byte [esp + 0xb], 1
cmp byte [edi + 0xc6], 0
jne 0x40ed9f
test dword [edi + 8], 0x100
mov ecx, dword [0x4927a0]
jne 0x40ed9f
xorps xmm0, xmm0
comiss xmm0, dword [ecx + 0x536c]
jb 0x40ed9f
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x536c], eax
lea eax, [edi + 0x50]
mov edx, edi
push eax
lea ecx, [esp + 0xdc]
call fcn.0040b700
mov ecx, dword [esp + 0x18]
add esp, 4
movss xmm2, dword [eax]
movss xmm1, dword [eax + 4]
mov eax, dword [0x4927a0]
movss dword [edi + 0x50], xmm2
movss dword [edi + 0x54], xmm1
cmp byte [edi + 0xc6], 0
mov dword [esp + 0x1c], eax
je 0x40ee43
test ecx, 0x1000000
jne 0x40ee43
test byte [edi + 8], 1
je 0x40edf0
xorps xmm1, xmm1
jmp 0x40ee2a
movss xmm0, dword [eax + 0x3c9c]
mulss xmm0, dword [edi + 0x27c]
mov edx, dword [edi + 0x31c]
mulss xmm0, dword [edi + 0x280]
test edx, edx
je 0x40ee1a
mulss xmm0, dword [edx + 0x27c]
movss xmm1, dword [eax + 0x3894]
addss xmm1, xmm1
addss xmm1, xmm0
movss xmm2, dword [edi + 0x40]
addss xmm2, dword [edi + 0x50]
addss xmm1, dword [edi + 0x44]
subss xmm2, dword [edi + 0x40]
subss xmm1, dword [edi + 0x44]
movss dword [edi + 0x48], xmm2
movss dword [edi + 0x4c], xmm1
mov edx, dword [edi + 8]
test dl, 1
je 0x40ee5a
xorps xmm1, xmm1
jmp 0x40ee97
movss xmm0, dword [eax + 0x3c9c]
mulss xmm0, dword [edi + 0x27c]
mov edx, dword [edi + 0x31c]
mulss xmm0, dword [edi + 0x280]
test edx, edx
je 0x40ee84
mulss xmm0, dword [edx + 0x27c]
movss xmm1, dword [eax + 0x3894]
mov edx, dword [edi + 8]
addss xmm1, xmm1
addss xmm1, xmm0
test edx, 0x400
je 0x40eee3
movss xmm2, dword [eax + 0x3c9c]
mulss xmm2, dword [edi + 0x27c]
mov edx, dword [edi + 0x31c]
mulss xmm2, dword [edi + 0x280]
test edx, edx
je 0x40eec9
mulss xmm2, dword [edx + 0x27c]
movss xmm0, dword [eax + 0x3894]
addss xmm2, dword [edi + 0x174]
addss xmm0, xmm0
addss xmm2, xmm0
jmp 0x40eee6
xorps xmm2, xmm2
cmp byte [esp + 0x1b], 0
addss xmm2, xmm1
movss dword [esp + 0x24], xmm2
je 0x40ef33
mov eax, ecx
mov dword [edi + 0xe0], 0xffffffff
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x40ef33
cmp byte [esp + 0x12], 0
jne 0x40ef33
mov eax, dword [esi + 0x40c8]
mov ecx, dword [esi + 0x40d0]
lea edx, [eax + eax*8]
mov eax, dword [ecx + edx*4 - 0x10]
mov ecx, dword [ecx + edx*4 - 0xc]
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], ecx
mov ecx, dword [esp + 0x14]
test ecx, 0x1000000
je 0x40efac
mov ecx, dword [esp + 0x34]
add ecx, 0x19c
mov ax, word [ecx]
mov word [edi + 0xd2], ax
lea eax, [esp + 0xc]
push eax
call fcn.004224f0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x50]
test ecx, 0x4000000
jne 0x40efa1
cmp byte [esp + 0x12], 0
jne 0x40efa1
cmp edx, 0x3000000
je 0x40efa1
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx + 0x108]
mov ecx, dword [ecx + 0x10c]
mov dword [edi + 0x40], eax
mov eax, dword [0x4927a0]
mov dword [edi + 0x44], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
jmp 0x40efb0
mov eax, dword [0x4927a0]
mov dword [esp + 0x1c], eax
jmp 0x40efb0
mov edx, dword [esp + 0x50]
movss xmm1, dword [edi + 0xec]
ucomiss xmm1, dword [0x485c7c]
lahf
test ah, 0x44
jnp 0x40f016
cmp byte [edi + 0xe5], 0
jne 0x40f016
movss xmm0, dword [edi + 0xf4]
lea edx, [esp + 0x58]
mulss xmm0, dword [edi + 0x48]
mov ecx, edi
push 0
subss xmm1, xmm0
movss xmm0, dword [edi + 0xf0]
movss dword [esp + 0x5c], xmm1
movss xmm1, dword [edi + 0x4c]
mulss xmm1, dword [edi + 0xf8]
subss xmm0, xmm1
movss dword [esp + 0x60], xmm0
call fcn.00411290
add esp, 4
jmp 0x40f05e
test ecx, 0x10000000
jne 0x40f048
mov al, byte [esp + 0x12]
test ecx, 0x4000000
je 0x40f034
test al, al
jne 0x40f034
cmp byte [esp + 0x33], al
jg 0x40f048
test ecx, 0x2000000
je 0x40f05e
test al, al
jne 0x40f05e
cmp edx, 0x3000000
je 0x40f05e
mov edx, edi
lea ecx, [esp + 0x60]
call fcn.00413310
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [edi + 0x40], ecx
mov dword [edi + 0x44], eax
cmp dword [edi + 0x3c], 0
jl 0x40f1cf
cmp byte [edi + 0xc2], 0
jne 0x40f1cf
mov eax, dword [edi + 0x2c]
test dword [eax + 4], 0x400
jne 0x40f1cf
movss xmm1, dword [edi + 0x40]
lea ecx, [edi + 0x40]
comiss xmm1, dword [eax + 8]
movss xmm7, dword [edi + 0x44]
movaps xmm2, xmm1
movss xmm6, dword [eax + 0xc]
movaps xmm4, xmm7
movss xmm3, dword [eax + 8]
movaps xmm5, xmm6
addss xmm2, dword [edi + 0x48]
addss xmm4, dword [edi + 0x4c]
addss xmm3, dword [eax + 0x10]
addss xmm5, dword [eax + 0x14]
jb 0x40f0d2
comiss xmm7, xmm6
jb 0x40f0d2
comiss xmm3, xmm2
jb 0x40f0d2
comiss xmm5, xmm4
jae 0x40f1cf
mov edx, dword [edi + 4]
lea eax, [edi + 0x48]
push 0x20
push eax
push ecx
mov ecx, edi
call fcn.00418c90
mov edx, dword [0x4927a0]
mov ecx, eax
add esp, 0xc
mov dword [edi + 0x2c], ecx
mov dword [esp + 0x1c], edx
test ecx, ecx
je 0x40f102
mov eax, dword [edx + 0x3ea0]
mov dword [ecx + 0x4c], eax
cmp dword [edx + 0x40e8], ecx
je 0x40f149
test ecx, ecx
je 0x40f139
mov eax, dword [ecx + 0x28]
mov dword [edx + 0x40e4], eax
mov eax, dword [edx + 0x3808]
mov dword [edx + 0x40e8], ecx
test eax, eax
je 0x40f149
push ecx
call eax
mov edx, dword [0x4927a0]
add esp, 4
mov dword [esp + 0x1c], edx
jmp 0x40f149
mov dword [edx + 0x40e4], 0x3f800000
mov dword [edx + 0x40e8], ecx
test dword [esi + 8], 0x8000
je 0x40f15c
mov eax, dword [edi + 0x2c]
movss xmm0, dword [eax + 0x28]
jmp 0x40f164
movss xmm0, dword [0x485bc0]
movss dword [edi + 0x280], xmm0
mov dword [edx + 0x3f04], edi
mov eax, dword [edi + 0x1b0]
cmp eax, 0xffffffff
je 0x40f18b
imul eax, eax, 0x1d8
add eax, dword [edx + 0x434c]
jmp 0x40f18d
xor eax, eax
movss xmm0, dword [edx + 0x3c9c]
mov dword [edx + 0x4330], eax
mulss xmm0, dword [edi + 0x27c]
mov eax, dword [edi + 0x31c]
mulss xmm0, dword [edi + 0x280]
test eax, eax
je 0x40f1bd
mulss xmm0, dword [eax + 0x27c]
movss dword [edx + 0x3cac], xmm0
movss dword [edx + 0x3c98], xmm0
jmp 0x40f1d3
mov edx, dword [esp + 0x1c]
cmp byte [edi + 0xc2], 0
je 0x40f1f1
mov edx, dword [esp + 0x38]
mov ecx, edi
call fcn.00419610
mov edx, dword [0x4927a0]
mov dword [esp + 0x1c], edx
cmp byte [esp + 0x12], 0
mov eax, dword [edi + 0x2c]
movss xmm7, dword [esi + 0x38fc]
maxss xmm7, dword [esi + 0x3904]
movss xmm6, dword [esi + 0x3900]
movss xmm2, dword [eax + 0x18]
addss xmm2, dword [eax + 0x20]
maxss xmm6, dword [esi + 0x3908]
movss xmm0, dword [eax + 8]
movss xmm1, dword [eax + 0xc]
movaps xmm5, xmm0
addss xmm5, dword [eax + 0x10]
subss xmm2, xmm7
movss dword [esp + 0x3c], xmm0
movaps xmm4, xmm1
movss dword [esp + 0x100], xmm0
addss xmm4, dword [eax + 0x14]
movaps xmm3, xmm6
movss dword [esp + 0x20], xmm1
addss xmm3, dword [eax + 0x1c]
movss dword [esp + 0xc], xmm2
movss xmm2, dword [eax + 0x1c]
addss xmm2, dword [eax + 0x24]
movss xmm0, dword [esp + 0xc]
movss dword [esp + 0x104], xmm1
movss dword [esp + 0x108], xmm5
movss dword [esp + 0x10c], xmm4
subss xmm2, xmm6
movss dword [esp + 0x28], xmm2
movaps xmm2, xmm7
addss xmm2, dword [eax + 0x18]
movss xmm1, dword [esp + 0x28]
movss dword [esp + 0x124], xmm3
movss dword [esp + 0x128], xmm0
movss dword [esp + 0x12c], xmm1
movss dword [esp + 0x120], xmm2
jne 0x40f479
test dword [esp + 0x14], 0x1000000
jne 0x40f479
cmp byte [edi + 0xdc], 0
jg 0x40f479
cmp byte [edi + 0xdd], 0
jg 0x40f479
cmp byte [edi + 0xc2], 0
jne 0x40f392
subss xmm5, dword [esp + 0x3c]
xorps xmm0, xmm0
comiss xmm5, xmm0
jbe 0x40f479
subss xmm4, dword [esp + 0x20]
comiss xmm4, xmm0
jbe 0x40f479
cmp byte [edx + 0x66], 0
movss xmm0, dword [edi + 0x4c]
je 0x40f355
test byte [edi + 8], 1
je 0x40f341
cmp dword [edi + 0x38c], 0
je 0x40f355
movss xmm0, dword [edx + 0x3894]
addss xmm0, xmm0
addss xmm0, dword [edx + 0x3c98]
subss xmm2, dword [edi + 0x48]
subss xmm3, xmm0
movss xmm0, dword [edi + 0x44]
comiss xmm3, xmm0
ja 0x40f36f
movaps xmm3, xmm1
minss xmm3, xmm0
movss xmm0, dword [edi + 0x40]
comiss xmm2, xmm0
ja 0x40f383
movss xmm2, dword [esp + 0xc]
minss xmm2, xmm0
movss dword [edi + 0x40], xmm2
movss dword [edi + 0x44], xmm3
jmp 0x40f479
cmp dword [esi + 0x3824], 0
jle 0x40f479
mov eax, dword [edi + 0x2c]
movsx eax, word [eax + 0x68]
test eax, eax
js 0x40f3c0
cmp eax, dword [edx + 0x3824]
jge 0x40f3c0
lea ecx, [eax + eax*8]
mov eax, dword [edx + 0x382c]
lea eax, [eax + ecx*4]
jmp 0x40f3c6
lea eax, [edx + 0x40f8]
movaps xmm0, xmm7
movaps xmm1, xmm6
addss xmm0, dword [eax + 0x10]
addss xmm1, dword [eax + 0x14]
movss dword [esp + 0x120], xmm0
movss dword [esp + 0x124], xmm1
movss xmm4, dword [eax + 0x10]
movss xmm3, dword [eax + 0x1c]
addss xmm4, dword [eax + 0x18]
addss xmm3, dword [eax + 0x14]
subss xmm4, xmm7
subss xmm3, xmm6
movss dword [esp + 0x128], xmm4
movss dword [esp + 0x12c], xmm3
cmp byte [edx + 0x66], 0
movss xmm2, dword [edi + 0x4c]
je 0x40f444
test byte [edi + 8], 1
je 0x40f430
cmp dword [edi + 0x38c], 0
je 0x40f444
movss xmm2, dword [edx + 0x3894]
addss xmm2, xmm2
addss xmm2, dword [edx + 0x3c98]
subss xmm0, dword [edi + 0x48]
subss xmm1, xmm2
movss xmm2, dword [edi + 0x44]
comiss xmm1, xmm2
ja 0x40f45e
movaps xmm1, xmm3
minss xmm1, xmm2
movss xmm2, dword [edi + 0x40]
comiss xmm0, xmm2
ja 0x40f46f
movaps xmm0, xmm4
minss xmm0, xmm2
movss dword [edi + 0x40], xmm0
movss dword [edi + 0x44], xmm1
cvttss2si eax, dword [edi + 0x40]
movd xmm1, eax
cvttss2si eax, dword [edi + 0x44]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x40], xmm1
movss dword [edi + 0x44], xmm0
cmp byte [edi + 0xc2], 0
jne 0x40f4f4
test byte [edi + 0x36d], 1
jne 0x40f4f4
mov ecx, dword [esp + 0x14]
test ecx, 0x1000000
je 0x40f4c8
movss xmm0, dword [esi + 0x3880]
movss dword [edi + 0x78], xmm0
jmp 0x40f4ff
mov eax, ecx
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x40f4e5
movss xmm0, dword [esi + 0x3888]
movss dword [edi + 0x78], xmm0
jmp 0x40f4ff
movss xmm0, dword [esi + 0x3864]
movss dword [edi + 0x78], xmm0
jmp 0x40f4ff
mov ecx, dword [esp + 0x14]
mov dword [edi + 0x78], 0
xor al, al
mov dword [esp + 0x38], eax
cmp byte [esp + 0x1b], al
je 0x40f796
test ecx, 0x1000
jne 0x40f796
test ecx, 0x4000000
je 0x40f52a
mov byte [esp + 0x38], 1
jmp 0x40f550
test byte [edi + 0x36d], 1
jne 0x40f53b
test ecx, 0x1000000
jne 0x40f550
test ecx, 0x2000000
movzx eax, al
mov ecx, 1
cmove eax, ecx
mov dword [esp + 0x38], eax
mov eax, dword [edx + 0x40bc]
sub eax, 1
mov dword [esp + 0x28], eax
js 0x40f796
lea ecx, [eax + eax*8]
mov eax, dword [edx + 0x40c4]
lea ecx, [ecx + 1]
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x28]
mov dword [esp + 0xc], ecx
nop word [eax + eax]
mov ecx, dword [ecx]
test ecx, ecx
je 0x40f58f
test dword [ecx + 8], 0x8000000
jne 0x40f5a4
mov ecx, dword [esp + 0xc]
sub ecx, 0x24
sub eax, 1
mov dword [esp + 0xc], ecx
jns 0x40f580
jmp 0x40f796
mov eax, edi
cmp dword [eax + 0x324], ecx
je 0x40f796
cmp eax, ecx
je 0x40f796
mov eax, dword [eax + 0x320]
test eax, eax
jne 0x40f5b2
mov byte [esp + 0x38], al
cmp edi, dword [edi + 0x324]
jne 0x40f796
mov eax, dword [edx + 0x40bc]
mov edx, dword [edx + 0x40c4]
dec eax
add edx, 4
mov dword [esp + 0x20], eax
lea ecx, [eax + eax*8]
lea edx, [edx + ecx*4]
mov dword [esp + 0xc], edx
mov edx, dword [edx]
test edx, edx
je 0x40f672
test dword [edx + 8], 0x8000000
je 0x40f672
cmp byte [edx + 0xc3], 0
jne 0x40f613
cmp byte [edx + 0xc4], 0
je 0x40f672
mov eax, edi
cmp dword [edi + 0x324], edx
je 0x40f68a
nop dword [eax]
cmp eax, edx
je 0x40f68a
mov eax, dword [eax + 0x320]
test eax, eax
jne 0x40f620
mov eax, dword [edx + 0x320]
mov ecx, dword [eax + 0x324]
test ecx, ecx
je 0x40f66e
nop
mov eax, edi
cmp dword [edi + 0x324], ecx
je 0x40f68c
nop word [eax + eax]
cmp eax, ecx
je 0x40f68c
mov eax, dword [eax + 0x320]
test eax, eax
jne 0x40f650
mov eax, dword [ecx + 0x320]
mov ecx, dword [eax + 0x324]
test ecx, ecx
jne 0x40f640
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0xc]
dec eax
sub edx, 0x24
mov dword [esp + 0x20], eax
mov dword [esp + 0xc], edx
test eax, eax
jns 0x40f5f2
xor edx, edx
mov ecx, dword [esp + 0x1c]
mov eax, dword [edi + 0x324]
mov dword [esp + 0x20], eax
mov eax, dword [edx + 0x324]
mov edx, dword [ecx + 0x3ec4]
mov dword [esp + 0x28], eax
mov eax, dword [ecx + 0x3ebc]
lea eax, [edx + eax*4]
mov dword [esp + 0xc], eax
cmp edx, eax
jae 0x40f6cd
mov eax, dword [esp + 0x20]
nop
cmp dword [edx], eax
je 0x40f6cd
add edx, 4
cmp edx, dword [esp + 0xc]
jb 0x40f6c0
mov eax, dword [ecx + 0x3ebc]
mov esi, dword [ecx + 0x3ec4]
sub edx, dword [ecx + 0x3ec4]
sar edx, 2
lea esi, [esi + eax*4]
mov eax, dword [ecx + 0x3ec4]
mov dword [esp + 0xc], esi
cmp eax, esi
mov esi, dword [esp + 0x2c]
jae 0x40f711
mov esi, dword [esp + 0x28]
nop dword [eax + eax]
cmp dword [eax], esi
je 0x40f70d
add eax, 4
cmp eax, dword [esp + 0xc]
jb 0x40f700
mov esi, dword [esp + 0x2c]
mov ecx, dword [ecx + 0x3ec4]
sub eax, ecx
sar eax, 2
mov dword [esp + 0xc], ecx
mov dword [esp + 0x3c], eax
lea ecx, [eax*4]
mov dword [esp + 0x28], ecx
cmp edx, eax
jge 0x40f766
mov ecx, dword [esp + 0xc]
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 eax, dword [esp + 0x28]
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
mov eax, dword [eax + 0x3ec4]
mov dword [eax + edx - 4], ecx
jmp 0x40f793
sub edx, dword [esp + 0x3c]
mov eax, dword [esp + 0xc]
shl edx, 2
add eax, ecx
push edx
push eax
add eax, 4
push eax
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
mov eax, dword [eax + 0x3ec4]
mov dword [edx + eax], ecx
add esp, 0xc
cmp dword [edi + 0x38c], 0
jne 0x40f7ac
test byte [edi + 0x36d], 1
je 0x40f7ac
xor al, al
jmp 0x40f7ae
mov al, 1
movss xmm2, dword [esi + 0x3c98]
xorps xmm0, xmm0
movaps xmmword [esp + 0x130], xmm0
movaps xmm1, xmm2
mulss xmm2, dword [0x485b64]
xor ecx, ecx
cmp byte [esi + 0x65], cl
mulss xmm1, dword [0x485bc4]
mov dword [esp + 0xfc], 0xffffffff
setne cl
movss xmm0, dword [edi + 0x78]
inc ecx
mov byte [esp + 0x28], al
mov dword [esp + 0x58], ecx
addss xmm0, dword [0x485bc0]
addss xmm0, xmm2
maxss xmm1, xmm0
cvttss2si esi, xmm1
mov dword [esp + 0x20], esi
test al, al
je 0x40f85a
cmp byte [edi + 0xc6], 0
jne 0x40f85a
lea eax, [esp + 0x120]
push eax
lea eax, [esp + 0x134]
push eax
push ecx
lea eax, [esp + 0x108]
mov ecx, edi
push eax
lea edx, [esp + 0x128]
call fcn.0040bd50
mov edx, dword [0x4927a0]
add esp, 0x10
test al, al
je 0x40f85e
mov byte [esp + 0xb], 1
mov byte [esp + 0x13], 1
jmp 0x40f85e
mov edx, dword [esp + 0x1c]
mov al, byte [esp + 0xfc]
mov byte [edi + 0xce], al
cmp byte [edi + 0xc2], 0
je 0x40f969
mov eax, dword [edi + 0x2c]
mov dword [esp + 0xc], eax
cmp byte [eax + 0x44], 0
jne 0x40f897
mov esi, dword [esp + 0xc]
mov eax, dword [edi + 0x40]
mov ecx, dword [edi + 0x44]
mov dword [esi + 8], eax
mov eax, esi
mov dword [eax + 0xc], ecx
mov eax, dword [edi + 0x2c]
mov dword [esp + 0xc], eax
cmp byte [eax + 0x45], 0
jne 0x40f8b6
mov esi, dword [esp + 0xc]
mov eax, dword [edi + 0x48]
mov ecx, dword [edi + 0x4c]
mov dword [esi + 0x10], eax
mov eax, esi
mov dword [eax + 0x14], ecx
mov eax, dword [edi + 0x2c]
movss xmm0, dword [eax + 0xe4]
addss xmm0, dword [eax + 0xc]
movss xmm2, dword [eax + 0xe0]
movaps xmm1, xmm2
addss xmm1, dword [eax + 8]
movss dword [eax + 0x1c], xmm0
movss xmm0, dword [eax + 0x10]
subss xmm0, xmm2
xorps xmm2, xmm2
movss dword [eax + 0x18], xmm1
xorps xmm1, xmm1
addss xmm0, dword [eax + 0xe8]
maxss xmm2, xmm0
movss xmm0, dword [eax + 0x14]
subss xmm0, dword [eax + 0xe4]
addss xmm0, dword [eax + 0xec]
movss dword [eax + 0x20], xmm2
maxss xmm1, xmm0
movss dword [eax + 0x24], xmm1
mov eax, dword [edi + 0x2c]
movss xmm0, dword [eax + 0xc]
movss xmm1, dword [eax + 8]
movss dword [esp + 0x100], xmm1
addss xmm1, dword [eax + 0x10]
movss dword [esp + 0x104], xmm0
addss xmm0, dword [eax + 0x14]
movss dword [esp + 0x108], xmm1
movss dword [esp + 0x10c], xmm0
movaps xmm0, xmmword [esp + 0x100]
movaps xmmword [esp + 0x100], xmm0
mov eax, dword [edi + 0x2c]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [edi + 0x34], ecx
mov dword [edi + 0x38], eax
cmp byte [edi + 0xc6], 0
jne 0x40facb
cmp dword [esp + 0x44], 0
movss xmm2, dword [edi + 0x1f4]
movss xmm3, dword [edi + 0x1f8]
subss xmm2, dword [edi + 0x1ec]
subss xmm3, dword [edi + 0x1f0]
movss xmm4, dword [edi + 0x54]
movss xmm5, dword [edi + 0x50]
subss xmm4, dword [esp + 0x24]
addss xmm2, dword [edi + 0xb8]
addss xmm3, dword [edi + 0xbc]
jne 0x40f9d4
xorps xmm1, xmm1
xorps xmm0, xmm0
jmp 0x40f9f0
movss xmm1, dword [edi + 0x70]
movss xmm0, dword [edi + 0x74]
addss xmm1, xmm1
addss xmm0, xmm0
addss xmm1, dword [edi + 0x58]
addss xmm0, dword [edi + 0x5c]
cmp byte [esp + 0x13], 0
jne 0x40f9fa
movaps xmm5, xmm2
cmp byte [esp + 0xb], 0
jne 0x40fa04
movaps xmm4, xmm3
mov ecx, dword [esp + 0x14]
test ecx, 0x4000
jne 0x40fa1e
comiss xmm0, xmm4
jbe 0x40fa1a
test cl, 8
je 0x40fa1e
xor al, al
jmp 0x40fa20
mov al, 1
mov byte [edi + 0xc1], al
test ecx, 0x8000
jne 0x40fa63
test al, al
je 0x40fa40
mov eax, dword [esp + 0x2c]
movss xmm2, dword [eax + 0x38c8]
jmp 0x40fa43
xorps xmm2, xmm2
subss xmm5, xmm2
comiss xmm1, xmm5
jbe 0x40fa5a
mov eax, ecx
and eax, 0x808
cmp eax, 0x800
je 0x40fa63
mov byte [edi + 0xc0], 0
jmp 0x40fa89
mov byte [edi + 0xc0], 1
cmp byte [edi + 0xc1], 0
jne 0x40fa89
comiss xmm0, xmm4
jbe 0x40fa81
test cl, 8
jne 0x40fa81
mov al, 1
jmp 0x40fa83
xor al, al
mov byte [edi + 0xc1], al
cmp byte [edi + 0xc0], 0
mov eax, dword [esp + 0x2c]
je 0x40faa0
movss xmm1, dword [eax + 0x38c8]
jmp 0x40faa3
xorps xmm1, xmm1
cmp byte [edi + 0xc1], 0
je 0x40fab6
movss xmm0, dword [eax + 0x38c8]
jmp 0x40fab9
xorps xmm0, xmm0
movss dword [edi + 0xb8], xmm0
movss dword [edi + 0xbc], xmm1
jmp 0x40facf
mov ecx, dword [esp + 0x14]
mov eax, ecx
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x40faf2
cmp dword [esp + 0x50], 0x3000000
je 0x40faf2
mov eax, dword [esp + 0x34]
add eax, 0x22c
jmp 0x40faf9
lea eax, [esp + 0x100]
test byte [edi + 8], 1
movups xmm0, xmmword [eax]
movss xmm4, dword [edi + 0x40]
movss xmm7, dword [edi + 0x44]
movaps xmm5, xmm4
addss xmm5, dword [edi + 0x48]
movaps xmm6, xmm7
addss xmm6, dword [edi + 0x4c]
movups xmmword [esp + 0x100], xmm0
je 0x40fb29
xorps xmm3, xmm3
jmp 0x40fb63
movss xmm0, dword [edx + 0x3c9c]
mulss xmm0, dword [edi + 0x27c]
mov eax, dword [edi + 0x31c]
mulss xmm0, dword [edi + 0x280]
test eax, eax
je 0x40fb53
mulss xmm0, dword [eax + 0x27c]
movss xmm3, dword [edx + 0x3894]
addss xmm3, xmm3
addss xmm3, xmm0
movaps xmm2, xmm4
movaps xmm1, xmm7
addss xmm2, dword [edi + 0x50]
movss dword [esp + 0xe0], xmm4
addss xmm1, xmm3
movss xmm0, dword [edi + 0x44]
movss dword [esp + 0xe4], xmm0
movss dword [esp + 0xe8], xmm2
movss dword [esp + 0xec], xmm1
movss dword [edi + 0x1dc], xmm4
movss dword [edi + 0x1e0], xmm7
movss dword [edi + 0x1e4], xmm5
movss dword [edi + 0x1e8], xmm6
test byte [edi + 0x36d], 1
je 0x40fc19
test byte [edi + 8], 1
je 0x40fbcf
xorps xmm1, xmm1
jmp 0x40fc09
movss xmm0, dword [edx + 0x3c9c]
mulss xmm0, dword [edi + 0x27c]
mov eax, dword [edi + 0x31c]
mulss xmm0, dword [edi + 0x280]
test eax, eax
je 0x40fbf9
mulss xmm0, dword [eax + 0x27c]
movss xmm1, dword [edx + 0x3894]
addss xmm1, xmm1
addss xmm1, xmm0
addss xmm1, dword [edi + 0x1e0]
movss dword [edi + 0x1e0], xmm1
movss xmm1, dword [edi + 0x1dc]
movss xmm0, dword [edi + 0x1e0]
movss xmm3, dword [esp + 0x100]
movss xmm4, dword [esp + 0x104]
maxss xmm1, xmm3
movss xmm6, dword [esp + 0x108]
maxss xmm0, xmm4
movss xmm5, dword [esp + 0x10c]
movss dword [edi + 0x1dc], xmm1
movss dword [edi + 0x1e0], xmm0
movss xmm0, dword [edi + 0x1e8]
movss xmm1, dword [edi + 0x1e4]
minss xmm0, xmm5
minss xmm1, xmm6
movss dword [edi + 0x1e8], xmm0
movss xmm0, dword [esp + 0x24]
movss dword [edi + 0x1e4], xmm1
mov eax, dword [edi + 0x40]
mov dword [edi + 0x1ec], eax
mov eax, ecx
addss xmm0, dword [edi + 0x44]
mov ecx, dword [esp + 0x2c]
and eax, 0x401
movss dword [edi + 0x1f0], xmm0
movss xmm0, dword [edi + 0x48]
addss xmm0, dword [edi + 0x40]
subss xmm0, dword [edi + 0xb8]
movss dword [edi + 0x1f4], xmm0
movss xmm0, dword [edi + 0x4c]
addss xmm0, dword [edi + 0x44]
subss xmm0, dword [edi + 0xbc]
movss dword [edi + 0x1f8], xmm0
cmp eax, 1
jne 0x40fcf4
movss xmm7, dword [edi + 0x7c]
jmp 0x40fcfc
movss xmm7, dword [ecx + 0x389c]
movss xmm0, dword [edi + 0x70]
movss xmm2, dword [0x485b7c]
mulss xmm0, xmm2
cvttss2si eax, xmm0
movss xmm0, dword [edi + 0x1ec]
addss xmm0, xmm2
movd xmm1, eax
cvtdq2ps xmm1, xmm1
maxss xmm1, dword [edi + 0x7c]
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1fc], xmm0
movss xmm0, dword [edi + 0x1f0]
addss xmm0, xmm2
addss xmm0, xmm7
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x200], xmm0
movss xmm0, dword [edi + 0x70]
mulss xmm0, xmm2
movss xmm1, dword [edi + 0x1f4]
addss xmm1, xmm2
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
maxss xmm0, dword [edi + 0x7c]
subss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x204], xmm0
movss xmm0, dword [edi + 0x1f8]
addss xmm0, xmm2
subss xmm0, dword [edi + 0x7c]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x208], xmm0
movss xmm0, dword [edi + 0x200]
comiss xmm4, xmm0
jbe 0x40fdd5
movaps xmm1, xmm4
jmp 0x40fddc
movaps xmm1, xmm5
minss xmm1, xmm0
movss xmm2, dword [edi + 0x1fc]
comiss xmm3, xmm2
jbe 0x40fdee
movaps xmm0, xmm3
jmp 0x40fdf5
movaps xmm0, xmm6
minss xmm0, xmm2
movss dword [edi + 0x1fc], xmm0
movss dword [edi + 0x200], xmm1
movss xmm0, dword [edi + 0x208]
comiss xmm4, xmm0
ja 0x40fe19
movaps xmm4, xmm5
minss xmm4, xmm0
movss xmm0, dword [edi + 0x204]
comiss xmm3, xmm0
ja 0x40fe2d
movaps xmm3, xmm6
minss xmm3, xmm0
movss dword [edi + 0x204], xmm3
xorps xmm2, xmm2
movss dword [edi + 0x208], xmm4
movss xmm0, dword [edi + 0x48]
comiss xmm0, xmm2
jbe 0x40fe5e
test dword [esp + 0x14], 0x2000040
jne 0x40fe5e
mulss xmm0, dword [0x485b88]
jmp 0x40fe6e
movss xmm0, dword [ecx + 0x3c98]
mulss xmm0, dword [0x485c28]
cvttss2si eax, xmm0
mov edx, edi
lea ecx, [esp + 0x60]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x260], xmm0
movss xmm1, dword [edi + 0x70]
movss xmm0, dword [edi + 0x1f4]
addss xmm1, xmm1
subss xmm0, dword [edi + 0x1ec]
addss xmm1, dword [edi + 0x58]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
movss dword [edi + 0x98], xmm0
movss xmm1, dword [edi + 0x74]
movss xmm0, dword [edi + 0x1f8]
addss xmm1, xmm1
subss xmm0, dword [edi + 0x1f0]
addss xmm1, dword [edi + 0x5c]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
movss dword [edi + 0x9c], xmm0
call fcn.00412140
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [edi + 0x90], ecx
mov dword [edi + 0x94], eax
mov eax, dword [esp + 0x2c]
mov dword [edi + 0xa0], 0x7f7fffff
mov dword [edi + 0xa4], 0x7f7fffff
mov eax, dword [eax + 0x3c94]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 4]
mov dword [esp + 0xc], eax
mov eax, dword [edi + 0x288]
mov edx, dword [eax + 0x48]
lea ecx, [eax + 0x48]
mov dword [esp + 0x1c], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x44], ecx
cmp edx, eax
jne 0x40ff6d
inc edx
mov dword [esp + 0x3c], edx
test eax, eax
je 0x40ff59
cdq
sub eax, edx
mov edx, dword [esp + 0x3c]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x40ff5e
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.00423160
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx]
mov eax, dword [ecx + 8]
mov esi, dword [esp + 0xc]
mov dword [eax + edx*4], esi
mov eax, esi
inc dword [ecx]
mov ecx, dword [esp + 0x1c]
mov dword [ecx + 0x70], eax
call fcn.0042b4b0
mov ecx, dword [0x4927a0]
movss xmm0, dword [esp + 0x100]
movss xmm1, dword [esp + 0x104]
mov esi, dword [esp + 0x20]
mov eax, dword [ecx + 0x3f04]
movss dword [esp + 0x60], xmm0
maxss xmm0, dword [esp + 0x108]
movss dword [esp + 0x64], xmm1
maxss xmm1, dword [esp + 0x10c]
mov byte [eax + 0xc5], 1
mov eax, dword [ecx + 0x3f04]
mov dword [esp + 0x1c], eax
movss dword [esp + 0x68], xmm0
movss dword [esp + 0x6c], xmm1
mov edx, dword [eax + 0x288]
mov eax, dword [edx + 0x40]
lea ecx, [edx + 0x3c]
mov dword [esp + 0x44], edx
mov dword [esp + 0x3c], ecx
cmp dword [ecx], eax
jne 0x41002f
mov edx, dword [ecx]
inc edx
mov dword [esp + 0xc], edx
test eax, eax
je 0x410017
cdq
sub eax, edx
mov edx, dword [esp + 0xc]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x41001c
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.004230e0
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x44]
mov eax, dword [ecx]
movaps xmm0, xmmword [esp + 0x60]
shl eax, 4
add eax, dword [ecx + 8]
movups xmmword [eax], xmm0
inc dword [ecx]
mov ecx, edx
movups xmmword [edx + 0x60], xmm0
call fcn.0042b410
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0x288]
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
add ecx, ecx
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 + 0x22c], eax
movss dword [edx + 0x230], xmm0
movss dword [edx + 0x234], xmm1
movss dword [edx + 0x238], xmm2
mov al, byte [edi + 0x36d]
test al, 1
je 0x4100a4
test al, 4
je 0x4101ff
mov eax, dword [esp + 0x14]
and eax, 0x5000000
mov byte [esp + 0x13], 0
cmp eax, 0x1000000
jne 0x41016f
cmp dword [esp + 0x50], 0x3000000
je 0x41016f
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0x19c]
cmp ecx, 2
jl 0x410133
mov eax, dword [eax + 0x1a4]
mov eax, dword [eax + ecx*4 - 8]
test eax, eax
je 0x410133
movss xmm5, dword [eax + 0x44]
movss xmm6, dword [edi + 0x40]
movaps xmm0, xmm5
addss xmm0, dword [eax + 0x4c]
movss xmm7, dword [eax + 0x40]
movaps xmm4, xmm6
movss xmm2, dword [edi + 0x44]
movaps xmm3, xmm7
addss xmm4, dword [edi + 0x48]
addss xmm2, dword [edi + 0x4c]
comiss xmm0, dword [edi + 0x44]
addss xmm3, dword [eax + 0x48]
jbe 0x410133
comiss xmm2, xmm5
jbe 0x410133
comiss xmm3, xmm6
jbe 0x410133
comiss xmm4, xmm7
mov byte [esp + 0xb], 1
ja 0x410138
mov byte [esp + 0xb], 0
mov edx, dword [edi + 0x288]
mov eax, dword [edx]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 8]
cmp dword [eax + ecx*8 - 0xc], 0
jne 0x41016f
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0x288]
cmp dword [eax + 0x18], 0
jle 0x41016f
cmp byte [esp + 0xb], 0
jne 0x41016f
mov byte [esp + 0x13], 1
mov dword [edi + 0x288], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x4270]
test ecx, ecx
jne 0x410183
mov ecx, dword [eax + 0x4120]
cmp byte [esp + 0x38], 0
jne 0x4101b5
test ecx, ecx
je 0x4101ae
mov eax, dword [edi + 0x330]
cmp eax, dword [ecx + 0x330]
je 0x4101b5
mov eax, dword [edi + 0x388]
test eax, eax
je 0x4101ae
cmp eax, dword [ecx + 0x388]
je 0x4101b5
mov byte [esp + 0xc], 0
jmp 0x4101ba
mov byte [esp + 0xc], 1
movd xmm0, esi
lea eax, [esp + 0x130]
push ecx
cvtdq2ps xmm0, xmm0
lea edx, [esp + 0xe4]
mov ecx, edi
movss dword [esp], xmm0
push eax
push dword [esp + 0x60]
push dword [esp + 0x34]
push dword [esp + 0x1c]
call fcn.0040cdf0
add esp, 0x14
cmp byte [esp + 0x13], 0
je 0x4101ff
lea eax, [edi + 0x28c]
mov dword [edi + 0x288], eax
mov ecx, dword [esp + 0x14]
xorps xmm4, xmm4
movss xmm3, dword [edi + 0x68]
mov edx, ecx
shr edx, 3
not dl
and dl, 1
ucomiss xmm3, xmm4
lahf
test ah, 0x44
jp 0x410254
mov eax, ecx
and eax, 0x808
cmp eax, 0x800
jne 0x410233
movss xmm3, dword [edi + 0x58]
jmp 0x410236
xorps xmm3, xmm3
movss xmm1, dword [edi + 0x70]
movss xmm0, dword [edi + 0x48]
addss xmm1, xmm1
subss xmm0, xmm1
subss xmm0, dword [edi + 0xb8]
maxss xmm3, xmm0
movss xmm2, dword [edi + 0x6c]
ucomiss xmm2, xmm4
lahf
test ah, 0x44
jnp 0x41026a
movss xmm5, dword [esp + 0x24]
jmp 0x4102a0
test dl, dl
je 0x410275
movss xmm2, dword [edi + 0x5c]
jmp 0x410278
xorps xmm2, xmm2
movss xmm0, dword [edi + 0x74]
movss xmm1, dword [edi + 0x4c]
addss xmm0, xmm0
movss xmm5, dword [esp + 0x24]
subss xmm1, xmm0
subss xmm1, xmm5
subss xmm1, dword [edi + 0xbc]
maxss xmm2, xmm1
movss xmm1, dword [edi + 0x70]
maxss xmm1, dword [edi + 0x7c]
movss xmm0, dword [edi + 0x1ec]
subss xmm0, dword [edi + 0x90]
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x20c], xmm0
movss xmm1, dword [edi + 0x1f0]
movss xmm0, dword [edi + 0x74]
maxss xmm0, dword [edi + 0x7c]
subss xmm1, dword [edi + 0x94]
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x210], xmm0
addss xmm3, dword [edi + 0x20c]
movss dword [edi + 0x214], xmm3
addss xmm2, dword [edi + 0x210]
movss dword [edi + 0x218], xmm2
movups xmm0, xmmword [edi + 0x20c]
movups xmmword [edi + 0x21c], xmm0
movss xmm0, dword [edi + 0x40]
subss xmm0, dword [edi + 0x90]
addss xmm0, dword [edi + 0x70]
movss dword [edi + 0x23c], xmm0
movss xmm0, dword [edi + 0x44]
subss xmm0, dword [edi + 0x94]
addss xmm0, dword [edi + 0x74]
addss xmm0, xmm5
movss dword [edi + 0x240], xmm0
movss xmm1, dword [edi + 0x68]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x410390
movss xmm0, dword [edi + 0x70]
movss xmm1, dword [edi + 0x48]
addss xmm0, xmm0
subss xmm1, xmm0
subss xmm1, dword [edi + 0xb8]
addss xmm1, dword [edi + 0x23c]
movss dword [edi + 0x244], xmm1
movss xmm1, dword [edi + 0x6c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x4103cc
movss xmm0, dword [edi + 0x74]
movss xmm1, dword [edi + 0x4c]
addss xmm0, xmm0
subss xmm1, xmm0
subss xmm1, xmm5
subss xmm1, dword [edi + 0xbc]
addss xmm1, dword [edi + 0x240]
mov esi, dword [esp + 0x2c]
movss dword [edi + 0x248], xmm1
movss xmm0, dword [edi + 0x70]
addss xmm0, xmm4
subss xmm0, dword [edi + 0x90]
movss dword [edi + 0x14c], xmm0
mov dword [edi + 0x154], 0
mov dword [edi + 0x150], 0
movss xmm3, dword [edi + 0x70]
movss xmm0, dword [edi + 0x40]
movss xmm2, dword [edi + 0x74]
cvtps2pd xmm0, xmm0
cvtps2pd xmm3, xmm3
cvtps2pd xmm2, xmm2
addsd xmm3, xmm0
movss xmm0, dword [edi + 0x90]
cvtps2pd xmm0, xmm0
subsd xmm3, xmm0
movss xmm0, dword [edi + 0x44]
cvtps2pd xmm0, xmm0
addsd xmm3, qword [0x485b28]
addsd xmm2, xmm0
movss xmm0, dword [edi + 0x94]
cvtps2pd xmm0, xmm0
subsd xmm2, xmm0
cvtps2pd xmm0, xmm5
addsd xmm2, xmm0
cvtpd2ps xmm0, xmm3
cvtpd2ps xmm1, xmm2
movss dword [edi + 0x118], xmm0
movss dword [edi + 0x11c], xmm1
movss xmm0, dword [edi + 0x118]
cvtps2pd xmm0, xmm0
subsd xmm3, xmm0
movss xmm0, dword [edi + 0x11c]
cvtps2pd xmm0, xmm0
cvtpd2ps xmm1, xmm3
subsd xmm2, xmm0
movss dword [edi + 0x158], xmm1
cvtpd2ps xmm0, xmm2
movss dword [edi + 0x15c], xmm0
movss xmm0, dword [edi + 0x118]
movss xmm1, dword [edi + 0x11c]
movss dword [edi + 0x108], xmm0
movss dword [edi + 0x10c], xmm1
movss dword [edi + 0x110], xmm0
movss dword [edi + 0x114], xmm1
mov eax, dword [edi + 0x118]
mov ecx, dword [edi + 0x11c]
mov dword [edi + 0x120], eax
mov dword [edi + 0x124], ecx
mov eax, dword [edi + 0x118]
mov ecx, dword [edi + 0x11c]
mov dword [edi + 0x128], eax
mov dword [edi + 0x12c], ecx
lea ecx, [edi + 0x178]
mov dword [edi + 0x138], 0
mov dword [edi + 0x13c], 0
mov dword [edi + 0x130], 0
mov dword [edi + 0x134], 0
mov dword [edi + 0x144], 0
mov dword [edi + 0x140], 0
mov byte [edi + 0x148], 0
mov dword [edi + 0x160], 0
mov ax, word [edi + 0x166]
mov word [edi + 0x164], ax
mov byte [edi + 0x16c], 0
movss xmm0, dword [edi + 0x9c]
comiss xmm0, xmm4
seta al
cmp byte [esp + 0x1b], 0
mov byte [edi + 0x16d], al
lea eax, [ecx + 0x12]
mov byte [edi + 0x16e], 0
movss xmm1, dword [esi + 0x38a0]
mov dword [esp + 0xc], eax
je 0x4105b2
xorps xmm0, xmm0
movq qword [eax], xmm0
jmp 0x4105b6
mov dword [esp + 0xc], eax
cvttss2si eax, xmm1
push 1
mov word [ecx + 8], ax
call fcn.0043c2c0
mov eax, dword [esp + 0xc]
xorps xmm0, xmm0
push ecx
lea ecx, [edi + 0x19c]
movq qword [eax], xmm0
mov eax, dword [edi + 0x17c]
mov dword [edi + 0x178], eax
mov dword [edi + 0x17c], 0
mov dword [edi + 0x194], 0
mov dword [edi + 0x198], 0
call fcn.00422cf0
lea eax, [edi + 0x264]
mov dword [edi + 0x1a8], eax
mov eax, dword [esp + 0x34]
mov dword [edi + 0x1ac], 0
mov dword [edi + 0x1b4], 1
test eax, eax
je 0x410636
mov eax, dword [eax + 0x1b4]
jmp 0x41063b
mov eax, 1
mov dword [edi + 0x1b8], eax
mov eax, dword [edi + 0x260]
push ecx
mov dword [edi + 0x1bc], eax
lea ecx, [edi + 0x1c4]
mov dword [edi + 0x1c0], 0xbf800000
call fcn.00422cf0
push ecx
lea ecx, [edi + 0x1d0]
call fcn.00422cf0
mov al, byte [edi + 0xdc]
test al, al
jle 0x410681
dec al
mov byte [edi + 0xdc], al
mov al, byte [edi + 0xdd]
test al, al
jle 0x410693
dec al
mov byte [edi + 0xdd], al
cmp byte [esp + 0x38], 0
je 0x4106aa
mov ecx, edi
call fcn.00411060
xor dl, dl
mov ecx, edi
call fcn.004142c0
mov edx, dword [esp + 0x4c]
test edx, edx
je 0x4106e6
mov ecx, dword [edi + 0x2c]
cmp byte [ecx + 0x46], 0
je 0x4106e6
mov eax, dword [0x4927a0]
mov eax, dword [eax + 0x40e0]
cmp ecx, dword [eax]
je 0x4106e6
mov al, byte [edi + 0x36d]
test al, 1
je 0x4106d8
test al, 4
je 0x4106e6
mov byte [ecx + 0x46], 0
mov byte [esi + 0x4284], 0
mov byte [edx], 0
test byte [esp + 0x14], 1
jne 0x41075e
test byte [edi + 0x36d], 1
jne 0x41075e
movss xmm0, dword [edi + 0x7c]
mov ecx, edi
addss xmm0, dword [esp + 0xe0]
push edx
push dword [esp + 0x58]
lea edx, [esp + 0x108]
movss dword [esp + 0x108], xmm0
movss xmm0, dword [esp + 0xec]
movss dword [esp + 0x10c], xmm0
movss xmm0, dword [esp + 0xf0]
subss xmm0, dword [edi + 0x7c]
movss dword [esp + 0x110], xmm0
movss xmm0, dword [esp + 0xf4]
movss dword [esp + 0x114], xmm0
call fcn.0040d800
add esp, 8
xor eax, eax
mov dword [edi + 0x24c], eax
test byte [esi + 8], 0x40
je 0x4107d2
cmp dword [esi + 0x3f14], edi
jne 0x410795
mov al, byte [esi + 0x59]
cmp al, byte [esi + 0xd75]
jne 0x410795
mov eax, dword [edi + 0x32c]
test dword [eax + 8], 0x200000
jne 0x410795
mov ecx, edi
call fcn.00420e10
cmp byte [esi + 0x4290], 0
je 0x4107d2
test dword [esp + 0x14], 0x200000
jne 0x4107d2
mov eax, dword [esi + 0x3f14]
test eax, eax
je 0x4107ba
cmp dword [eax + 0x32c], edi
je 0x4107d2
cmp edi, dword [edi + 0x32c]
jne 0x4107d2
test dword [edi + 8], 0x20000000
jne 0x4107d2
mov ecx, edi
call fcn.00420fe0
test byte [edi + 0x36d], 1
je 0x41081c
mov ecx, dword [esi + 0x3f98]
mov esi, dword [0x4927a0]
mov edx, dword [edi + 0x394]
mov eax, dword [edi + 0x84]
mov dword [esi + 0x3fb0], eax
mov dword [esi + 0x3fb4], ecx
mov dword [esi + 0x3fb8], edx
movups xmm0, xmmword [edi + 0x398]
movups xmmword [esi + 0x3fbc], xmm0
mov esi, dword [esp + 0x2c]
jmp 0x4109d6
mov eax, dword [0x4927a0]
movss xmm7, dword [esp + 0xe0]
movss xmm6, dword [esp + 0xe8]
movaps xmm1, xmm7
movss xmm4, dword [esp + 0xec]
movaps xmm3, xmm6
movss xmm2, dword [eax + 0x38b8]
movss xmm0, dword [eax + 0x38bc]
subss xmm1, xmm2
movss xmm5, dword [eax + 0xd58]
addss xmm3, xmm2
movss xmm2, dword [esp + 0xe4]
addss xmm4, xmm0
subss xmm2, xmm0
comiss xmm5, xmm1
jb 0x4108d9
movss xmm0, dword [eax + 0xd5c]
comiss xmm0, xmm2
jb 0x4108d9
comiss xmm3, xmm5
jbe 0x4108d9
comiss xmm4, xmm0
jbe 0x4108d9
mov eax, dword [eax + 0x40ec]
movss xmm3, dword [eax + 0xc]
movss xmm2, dword [eax + 8]
movaps xmm0, xmm3
addss xmm0, dword [eax + 0x14]
movaps xmm1, xmm2
addss xmm1, dword [eax + 0x10]
comiss xmm0, dword [esp + 0xe4]
jbe 0x4108d9
movss xmm0, dword [esp + 0xec]
comiss xmm0, xmm3
jbe 0x4108d9
comiss xmm1, xmm7
jbe 0x4108d9
comiss xmm6, xmm2
mov dword [esp + 0x4c], 1
ja 0x4108e1
mov dword [esp + 0x4c], 0
mov edx, dword [0x4927a0]
mov eax, dword [edi + 0x84]
mov ecx, dword [esi + 0x3f98]
mov dword [edx + 0x3fb0], eax
mov eax, dword [esp + 0x4c]
mov dword [edx + 0x3fb4], ecx
mov dword [edx + 0x3fb8], eax
movups xmm0, xmmword [esp + 0xe0]
movups xmmword [edx + 0x3fbc], xmm0
jmp 0x4109d6
mov ecx, dword [edi + 0x2c]
mov edx, dword [0x4927a0]
test ecx, ecx
je 0x410933
mov eax, dword [edx + 0x3ea0]
mov dword [ecx + 0x4c], eax
cmp dword [edx + 0x40e8], ecx
je 0x410970
test ecx, ecx
je 0x410960
mov eax, dword [ecx + 0x28]
mov dword [edx + 0x40e4], eax
mov eax, dword [edx + 0x3808]
mov dword [edx + 0x40e8], ecx
test eax, eax
je 0x410970
push ecx
call eax
add esp, 4
jmp 0x410970
mov dword [edx + 0x40e4], 0x3f800000
mov dword [edx + 0x40e8], ecx
mov eax, dword [0x4927a0]
mov dword [eax + 0x3f04], edi
mov ecx, dword [edi + 0x1b0]
cmp ecx, 0xffffffff
je 0x410994
imul ecx, ecx, 0x1d8
add ecx, dword [eax + 0x434c]
jmp 0x410996
xor ecx, ecx
movss xmm0, dword [eax + 0x3c9c]
mov dword [eax + 0x4330], ecx
mulss xmm0, dword [edi + 0x27c]
mov ecx, dword [edi + 0x31c]
mulss xmm0, dword [edi + 0x280]
test ecx, ecx
je 0x4109c6
mulss xmm0, dword [ecx + 0x27c]
movss dword [eax + 0x3cac], xmm0
movss dword [eax + 0x3c98], xmm0
mov ecx, dword [esp + 0x14]
test ecx, 0x1000000
je 0x4109ee
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0x168]
jmp 0x410a3c
mov ecx, dword [edi + 0xfc]
xor edx, edx
mov eax, dword [edi + 0x104]
push dword [eax + ecx*4 - 4]
mov ecx, str.FOCUSSCOPE
call fcn.00403dc0
mov ecx, dword [0x4927a0]
add esp, 4
mov dword [esp + 0x58], eax
cmp dword [ecx + 0x3f28], eax
jne 0x410a38
push ecx
push str.FOCUSSCOPE
mov edx, 0xb
mov ecx, eax
call fcn.004222f0
mov eax, dword [esp + 0x60]
add esp, 8
mov ecx, dword [esp + 0x14]
mov dword [edi + 0x168], eax
test ecx, 0x20000000
jne 0x410bc8
mov ecx, dword [0x4927a0]
mov eax, dword [ecx + 0x3f04]
mov byte [eax + 0xc5], 1
mov eax, dword [ecx + 0x3f04]
movss xmm1, dword [edi + 0x1fc]
movss xmm0, dword [edi + 0x200]
movss xmm3, dword [edi + 0x204]
movss xmm2, dword [edi + 0x208]
mov dword [esp + 0x28], eax
mov eax, dword [eax + 0x288]
mov dword [esp + 0xc], eax
movss dword [esp + 0x100], xmm1
movss dword [esp + 0x104], xmm0
movups xmm4, xmmword [eax + 0x60]
comiss xmm4, xmm1
movaps xmmword [esp + 0x120], xmm4
jbe 0x410ac4
movaps xmm1, xmm4
movss dword [esp + 0x100], xmm1
movss xmm4, dword [esp + 0x124]
comiss xmm4, xmm0
jbe 0x410ade
movaps xmm0, xmm4
movss dword [esp + 0x104], xmm0
movss xmm4, dword [esp + 0x128]
comiss xmm3, xmm4
jbe 0x410aef
movaps xmm3, xmm4
movss xmm4, dword [esp + 0x12c]
comiss xmm2, xmm4
jbe 0x410b00
movaps xmm2, xmm4
mov edx, dword [eax + 0x3c]
lea ecx, [eax + 0x3c]
mov eax, dword [ecx + 4]
maxss xmm1, xmm3
mov dword [esp + 0xfc], ecx
maxss xmm0, xmm2
movss dword [esp + 0x108], xmm1
movss dword [esp + 0x10c], xmm0
cmp edx, eax
jne 0x410b5c
inc edx
mov dword [esp + 0x58], edx
test eax, eax
je 0x410b45
cdq
sub eax, edx
mov edx, dword [esp + 0x58]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x410b4a
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.004230e0
mov ecx, dword [esp + 0xfc]
mov eax, dword [ecx]
mov edx, dword [ecx + 8]
add eax, eax
movaps xmm0, xmmword [esp + 0x100]
movups xmmword [edx + eax*8], xmm0
inc dword [ecx]
mov ecx, dword [esp + 0xc]
movups xmmword [ecx + 0x60], xmm0
call fcn.0042b410
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0x288]
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
add ecx, ecx
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 ecx, dword [esp + 0x14]
mov dword [edx + 0x22c], eax
movss dword [edx + 0x230], xmm0
movss dword [edx + 0x234], xmm1
movss dword [edx + 0x238], xmm2
mov eax, dword [esp + 0x48]
mov byte [edi + 0xc5], 0
inc word [edi + 0xd0]
mov dword [esi + 0x3fec], 0
cmp eax, dword [esp + 0x40]
je 0x410d7b
mov al, byte [edi + 0x36d]
test al, 1
je 0x410c1a
test al, 4
jne 0x410c1a
mov eax, dword [edi + 0x258]
cmp eax, dword [esi + 0x3ea0]
jne 0x410c13
mov byte [edi + 0xe5], 1
jmp 0x410c1a
mov byte [edi + 0xe4], 1
test ecx, 0x1000000
je 0x410cdc
test cl, 0x40
jne 0x410ca2
cmp byte [edi + 0xdc], 0
jg 0x410ca2
cmp byte [edi + 0xdd], 0
jg 0x410ca2
test ecx, 0x800000
je 0x410c6a
cmp byte [esi + 0x4160], 0
je 0x410c6a
mov eax, dword [esi + 0x4120]
test eax, eax
je 0x410c6a
mov eax, dword [eax + 0x334]
cmp eax, dword [edi + 0x334]
jne 0x410c6a
mov al, 1
jmp 0x410c6c
xor al, al
cmp byte [esi + 0x53b0], 0
jne 0x410ca2
test al, al
jne 0x410ca2
movss xmm0, dword [edi + 0x1dc]
comiss xmm0, dword [edi + 0x1e4]
jae 0x410c9b
movss xmm0, dword [edi + 0x1e0]
comiss xmm0, dword [edi + 0x1e8]
jb 0x410ca2
mov byte [edi + 0xe4], 1
mov eax, dword [esp + 0x34]
test eax, eax
je 0x410cdc
cmp byte [eax + 0xc6], 0
jne 0x410cbc
cmp byte [eax + 0xe4], 0
jle 0x410cc3
mov byte [edi + 0xe4], 1
cmp byte [eax + 0xc6], 0
jne 0x410cd5
cmp byte [eax + 0xe5], 0
jle 0x410cdc
mov byte [edi + 0xe5], 1
xorps xmm0, xmm0
comiss xmm0, dword [esi + 0x3854]
jb 0x410cef
mov byte [edi + 0xe4], 1
cmp byte [edi + 0xe4], 0
jg 0x410d0f
cmp byte [edi + 0xe5], 0
jg 0x410d0f
xor cl, cl
cmp byte [edi + 0xe6], cl
jg 0x410d11
xor al, al
jmp 0x410d13
mov cl, 1
mov al, 1
mov byte [edi + 0xca], al
mov al, byte [edi + 0xe7]
test al, al
jle 0x410d32
dec al
mov byte [edi + 0xe7], al
or dword [edi + 8], 0xc0200
xor al, al
cmp byte [edi + 0xc6], al
jne 0x410d48
cmp byte [edi + 0xc3], al
je 0x410d48
test cl, cl
je 0x410d6c
cmp byte [edi + 0xdc], 0
jg 0x410d6c
cmp byte [edi + 0xdd], 0
jg 0x410d6c
cmp byte [edi + 0xe5], 0
jg 0x410d6c
mov byte [edi + 0xc8], 1
jmp 0x410d7b
mov byte [edi + 0xc8], al
xor eax, eax
mov word [edi + 0x166], ax
cmp byte [edi + 0xc8], 0
mov ecx, dword [esp + 0x14c]
pop edi
sete al
pop esi
xor ecx, esp
call fcn.0046e4b9
mov esp, ebp
pop ebp
ret