Function at 0x407290
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, 0x138
mov eax, dword [0x43a040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0xc]
mov ecx, 0x43b1b0
push esi
mov esi, dword [ebx + 8]
mov dword [ebp - 0x70], eax
mov eax, dword [ebx + 0x10]
push edi
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x28], eax
call fcn.0043029f
mov eax, dword [0x43a0bc]
push 0
push 0
push esi
mov dword [ebp - 0x34], eax
call fcn.0040da10
mov esi, dword [0x43a0bc]
mov edi, eax
add esi, 0x3e28
push edi
push esi
call fcn.0040f550
mov edx, dword [esi]
add esp, 0x14
mov ecx, dword [esi + 8]
lea ecx, [ecx + edx*8]
cmp eax, ecx
je 0x407328
cmp dword [eax], edi
jne 0x407328
mov edi, dword [eax + 4]
test edi, edi
mov dword [ebp - 0x64], edi
mov eax, edi
sete byte [ebp - 0x22]
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x44], edi
test edi, edi
jne 0x407349
jmp 0x407333
mov dword [ebp - 0x44], 0
mov byte [ebp - 0x22], 1
push dword [ebp - 0x28]
push dword [ebp - 0x6c]
call fcn.0040ae70
mov edi, eax
add esp, 8
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x3c], edi
mov edx, dword [ebp - 0x28]
mov ecx, edx
and ecx, 0xc0200
cmp ecx, 0xc0200
jne 0x407362
or edx, 6
mov dword [ebp - 0x28], edx
mov esi, dword [ebp - 0x34]
mov eax, dword [eax + 0x238]
mov dword [ebp - 0x60], eax
cmp dword [esi + 0x3e1c], 0
mov ecx, dword [esi + 0x3de0]
mov dword [ebp - 0x54], ecx
jne 0x40738d
cmp byte [esi + 0x3ded], 0
je 0x40738d
mov al, 1
jmp 0x40738f
xor al, al
mov byte [edi + 0xb2], al
lea eax, [ecx - 1]
mov ecx, edi
cmp dword [ecx + 0x238], eax
setl ch
mov byte [ebp - 0x68], ch
test edx, 0x4000000
je 0x4073e0
mov eax, dword [esi + 0x47a4]
lea esi, [eax + eax*4]
mov eax, dword [ebp - 0x34]
mov edx, dword [eax + 0x47a0]
mov eax, dword [edi + 0xc0]
cmp edi, dword [edx + esi*8 + 4]
setne cl
cmp eax, dword [edx + esi*8]
mov esi, dword [ebp - 0x34]
mov edx, dword [ebp - 0x28]
setne al
or cl, al
or ch, cl
mov byte [ebp - 0x68], ch
mov byte [edi + 0xb0], ch
test ch, ch
je 0x4073ff
or byte [edi + 0xd0], 8
or byte [edi + 0xd1], 8
or byte [edi + 0xd2], 8
mov eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0x54]
je 0x40755a
mov ecx, dword [0x43a0bc]
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], ecx
test edx, 0x1000000
je 0x407431
mov eax, edx
and eax, 0x14000000
cmp eax, 0x4000000
je 0x407431
mov al, 1
jmp 0x407433
xor al, al
cmp dword [ebp - 0x44], 0
mov ah, byte [edi + 0xb3]
mov byte [ebp - 0x21], al
je 0x40744a
cmp al, ah
je 0x407515
test al, al
jne 0x40746c
lea esi, [ecx + 0x3e04]
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
call fcn.0041b910
mov ax, word [esi]
mov esi, dword [ebp - 0x34]
dec ax
jmp 0x407508
cmp dword [ebp - 0x44], 0
je 0x407515
cmp al, ah
je 0x407515
test al, al
je 0x407515
mov edx, dword [ebp - 0x2c]
movsx ecx, word [edi + 0xbe]
inc ecx
mov eax, dword [edx + 0x3e04]
mov dword [ebp - 0x38], eax
cmp ecx, eax
jge 0x4074c1
nop
mov eax, dword [edx + 0x3e0c]
mov eax, dword [eax + ecx*4]
inc ecx
dec word [eax + 0xbe]
mov esi, dword [edx + 0x3e04]
mov dword [ebp - 0x38], esi
cmp ecx, esi
jl 0x4074a0
mov esi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x2c]
movsx ecx, word [edi + 0xbe]
mov edx, dword [edx + 0x3e0c]
mov eax, dword [eax + 0x3e0c]
lea eax, [eax + ecx*4]
sub eax, edx
sar eax, 2
lea ecx, [edx + eax*4]
mov edx, dword [ebp - 0x38]
sub edx, eax
lea eax, [edx*4 - 4]
push eax
lea eax, [ecx + 4]
push eax
push ecx
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x2c]
add esp, 0xc
dec dword [eax + 0x3e04]
or eax, 0xffffffff
mov edx, dword [ebp - 0x28]
mov word [edi + 0xbe], ax
mov al, byte [ebp - 0x21]
mov byte [edi + 0xb3], al
mov eax, dword [ebp - 0x54]
mov dword [edi + 0xc], edx
mov dword [edi + 0x238], eax
xor eax, eax
movsd xmm0, qword [esi + 0x3dd8]
cvtpd2ps xmm0, xmm0
movss dword [edi + 0x23c], xmm0
mov word [edi + 0xba], ax
movzx eax, word [esi + 0x3e34]
inc dword [esi + 0x3e34]
mov word [edi + 0xbc], ax
jmp 0x407560
mov edx, dword [edi + 0xc]
mov dword [ebp - 0x28], edx
mov eax, dword [esi + 0x3e1c]
test eax, eax
je 0x407577
imul ecx, eax, 0x54
mov eax, dword [esi + 0x3e24]
mov eax, dword [eax + ecx - 0x54]
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x2c], eax
cmp ecx, dword [ebp - 0x54]
je 0x407595
mov ecx, edx
and ecx, 0x5000000
neg ecx
sbb ecx, ecx
and ecx, eax
mov dword [ebp - 0x48], ecx
jmp 0x40759e
mov eax, dword [edi + 0x2f8]
mov dword [ebp - 0x48], eax
cmp dword [edi + 0xe4], 0
lea eax, [edi + 0xe4]
jne 0x4075d3
cmp dword [eax + 4], 0
jne 0x4075c2
push 8
mov ecx, eax
call fcn.0041bd10
lea eax, [edi + 0xe4]
mov edx, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [edi + 8]
mov dword [ecx + edx*4], eax
inc dword [edi + 0xe4]
lea ecx, [ebp - 0x12c]
mov dword [esi + 0x3e40], edi
call fcn.00404d90
mov eax, dword [esi + 0x46ec]
lea edx, [esi + 0x3e1c]
mov dword [ebp - 0xf4], eax
xorps xmm0, xmm0
mov eax, dword [esi + 0x3e40]
movups xmmword [ebp - 0xf0], xmm0
mov ecx, dword [edx]
movups xmm0, xmmword [esi + 0x46b4]
movzx eax, word [eax + 0xe4]
mov word [ebp - 0xf0], ax
movzx eax, word [esi + 0x4750]
mov word [ebp - 0xee], ax
movzx eax, word [esi + 0x475c]
mov word [ebp - 0xec], ax
movzx eax, word [esi + 0x4768]
mov word [ebp - 0xea], ax
movzx eax, word [esi + 0x4774]
mov word [ebp - 0xe8], ax
movzx eax, word [esi + 0x478c]
movups xmmword [ebp - 0x12c], xmm0
mov word [ebp - 0xe6], ax
movups xmm0, xmmword [esi + 0x46c4]
movzx eax, word [esi + 0x4780]
mov word [ebp - 0xe4], ax
movzx eax, word [esi + 0x47a4]
movups xmmword [ebp - 0x11c], xmm0
mov word [ebp - 0xe2], ax
movups xmm0, xmmword [esi + 0x46d4]
movzx eax, word [esi + 0x59e4]
mov word [ebp - 0xe0], 0
movups xmmword [ebp - 0x10c], xmm0
mov word [ebp - 0xe0], ax
mov eax, dword [edx + 4]
movq xmm0, qword [esi + 0x46e4]
mov dword [ebp - 0x130], edi
movq qword [ebp - 0xfc], xmm0
mov dword [ebp - 0x30], eax
cmp ecx, eax
jne 0x407706
inc ecx
test eax, eax
je 0x4076ee
cdq
sub eax, edx
lea edx, [esi + 0x3e1c]
sar eax, 1
add eax, dword [ebp - 0x30]
jmp 0x4076f3
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.0041bfe0
lea edx, [esi + 0x3e1c]
imul ecx, dword [edx], 0x54
movups xmm0, xmmword [ebp - 0x130]
mov eax, dword [ebp - 0xe0]
add ecx, dword [edx + 8]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [ebp - 0x120]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [ebp - 0x110]
movups xmmword [ecx + 0x20], xmm0
movups xmm0, xmmword [ebp - 0x100]
movups xmmword [ecx + 0x30], xmm0
movups xmm0, xmmword [ebp - 0xf0]
movups xmmword [ecx + 0x40], xmm0
mov dword [ecx + 0x50], eax
inc dword [edx]
mov ecx, dword [ebp - 0x28]
test ecx, 0x10000000
je 0x40775e
inc dword [esi + 0x47b0]
mov eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0x54]
je 0x40780c
mov edx, dword [ebp - 0x48]
mov dword [edi + 0x2f8], edx
mov dword [edi + 0x30c], edi
mov dword [edi + 0x308], edi
mov dword [edi + 0x304], edi
mov dword [edi + 0x300], edi
test edx, edx
je 0x4077d9
mov eax, ecx
and eax, 0x3000000
cmp eax, 0x1000000
jne 0x4077a9
mov eax, dword [edx + 0x300]
mov dword [edi + 0x300], eax
test ecx, 0x4000000
je 0x4077bd
mov eax, dword [edx + 0x304]
mov dword [edi + 0x304], eax
test ecx, 0x8000000
jne 0x4077d9
test ecx, 0x5000000
je 0x4077d9
mov eax, dword [edx + 0x308]
mov dword [edi + 0x308], eax
test dword [edi + 0xc], 0x800000
je 0x407803
mov ecx, edi
lea edx, [ecx + 0x30c]
nop word [eax + eax]
mov eax, dword [ecx + 0x2f8]
mov ecx, eax
mov dword [edx], eax
test dword [ecx + 0xc], 0x800000
jne 0x4077f0
mov eax, dword [ebp - 0x2c]
mov dword [edi + 0x2fc], eax
mov eax, dword [edi + 8]
mov dword [ebp - 0x50], eax
mov eax, dword [0x43a0bc]
mov ecx, dword [eax + 0x4778]
lea edx, [eax + 0x4774]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x38], edx
cmp dword [edx], ecx
jne 0x40785a
test ecx, ecx
je 0x40783f
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 0x38]
sar eax, 1
add eax, ecx
jmp 0x407844
mov eax, 8
mov ecx, dword [edx]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.0041bd10
mov esi, dword [ebp - 0x34]
mov edx, dword [ebp - 0x38]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov edi, dword [ebp - 0x50]
mov dword [eax + ecx*4], edi
mov eax, edi
inc dword [edx]
test dword [ebp - 0x28], 0x4000000
mov ecx, dword [ebp - 0x30]
mov edi, dword [ebp - 0x64]
mov dword [ecx + 0x4694], eax
mov eax, dword [esi + 0x4694]
mov dword [edi + 0x33c], eax
mov dword [esi + 0x3e40], 0
je 0x4078d0
mov eax, dword [esi + 0x47a4]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x47a0]
mov dword [eax + ecx*8 + 4], edi
lea esi, [eax + ecx*8]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x34]
push esi
mov eax, dword [eax + 0x148]
lea ecx, [ecx + 0x47a4]
mov dword [esi + 0xc], eax
call fcn.0041bab0
mov eax, dword [esi]
mov esi, dword [ebp - 0x34]
mov dword [edi + 0xc0], eax
xor dl, dl
mov byte [ebp - 0x24], 0
test byte [esi + 0x46f0], 1
mov byte [ebp - 0x21], dl
mov byte [ebp - 0x23], dl
je 0x407988
movsx eax, byte [edi + 0xd0]
mov ecx, dword [esi + 0x46f4]
test ecx, eax
setne byte [ebp - 0x24]
test ecx, eax
je 0x407977
movss xmm1, dword [esi + 0x470c]
movss xmm0, dword [esi + 0x4708]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm0, dword [0x433ea8]
jbe 0x407977
mov eax, dword [esi + 0x4700]
mov ecx, dword [esi + 0x4704]
mov dword [edi + 0xd4], eax
mov dword [edi + 0xd8], ecx
mov eax, dword [esi + 0x4708]
mov ecx, dword [esi + 0x470c]
mov dword [edi + 0xdc], eax
mov dword [edi + 0xe0], ecx
movzx ecx, byte [edi + 0xd0]
mov eax, dword [edi + 0xd0]
and ecx, 0xf1
and eax, 0xffffff00
or ecx, eax
mov dword [edi + 0xd0], ecx
jmp 0x407988
push ecx
lea eax, [esi + 0x4700]
push eax
push edi
call fcn.004176e0
add esp, 0xc
test byte [esi + 0x46f0], 2
xorps xmm1, xmm1
je 0x4079ea
movsx eax, byte [edi + 0xd1]
mov ecx, dword [esi + 0x46f8]
and eax, ecx
je 0x4079b8
movss xmm0, dword [esi + 0x4710]
comiss xmm0, xmm1
jbe 0x4079b8
mov byte [ebp - 0x21], 1
jmp 0x4079c1
xor dl, dl
mov byte [ebp - 0x21], dl
test eax, eax
je 0x4079d2
movss xmm0, dword [esi + 0x4714]
comiss xmm0, xmm1
mov byte [ebp - 0x23], 1
ja 0x4079d6
mov byte [ebp - 0x23], 0
push ecx
lea eax, [esi + 0x4710]
push eax
push edi
call fcn.00417840
add esp, 0xc
xorps xmm1, xmm1
test byte [esi + 0x46f0], 0x80
je 0x407a31
movss xmm0, dword [esi + 0x4720]
comiss xmm0, xmm1
jb 0x407a12
movss dword [edi + 0x88], xmm0
mov dword [edi + 0x90], 0
movss xmm0, dword [esi + 0x4724]
comiss xmm0, xmm1
jb 0x407a31
movss dword [edi + 0x8c], xmm0
mov dword [edi + 0x94], 0
test byte [esi + 0x46f0], 4
je 0x407a4e
mov eax, dword [esi + 0x4718]
mov ecx, dword [esi + 0x471c]
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], ecx
jmp 0x407a64
mov eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0x54]
je 0x407a64
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
test byte [esi + 0x46f0], 8
je 0x407a84
push dword [esi + 0x46fc]
movzx eax, byte [esi + 0x4728]
push eax
push edi
call fcn.00417680
add esp, 0xc
test byte [esi + 0x46f0], 0x20
je 0x407a96
push edi
call fcn.0040c9c0
add esp, 4
cmp byte [edi + 0xb0], 0
je 0x407ab4
and byte [edi + 0xd0], 0xf7
and byte [edi + 0xd1], 0xf7
and byte [edi + 0xd2], 0xf7
mov eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0x54]
je 0x409499
mov eax, dword [ebp - 0x28]
and eax, 0x3000000
cmp dword [ebp - 0x70], 0
mov dword [ebp - 0x50], eax
mov al, byte [edi + 0xcd]
mov byte [edi + 0xaa], 1
mov byte [ebp - 0x3d], al
setne al
mov byte [edi + 0xb4], al
mov dword [edi + 0x210], 0xff7fffff
mov dword [edi + 0x214], 0xff7fffff
mov dword [edi + 0x218], 0x7f7fffff
mov dword [edi + 0x21c], 0x7f7fffff
mov eax, dword [edi + 0xe8]
cmp eax, 1
jge 0x407b4e
test eax, eax
je 0x407b31
cdq
sub eax, edx
lea edx, [edi + 0xe4]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x407b3c
mov ecx, 8
lea edx, [edi + 0xe4]
mov eax, 1
cmp ecx, eax
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.0041bd10
mov dword [edi + 0xe4], 1
mov ecx, dword [edi + 0x264]
call fcn.00423b20
mov dword [edi + 0x194], 0xffffffff
cmp byte [edi + 0x348], 0
je 0x407c46
mov byte [edi + 0x348], 0
mov ecx, dword [edi + 0x264]
push dword [edi + 0x340]
add ecx, 0xc
call fcn.0041bc80
mov eax, dword [edi + 0x264]
mov ecx, dword [edi + 0x344]
add eax, 0x18
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
cmp ecx, dword [eax + 4]
jle 0x407c32
mov eax, dword [0x43a0bc]
test eax, eax
je 0x407bc2
inc dword [eax + 0xb4]
push dword [0x43a0c0]
lea eax, [ecx + ecx*4]
shl eax, 2
push eax
call dword [0x43a008]
mov dword [ebp - 0x38], eax
add esp, 8
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax + 8]
test edx, edx
je 0x407c26
mov ecx, dword [eax]
lea ecx, [ecx + ecx*4]
shl ecx, 2
push ecx
push edx
push dword [ebp - 0x38]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x2c]
add esp, 0xc
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x407c13
mov eax, dword [0x43a0bc]
test eax, eax
je 0x407c13
dec dword [eax + 0xb4]
push dword [0x43a0c0]
push ecx
call dword [0x43a00c]
mov eax, dword [ebp - 0x2c]
add esp, 8
mov ecx, dword [ebp - 0x38]
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x30]
mov dword [eax + 4], ecx
mov dword [edi + 0x344], 0
mov dword [edi + 0x340], 0
cmp dword [esi + 0x491c], 0
je 0x407d2a
test dword [edi + 0xc], 0x80000
jne 0x407d2a
cmp dword [ebp - 0x44], 0
je 0x407d2a
mov eax, dword [edi + 4]
mov ecx, eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x6c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x407c95
test dl, dl
je 0x407c91
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x407c95
add eax, 2
add ecx, 2
test dl, dl
jne 0x407c75
xor eax, eax
jmp 0x407c9a
sbb eax, eax
or eax, 1
test eax, eax
je 0x407d2a
mov ecx, dword [ebp - 0x6c]
mov edx, dword [edi + 0x6c]
mov dword [ebp - 0x4c], edx
lea eax, [ecx + 1]
mov dword [ebp - 0x30], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x407cb1
sub ecx, dword [ebp - 0x30]
lea eax, [ecx + 1]
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x2c], eax
cmp edx, eax
jae 0x407d14
test ecx, ecx
je 0x407cdb
mov eax, dword [0x43a0bc]
test eax, eax
je 0x407cdb
dec dword [eax + 0xb4]
push dword [0x43a0c0]
push ecx
call dword [0x43a00c]
mov eax, dword [0x43a0bc]
add esp, 8
test eax, eax
je 0x407cfa
inc dword [eax + 0xb4]
push dword [0x43a0c0]
push dword [ebp - 0x2c]
call dword [0x43a008]
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x4c], eax
push eax
push dword [ebp - 0x6c]
push ecx
call sub.VCRUNTIME140.dll_memcpy
mov dword [edi + 4], eax
add esp, 0xc
mov eax, dword [ebp - 0x4c]
mov dword [edi + 0x6c], eax
lea eax, [edi + 0x34]
push eax
lea eax, [edi + 0x2c]
push eax
push edi
call fcn.00409f50
mov al, byte [edi + 0xcc]
add esp, 0xc
test al, al
jle 0x407d4d
dec al
mov byte [edi + 0xcc], al
mov al, byte [edi + 0xcd]
test al, al
jle 0x407d5f
dec al
mov byte [edi + 0xcd], al
mov al, byte [edi + 0xce]
test al, al
jle 0x407d71
dec al
mov byte [edi + 0xce], al
cmp dword [ebp - 0x44], 0
mov al, byte [ebp - 0x21]
mov cl, byte [ebp - 0x23]
jne 0x407d8c
test al, al
je 0x407d85
test cl, cl
jne 0x407d8c
mov byte [edi + 0xcd], 1
cmp byte [ebp - 0x68], 0
mov edx, dword [ebp - 0x28]
je 0x407de9
test edx, 0x6000000
je 0x407de9
mov byte [edi + 0xcd], 1
test dl, 0x40
je 0x407de9
test al, al
jne 0x407dbb
mov dword [edi + 0x24], 0
mov dword [edi + 0x1c], 0
test cl, cl
jne 0x407dcd
mov dword [edi + 0x28], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov eax, dword [0x43a0bc]
mov eax, dword [eax + 0x47bc]
mov eax, dword [eax]
mov dword [edi + 0x10], eax
mov ecx, dword [0x43a0bc]
mov dword [ebp - 0x30], eax
mov dword [ecx + 0x3e40], edi
mov eax, dword [edi + 0x194]
cmp eax, 0xffffffff
je 0x407e21
imul eax, eax, 0x1e8
add eax, dword [ecx + 0x4a00]
jmp 0x407e23
xor eax, eax
mov dword [ecx + 0x49e4], eax
mov eax, dword [edi]
movss xmm0, dword [eax + 0x3bd4]
mov eax, dword [edi + 0x2f8]
mulss xmm0, dword [edi + 0x25c]
test eax, eax
je 0x407e4d
mulss xmm0, dword [eax + 0x25c]
movss dword [ecx + 0x3be4], xmm0
movss dword [ecx + 0x3bd0], xmm0
test edx, 0x1000000
je 0x407e70
mov eax, dword [esi + 0x37d0]
mov dword [edi + 0x50], eax
jmp 0x407e97
test edx, 0x6000000
je 0x407e8a
test edx, 0x8000000
jne 0x407e8a
movss xmm0, dword [esi + 0x37d8]
jmp 0x407e92
movss xmm0, dword [esi + 0x37b4]
movss dword [edi + 0x50], xmm0
mov eax, dword [esi + 0x37a8]
mov ecx, dword [esi + 0x37ac]
mov dword [edi + 0x44], eax
mov eax, edx
and eax, 0x5010000
mov dword [edi + 0x48], ecx
cmp eax, 0x1000000
jne 0x407ee9
movss xmm0, dword [edi + 0x50]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x407ee9
test edx, 0x400
je 0x407eda
movss xmm0, dword [esi + 0x37ac]
jmp 0x407edd
xorps xmm0, xmm0
mov dword [edi + 0x44], 0
movss dword [edi + 0x48], xmm0
movss xmm0, dword [edi + 0x44]
maxss xmm0, dword [esi + 0x37ec]
maxss xmm0, dword [esi + 0x4748]
movss dword [edi + 0x154], xmm0
mov eax, dword [esi + 0x474c]
mov dword [edi + 0x158], eax
mov al, byte [ebp - 0x22]
mov dword [ebp - 0x4c], eax
test dl, 0x21
jne 0x407fae
lea eax, [ebp - 0xb0]
mov ecx, edi
push eax
call fcn.00418770
cmp dword [esi + 0x3e44], edi
jne 0x407f76
cmp dword [esi + 0x3e78], 0
jne 0x407f76
cmp dword [esi + 0x3e7c], 0
jne 0x407f76
push 1
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.0040e800
add esp, 0xc
test al, al
je 0x407f76
cmp word [esi + 0x370a], 2
jne 0x407f76
mov byte [edi + 0xae], 1
cmp byte [edi + 0xae], 0
je 0x407fb5
mov cl, byte [edi + 0xad]
test cl, cl
push edi
sete al
test cl, cl
mov byte [edi + 0xad], al
mov ecx, 1
mov eax, dword [ebp - 0x4c]
movzx eax, al
cmovne eax, ecx
mov dword [ebp - 0x4c], eax
call fcn.0040f5a0
add esp, 4
jmp 0x407fb5
mov byte [edi + 0xad], 0
mov byte [edi + 0xae], 0
movss xmm0, dword [edi + 0xa0]
mov ecx, dword [edi]
movss dword [ebp - 0xbc], xmm0
movss xmm0, dword [edi + 0xa4]
mov dword [edi + 0x54], 0
mov dword [edi + 0x5c], 0
mov edx, dword [edi + 0xc]
movss dword [ebp - 0xb4], xmm0
test dl, 1
je 0x407ff9
xorps xmm2, xmm2
jmp 0x40802e
movss xmm0, dword [edi + 0x25c]
mov edx, dword [edi + 0x2f8]
mulss xmm0, dword [ecx + 0x3bd4]
test edx, edx
je 0x40801b
mulss xmm0, dword [edx + 0x25c]
movss xmm2, dword [ecx + 0x37e0]
mov edx, dword [edi + 0xc]
addss xmm2, xmm2
addss xmm2, xmm0
test edx, 0x400
je 0x408072
movss xmm1, dword [edi + 0x25c]
mov eax, dword [edi + 0x2f8]
mulss xmm1, dword [ecx + 0x3bd4]
test eax, eax
je 0x408058
mulss xmm1, dword [eax + 0x25c]
movss xmm0, dword [ecx + 0x37e0]
addss xmm1, dword [edi + 0x158]
addss xmm0, xmm0
addss xmm1, xmm0
jmp 0x408075
xorps xmm1, xmm1
addss xmm1, xmm2
lea eax, [edi + 0x34]
push eax
lea eax, [ebp - 0x78]
push edi
movss dword [edi + 0x58], xmm1
mov dword [edi + 0x60], 0
mov dword [edi + 0xa0], 0
push eax
mov dword [edi + 0xa4], 0
call fcn.00409d50
add esp, 0xc
test byte [ebp - 0x28], 0x40
je 0x4080ee
cmp byte [edi + 0xad], 0
jne 0x4080ee
cmp byte [ebp - 0x21], 0
jne 0x4080cd
movss xmm0, dword [ebp - 0x78]
movss dword [edi + 0x24], xmm0
mov byte [ebp - 0x22], 1
cmp byte [ebp - 0x23], 0
jne 0x408173
movss xmm0, dword [ebp - 0x74]
mov eax, 1
movss dword [edi + 0x28], xmm0
mov dword [ebp - 0x4c], eax
jmp 0x408173
mov al, byte [edi + 0xc4]
test al, al
jg 0x408101
cmp byte [edi + 0xc5], 0
jle 0x408173
cmp byte [ebp - 0x21], 0
jne 0x40812e
test al, al
jle 0x40812e
cmp byte [edi + 0xc7], 0
je 0x408120
movss xmm0, dword [edi + 0x24]
maxss xmm0, dword [ebp - 0x78]
jmp 0x408125
movss xmm0, dword [ebp - 0x78]
movss dword [edi + 0x24], xmm0
mov byte [ebp - 0x22], 1
cmp byte [ebp - 0x23], 0
jne 0x408161
cmp byte [edi + 0xc5], 0
jle 0x408161
cmp byte [edi + 0xc7], 0
je 0x408152
movss xmm0, dword [edi + 0x28]
maxss xmm0, dword [ebp - 0x74]
jmp 0x408157
movss xmm0, dword [ebp - 0x74]
mov al, 1
movss dword [edi + 0x28], xmm0
mov dword [ebp - 0x4c], eax
cmp byte [edi + 0xad], 0
jne 0x408173
push edi
call fcn.0040f5a0
add esp, 4
lea esi, [edi + 0x24]
push esi
lea eax, [ebp - 0x5c]
push edi
push eax
call fcn.0040a090
add esp, 0xc
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
movss dword [esi], xmm0
movss dword [esi + 4], xmm1
cmp byte [edi + 0xad], 0
je 0x4081c6
test dword [ebp - 0x28], 0x1000000
jne 0x4081c6
lea eax, [ebp - 0x20]
mov ecx, edi
push eax
call fcn.00418770
movss xmm0, dword [eax + 8]
movss xmm1, dword [eax + 0xc]
subss xmm0, dword [eax]
subss xmm1, dword [eax + 4]
cmp byte [ebp - 0x68], 0
mov ecx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x34]
movss dword [edi + 0x1c], xmm0
movss dword [edi + 0x20], xmm1
je 0x40821c
mov eax, ecx
mov dword [edi + 0xc8], 0xffffffff
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x40821c
cmp byte [ebp - 0x24], 0
jne 0x40821c
lea ecx, [esi + 0x47a4]
call fcn.0041b780
mov ecx, dword [ebp - 0x28]
movss xmm0, dword [eax + 0x18]
movss xmm1, dword [eax + 0x1c]
movss dword [edi + 0x14], xmm0
movss dword [edi + 0x18], xmm1
test ecx, 0x1000000
je 0x408277
mov ecx, dword [ebp - 0x48]
add ecx, 0x180
mov ax, word [ecx]
mov word [edi + 0xba], ax
lea eax, [ebp - 0x3c]
push eax
call fcn.0041b910
mov ecx, dword [ebp - 0x28]
mov al, byte [ebp - 0x24]
mov edx, dword [ebp - 0x50]
test ecx, 0x4000000
jne 0x40827d
test al, al
jne 0x40827d
cmp edx, 0x3000000
je 0x40827d
mov ecx, dword [ebp - 0x48]
mov eax, dword [ecx + 0xf0]
mov ecx, dword [ecx + 0xf4]
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], ecx
mov ecx, dword [ebp - 0x28]
jmp 0x40827a
mov edx, dword [ebp - 0x50]
mov al, byte [ebp - 0x24]
movss xmm1, dword [edi + 0xd4]
ucomiss xmm1, dword [0x433f34]
lahf
test ah, 0x44
jnp 0x4082e0
cmp byte [edi + 0xcd], 0
jne 0x4082e0
movss xmm0, dword [edi + 0x1c]
lea eax, [ebp - 0x5c]
mulss xmm0, dword [edi + 0xdc]
push 0
push eax
push edi
subss xmm1, xmm0
movss xmm0, dword [edi + 0xd8]
movss dword [ebp - 0x5c], xmm1
movss xmm1, dword [edi + 0x20]
mulss xmm1, dword [edi + 0xe0]
subss xmm0, xmm1
movss dword [ebp - 0x58], xmm0
call fcn.004176e0
add esp, 0xc
jmp 0x40832d
test ecx, 0x10000000
jne 0x40830d
test ecx, 0x4000000
je 0x4082f9
test al, al
jne 0x4082f9
cmp byte [ebp - 0x3d], al
jg 0x40830d
test ecx, 0x2000000
je 0x408330
test al, al
jne 0x408330
cmp edx, 0x3000000
je 0x408330
lea eax, [ebp - 0x5c]
push edi
push eax
call fcn.0040bf60
add esp, 8
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
movss dword [edi + 0x14], xmm0
movss dword [edi + 0x18], xmm1
mov ecx, dword [ebp - 0x28]
cmp byte [ebp - 0x24], 0
mov eax, dword [ebp - 0x30]
movss xmm3, dword [esi + 0x3860]
movss xmm2, dword [esi + 0x385c]
maxss xmm3, dword [esi + 0x3868]
movss xmm7, dword [eax + 0x14]
movss xmm6, dword [eax + 0x18]
maxss xmm2, dword [esi + 0x3864]
addss xmm7, dword [eax + 0x1c]
addss xmm6, dword [eax + 0x20]
movss xmm0, dword [eax + 4]
movss xmm1, dword [eax + 8]
movaps xmm5, xmm0
addss xmm5, dword [eax + 0xc]
subss xmm7, xmm2
movss dword [ebp - 0xb0], xmm0
addss xmm2, dword [eax + 0x14]
subss xmm6, xmm3
movss dword [ebp - 0xac], xmm1
addss xmm3, dword [eax + 0x18]
movaps xmm4, xmm1
movss dword [ebp - 0xa8], xmm5
addss xmm4, dword [eax + 0x10]
movss dword [ebp - 0xb8], xmm7
movss dword [ebp - 0x3c], xmm6
movss dword [ebp - 0x2c], xmm2
movss dword [ebp - 0x38], xmm3
movss dword [ebp - 0xa4], xmm4
movss dword [ebp - 0xcc], xmm2
movss dword [ebp - 0xc8], xmm3
movss dword [ebp - 0xc4], xmm7
movss dword [ebp - 0xc0], xmm6
jne 0x40849b
test ecx, 0x1000000
jne 0x40849b
subss xmm5, xmm0
xorps xmm0, xmm0
comiss xmm5, xmm0
jbe 0x40849b
subss xmm4, xmm1
comiss xmm4, xmm0
jbe 0x40849b
mov eax, dword [0x43a0bc]
movss xmm0, dword [edi + 0x1c]
movss dword [ebp - 0x58], xmm0
movss xmm0, dword [edi + 0x20]
cmp byte [eax + 0x67], 0
je 0x408466
test byte [edi + 0xc], 1
jne 0x408466
mov ecx, edi
call fcn.00418700
movss xmm2, dword [ebp - 0x2c]
movss xmm3, dword [ebp - 0x38]
movss xmm6, dword [ebp - 0x3c]
movss xmm7, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0x28]
fstp dword [ebp - 0x30]
movss xmm0, dword [ebp - 0x30]
subss xmm2, dword [ebp - 0x58]
subss xmm3, xmm0
movss xmm0, dword [edi + 0x18]
comiss xmm3, xmm0
ja 0x408480
movaps xmm3, xmm6
minss xmm3, xmm0
movss xmm0, dword [edi + 0x14]
comiss xmm2, xmm0
ja 0x408491
movaps xmm2, xmm7
minss xmm2, xmm0
movss dword [edi + 0x14], xmm2
movss dword [edi + 0x18], xmm3
cvttss2si eax, dword [edi + 0x14]
movd xmm1, eax
cvttss2si eax, dword [edi + 0x18]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [edi + 0x14], xmm1
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x18], xmm0
test ecx, 0x1000000
je 0x4084cf
movss xmm0, dword [esi + 0x37cc]
jmp 0x4084ef
mov eax, ecx
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x4084e7
movss xmm0, dword [esi + 0x37d4]
jmp 0x4084ef
movss xmm0, dword [esi + 0x37b0]
xor dl, dl
movss dword [edi + 0x4c], xmm0
mov dword [ebp - 0x38], edx
cmp byte [ebp - 0x68], dl
je 0x408716
test ecx, 0x1000
jne 0x408716
test ecx, 0x4000000
je 0x40851c
mov byte [ebp - 0x38], 1
jmp 0x408530
test ecx, 0x3000000
movzx edx, dl
mov eax, 1
cmove edx, eax
mov dword [ebp - 0x38], edx
call fcn.0040d560
test eax, eax
je 0x408716
push eax
push edi
call fcn.0040ea00
add esp, 8
test al, al
jne 0x408716
mov byte [ebp - 0x38], al
cmp edi, dword [edi + 0x300]
jne 0x408716
mov edx, dword [0x43a0bc]
mov dword [ebp - 0x3c], edx
mov eax, dword [edx + 0x4798]
test eax, eax
jle 0x408626
add eax, 0xffffffff
mov dword [ebp - 0x2c], eax
js 0x408626
mov edx, dword [edx + 0x47a0]
lea ecx, [eax + eax*4]
add edx, 4
lea edx, [edx + ecx*8]
mov dword [ebp - 0x30], edx
mov edx, dword [edx]
test edx, edx
je 0x408611
test dword [edx + 0xc], 0x8000000
je 0x408611
cmp byte [edx + 0xaa], 0
jne 0x4085b4
cmp byte [edx + 0xab], 0
je 0x408611
mov eax, edi
cmp dword [edi + 0x300], edx
je 0x408626
nop
cmp eax, edx
je 0x408626
mov eax, dword [eax + 0x2fc]
test eax, eax
jne 0x4085c0
mov eax, dword [edx + 0x2fc]
mov ecx, dword [eax + 0x300]
test ecx, ecx
je 0x40860e
nop
mov eax, edi
cmp dword [edi + 0x300], ecx
je 0x408628
nop word [eax + eax]
cmp eax, ecx
je 0x408628
mov eax, dword [eax + 0x2fc]
test eax, eax
jne 0x4085f0
mov eax, dword [ecx + 0x2fc]
mov ecx, dword [eax + 0x300]
test ecx, ecx
jne 0x4085e0
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
dec eax
sub edx, 0x28
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], edx
test eax, eax
jns 0x408593
xor edx, edx
mov eax, dword [edx + 0x300]
mov ecx, dword [edi + 0x300]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x30], ecx
mov edx, dword [eax + 0x3e00]
mov eax, dword [eax + 0x3df8]
lea eax, [edx + eax*4]
cmp edx, eax
jae 0x40865b
cmp dword [edx], ecx
je 0x40865b
add edx, 4
cmp edx, eax
jb 0x408650
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + 0x3e00]
sub edx, ecx
mov eax, dword [eax + 0x3df8]
sar edx, 2
lea eax, [ecx + eax*4]
cmp ecx, eax
jae 0x40868e
mov esi, dword [ebp - 0x58]
nop dword [eax]
cmp dword [ecx], esi
je 0x40868b
add ecx, 4
cmp ecx, eax
jb 0x408680
mov esi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x3c]
sub ecx, dword [eax + 0x3e00]
sar ecx, 2
mov dword [ebp - 0x58], ecx
lea eax, [ecx*4]
mov dword [ebp - 0x2c], eax
cmp edx, ecx
jge 0x4086e3
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ecx + 0x3e00]
lea ecx, [eax + edx*4]
mov eax, dword [ebp - 0x58]
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 [ebp - 0x3c]
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
mov eax, dword [eax + 0x3e00]
mov dword [edx + eax - 4], ecx
jmp 0x408713
mov esi, dword [ebp - 0x3c]
sub edx, ecx
shl edx, 2
push edx
add eax, dword [esi + 0x3e00]
push eax
add eax, 4
push eax
call sub.VCRUNTIME140.dll_memmove
mov edx, dword [ebp - 0x2c]
mov eax, esi
mov ecx, dword [ebp - 0x30]
mov edi, dword [ebp - 0x64]
mov esi, dword [ebp - 0x34]
mov eax, dword [eax + 0x3e00]
mov dword [edx + eax], ecx
add esp, 0xc
movss xmm2, dword [esi + 0x3bd0]
xorps xmm0, xmm0
mov ecx, dword [ebp - 0x44]
movaps xmm1, xmm2
mulss xmm2, dword [0x433eb8]
xor eax, eax
cmp byte [esi + 0x66], al
mulss xmm1, dword [0x433eec]
setne al
mov dword [ebp - 0x2c], 0xffffffff
movaps xmmword [ebp - 0x20], xmm0
inc eax
cmp byte [edi + 0xad], 0
movss xmm0, dword [edi + 0x4c]
addss xmm0, dword [0x432840]
mov dword [ebp - 0x58], eax
addss xmm0, xmm2
maxss xmm1, xmm0
cvttss2si esi, xmm1
jne 0x40879a
lea ecx, [ebp - 0xcc]
push ecx
lea ecx, [ebp - 0x20]
push ecx
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x78]
push eax
push edi
call fcn.0041a610
mov ecx, dword [ebp - 0x44]
add esp, 0x18
test al, al
je 0x40879a
mov dl, 1
mov ah, dl
jmp 0x4087a0
mov ah, byte [ebp - 0x22]
mov edx, dword [ebp - 0x4c]
mov al, byte [ebp - 0x2c]
mov byte [edi + 0xb5], al
cmp byte [edi + 0xad], 0
jne 0x408924
cmp dword [ebp - 0x44], 0
movss xmm0, dword [edi + 0x60]
movss xmm2, dword [edi + 0x1d8]
movss xmm3, dword [edi + 0x1dc]
addss xmm0, dword [edi + 0x58]
subss xmm2, dword [edi + 0x1d0]
subss xmm3, dword [edi + 0x1d4]
movss xmm4, dword [edi + 0x28]
movss xmm5, dword [edi + 0x24]
subss xmm4, xmm0
addss xmm2, dword [ebp - 0xbc]
addss xmm3, dword [ebp - 0xb4]
jne 0x40880c
xorps xmm1, xmm1
xorps xmm0, xmm0
jmp 0x408828
movss xmm1, dword [edi + 0x44]
movss xmm0, dword [edi + 0x48]
addss xmm1, xmm1
addss xmm0, xmm0
addss xmm1, dword [edi + 0x2c]
addss xmm0, dword [edi + 0x30]
test ah, ah
jne 0x40882f
movaps xmm5, xmm2
test dl, dl
jne 0x408836
movaps xmm4, xmm3
mov edx, dword [ebp - 0x28]
test edx, 0x4000
jne 0x40884f
comiss xmm0, xmm4
jbe 0x40884b
test dl, 8
je 0x40884f
xor al, al
jmp 0x408851
mov al, 1
mov byte [edi + 0xa9], al
test edx, 0x8000
jne 0x408893
test al, al
je 0x408870
mov eax, dword [ebp - 0x34]
movss xmm2, dword [eax + 0x3814]
jmp 0x408873
xorps xmm2, xmm2
subss xmm5, xmm2
comiss xmm1, xmm5
jbe 0x40888a
mov eax, edx
and eax, 0x808
cmp eax, 0x800
je 0x408893
mov byte [edi + 0xa8], 0
jmp 0x4088bf
mov byte [edi + 0xa8], 1
cmp byte [edi + 0xa9], 0
mov dword [ebp - 0x44], ecx
jne 0x4088bf
comiss xmm0, xmm4
jbe 0x4088b4
test dl, 8
jne 0x4088b4
mov al, 1
jmp 0x4088b6
xor al, al
mov byte [edi + 0xa9], al
mov dword [ebp - 0x44], ecx
cmp byte [edi + 0xa8], 0
mov eax, dword [ebp - 0x34]
je 0x4088d5
movss xmm1, dword [eax + 0x3814]
jmp 0x4088d8
xorps xmm1, xmm1
cmp byte [edi + 0xa9], 0
je 0x4088eb
movss xmm0, dword [eax + 0x3814]
jmp 0x4088ee
xorps xmm0, xmm0
movss dword [edi + 0xa0], xmm0
movss dword [edi + 0xa4], xmm1
movss xmm0, dword [edi + 0xa0]
addss xmm0, dword [edi + 0x5c]
movss dword [edi + 0x5c], xmm0
movss xmm0, dword [edi + 0xa4]
addss xmm0, dword [edi + 0x60]
movss dword [edi + 0x60], xmm0
jmp 0x408927
mov edx, dword [ebp - 0x28]
mov eax, edx
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x408948
cmp dword [ebp - 0x50], 0x3000000
je 0x408948
mov eax, dword [ebp - 0x48]
add eax, 0x210
jmp 0x40894e
lea eax, [ebp - 0xb0]
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x90], xmm0
test byte [edi + 0xc], 1
movss xmm6, dword [edi + 0x14]
movss xmm7, dword [edi + 0x18]
movaps xmm4, xmm6
addss xmm4, dword [edi + 0x1c]
mov ecx, dword [edi]
movaps xmm5, xmm7
addss xmm5, dword [edi + 0x20]
je 0x40897f
xorps xmm3, xmm3
jmp 0x4089b1
movss xmm0, dword [ecx + 0x3bd4]
mov eax, dword [edi + 0x2f8]
mulss xmm0, dword [edi + 0x25c]
test eax, eax
je 0x4089a1
mulss xmm0, dword [eax + 0x25c]
movss xmm3, dword [ecx + 0x37e0]
addss xmm3, xmm3
addss xmm3, xmm0
movaps xmm1, xmm7
mov ecx, dword [ebp - 0x34]
addss xmm1, xmm3
movaps xmm2, xmm6
addss xmm2, dword [edi + 0x24]
movss dword [ebp - 0xa0], xmm6
mov eax, edx
movss xmm0, dword [edi + 0x18]
and eax, 0x401
movss dword [ebp - 0x9c], xmm0
movss dword [ebp - 0x94], xmm1
movss dword [ebp - 0x98], xmm2
movss dword [edi + 0x1c0], xmm6
movss dword [edi + 0x1c4], xmm7
movss dword [edi + 0x1c8], xmm4
movss dword [edi + 0x1cc], xmm5
movss xmm1, dword [edi + 0x1c0]
movss xmm0, dword [edi + 0x1c4]
maxss xmm0, dword [ebp - 0x8c]
maxss xmm1, dword [ebp - 0x90]
movss dword [edi + 0x1c4], xmm0
movss dword [edi + 0x1c0], xmm1
movss xmm0, dword [edi + 0x1cc]
movss xmm1, dword [edi + 0x1c8]
minss xmm0, dword [ebp - 0x84]
minss xmm1, dword [ebp - 0x88]
movss dword [edi + 0x1cc], xmm0
movss dword [edi + 0x1c8], xmm1
movss xmm0, dword [edi + 0x54]
addss xmm0, dword [edi + 0x14]
movss dword [edi + 0x1d0], xmm0
movss xmm0, dword [edi + 0x58]
addss xmm0, dword [edi + 0x18]
movss dword [edi + 0x1d4], xmm0
movss xmm0, dword [edi + 0x1c]
addss xmm0, dword [edi + 0x14]
subss xmm0, dword [edi + 0x5c]
movss dword [edi + 0x1d8], xmm0
movss xmm0, dword [edi + 0x20]
addss xmm0, dword [edi + 0x18]
subss xmm0, dword [edi + 0x60]
movss dword [edi + 0x1dc], xmm0
cmp eax, 1
jne 0x408acd
movss xmm3, dword [edi + 0x50]
jmp 0x408ad5
movss xmm3, dword [ecx + 0x37e8]
movss xmm0, dword [edi + 0x44]
movss xmm2, dword [0x433ec4]
mulss xmm0, xmm2
cvttss2si eax, xmm0
movss xmm0, dword [edi + 0x1d0]
addss xmm0, xmm2
movd xmm1, eax
cvtdq2ps xmm1, xmm1
maxss xmm1, dword [edi + 0x50]
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1e0], xmm0
movss xmm0, dword [edi + 0x1d4]
addss xmm0, xmm2
addss xmm0, xmm3
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1e4], xmm0
movss xmm0, dword [edi + 0x44]
movss xmm1, dword [edi + 0x1d8]
mulss xmm0, xmm2
addss xmm1, xmm2
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
maxss xmm0, dword [edi + 0x50]
subss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1e8], xmm0
movss xmm0, dword [edi + 0x1dc]
addss xmm0, xmm2
subss xmm0, dword [edi + 0x50]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1ec], xmm0
movss xmm0, dword [edi + 0x1e4]
movss xmm1, dword [ebp - 0x8c]
comiss xmm1, xmm0
ja 0x408bbd
movss xmm1, dword [ebp - 0x84]
minss xmm1, xmm0
movss xmm2, dword [edi + 0x1e0]
movss xmm0, dword [ebp - 0x90]
comiss xmm0, xmm2
ja 0x408bde
movss xmm0, dword [ebp - 0x88]
minss xmm0, xmm2
movss dword [edi + 0x1e0], xmm0
movss dword [edi + 0x1e4], xmm1
movss xmm0, dword [edi + 0x1ec]
movss xmm1, dword [ebp - 0x8c]
comiss xmm1, xmm0
ja 0x408c0f
movss xmm1, dword [ebp - 0x84]
minss xmm1, xmm0
movss xmm2, dword [edi + 0x1e8]
movss xmm0, dword [ebp - 0x90]
comiss xmm0, xmm2
ja 0x408c30
movss xmm0, dword [ebp - 0x88]
minss xmm0, xmm2
movss dword [edi + 0x1e8], xmm0
xorps xmm2, xmm2
movss dword [edi + 0x1ec], xmm1
movss xmm0, dword [edi + 0x1c]
comiss xmm0, xmm2
jbe 0x408c5f
test edx, 0x2000040
jne 0x408c5f
mulss xmm0, dword [0x433ecc]
jmp 0x408c6f
movss xmm0, dword [ecx + 0x3bd0]
mulss xmm0, dword [0x433f10]
cvttss2si eax, xmm0
push edi
movd xmm0, eax
lea eax, [ebp - 0x78]
cvtdq2ps xmm0, xmm0
push eax
movss dword [edi + 0x240], xmm0
movss xmm1, dword [edi + 0x44]
movss xmm0, dword [edi + 0x1d8]
addss xmm1, xmm1
subss xmm0, dword [edi + 0x1d0]
addss xmm1, dword [edi + 0x2c]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
movss dword [edi + 0x80], xmm0
movss xmm1, dword [edi + 0x48]
movss xmm0, dword [edi + 0x1dc]
addss xmm1, xmm1
subss xmm0, dword [edi + 0x1d4]
addss xmm1, dword [edi + 0x30]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
movss dword [edi + 0x84], xmm0
call fcn.00409aa0
add esp, 8
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
mov eax, dword [ebp - 0x34]
movss dword [edi + 0x78], xmm0
movss dword [edi + 0x7c], xmm1
mov dword [edi + 0x88], 0x7f7fffff
mov dword [edi + 0x8c], 0x7f7fffff
mov ecx, dword [edi + 0x264]
mov dword [edi + 0x68], 0
mov dword [edi + 0x64], 0
mov eax, dword [eax + 0x3bcc]
mov eax, dword [eax + 0x30]
push dword [eax + 4]
call fcn.004222e0
push 0
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.00413fb0
mov eax, dword [ebp - 0x28]
add esp, 0xc
and eax, 0x5000000
mov byte [ebp - 0x21], 0
cmp eax, 0x1000000
jne 0x408dfd
cmp dword [ebp - 0x50], 0x3000000
je 0x408dfd
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + 0x180]
cmp ecx, 2
jl 0x408dc5
mov eax, dword [eax + 0x188]
mov ecx, dword [eax + ecx*4 - 8]
test ecx, ecx
je 0x408dc5
lea eax, [ebp - 0xb0]
push eax
call fcn.004141b0
mov ecx, dword [ebp - 0x64]
mov edi, eax
lea eax, [ebp - 0xcc]
push eax
call fcn.004141b0
push eax
mov ecx, edi
call fcn.00413cc0
mov edi, dword [ebp - 0x64]
mov byte [ebp - 0x22], al
jmp 0x408dc9
mov byte [ebp - 0x22], 0
mov edx, dword [edi + 0x264]
mov eax, dword [edx]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 8]
cmp dword [eax + ecx*8 - 0xc], 0
jne 0x408dfd
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0x264]
cmp dword [eax + 0x18], 0
jle 0x408dfd
cmp byte [ebp - 0x22], 0
jne 0x408dfd
mov byte [ebp - 0x21], 1
mov dword [edi + 0x264], eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x4914]
test ecx, ecx
jne 0x408e10
mov ecx, dword [eax + 0x47c0]
cmp byte [ebp - 0x38], 0
jne 0x408e2e
test ecx, ecx
je 0x408e28
mov eax, dword [edi + 0x308]
cmp eax, dword [ecx + 0x308]
je 0x408e2e
mov byte [ebp - 0x30], 0
jmp 0x408e32
mov byte [ebp - 0x30], 1
movd xmm0, esi
lea eax, [ebp - 0x20]
push ecx
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push eax
push dword [ebp - 0x58]
lea eax, [ebp - 0xa0]
push 1
push dword [ebp - 0x30]
push eax
push edi
call fcn.00415660
add esp, 0x1c
cmp byte [ebp - 0x21], 0
je 0x408e6d
lea eax, [edi + 0x268]
mov dword [edi + 0x264], eax
mov ecx, dword [ebp - 0x28]
xorps xmm4, xmm4
movss xmm3, dword [edi + 0x3c]
mov edx, ecx
shr edx, 3
not dl
and dl, 1
ucomiss xmm3, xmm4
lahf
test ah, 0x44
jp 0x408ec7
movss xmm0, dword [edi + 0x44]
mov eax, ecx
movss xmm1, dword [edi + 0x1c]
addss xmm0, xmm0
and eax, 0x808
subss xmm1, xmm0
movss xmm0, dword [edi + 0x5c]
addss xmm0, dword [edi + 0x54]
subss xmm1, xmm0
cmp eax, 0x800
jne 0x408ec0
movss xmm3, dword [edi + 0x2c]
jmp 0x408ec3
xorps xmm3, xmm3
maxss xmm3, xmm1
movss xmm2, dword [edi + 0x40]
ucomiss xmm2, xmm4
lahf
test ah, 0x44
jp 0x408f07
movss xmm0, dword [edi + 0x48]
movss xmm1, dword [edi + 0x20]
addss xmm0, xmm0
subss xmm1, xmm0
movss xmm0, dword [edi + 0x60]
addss xmm0, dword [edi + 0x58]
subss xmm1, xmm0
test dl, dl
je 0x408f00
movss xmm2, dword [edi + 0x30]
jmp 0x408f03
xorps xmm2, xmm2
maxss xmm2, xmm1
movss xmm1, dword [edi + 0x44]
maxss xmm1, dword [edi + 0x50]
movss xmm0, dword [edi + 0x1d0]
subss xmm0, dword [edi + 0x78]
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1f0], xmm0
movss xmm1, dword [edi + 0x48]
movss xmm0, dword [edi + 0x1d4]
subss xmm0, dword [edi + 0x7c]
maxss xmm1, dword [edi + 0x50]
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1f4], xmm0
addss xmm3, dword [edi + 0x1f0]
movss dword [edi + 0x1f8], xmm3
addss xmm2, dword [edi + 0x1f4]
movss dword [edi + 0x1fc], xmm2
movups xmm0, xmmword [edi + 0x1f0]
movups xmmword [edi + 0x200], xmm0
movss xmm0, dword [edi + 0x14]
subss xmm0, dword [edi + 0x78]
addss xmm0, dword [edi + 0x44]
addss xmm0, dword [edi + 0x54]
movss dword [edi + 0x220], xmm0
movss xmm0, dword [edi + 0x18]
subss xmm0, dword [edi + 0x7c]
addss xmm0, dword [edi + 0x48]
addss xmm0, dword [edi + 0x58]
movss dword [edi + 0x224], xmm0
movss xmm1, dword [edi + 0x3c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x408ff7
movss xmm0, dword [edi + 0x44]
movss xmm1, dword [edi + 0x1c]
addss xmm0, xmm0
subss xmm1, xmm0
movss xmm0, dword [edi + 0x5c]
addss xmm0, dword [edi + 0x54]
subss xmm1, xmm0
addss xmm1, dword [edi + 0x220]
movss dword [edi + 0x228], xmm1
movss xmm1, dword [edi + 0x40]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x409035
movss xmm0, dword [edi + 0x48]
movss xmm1, dword [edi + 0x20]
addss xmm0, xmm0
subss xmm1, xmm0
movss xmm0, dword [edi + 0x60]
addss xmm0, dword [edi + 0x58]
subss xmm1, xmm0
addss xmm1, dword [edi + 0x224]
mov esi, dword [ebp - 0x34]
push dword [ebp - 0x68]
movss dword [edi + 0x22c], xmm1
movss xmm0, dword [edi + 0x54]
addss xmm0, dword [edi + 0x44]
subss xmm0, dword [edi + 0x78]
movss dword [edi + 0x134], xmm0
mov dword [edi + 0x13c], 0
mov dword [edi + 0x138], 0
movss xmm3, dword [edi + 0x44]
movss xmm0, dword [edi + 0x14]
movss xmm2, dword [edi + 0x48]
cvtps2pd xmm0, xmm0
cvtps2pd xmm3, xmm3
cvtps2pd xmm2, xmm2
addsd xmm3, xmm0
movss xmm0, dword [edi + 0x78]
cvtps2pd xmm0, xmm0
subsd xmm3, xmm0
movss xmm0, dword [edi + 0x54]
cvtps2pd xmm0, xmm0
addsd xmm3, xmm0
movss xmm0, dword [edi + 0x18]
cvtps2pd xmm0, xmm0
addsd xmm3, qword [0x433ea0]
addsd xmm2, xmm0
movss xmm0, dword [edi + 0x7c]
cvtps2pd xmm0, xmm0
subsd xmm2, xmm0
movss xmm0, dword [edi + 0x58]
cvtps2pd xmm0, xmm0
addsd xmm2, xmm0
cvtpd2ps xmm0, xmm3
cvtpd2ps xmm1, xmm2
movss dword [edi + 0x100], xmm0
movss dword [edi + 0x104], xmm1
movss xmm0, dword [edi + 0x100]
cvtps2pd xmm0, xmm0
subsd xmm3, xmm0
movss xmm0, dword [edi + 0x104]
cvtps2pd xmm0, xmm0
cvtpd2ps xmm1, xmm3
subsd xmm2, xmm0
movss dword [edi + 0x140], xmm1
cvtpd2ps xmm0, xmm2
movss dword [edi + 0x144], xmm0
movss xmm0, dword [edi + 0x100]
movss xmm1, dword [edi + 0x104]
movss dword [edi + 0xf0], xmm0
movss dword [edi + 0xf4], xmm1
movss dword [edi + 0xf8], xmm0
movss dword [edi + 0xfc], xmm1
mov eax, dword [edi + 0x100]
mov ecx, dword [edi + 0x104]
mov dword [edi + 0x108], eax
mov dword [edi + 0x10c], ecx
mov eax, dword [edi + 0x100]
mov ecx, dword [edi + 0x104]
mov dword [edi + 0x110], eax
mov dword [edi + 0x114], ecx
mov dword [edi + 0x120], 0
mov dword [edi + 0x124], 0
mov dword [edi + 0x118], 0
mov dword [edi + 0x11c], 0
mov dword [edi + 0x12c], 0
mov dword [edi + 0x128], 0
mov word [edi + 0x130], 0
mov dword [edi + 0x148], 0
mov ax, word [edi + 0x14e]
mov word [edi + 0x14c], ax
xor eax, eax
mov word [edi + 0x14e], ax
mov byte [edi + 0x150], al
movss xmm0, dword [edi + 0x84]
comiss xmm0, xmm4
push ecx
seta al
mov byte [edi + 0x151], al
mov byte [edi + 0x152], 0
movss xmm0, dword [esi + 0x37ec]
lea ecx, [edi + 0x15c]
movss dword [esp], xmm0
call fcn.0042ec40
mov dword [edi + 0x178], 0
lea eax, [edi + 0x180]
mov dword [edi + 0x17c], 0
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x409267
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 + 0x180]
call fcn.0041bd10
lea eax, [edi + 0x180]
mov dword [eax], 0
lea eax, [edi + 0x244]
mov dword [edi + 0x18c], eax
mov eax, dword [ebp - 0x48]
mov dword [edi + 0x190], 0
mov dword [edi + 0x198], 1
test eax, eax
je 0x40929c
mov eax, dword [eax + 0x198]
jmp 0x4092a1
mov eax, 1
mov dword [edi + 0x19c], eax
mov eax, dword [edi + 0x240]
mov dword [edi + 0x1a0], eax
lea eax, [edi + 0x1a8]
mov dword [edi + 0x1a4], 0xbf800000
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x4092ec
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 + 0x1a8]
call fcn.0041bd10
lea eax, [edi + 0x1a8]
mov dword [eax], 0
lea eax, [edi + 0x1b4]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x409321
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 + 0x1b4]
call fcn.0041bd10
lea eax, [edi + 0x1b4]
mov dword [eax], 0
mov al, byte [edi + 0xc4]
test al, al
jle 0x409339
dec al
mov byte [edi + 0xc4], al
mov al, byte [edi + 0xc5]
test al, al
jle 0x40934b
dec al
mov byte [edi + 0xc5], al
cmp byte [ebp - 0x38], 0
je 0x409362
push edi
call fcn.0040c9c0
push 0
push edi
call fcn.0040f930
add esp, 0xc
test byte [ebp - 0x28], 1
jne 0x4093c8
movss xmm0, dword [ebp - 0xa0]
lea eax, [ebp - 0xb0]
addss xmm0, dword [edi + 0x50]
push dword [ebp - 0x70]
push dword [ebp - 0x6c]
movss dword [ebp - 0xb0], xmm0
movss xmm0, dword [ebp - 0x9c]
movss dword [ebp - 0xac], xmm0
movss xmm0, dword [ebp - 0x98]
subss xmm0, dword [edi + 0x50]
push eax
push edi
movss dword [ebp - 0xa8], xmm0
movss xmm0, dword [ebp - 0x94]
movss dword [ebp - 0xa4], xmm0
call fcn.00416130
add esp, 0x10
xor eax, eax
mov dword [edi + 0x230], eax
mov edx, dword [0x43a0bc]
movss xmm2, dword [ebp - 0xa0]
movss xmm3, dword [ebp - 0x98]
movss xmm4, dword [ebp - 0x94]
movss xmm1, dword [edx + 0x3804]
movss xmm0, dword [edx + 0x3808]
subss xmm2, xmm1
movss xmm5, dword [edx + 0xdc0]
addss xmm3, xmm1
movss xmm1, dword [ebp - 0x9c]
addss xmm4, xmm0
subss xmm1, xmm0
comiss xmm5, xmm2
jb 0x409441
movss xmm0, dword [edx + 0xdc4]
comiss xmm0, xmm1
jb 0x409441
comiss xmm3, xmm5
jbe 0x409441
comiss xmm4, xmm0
mov dword [ebp - 0x70], 1
ja 0x409444
mov dword [ebp - 0x70], eax
mov eax, dword [edi + 0x70]
mov ecx, dword [esi + 0x4698]
mov dword [edx + 0x46b4], eax
mov eax, dword [ebp - 0x70]
mov dword [edx + 0x46b8], ecx
mov dword [edx + 0x46bc], eax
movups xmm0, xmmword [ebp - 0xa0]
movups xmmword [edx + 0x46d0], xmm0
movups xmm0, xmmword [edx + 0x46d0]
movups xmmword [edx + 0x46c0], xmm0
mov eax, dword [esi + 0x469c]
test eax, eax
je 0x4094fa
cmp dword [edi + 8], eax
je 0x409492
cmp dword [edi + 0x70], eax
jne 0x4094fa
call fcn.0040b3b0
jmp 0x4094fa
mov ecx, dword [0x43a0bc]
mov dword [ecx + 0x3e40], edi
mov eax, dword [edi + 0x194]
cmp eax, 0xffffffff
je 0x4094be
imul eax, eax, 0x1e8
add eax, dword [ecx + 0x4a00]
jmp 0x4094c0
xor eax, eax
mov dword [ecx + 0x49e4], eax
mov eax, dword [edi]
movss xmm0, dword [eax + 0x3bd4]
mov eax, dword [edi + 0x2f8]
mulss xmm0, dword [edi + 0x25c]
test eax, eax
je 0x4094ea
mulss xmm0, dword [eax + 0x25c]
movss dword [ecx + 0x3be4], xmm0
movss dword [ecx + 0x3bd0], xmm0
push 1
lea eax, [edi + 0x1e8]
push eax
lea eax, [edi + 0x1e0]
push eax
call fcn.00413fb0
mov eax, dword [ebp - 0x60]
add esp, 0xc
mov byte [edi + 0xac], 0
inc word [edi + 0xb6]
mov dword [esi + 0x46f0], 0
cmp eax, dword [ebp - 0x54]
je 0x40968d
mov eax, dword [ebp - 0x28]
test eax, 0x1000000
je 0x4095f7
test al, 0x40
jne 0x4095be
cmp byte [edi + 0xc4], 0
jg 0x4095be
cmp byte [edi + 0xc5], 0
jg 0x4095be
test eax, 0x800000
je 0x409586
cmp byte [esi + 0x47fc], 0
je 0x409586
mov eax, dword [esi + 0x47c0]
test eax, eax
je 0x409586
mov eax, dword [eax + 0x30c]
cmp eax, dword [edi + 0x30c]
jne 0x409586
mov al, 1
jmp 0x409588
xor al, al
cmp byte [esi + 0x5a84], 0
jne 0x4095be
test al, al
jne 0x4095be
movss xmm0, dword [edi + 0x1c0]
comiss xmm0, dword [edi + 0x1c8]
jae 0x4095b7
movss xmm0, dword [edi + 0x1c4]
comiss xmm0, dword [edi + 0x1cc]
jb 0x4095be
mov byte [edi + 0xcc], 1
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x4095f7
cmp byte [eax + 0xad], 0
jne 0x4095d7
cmp byte [eax + 0xcc], 0
jle 0x4095de
mov byte [edi + 0xcc], 1
cmp byte [eax + 0xad], 0
jne 0x4095f0
cmp byte [eax + 0xcd], 0
jle 0x4095f7
mov byte [edi + 0xcd], 1
xorps xmm1, xmm1
comiss xmm1, dword [esi + 0x37a0]
jb 0x40960a
mov byte [edi + 0xcc], 1
cmp byte [edi + 0xcc], 0
jg 0x40962a
cmp byte [edi + 0xcd], 0
jg 0x40962a
xor cl, cl
cmp byte [edi + 0xce], cl
jg 0x40962c
xor al, al
jmp 0x40962e
mov cl, 1
mov al, 1
mov byte [edi + 0xb1], al
mov al, byte [edi + 0xcf]
test al, al
jle 0x40964d
dec al
mov byte [edi + 0xcf], al
or dword [edi + 0xc], 0xc0200
xor al, al
cmp byte [edi + 0xad], al
jne 0x409663
cmp byte [edi + 0xaa], al
je 0x409663
test cl, cl
je 0x409687
cmp byte [edi + 0xc4], 0
jg 0x409687
cmp byte [edi + 0xc5], 0
jg 0x409687
cmp byte [edi + 0xcd], 0
mov ecx, 1
movzx eax, al
cmovle eax, ecx
mov byte [edi + 0xaf], al
cmp byte [edi + 0xb2], 0
jne 0x4096f0
cmp byte [esi + 0x6c], 0
je 0x4096a2
cmp dword [ebp - 0x44], 0
je 0x4096b7
cmp byte [esi + 0x6d], 0
je 0x4096f0
movsx eax, byte [esi + 0x5ada]
cmp eax, dword [esi + 0x3e1c]
jne 0x4096f0
mov al, byte [edi + 0xc4]
test al, al
jle 0x4096c9
inc al
mov byte [edi + 0xc4], al
mov al, byte [edi + 0xc5]
test al, al
jle 0x4096db
inc al
mov byte [edi + 0xc5], al
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004302d1
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
cmp byte [edi + 0xaf], 0
mov ecx, dword [ebp - 4]
sete al
xor ecx, ebp
pop edi
pop esi
call fcn.004302d1
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret