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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x128
mov eax, dword [0x1030e040]
xor eax, esp
mov dword [esp + 0x124], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [0x10317358]
push edi
mov dword [esp + 0x54], edx
xor edx, edx
push 0
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], esi
call fcn.1004bb50
add esp, 4
lea ecx, [esi + 0x3f1c]
push eax
call fcn.1004c4e0
mov edi, eax
mov dword [esp + 0x60], eax
test edi, edi
mov dword [esp + 0x30], edi
sete byte [esp + 9]
test eax, eax
jne 0x10058135
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x58]
call fcn.100558d0
mov edi, eax
mov dword [esp + 0x30], eax
mov edx, dword [esp + 0xc]
mov ecx, edx
and ecx, 0xc0200
cmp ecx, 0xc0200
jne 0x10058150
or edx, 6
mov dword [esp + 0xc], edx
cmp dword [esi + 0x3f10], 0
mov ecx, dword [esi + 0x3eb0]
mov eax, dword [edi + 0x270]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], eax
jne 0x1005817a
cmp byte [esi + 0x3ec1], 0
je 0x1005817a
mov al, 1
jmp 0x1005817c
xor al, al
mov byte [edi + 0xe7], al
lea eax, [ecx - 1]
cmp dword [esp + 0x40], eax
setl byte [esp + 0x13]
test edx, 0x4000000
je 0x100581ce
mov eax, dword [esi + 0x48c4]
lea esi, [eax + eax*4]
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 0x48c0]
mov eax, dword [edi + 0xf8]
cmp edi, dword [edx + esi*8 + 4]
setne cl
cmp eax, dword [edx + esi*8]
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0xc]
setne al
or cl, al
or byte [esp + 0x13], cl
mov ecx, dword [esp + 0x44]
mov al, byte [edi + 0xe5]
mov byte [esp + 0xb], al
cmp dword [esp + 0x40], ecx
je 0x10058265
push edx
mov dl, byte [esp + 0xd]
mov ecx, edi
call fcn.10055690
mov al, byte [esp + 0x17]
add esp, 4
mov byte [edi + 0xe5], al
test al, al
je 0x1005821b
or byte [edi + 0x108], 8
or byte [edi + 0x109], 8
or byte [edi + 0x10a], 8
or byte [edi + 0x10b], 8
mov eax, dword [edi + 0xc]
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x44]
mov dword [edi + 0x270], eax
xor eax, eax
mov dword [edi + 0xc], ecx
movsd xmm0, qword [esi + 0x3ea8]
cvtpd2ps xmm0, xmm0
mov word [edi + 0xf0], ax
movss dword [edi + 0x278], xmm0
movzx eax, word [esi + 0x3f28]
inc dword [esi + 0x3f28]
mov word [edi + 0xf2], ax
jmp 0x1005826c
mov eax, dword [edi + 0xc]
mov dword [esp + 0xc], eax
test dword [esi + 0x47e8], 0x200
je 0x1005828e
push dword [esi + 0x47f8]
mov edx, dword [esi + 0x4848]
mov ecx, edi
call fcn.1006e7c0
add esp, 4
mov eax, dword [esp + 0x40]
cmp eax, dword [esp + 0x44]
je 0x10058388
cmp dword [edi + 0x3c0], 0
jne 0x10058361
cmp dword [edi + 0x3b8], 0
jne 0x10058361
mov eax, dword [0x10317358]
xor cl, cl
cmp byte [eax + 0x46], cl
jne 0x100582cb
cmp byte [edi + 0x2c], cl
je 0x10058363
test dword [edi + 0xc], 0x1200001
lea eax, [edi + 0xc]
mov dword [esp + 0x1c], eax
jne 0x10058363
cmp byte [edi + 0xe7], 0
jne 0x10058363
mov al, byte [edi + 0x39d]
mov byte [esp + 0xa], al
mov edx, dword [esp + 0x54]
mov ecx, edi
call fcn.1006f120
test byte [edi + 0x39d], 1
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
mov dword [esp + 0xc], edx
je 0x10058317
and dword [esi + 0x47e8], 0xffffffef
test byte [edi + 0x39d], 4
je 0x1005838c
mov al, byte [esp + 0xa]
test al, 4
jne 0x1005838c
test al, 2
je 0x1005838c
cmp byte [edi + 0xe5], 0
jne 0x1005838c
cmp byte [esp + 0xb], 0
jne 0x1005838c
or byte [edi + 0x108], 8
or byte [edi + 0x109], 8
or byte [edi + 0x10a], 8
or byte [edi + 0x10b], 8
mov byte [edi + 0xe5], 1
jmp 0x1005838c
mov cl, 1
lea eax, [edi + 0xc]
mov dword [esp + 0x1c], eax
mov al, byte [edi + 0x39d]
mov byte [esp + 0xa], al
test cl, cl
jne 0x100582f2
and al, 0xfb
and al, 0xfd
and al, 0xfe
mov byte [edi + 0x39d], al
mov edx, dword [esp + 0xc]
test byte [edi + 0x39d], 1
je 0x100583a6
mov eax, dword [edi + 0x3b8]
mov eax, dword [eax + 0x70]
mov dword [esp + 0x28], eax
test eax, eax
jne 0x100583c1
mov eax, dword [esi + 0x3f10]
test eax, eax
je 0x100583bd
imul ecx, eax, 0x54
mov eax, dword [esi + 0x3f18]
mov eax, dword [eax + ecx - 0x54]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x40]
cmp ecx, dword [esp + 0x44]
je 0x100583df
mov ecx, edx
and ecx, 0x5000000
neg ecx
sbb ecx, ecx
and ecx, eax
mov dword [esp + 0x34], ecx
jmp 0x100583e9
mov eax, dword [edi + 0x338]
mov dword [esp + 0x34], eax
cmp dword [edi + 0x11c], 0
lea eax, [edi + 0x11c]
jne 0x1005841e
cmp dword [eax + 4], 0
jne 0x1005840d
push 8
mov ecx, eax
call fcn.10048870
lea eax, [edi + 0x11c]
mov edx, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [edi + 8]
mov dword [ecx + edx*4], eax
inc dword [edi + 0x11c]
push 0x3c
lea eax, [esp + 0x88]
mov dword [esi + 0x3f34], edi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esi + 0x47e4]
lea edx, [esi + 0x3f10]
mov dword [esp + 0xc8], eax
xorps xmm0, xmm0
movzx eax, word [edi + 0x11c]
add esp, 0xc
movups xmmword [esp + 0xc0], xmm0
mov word [esp + 0xc0], ax
movzx eax, word [esi + 0x4870]
movups xmm0, xmmword [esi + 0x47ac]
mov ecx, dword [edx]
mov word [esp + 0xc2], ax
movzx eax, word [esi + 0x487c]
mov word [esp + 0xc4], ax
movzx eax, word [esi + 0x4888]
mov word [esp + 0xc6], ax
movzx eax, word [esi + 0x4894]
mov word [esp + 0xc8], ax
movzx eax, word [esi + 0x48ac]
movups xmmword [esp + 0x84], xmm0
mov word [esp + 0xca], ax
movups xmm0, xmmword [esi + 0x47bc]
movzx eax, word [esi + 0x48a0]
mov word [esp + 0xcc], ax
movzx eax, word [esi + 0x48c4]
movups xmmword [esp + 0x94], xmm0
mov word [esp + 0xce], ax
movups xmm0, xmmword [esi + 0x47cc]
movzx eax, word [esi + 0x5b70]
mov word [esp + 0xd0], 0
movups xmmword [esp + 0xa4], xmm0
mov word [esp + 0xd0], ax
mov eax, dword [edx + 4]
movq xmm0, qword [esi + 0x47dc]
mov dword [esp + 0x80], edi
movq qword [esp + 0xb4], xmm0
mov dword [esp + 0x50], eax
cmp ecx, eax
jne 0x10058567
inc ecx
test eax, eax
je 0x1005854f
cdq
sub eax, edx
lea edx, [esi + 0x3f10]
sar eax, 1
add eax, dword [esp + 0x50]
jmp 0x10058554
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.100e13e0
lea edx, [esi + 0x3f10]
imul ecx, dword [edx], 0x54
movups xmm0, xmmword [esp + 0x80]
mov eax, dword [esp + 0xd0]
add ecx, dword [edx + 8]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [esp + 0x90]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [esp + 0xa0]
movups xmmword [ecx + 0x20], xmm0
movups xmm0, xmmword [esp + 0xb0]
movups xmmword [ecx + 0x30], xmm0
movups xmm0, xmmword [esp + 0xc0]
movups xmmword [ecx + 0x40], xmm0
mov dword [ecx + 0x50], eax
inc dword [edx]
mov eax, dword [esp + 0xc]
test eax, 0x10000000
je 0x100585c5
inc dword [esi + 0x48d0]
mov ecx, dword [esp + 0x40]
cmp ecx, dword [esp + 0x44]
je 0x100585e9
push dword [esp + 0x34]
mov edx, eax
mov ecx, edi
call fcn.10057ff0
mov eax, dword [esp + 0x2c]
add esp, 4
mov dword [edi + 0x33c], eax
mov eax, dword [edi + 8]
mov dword [esp + 0x20], eax
mov eax, dword [0x10317358]
mov ecx, dword [eax + 0x4898]
lea edx, [eax + 0x4894]
mov dword [esp + 0x50], eax
mov dword [esp + 0x1c], edx
cmp dword [edx], ecx
jne 0x1005863d
test ecx, ecx
je 0x10058620
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x1c]
sar eax, 1
add eax, ecx
jmp 0x10058625
mov eax, 8
mov ecx, dword [edx]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.10048870
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov edi, dword [esp + 0x20]
mov dword [eax + ecx*4], edi
mov eax, edi
inc dword [edx]
test dword [esp + 0xc], 0x4000000
mov ecx, dword [esp + 0x50]
mov edi, dword [esp + 0x30]
mov dword [ecx + 0x4788], eax
mov eax, dword [esi + 0x4788]
mov dword [edi + 0x390], eax
mov dword [esi + 0x3f34], 0
je 0x100586ba
mov eax, dword [esi + 0x48c4]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x48c0]
mov dword [eax + ecx*8 + 4], edi
lea esi, [eax + ecx*8]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
push esi
mov eax, dword [eax + 0x180]
lea ecx, [ecx + 0x48c4]
mov dword [esi + 0xc], eax
call fcn.100e06c0
mov eax, dword [esi]
mov esi, dword [esp + 0x18]
mov dword [edi + 0xf8], eax
test byte [esi + 0x47e8], 1
mov byte [esp + 0xb], 0
mov byte [esp + 0xa], 0
mov byte [esp + 0x12], 0
je 0x10058774
mov dl, byte [edi + 0x108]
mov ecx, dword [esi + 0x47ec]
movsx eax, dl
test ecx, eax
setne byte [esp + 0xb]
test ecx, eax
je 0x10058763
movss xmm1, dword [esi + 0x4808]
movss xmm0, dword [esi + 0x4804]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm0, dword [0x102f3810]
jbe 0x10058763
mov eax, dword [esi + 0x47fc]
mov ecx, dword [esi + 0x4800]
mov dword [edi + 0x110], ecx
mov dword [edi + 0x10c], eax
mov eax, dword [esi + 0x4804]
mov ecx, dword [esi + 0x4808]
mov dword [edi + 0x118], ecx
mov dword [edi + 0x114], eax
mov eax, dword [edi + 0x108]
movzx ecx, dl
and eax, 0xffffff00
and ecx, 0xf1
or ecx, eax
mov dword [edi + 0x108], ecx
jmp 0x10058774
push ecx
lea edx, [esi + 0x47fc]
mov ecx, edi
call fcn.1005bda0
add esp, 4
test byte [esi + 0x47e8], 2
xorps xmm1, xmm1
je 0x100587da
movsx eax, byte [edi + 0x109]
mov ecx, dword [esi + 0x47f0]
and eax, ecx
je 0x100587a5
movss xmm0, dword [esi + 0x480c]
comiss xmm0, xmm1
jbe 0x100587a5
mov byte [esp + 0xa], 1
jmp 0x100587af
xor dl, dl
mov byte [esp + 0xa], dl
test eax, eax
je 0x100587c1
movss xmm0, dword [esi + 0x4810]
comiss xmm0, xmm1
mov byte [esp + 0x12], 1
ja 0x100587c6
mov byte [esp + 0x12], 0
push ecx
lea edx, [esi + 0x480c]
mov ecx, edi
call fcn.1005bf00
add esp, 4
xorps xmm1, xmm1
test byte [esi + 0x47e8], 0x80
je 0x10058821
movss xmm0, dword [esi + 0x481c]
comiss xmm0, xmm1
jb 0x10058802
movss dword [edi + 0xbc], xmm0
mov dword [edi + 0xc4], 0
movss xmm0, dword [esi + 0x4820]
comiss xmm0, xmm1
jb 0x10058821
movss dword [edi + 0xc0], xmm0
mov dword [edi + 0xc8], 0
test byte [esi + 0x47e8], 4
je 0x1005883e
mov eax, dword [esi + 0x4814]
mov ecx, dword [esi + 0x4818]
mov dword [edi + 0x6c], eax
mov dword [edi + 0x70], ecx
jmp 0x10058856
mov eax, dword [esp + 0x40]
cmp eax, dword [esp + 0x44]
je 0x10058856
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0
test dword [esi + 0x47e8], 0x400
je 0x10058883
movups xmm0, xmmword [esi + 0x484c]
movups xmmword [edi + 0x14], xmm0
movq xmm0, qword [esi + 0x485c]
movq qword [edi + 0x24], xmm0
mov eax, dword [esi + 0x4864]
mov dword [edi + 0x2c], eax
test byte [esi + 0x47e8], 8
je 0x100588d0
mov ecx, dword [esi + 0x47f4]
mov dl, byte [esi + 0x4825]
test ecx, ecx
je 0x100588a7
movsx eax, byte [edi + 0x10a]
test ecx, eax
je 0x100588d0
movzx ecx, byte [edi + 0x10a]
mov eax, dword [edi + 0x108]
and ecx, 0xf1
shl ecx, 0x10
and eax, 0xff00ffff
or ecx, eax
mov byte [edi + 0xe2], dl
mov dword [edi + 0x108], ecx
test byte [esi + 0x47e8], 0x20
je 0x100588e2
xor edx, edx
mov ecx, edi
call fcn.1005b2a0
cmp byte [edi + 0xe5], 0
je 0x10058907
and byte [edi + 0x108], 0xf7
and byte [edi + 0x109], 0xf7
and byte [edi + 0x10a], 0xf7
and byte [edi + 0x10b], 0xf7
mov eax, dword [esp + 0x40]
cmp eax, dword [esp + 0x44]
je 0x1005abcd
mov eax, dword [esp + 0xc]
and eax, 0x3000000
mov byte [edi + 0xdf], 1
cmp dword [esp + 0x54], 0
mov dword [esp + 0x1c], eax
mov al, byte [edi + 0x105]
mov byte [esp + 0x2f], al
setne al
mov byte [edi + 0xe9], al
mov dword [edi + 0x248], 0xff7fffff
mov dword [edi + 0x24c], 0xff7fffff
mov dword [edi + 0x250], 0x7f7fffff
mov dword [edi + 0x254], 0x7f7fffff
mov eax, dword [edi + 0x120]
cmp eax, 1
jge 0x100589a7
test eax, eax
je 0x1005898a
cdq
sub eax, edx
lea edx, [edi + 0x11c]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x10058995
mov ecx, 8
lea edx, [edi + 0x11c]
mov eax, 1
cmp ecx, eax
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.10048870
mov dword [edi + 0x11c], 1
mov ecx, dword [edi + 0x2a4]
call fcn.10083ee0
test dword [esp + 0xc], 0x20000000
mov dword [edi + 0x1cc], 0xffffffff
je 0x100589f2
push 2
push ecx
mov ecx, dword [edi + 0x2a4]
add ecx, 0x78
call fcn.100879b0
mov ecx, dword [edi + 0x2a4]
push 1
push ecx
add ecx, 0x78
call fcn.10087eb0
cmp byte [edi + 0x39c], 0
je 0x10058a3e
mov ecx, dword [edi + 0x2a4]
push dword [edi + 0x394]
add ecx, 0xc
mov byte [edi + 0x39c], 0
call fcn.100e0f20
mov ecx, dword [edi + 0x2a4]
push dword [edi + 0x398]
add ecx, 0x18
call fcn.100e0d00
mov dword [edi + 0x398], 0
mov dword [edi + 0x394], 0
mov ecx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov eax, dword [edi + 0x30]
mov dword [esp + 0x64], ecx
mov ecx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov dword [esp + 0x50], ecx
test eax, eax
je 0x10058a5e
cmp dword [eax + 0x48], edi
je 0x10058a81
test byte [edi + 0x39d], 1
jne 0x10058a81
cmp dword [esi + 0x4a9c], 0
je 0x10058b56
test dword [edi + 0xc], 0x80000
jne 0x10058b56
cmp dword [esp + 0x60], 0
je 0x10058b56
mov eax, dword [edi + 4]
mov ecx, eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x58]
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10058ac0
test dl, dl
je 0x10058abc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10058ac0
add eax, 2
add ecx, 2
test dl, dl
jne 0x10058aa0
xor eax, eax
jmp 0x10058ac5
sbb eax, eax
or eax, 1
test eax, eax
je 0x10058b56
mov ecx, dword [esp + 0x58]
mov edx, dword [edi + 0x9c]
mov dword [esp + 0x14], edx
lea eax, [ecx + 1]
mov dword [esp + 0x20], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10058ae2
sub ecx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x20], eax
cmp edx, eax
jae 0x10058b3b
test ecx, ecx
je 0x10058b0f
mov eax, dword [0x10317358]
test eax, eax
je 0x10058b0f
dec dword [eax + 0xb4]
push ecx
call dword [esp + 0x54]
mov eax, dword [0x10317358]
add esp, 4
test eax, eax
je 0x10058b26
inc dword [eax + 0xb4]
push dword [esp + 0x20]
call dword [esp + 0x68]
mov ecx, eax
add esp, 4
mov eax, dword [esp + 0x20]
mov dword [esp + 0x14], eax
push eax
push dword [esp + 0x5c]
push ecx
call sub.VCRUNTIME140.dll_memcpy
mov dword [edi + 4], eax
add esp, 0xc
mov eax, dword [esp + 0x14]
mov dword [edi + 0x9c], eax
lea eax, [edi + 0x64]
mov ecx, edi
push eax
lea edx, [edi + 0x5c]
call fcn.10055d00
mov al, byte [edi + 0x104]
add esp, 4
test al, al
jle 0x10058b79
dec al
mov byte [edi + 0x104], al
mov al, byte [edi + 0x105]
test al, al
jle 0x10058b8b
dec al
mov byte [edi + 0x105], al
mov al, byte [edi + 0x106]
test al, al
jle 0x10058b9d
dec al
mov byte [edi + 0x106], al
cmp dword [esp + 0x60], 0
mov cl, byte [esp + 0xa]
mov dl, byte [esp + 0x12]
jne 0x10058bbb
test cl, cl
je 0x10058bb4
test dl, dl
jne 0x10058bbb
mov byte [edi + 0x105], 1
cmp byte [esp + 0x13], 0
je 0x10058c18
mov eax, dword [esp + 0xc]
test eax, 0x6000000
je 0x10058c18
mov byte [edi + 0x105], 1
test al, 0x40
je 0x10058c18
test cl, cl
jne 0x10058bea
mov dword [edi + 0x54], 0
mov dword [edi + 0x4c], 0
test dl, dl
jne 0x10058bfc
mov dword [edi + 0x58], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov ecx, edi
call fcn.10067aa0
mov ecx, dword [edi + 0x30]
mov edx, dword [0x10317358]
test ecx, ecx
je 0x10058c35
mov eax, dword [edx + 0x3eb0]
mov dword [ecx + 0x50], eax
movss xmm0, dword [0x102f38f4]
cmp dword [edx + 0x48e4], ecx
je 0x10058c88
test ecx, ecx
je 0x10058c78
mov eax, dword [ecx + 0x28]
mov dword [edx + 0x48e0], eax
mov eax, dword [edx + 0x37f8]
mov dword [edx + 0x48e4], ecx
test eax, eax
je 0x10058c88
push ecx
call eax
mov edx, dword [0x10317358]
add esp, 4
movss xmm0, dword [0x102f38f4]
jmp 0x10058c88
mov dword [edx + 0x48e0], 0x3f800000
mov dword [edx + 0x48e4], ecx
test dword [esi + 8], 0x8000
je 0x10058c99
mov eax, dword [edi + 0x30]
movss xmm0, dword [eax + 0x28]
movss dword [edi + 0x29c], xmm0
mov dword [edx + 0x3f34], edi
mov eax, dword [edi + 0x1cc]
cmp eax, 0xffffffff
je 0x10058cc0
imul ecx, eax, 0x1f0
add ecx, dword [edx + 0x4b7c]
jmp 0x10058cc2
xor ecx, ecx
mov dword [edx + 0x4b60], ecx
mov eax, dword [edi]
movss xmm0, dword [eax + 0x3ca0]
mulss xmm0, dword [edi + 0x298]
mov eax, dword [edi + 0x338]
mulss xmm0, dword [edi + 0x29c]
test eax, eax
je 0x10058cf4
mulss xmm0, dword [eax + 0x298]
movss dword [edx + 0x3cb0], xmm0
movss dword [edx + 0x3c9c], xmm0
test ecx, ecx
jne 0x10058d14
cmp dword [edi + 0x1c8], ecx
jne 0x10058d14
mov al, 1
jmp 0x10058d16
xor al, al
mov byte [edi + 0x188], al
mov al, byte [edi + 0x39d]
mov ecx, dword [edi + 0xc]
mov dword [esp + 0xc], ecx
and al, 1
jne 0x10058d47
test ecx, 0x1000000
je 0x10058d47
movss xmm0, dword [esi + 0x385c]
movss dword [edi + 0x80], xmm0
jmp 0x10058d75
test ecx, 0x6000000
je 0x10058d61
test ecx, 0x8000000
jne 0x10058d61
movss xmm0, dword [esi + 0x3864]
jmp 0x10058d69
movss xmm0, dword [esi + 0x3840]
movss dword [edi + 0x80], xmm0
test al, al
jne 0x10058dac
mov eax, ecx
xorps xmm3, xmm3
and eax, 0x5010000
cmp eax, 0x1000000
jne 0x10058daf
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jp 0x10058daf
test ecx, 0x400
je 0x10058da4
movss xmm0, dword [esi + 0x3838]
xorps xmm1, xmm1
jmp 0x10058dbf
xorps xmm0, xmm0
xorps xmm1, xmm1
jmp 0x10058dbf
xorps xmm3, xmm3
movss xmm1, dword [esi + 0x3834]
movss xmm0, dword [esi + 0x3838]
mov eax, edi
movss dword [eax + 0x74], xmm1
movss dword [eax + 0x78], xmm0
movss xmm0, dword [eax + 0x74]
maxss xmm0, dword [esi + 0x3878]
maxss xmm0, dword [esi + 0x4868]
movss dword [edi + 0x18c], xmm0
mov eax, dword [esi + 0x486c]
mov dword [edi + 0x190], eax
mov al, byte [esp + 9]
mov byte [esp + 0x20], al
test cl, 0x21
jne 0x10058fb7
test byte [edi + 0x39d], 1
jne 0x10058fb7
test byte [edi + 0xc], 1
mov ecx, dword [edi]
je 0x10058e1f
xorps xmm4, xmm4
jmp 0x10058e59
movss xmm0, dword [ecx + 0x3ca0]
mulss xmm0, dword [edi + 0x298]
mov eax, dword [edi + 0x338]
mulss xmm0, dword [edi + 0x29c]
test eax, eax
je 0x10058e49
mulss xmm0, dword [eax + 0x298]
movss xmm4, dword [ecx + 0x386c]
addss xmm4, xmm4
addss xmm4, xmm0
movss xmm6, dword [edi + 0x44]
movaps xmm5, xmm6
movss xmm7, dword [edi + 0x48]
addss xmm5, dword [edi + 0x54]
addss xmm4, dword [edi + 0x48]
cmp dword [esi + 0x3f38], edi
jne 0x10058f6b
cmp dword [esi + 0x3f6c], 0
jne 0x10058f6b
cmp dword [esi + 0x3f70], 0
jne 0x10058f6b
mov eax, dword [edx + 0x3f34]
movss xmm1, dword [edx + 0x3890]
minss xmm5, dword [eax + 0x250]
minss xmm4, dword [eax + 0x254]
maxss xmm6, dword [eax + 0x248]
maxss xmm7, dword [eax + 0x24c]
movaps xmm0, xmm5
addss xmm0, xmm1
movaps xmm2, xmm4
movss dword [esp + 0x14], xmm0
movss xmm0, dword [edx + 0x3894]
addss xmm2, xmm0
movss dword [esp + 0x24], xmm2
movaps xmm2, xmm6
subss xmm2, xmm1
movaps xmm1, xmm7
subss xmm1, xmm0
movss xmm0, dword [edx + 0xdc0]
comiss xmm0, xmm2
jb 0x10058f6b
movss xmm0, dword [edx + 0xdc4]
comiss xmm0, xmm1
jb 0x10058f6b
movss xmm1, dword [esp + 0x14]
comiss xmm1, dword [edx + 0xdc0]
jbe 0x10058f6b
movss xmm1, dword [esp + 0x24]
comiss xmm1, xmm0
jbe 0x10058f6b
mov eax, dword [edx + 0x48e8]
movss xmm2, dword [eax + 0xc]
movss xmm1, dword [eax + 8]
movaps xmm0, xmm2
addss xmm0, dword [eax + 0x14]
addss xmm1, dword [eax + 0x10]
comiss xmm0, xmm7
jbe 0x10058f6b
comiss xmm4, xmm2
jbe 0x10058f6b
comiss xmm1, xmm6
jbe 0x10058f6b
comiss xmm5, dword [eax + 8]
jbe 0x10058f6b
cmp word [esi + 0x3712], 2
jne 0x10058f6b
mov byte [edi + 0xe3], 1
cmp byte [edi + 0xe3], 0
je 0x10058fbe
mov cl, byte [edi + 0xe2]
test cl, cl
sete al
test cl, cl
mov byte [edi + 0xe2], al
mov ecx, 1
mov eax, dword [esp + 0x20]
movzx eax, al
cmovne eax, ecx
test dword [edi + 0xc], 0x100
mov dword [esp + 0x20], eax
jne 0x10058fbe
comiss xmm3, dword [edx + 0x5be4]
jb 0x10058fbe
mov eax, dword [edx + 0x1c]
mov dword [edx + 0x5be4], eax
jmp 0x10058fbe
mov byte [edi + 0xe2], 0
movss xmm0, dword [edi + 0xd4]
mov edx, dword [edi + 0xc]
mov ecx, dword [edi]
movss dword [esp + 0x5c], xmm0
movss xmm0, dword [edi + 0xd8]
mov byte [edi + 0xe3], 0
movss dword [esp + 0x48], xmm0
mov dword [edi + 0x84], 0
mov dword [edi + 0x8c], 0
test dl, 1
je 0x10059004
xorps xmm2, xmm2
jmp 0x10059041
movss xmm0, dword [edi + 0x298]
mulss xmm0, dword [ecx + 0x3ca0]
mov edx, dword [edi + 0x338]
mulss xmm0, dword [edi + 0x29c]
test edx, edx
je 0x1005902e
mulss xmm0, dword [edx + 0x298]
movss xmm2, dword [ecx + 0x386c]
mov edx, dword [edi + 0xc]
addss xmm2, xmm2
addss xmm2, xmm0
test edx, 0x400
je 0x1005908d
movss xmm1, dword [edi + 0x298]
mulss xmm1, dword [ecx + 0x3ca0]
mov eax, dword [edi + 0x338]
mulss xmm1, dword [edi + 0x29c]
test eax, eax
je 0x10059073
mulss xmm1, dword [eax + 0x298]
movss xmm0, dword [ecx + 0x386c]
addss xmm1, dword [edi + 0x190]
addss xmm0, xmm0
addss xmm1, xmm0
jmp 0x10059090
xorps xmm1, xmm1
addss xmm1, xmm2
mov dword [edi + 0x90], 0
lea eax, [edi + 0x64]
mov dword [edi + 0xd4], 0
push eax
mov edx, edi
mov dword [edi + 0xd8], 0
lea ecx, [esp + 0xf8]
movss dword [edi + 0x88], xmm1
call fcn.10055e30
add esp, 4
test byte [esp + 0xc], 0x40
je 0x1005911c
cmp byte [edi + 0xe2], 0
jne 0x1005911c
cmp byte [esp + 0xa], 0
jne 0x100590f9
movss xmm0, dword [esp + 0xf4]
movss dword [edi + 0x54], xmm0
mov byte [esp + 9], 1
cmp byte [esp + 0x12], 0
jne 0x100591d3
movss xmm0, dword [esp + 0xf8]
movss dword [edi + 0x58], xmm0
mov byte [esp + 0x20], 1
jmp 0x100591d3
mov al, byte [edi + 0xfc]
test al, al
jg 0x10059133
cmp byte [edi + 0xfd], 0
jle 0x100591d3
cmp byte [esp + 0xa], 0
jne 0x1005916a
test al, al
jle 0x1005916a
cmp byte [edi + 0xff], 0
je 0x10059157
movss xmm0, dword [edi + 0x54]
maxss xmm0, dword [esp + 0xf4]
jmp 0x10059160
movss xmm0, dword [esp + 0xf4]
movss dword [edi + 0x54], xmm0
mov byte [esp + 9], 1
cmp byte [esp + 0x12], 0
jne 0x100591a6
cmp byte [edi + 0xfd], 0
jle 0x100591a6
cmp byte [edi + 0xff], 0
je 0x10059193
movss xmm0, dword [edi + 0x58]
maxss xmm0, dword [esp + 0xf8]
jmp 0x1005919c
movss xmm0, dword [esp + 0xf8]
movss dword [edi + 0x58], xmm0
mov byte [esp + 0x20], 1
cmp byte [edi + 0xe2], 0
jne 0x100591d3
test dword [edi + 0xc], 0x100
mov ecx, dword [0x10317358]
jne 0x100591d3
xorps xmm0, xmm0
comiss xmm0, dword [ecx + 0x5be4]
jb 0x100591d3
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x5be4], eax
lea eax, [edi + 0x54]
mov edx, edi
push eax
lea ecx, [esp + 0x6c]
call fcn.10055ab0
mov edx, dword [esp + 0x10]
add esp, 4
cmp byte [edi + 0xe2], 0
movss xmm2, dword [eax]
movss xmm0, dword [eax + 4]
movss dword [edi + 0x54], xmm2
movss dword [edi + 0x58], xmm0
je 0x10059276
test edx, 0x1000000
jne 0x10059276
test byte [edi + 0xc], 1
mov ecx, dword [edi]
je 0x1005921a
xorps xmm1, xmm1
jmp 0x10059254
movss xmm0, dword [ecx + 0x3ca0]
mulss xmm0, dword [edi + 0x298]
mov eax, dword [edi + 0x338]
mulss xmm0, dword [edi + 0x29c]
test eax, eax
je 0x10059244
mulss xmm0, dword [eax + 0x298]
movss xmm1, dword [ecx + 0x386c]
addss xmm1, xmm1
addss xmm1, xmm0
addss xmm2, dword [edi + 0x44]
addss xmm1, dword [edi + 0x48]
subss xmm2, dword [edi + 0x44]
subss xmm1, dword [edi + 0x48]
movss dword [esp + 0x38], xmm2
movss dword [esp + 0x3c], xmm1
jmp 0x10059284
mov eax, dword [edi + 0x54]
mov ecx, dword [edi + 0x58]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
cmp byte [esp + 0x13], 0
lea ecx, [esp + 0x38]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edi + 0x4c], eax
mov dword [edi + 0x50], ecx
je 0x100592de
mov eax, edx
mov dword [edi + 0x100], 0xffffffff
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x100592de
cmp byte [esp + 0xb], 0
jne 0x100592de
mov eax, dword [esi + 0x48c4]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x48cc]
movss xmm0, dword [eax + ecx*8 - 0x10]
movss xmm1, dword [eax + ecx*8 - 0xc]
movss dword [edi + 0x44], xmm0
movss dword [edi + 0x48], xmm1
test edx, 0x1000000
je 0x1005937f
mov ecx, dword [esp + 0x34]
add ecx, 0x1b8
mov dword [esp + 0x24], ecx
mov ax, word [ecx]
mov word [edi + 0xf0], ax
mov eax, dword [ecx + 4]
cmp dword [ecx], eax
jne 0x1005933a
mov edx, dword [ecx]
inc edx
mov dword [esp + 0x14], edx
test eax, eax
je 0x10059322
cdq
sub eax, edx
mov edx, dword [esp + 0x14]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x10059327
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.10048870
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x34]
mov ecx, dword [ecx]
mov eax, dword [eax + 0x1c0]
mov dword [eax + ecx*4], edi
mov ecx, dword [esp + 0x34]
mov al, byte [esp + 0xb]
inc dword [ecx + 0x1b8]
test edx, 0x4000000
jne 0x10059383
test al, al
jne 0x10059383
cmp dword [esp + 0x1c], 0x3000000
je 0x10059383
mov eax, dword [ecx + 0x128]
mov ecx, dword [ecx + 0x12c]
mov dword [edi + 0x44], eax
mov dword [edi + 0x48], ecx
mov al, byte [esp + 0xb]
movss xmm1, dword [edi + 0x10c]
ucomiss xmm1, dword [0x102f3b2c]
lahf
test ah, 0x44
jnp 0x100593e9
cmp byte [edi + 0x105], 0
jne 0x100593e9
movss xmm0, dword [edi + 0x4c]
lea edx, [esp + 0x38]
mulss xmm0, dword [edi + 0x114]
mov ecx, edi
push 0
subss xmm1, xmm0
movss xmm0, dword [edi + 0x110]
movss dword [esp + 0x3c], xmm1
movss xmm1, dword [edi + 0x50]
mulss xmm1, dword [edi + 0x118]
subss xmm0, xmm1
movss dword [esp + 0x40], xmm0
call fcn.1005bda0
add esp, 4
jmp 0x10059437
test edx, 0x10000000
jne 0x10059419
test edx, 0x4000000
je 0x10059403
test al, al
jne 0x10059403
cmp byte [esp + 0x2f], al
jg 0x10059419
test edx, 0x2000000
je 0x10059437
test al, al
jne 0x10059437
cmp dword [esp + 0x1c], 0x3000000
je 0x10059437
mov edx, edi
lea ecx, [esp + 0x38]
call fcn.10060f70
movss xmm1, dword [eax + 4]
movss xmm0, dword [eax]
movss dword [edi + 0x44], xmm0
movss dword [edi + 0x48], xmm1
cmp dword [edi + 0x40], 0
jl 0x100595b8
cmp byte [edi + 0xde], 0
jne 0x100595b8
mov eax, dword [edi + 0x30]
test dword [eax + 4], 0x1000
jne 0x100595b8
movss xmm0, dword [edi + 0x44]
lea ecx, [edi + 0x44]
comiss xmm0, dword [eax + 8]
movss xmm6, dword [eax + 0xc]
movaps xmm2, xmm0
movss xmm7, dword [edi + 0x48]
movaps xmm5, xmm6
movss xmm3, dword [eax + 8]
movaps xmm4, xmm7
addss xmm3, dword [eax + 0x10]
addss xmm5, dword [eax + 0x14]
addss xmm2, dword [edi + 0x4c]
addss xmm4, dword [edi + 0x50]
jb 0x100594ab
comiss xmm7, xmm6
jb 0x100594ab
comiss xmm3, xmm2
jb 0x100594ab
comiss xmm5, xmm4
jae 0x100595b8
mov edx, dword [edi + 8]
lea eax, [edi + 0x4c]
push 0x20
push eax
push ecx
mov ecx, edi
call fcn.10067780
mov ecx, dword [0x10317358]
mov edx, eax
add esp, 0xc
mov dword [edi + 0x30], edx
test edx, edx
je 0x100594d7
mov eax, dword [ecx + 0x3eb0]
mov dword [edx + 0x50], eax
cmp dword [ecx + 0x48e4], edx
je 0x1005951a
test edx, edx
je 0x1005950a
mov eax, dword [edx + 0x28]
mov dword [ecx + 0x48e0], eax
mov eax, dword [ecx + 0x37f8]
mov dword [ecx + 0x48e4], edx
test eax, eax
je 0x1005951a
push edx
call eax
mov ecx, dword [0x10317358]
add esp, 4
jmp 0x1005951a
mov dword [ecx + 0x48e0], 0x3f800000
mov dword [ecx + 0x48e4], edx
test dword [esi + 8], 0x8000
je 0x1005952d
mov eax, dword [edi + 0x30]
movss xmm0, dword [eax + 0x28]
jmp 0x10059535
movss xmm0, dword [0x102f38f4]
movss dword [edi + 0x29c], xmm0
mov dword [ecx + 0x3f34], edi
mov eax, dword [edi + 0x1cc]
cmp eax, 0xffffffff
je 0x1005955c
imul edx, eax, 0x1f0
add edx, dword [ecx + 0x4b7c]
jmp 0x1005955e
xor edx, edx
mov dword [ecx + 0x4b60], edx
mov eax, dword [edi]
movss xmm0, dword [eax + 0x3ca0]
mulss xmm0, dword [edi + 0x298]
mov eax, dword [edi + 0x338]
mulss xmm0, dword [edi + 0x29c]
test eax, eax
je 0x10059590
mulss xmm0, dword [eax + 0x298]
movss dword [ecx + 0x3cb0], xmm0
movss dword [ecx + 0x3c9c], xmm0
test edx, edx
jne 0x100595b0
cmp dword [edi + 0x1c8], edx
jne 0x100595b0
mov al, 1
jmp 0x100595b2
xor al, al
mov byte [edi + 0x188], al
mov cl, byte [edi + 0xde]
test cl, cl
je 0x100595d3
mov edx, dword [esp + 0x28]
mov ecx, edi
call fcn.10068080
mov cl, byte [edi + 0xde]
cmp byte [esp + 0xb], 0
mov eax, dword [edi + 0x30]
movss xmm6, dword [esi + 0x38e8]
maxss xmm6, dword [esi + 0x38f0]
movss xmm2, dword [esi + 0x38ec]
movss xmm3, dword [eax + 0x18]
addss xmm3, dword [eax + 0x20]
movss xmm0, dword [eax + 8]
movss xmm7, dword [eax + 0x1c]
movaps xmm5, xmm0
movss xmm1, dword [eax + 0xc]
addss xmm7, dword [eax + 0x24]
maxss xmm2, dword [esi + 0x38f4]
addss xmm5, dword [eax + 0x10]
mov edx, dword [esp + 0xc]
subss xmm3, xmm6
movss dword [esp + 0x24], xmm0
movaps xmm4, xmm1
addss xmm4, dword [eax + 0x14]
movss dword [esp + 0xe0], xmm0
subss xmm7, xmm2
movaps xmm0, xmm2
movss dword [esp + 0x28], xmm1
addss xmm0, dword [eax + 0x1c]
movss dword [esp + 0x14], xmm3
movaps xmm3, xmm6
addss xmm3, dword [eax + 0x18]
movss dword [esp + 0xe4], xmm1
movss xmm1, dword [esp + 0x14]
movss dword [esp + 0xe8], xmm5
movss dword [esp + 0xec], xmm4
movss dword [esp + 0x100], xmm3
movss dword [esp + 0x104], xmm0
movss dword [esp + 0x108], xmm1
movss dword [esp + 0x10c], xmm7
jne 0x1005983d
test edx, 0x1000000
jne 0x1005983d
test cl, cl
jne 0x1005974f
subss xmm5, dword [esp + 0x24]
xorps xmm2, xmm2
comiss xmm5, xmm2
jbe 0x10059840
subss xmm4, dword [esp + 0x28]
comiss xmm4, xmm2
jbe 0x10059840
mov eax, dword [0x10317358]
movss xmm1, dword [edi + 0x50]
cmp byte [eax + 0x53], cl
je 0x10059712
test byte [edi + 0xc], 1
je 0x100596fe
cmp dword [edi + 0x3bc], 0
je 0x10059712
movss xmm1, dword [eax + 0x386c]
addss xmm1, xmm1
addss xmm1, dword [eax + 0x3c9c]
subss xmm3, dword [edi + 0x4c]
subss xmm0, xmm1
movss xmm1, dword [edi + 0x48]
comiss xmm0, xmm1
ja 0x1005972c
movaps xmm0, xmm7
minss xmm0, xmm1
movss xmm1, dword [edi + 0x44]
comiss xmm3, xmm1
ja 0x10059740
movss xmm3, dword [esp + 0x14]
minss xmm3, xmm1
movss dword [edi + 0x44], xmm3
movss dword [edi + 0x48], xmm0
jmp 0x10059840
cmp dword [esi + 0x3814], 0
jle 0x1005983d
movsx ecx, word [eax + 0x6e]
mov eax, dword [0x10317358]
test ecx, ecx
js 0x10059784
cmp ecx, dword [eax + 0x3814]
jge 0x10059784
mov eax, dword [eax + 0x381c]
lea ecx, [ecx + ecx*4]
lea ecx, [eax + ecx*8]
mov eax, dword [0x10317358]
jmp 0x1005978a
lea ecx, [eax + 0x48f4]
movaps xmm1, xmm2
movaps xmm0, xmm6
addss xmm0, dword [ecx + 0x10]
addss xmm1, dword [ecx + 0x14]
movss dword [esp + 0x100], xmm0
movss dword [esp + 0x104], xmm1
movss xmm4, dword [ecx + 0x18]
movss xmm3, dword [ecx + 0x1c]
addss xmm4, dword [ecx + 0x10]
addss xmm3, dword [ecx + 0x14]
subss xmm4, xmm6
subss xmm3, xmm2
movss xmm2, dword [edi + 0x50]
movss dword [esp + 0x108], xmm4
movss dword [esp + 0x10c], xmm3
cmp byte [eax + 0x53], 0
je 0x10059808
test byte [edi + 0xc], 1
je 0x100597f4
cmp dword [edi + 0x3bc], 0
je 0x10059808
movss xmm2, dword [eax + 0x386c]
addss xmm2, xmm2
addss xmm2, dword [eax + 0x3c9c]
subss xmm0, dword [edi + 0x4c]
subss xmm1, xmm2
movss xmm2, dword [edi + 0x48]
comiss xmm1, xmm2
ja 0x10059822
movaps xmm1, xmm3
minss xmm1, xmm2
movss xmm2, dword [edi + 0x44]
comiss xmm0, xmm2
ja 0x10059833
movaps xmm0, xmm4
minss xmm0, xmm2
movss dword [edi + 0x44], xmm0
movss dword [edi + 0x48], xmm1
xorps xmm2, xmm2
cmp byte [edi + 0xde], 0
cvttss2si eax, dword [edi + 0x44]
movd xmm1, eax
cvttss2si eax, dword [edi + 0x48]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x44], xmm1
movss dword [edi + 0x48], xmm0
jne 0x100598a6
test byte [edi + 0x39d], 1
jne 0x100598a6
test edx, 0x1000000
je 0x10059886
movss xmm2, dword [esi + 0x3858]
jmp 0x100598a6
mov eax, edx
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x1005989e
movss xmm2, dword [esi + 0x3860]
jmp 0x100598a6
movss xmm2, dword [esi + 0x383c]
mov eax, edi
movss dword [eax + 0x7c], xmm2
xor al, al
mov dword [esp + 0x28], eax
cmp byte [esp + 0x13], al
je 0x100598f6
test edx, 0x1000
jne 0x100598f6
test edx, 0x4000000
je 0x100598d0
mov byte [esp + 0x28], 1
jmp 0x100598f6
test byte [edi + 0x39d], 1
jne 0x100598e1
test edx, 0x1000000
jne 0x100598f6
test edx, 0x2000000
movzx eax, al
mov ecx, 1
cmove eax, ecx
mov dword [esp + 0x28], eax
cmp dword [edi + 0x3bc], 0
jne 0x1005990c
test byte [edi + 0x39d], 1
je 0x1005990c
xor al, al
jmp 0x1005990e
mov al, 1
movss xmm2, dword [esi + 0x3c9c]
xorps xmm0, xmm0
movaps xmmword [esp + 0x110], xmm0
movaps xmm1, xmm2
movss xmm0, dword [edi + 0x7c]
xor ecx, ecx
addss xmm0, dword [0x102f38f4]
mulss xmm2, dword [0x102f3878]
cmp byte [esi + 0x52], cl
mulss xmm1, dword [0x102f3900]
setne cl
mov byte [esp + 0x24], al
addss xmm0, xmm2
mov dword [esp + 0xfc], 0xffffffff
inc ecx
mov dword [esp + 0x38], ecx
maxss xmm1, xmm0
cvttss2si esi, xmm1
test al, al
je 0x100599ae
cmp byte [edi + 0xe2], 0
jne 0x100599ae
lea eax, [esp + 0x100]
push eax
lea eax, [esp + 0x114]
push eax
push ecx
lea eax, [esp + 0x108]
mov ecx, edi
push eax
lea edx, [esp + 0x104]
call fcn.10056080
add esp, 0x10
test al, al
je 0x100599ae
mov byte [esp + 0x20], 1
mov byte [esp + 9], 1
cmp byte [edi + 0xde], 0
mov al, byte [esp + 0xfc]
mov byte [edi + 0xea], al
je 0x10059aa5
mov edx, dword [edi + 0x30]
cmp byte [edx + 0x45], 0
jne 0x100599dd
mov eax, dword [edi + 0x44]
mov ecx, dword [edi + 0x48]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov edx, dword [edi + 0x30]
cmp byte [edx + 0x46], 0
jne 0x100599f2
mov eax, dword [edi + 0x4c]
mov ecx, dword [edi + 0x50]
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], ecx
mov eax, dword [edi + 0x30]
movss xmm0, dword [eax + 0xc]
addss xmm0, dword [eax + 0xe8]
movss xmm2, dword [eax + 0xe4]
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 + 0xec]
maxss xmm2, xmm0
movss xmm0, dword [eax + 0x14]
subss xmm0, dword [eax + 0xe8]
addss xmm0, dword [eax + 0xf0]
movss dword [eax + 0x20], xmm2
maxss xmm1, xmm0
movss dword [eax + 0x24], xmm1
mov eax, dword [edi + 0x30]
movss xmm0, dword [eax + 0xc]
movss xmm1, dword [eax + 8]
movss dword [esp + 0xe0], xmm1
addss xmm1, dword [eax + 0x10]
movss dword [esp + 0xe4], xmm0
addss xmm0, dword [eax + 0x14]
movss dword [esp + 0xe8], xmm1
movss dword [esp + 0xec], xmm0
movaps xmm0, xmmword [esp + 0xe0]
movaps xmmword [esp + 0xe0], xmm0
cmp byte [edi + 0xe2], 0
xorps xmm4, xmm4
mov eax, dword [edi + 0x30]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [edi + 0x38], ecx
mov dword [edi + 0x3c], eax
jne 0x10059c4d
cmp dword [esp + 0x60], 0
lea eax, [esp + 0x48]
movss xmm0, dword [edi + 0x90]
movss xmm2, dword [edi + 0x210]
movss xmm3, dword [edi + 0x214]
addss xmm0, dword [edi + 0x88]
subss xmm2, dword [edi + 0x208]
subss xmm3, dword [edi + 0x20c]
movss xmm5, dword [edi + 0x58]
movss xmm6, dword [edi + 0x54]
subss xmm5, xmm0
addss xmm2, dword [esp + 0x5c]
addss xmm3, dword [esp + 0x48]
jne 0x10059b2b
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
jmp 0x10059b53
movss xmm0, dword [edi + 0x74]
movss xmm1, dword [edi + 0x78]
addss xmm0, xmm0
addss xmm1, xmm1
addss xmm0, dword [edi + 0x5c]
addss xmm1, dword [edi + 0x60]
movss dword [esp + 0x48], xmm0
movss dword [esp + 0x4c], xmm1
cmp byte [esp + 9], 0
movss xmm7, dword [eax]
movss xmm1, dword [eax + 4]
jne 0x10059b66
movaps xmm6, xmm2
cmp byte [esp + 0x20], 0
jne 0x10059b70
movaps xmm5, xmm3
mov ecx, dword [esp + 0xc]
test ecx, 0x4000
jne 0x10059b8a
comiss xmm1, xmm5
jbe 0x10059b86
test cl, 8
je 0x10059b8a
xor al, al
jmp 0x10059b8c
mov al, 1
mov byte [esp + 9], al
mov byte [edi + 0xdd], al
test ecx, 0x8000
jne 0x10059bda
mov edx, dword [esp + 0x18]
test al, al
je 0x10059bb0
movss xmm0, dword [edx + 0x38a0]
jmp 0x10059bb3
xorps xmm0, xmm0
subss xmm6, xmm0
comiss xmm7, xmm6
jbe 0x10059bce
mov eax, ecx
and eax, 0x808
cmp eax, 0x800
mov al, byte [esp + 9]
je 0x10059bda
mov byte [edi + 0xdc], 0
xorps xmm1, xmm1
jmp 0x10059c07
mov byte [edi + 0xdc], 1
test al, al
jne 0x10059bfb
comiss xmm1, xmm5
jbe 0x10059bf3
test cl, 8
jne 0x10059bf3
mov al, 1
jmp 0x10059bf5
xor al, al
mov byte [edi + 0xdd], al
mov edx, dword [esp + 0x18]
movss xmm1, dword [edx + 0x38a0]
test al, al
je 0x10059c15
movss xmm0, dword [edx + 0x38a0]
jmp 0x10059c18
xorps xmm0, xmm0
movss dword [edi + 0xd4], xmm0
addss xmm0, dword [edi + 0x8c]
movss dword [edi + 0xd8], xmm1
movss dword [edi + 0x8c], xmm0
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x90]
movss dword [edi + 0x90], xmm0
jmp 0x10059c55
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
mov eax, ecx
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x10059c78
cmp dword [esp + 0x1c], 0x3000000
je 0x10059c78
mov eax, dword [esp + 0x34]
add eax, 0x248
jmp 0x10059c7f
lea eax, [esp + 0xe0]
movups xmm0, xmmword [eax]
mov eax, dword [edi + 0xc]
movss xmm3, dword [edi + 0x44]
movss xmm7, dword [edi + 0x48]
movaps xmm5, xmm3
movaps xmm6, xmm7
addss xmm5, dword [edi + 0x4c]
addss xmm6, dword [edi + 0x50]
movups xmmword [esp + 0xe0], xmm0
and eax, 1
je 0x10059cb1
xorps xmm2, xmm2
jmp 0x10059cf8
cmp dword [edi + 0x338], 0
mov ecx, dword [edi]
movss xmm0, dword [ecx + 0x3ca0]
mulss xmm0, dword [edi + 0x298]
mulss xmm0, dword [edi + 0x29c]
je 0x10059ce2
mov ecx, dword [edi + 0x338]
mulss xmm0, dword [ecx + 0x298]
mov ecx, dword [edi]
movss xmm2, dword [ecx + 0x386c]
mov ecx, dword [esp + 0xc]
addss xmm2, xmm2
addss xmm2, xmm0
movss xmm0, dword [edi + 0x48]
addss xmm2, xmm7
movaps xmm1, xmm3
movss dword [esp + 0x70], xmm3
addss xmm1, dword [edi + 0x54]
movss dword [esp + 0x74], xmm0
movss dword [esp + 0x7c], xmm2
movss dword [esp + 0x78], xmm1
movss dword [edi + 0x1f8], xmm3
movss dword [edi + 0x1fc], xmm7
movss dword [edi + 0x200], xmm5
movss dword [edi + 0x204], xmm6
test byte [edi + 0x39d], 1
je 0x10059da5
test eax, eax
je 0x10059d53
xorps xmm0, xmm0
jmp 0x10059d91
mov eax, dword [edi]
movss xmm1, dword [eax + 0x3ca0]
mulss xmm1, dword [edi + 0x298]
mov eax, dword [edi + 0x338]
mulss xmm1, dword [edi + 0x29c]
test eax, eax
je 0x10059d7f
mulss xmm1, dword [eax + 0x298]
mov eax, dword [edi]
movss xmm0, dword [eax + 0x386c]
addss xmm0, xmm0
addss xmm0, xmm1
addss xmm0, dword [edi + 0x1fc]
mov edx, dword [esp + 0x18]
movss dword [edi + 0x1fc], xmm0
movss xmm1, dword [edi + 0x1f8]
mov eax, ecx
movss xmm0, dword [edi + 0x1fc]
and eax, 0x401
movss xmm5, dword [esp + 0xe0]
maxss xmm1, xmm5
maxss xmm0, dword [esp + 0xe4]
movss dword [edi + 0x1f8], xmm1
movss dword [edi + 0x1fc], xmm0
movss xmm0, dword [edi + 0x204]
movss xmm1, dword [edi + 0x200]
minss xmm0, dword [esp + 0xec]
minss xmm1, dword [esp + 0xe8]
movss dword [edi + 0x204], xmm0
movss dword [edi + 0x200], xmm1
movss xmm6, dword [edi + 0x44]
movss xmm7, dword [edi + 0x48]
movaps xmm0, xmm6
addss xmm0, dword [edi + 0x84]
addss xmm6, dword [edi + 0x4c]
movss dword [esp + 0x48], xmm0
movss dword [edi + 0x208], xmm0
movaps xmm0, xmm7
addss xmm7, dword [edi + 0x50]
addss xmm0, dword [edi + 0x88]
subss xmm6, dword [edi + 0x8c]
subss xmm7, dword [edi + 0x90]
movss dword [esp + 0x5c], xmm0
movss dword [edi + 0x20c], xmm0
movss dword [edi + 0x210], xmm6
movss dword [edi + 0x214], xmm7
cmp eax, 1
jne 0x10059e89
movss xmm0, dword [edi + 0x80]
jmp 0x10059e91
movss xmm0, dword [edx + 0x3874]
movss xmm2, dword [0x102f389c]
movss dword [esp + 0x14], xmm0
addss xmm6, xmm2
movss xmm0, dword [edi + 0x74]
addss xmm7, xmm2
mulss xmm0, xmm2
movss xmm3, dword [edi + 0x80]
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x48]
subss xmm7, xmm3
addss xmm0, xmm2
movd xmm1, eax
cvtdq2ps xmm1, xmm1
maxss xmm1, xmm3
addss xmm0, xmm1
subss xmm6, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x218], xmm0
movss xmm0, dword [esp + 0x5c]
addss xmm0, xmm2
addss xmm0, dword [esp + 0x14]
cvttss2si ecx, xmm0
movd xmm0, ecx
cvttss2si ecx, xmm6
cvtdq2ps xmm0, xmm0
movss xmm6, dword [esp + 0xec]
movss dword [edi + 0x21c], xmm0
movd xmm0, ecx
cvttss2si ecx, xmm7
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x220], xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x224], xmm0
movss xmm1, dword [edi + 0x21c]
movss xmm0, dword [esp + 0xe4]
comiss xmm0, xmm1
jbe 0x10059f5d
movaps xmm2, xmm0
jmp 0x10059f64
movaps xmm2, xmm6
minss xmm2, xmm1
movss xmm7, dword [esp + 0xe8]
movd xmm3, eax
cvtdq2ps xmm3, xmm3
comiss xmm5, xmm3
jbe 0x10059f7e
movaps xmm1, xmm5
jmp 0x10059f85
movaps xmm1, xmm7
minss xmm1, xmm3
movss dword [edi + 0x218], xmm1
movss dword [edi + 0x21c], xmm2
movss xmm1, dword [edi + 0x224]
comiss xmm0, xmm1
ja 0x10059fa9
movaps xmm0, xmm6
minss xmm0, xmm1
movss xmm1, dword [edi + 0x220]
comiss xmm5, xmm1
ja 0x10059fbd
movaps xmm5, xmm7
minss xmm5, xmm1
movss dword [edi + 0x220], xmm5
movss dword [edi + 0x224], xmm0
movss xmm0, dword [edi + 0x4c]
comiss xmm0, xmm4
jbe 0x10059feb
test dword [esp + 0xc], 0x2000040
jne 0x10059feb
mulss xmm0, dword [0x102f38a8]
jmp 0x10059ffb
movss xmm0, dword [edx + 0x3c9c]
mulss xmm0, dword [0x102f3a18]
cvttss2si eax, xmm0
mov ecx, edi
mov edx, edi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x27c], xmm0
lea ecx, [esp + 0x68]
movss xmm1, dword [edi + 0x74]
movss xmm0, dword [edi + 0x210]
addss xmm1, xmm1
subss xmm0, dword [edi + 0x208]
addss xmm1, dword [edi + 0x5c]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
movss xmm1, dword [edi + 0x78]
addss xmm1, xmm1
movss dword [edi + 0xb4], xmm0
movss xmm0, dword [edi + 0x214]
subss xmm0, dword [edi + 0x20c]
addss xmm1, dword [edi + 0x60]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
movss dword [edi + 0xb8], xmm0
call fcn.1005f960
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
mov eax, dword [esp + 0x18]
movss dword [edi + 0xac], xmm0
movss dword [edi + 0xb0], xmm1
mov dword [edi + 0xbc], 0x7f7fffff
mov dword [edi + 0xc0], 0x7f7fffff
mov dword [edi + 0x98], 0
mov dword [edi + 0x94], 0
mov eax, dword [eax + 0x3c98]
mov ecx, dword [edi + 0x2a4]
mov edx, dword [ecx + 0x48]
lea edi, [ecx + 0x48]
mov dword [esp + 0x48], ecx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 4]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 4]
cmp edx, eax
jne 0x1005a10c
lea ecx, [edx + 1]
test eax, eax
je 0x1005a0fa
cdq
sub eax, edx
sar eax, 1
add eax, dword [edi + 4]
jmp 0x1005a0ff
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.10048870
mov edx, dword [edi]
mov eax, dword [edi + 8]
mov ecx, dword [esp + 0x14]
mov dword [eax + edx*4], ecx
mov ecx, dword [esp + 0x48]
inc dword [edi]
mov eax, dword [esp + 0x14]
mov dword [ecx + 0x70], eax
call fcn.100842a0
mov ecx, dword [0x10317358]
push 0
mov eax, dword [ecx + 0x3f34]
mov byte [eax + 0xe1], 1
lea eax, [esp + 0xec]
mov edi, dword [ecx + 0x3f34]
push eax
lea eax, [esp + 0xe8]
push eax
mov ecx, dword [edi + 0x2a4]
call fcn.100843f0
mov eax, dword [edi + 0x2a4]
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 [edi + 0x248], eax
movss dword [edi + 0x24c], xmm0
movss dword [edi + 0x250], xmm1
movss dword [edi + 0x254], xmm2
mov edi, dword [esp + 0x30]
mov al, byte [edi + 0x39d]
and al, 5
cmp al, 1
je 0x1005a30e
mov eax, dword [esp + 0xc]
and eax, 0x5000000
mov byte [esp + 0xa], 0
cmp eax, 0x1000000
jne 0x1005a281
cmp dword [esp + 0x1c], 0x3000000
je 0x1005a281
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0x1b8]
cmp ecx, 2
jl 0x1005a245
mov eax, dword [eax + 0x1c0]
mov eax, dword [eax + ecx*4 - 8]
test eax, eax
je 0x1005a245
movss xmm5, dword [eax + 0x48]
movss xmm7, dword [eax + 0x44]
movaps xmm0, xmm5
addss xmm0, dword [eax + 0x50]
movss xmm6, dword [edi + 0x44]
movaps xmm3, xmm7
movss xmm2, dword [edi + 0x48]
movaps xmm4, xmm6
addss xmm3, dword [eax + 0x4c]
addss xmm4, dword [edi + 0x4c]
comiss xmm0, dword [edi + 0x48]
addss xmm2, dword [edi + 0x50]
jbe 0x1005a245
comiss xmm2, xmm5
jbe 0x1005a245
comiss xmm3, xmm6
jbe 0x1005a245
comiss xmm4, xmm7
mov byte [esp + 9], 1
ja 0x1005a24a
mov byte [esp + 9], 0
mov edx, dword [edi + 0x2a4]
mov eax, dword [edx]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 8]
cmp dword [eax + ecx*8 - 0xc], 0
jne 0x1005a281
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0x2a4]
cmp dword [eax + 0x18], 0
je 0x1005a281
cmp byte [esp + 9], 0
jne 0x1005a281
mov byte [esp + 0xa], 1
mov dword [edi + 0x2a4], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x4a94]
test ecx, ecx
jne 0x1005a295
mov ecx, dword [eax + 0x4928]
cmp byte [esp + 0x28], 0
jne 0x1005a2c7
test ecx, ecx
je 0x1005a2c0
mov eax, dword [edi + 0x34c]
cmp eax, dword [ecx + 0x34c]
je 0x1005a2c7
mov eax, dword [edi + 0x3b8]
test eax, eax
je 0x1005a2c0
cmp eax, dword [ecx + 0x3b8]
je 0x1005a2c7
mov byte [esp + 0x14], 0
jmp 0x1005a2cc
mov byte [esp + 0x14], 1
movd xmm0, esi
lea eax, [esp + 0x110]
push ecx
cvtdq2ps xmm0, xmm0
lea edx, [esp + 0x74]
mov ecx, edi
movss dword [esp], xmm0
push eax
push dword [esp + 0x40]
push dword [esp + 0x30]
push dword [esp + 0x24]
call fcn.100570d0
add esp, 0x14
cmp byte [esp + 0xa], 0
je 0x1005a30e
lea eax, [edi + 0x2a8]
mov dword [edi + 0x2a4], eax
mov ecx, dword [esp + 0xc]
xorps xmm4, xmm4
movss xmm5, dword [edi + 0x6c]
mov edx, ecx
shr edx, 3
not dl
and dl, 1
ucomiss xmm5, xmm4
lahf
test ah, 0x44
jnp 0x1005a335
movss dword [esp + 0x14], xmm5
jmp 0x1005a37d
movss xmm0, dword [edi + 0x74]
mov eax, ecx
movss xmm1, dword [edi + 0x4c]
addss xmm0, xmm0
and eax, 0x808
subss xmm1, xmm0
movss xmm0, dword [edi + 0x8c]
addss xmm0, dword [edi + 0x84]
subss xmm1, xmm0
cmp eax, 0x800
jne 0x1005a370
movss xmm0, dword [edi + 0x5c]
jmp 0x1005a373
xorps xmm0, xmm0
maxss xmm0, xmm1
movss dword [esp + 0x14], xmm0
movss xmm6, dword [edi + 0x70]
ucomiss xmm6, xmm4
lahf
test ah, 0x44
jnp 0x1005a390
movaps xmm7, xmm6
jmp 0x1005a3c8
movss xmm0, dword [edi + 0x78]
movss xmm1, dword [edi + 0x50]
addss xmm0, xmm0
subss xmm1, xmm0
movss xmm0, dword [edi + 0x90]
addss xmm0, dword [edi + 0x88]
subss xmm1, xmm0
test dl, dl
je 0x1005a3c1
movss xmm7, dword [edi + 0x60]
jmp 0x1005a3c4
xorps xmm7, xmm7
maxss xmm7, xmm1
movss xmm1, dword [edi + 0x74]
movss xmm4, dword [edi + 0xac]
movss xmm3, dword [edi + 0x80]
movss xmm0, dword [edi + 0x208]
subss xmm0, xmm4
movss dword [esp + 0x38], xmm1
maxss xmm1, xmm3
movss dword [esp + 0x5c], xmm4
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movss dword [edi + 0x228], xmm2
movss xmm0, dword [edi + 0xb0]
movss xmm1, dword [edi + 0x78]
movss dword [esp + 0x30], xmm0
movss xmm0, dword [edi + 0x20c]
subss xmm0, dword [esp + 0x30]
movss dword [esp + 0x48], xmm1
maxss xmm1, xmm3
addss xmm1, xmm0
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x14]
addss xmm1, xmm2
movss xmm2, dword [esp + 0x38]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x22c], xmm0
addss xmm7, xmm0
movss dword [edi + 0x230], xmm1
movss dword [edi + 0x234], xmm7
movups xmm0, xmmword [edi + 0x228]
movups xmmword [edi + 0x238], xmm0
movss xmm0, dword [edi + 0x44]
movss xmm7, dword [edi + 0x84]
movaps xmm3, xmm0
subss xmm3, xmm4
movss dword [esp + 0x24], xmm0
addss xmm3, xmm2
addss xmm3, xmm7
movss dword [edi + 0x258], xmm3
movss xmm1, dword [edi + 0x48]
movss xmm0, dword [edi + 0x88]
movss dword [esp + 0x38], xmm1
subss xmm1, dword [esp + 0x30]
movss dword [esp + 0x14], xmm0
movss dword [esp + 0x1c], xmm1
movss xmm4, dword [esp + 0x1c]
movss xmm1, dword [esp + 0x48]
addss xmm4, xmm1
addss xmm4, xmm0
movaps xmm0, xmm4
movss dword [esp + 0x1c], xmm4
xorps xmm4, xmm4
movss dword [edi + 0x25c], xmm0
ucomiss xmm5, xmm4
lahf
test ah, 0x44
jp 0x1005a523
movss xmm5, dword [edi + 0x4c]
movaps xmm0, xmm2
addss xmm0, xmm2
subss xmm5, xmm0
movaps xmm0, xmm7
addss xmm0, dword [edi + 0x8c]
subss xmm5, xmm0
ucomiss xmm6, xmm4
addss xmm5, xmm3
lahf
movss dword [edi + 0x260], xmm5
movss xmm5, dword [esp + 0x14]
test ah, 0x44
jp 0x1005a55d
movss xmm6, dword [edi + 0x50]
movaps xmm0, xmm1
addss xmm0, xmm1
subss xmm6, xmm0
movaps xmm0, xmm5
addss xmm0, dword [edi + 0x90]
subss xmm6, xmm0
addss xmm6, dword [esp + 0x1c]
movss xmm3, dword [esp + 0x24]
lea ecx, [edi + 0x194]
movaps xmm0, xmm7
mov esi, dword [esp + 0x18]
addss xmm0, xmm2
cvtps2pd xmm3, xmm3
movss dword [edi + 0x264], xmm6
movss xmm6, dword [esp + 0x5c]
subss xmm0, xmm6
movss dword [edi + 0x16c], xmm0
cvtps2pd xmm0, xmm2
mov dword [edi + 0x174], 0
mov dword [edi + 0x170], 0
movss xmm2, dword [esp + 0x38]
addsd xmm3, xmm0
cvtps2pd xmm0, xmm6
cvtps2pd xmm2, xmm2
subsd xmm3, xmm0
cvtps2pd xmm0, xmm7
addsd xmm3, xmm0
cvtps2pd xmm0, xmm1
addsd xmm3, qword [0x102f37f8]
addsd xmm2, xmm0
movss xmm0, dword [esp + 0x30]
cvtps2pd xmm0, xmm0
subsd xmm2, xmm0
cvtps2pd xmm0, xmm5
addsd xmm2, xmm0
cvtpd2ps xmm0, xmm3
cvtpd2ps xmm1, xmm2
movss dword [edi + 0x138], xmm0
movss dword [edi + 0x13c], xmm1
movss xmm0, dword [edi + 0x138]
cvtps2pd xmm0, xmm0
subsd xmm3, xmm0
movss xmm0, dword [edi + 0x13c]
cvtps2pd xmm0, xmm0
cvtpd2ps xmm1, xmm3
subsd xmm2, xmm0
movss dword [edi + 0x178], xmm1
cvtpd2ps xmm0, xmm2
movss dword [edi + 0x17c], xmm0
movss xmm1, dword [edi + 0x138]
movss xmm0, dword [edi + 0x13c]
movss dword [edi + 0x128], xmm1
movss dword [edi + 0x12c], xmm0
movss dword [edi + 0x130], xmm1
movss dword [edi + 0x134], xmm0
movss dword [edi + 0x140], xmm1
movss dword [edi + 0x144], xmm0
movss dword [edi + 0x148], xmm1
movss dword [edi + 0x14c], xmm0
mov dword [edi + 0x158], 0
mov dword [edi + 0x15c], 0
mov dword [edi + 0x150], 0
mov dword [edi + 0x154], 0
mov dword [edi + 0x164], 0
mov dword [edi + 0x160], 0
mov word [edi + 0x168], 0
mov dword [edi + 0x180], 0
mov ax, word [edi + 0x186]
mov word [edi + 0x184], ax
mov dword [edi + 0x186], 0x10000
movss xmm0, dword [edi + 0xb8]
comiss xmm0, xmm4
seta al
cmp byte [esp + 0x13], 0
mov byte [edi + 0x18a], al
lea eax, [ecx + 0x12]
mov byte [edi + 0x18b], 0
movss xmm1, dword [esi + 0x3878]
mov dword [esp + 0x14], eax
je 0x1005a72b
xorps xmm0, xmm0
movq qword [eax], xmm0
jmp 0x1005a72f
mov dword [esp + 0x14], eax
cvttss2si eax, xmm1
push 1
mov word [ecx + 8], ax
call fcn.100d5a00
mov eax, dword [esp + 0x14]
xorps xmm0, xmm0
movq qword [eax], xmm0
mov eax, dword [edi + 0x198]
mov dword [edi + 0x194], eax
mov dword [edi + 0x198], 0
mov dword [edi + 0x1b0], 0
mov dword [edi + 0x1b4], 0
mov ecx, dword [edi + 0x1bc]
test ecx, ecx
jns 0x1005a812
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
mov dword [esp + 0x48], ecx
cmp ecx, dword [edi + 0x1bc]
jle 0x1005a812
mov eax, dword [0x10317358]
test eax, eax
je 0x1005a7ac
inc dword [eax + 0xb4]
lea eax, [ecx*4]
push eax
call dword [esp + 0x68]
mov edx, dword [edi + 0x1c0]
add esp, 4
mov dword [esp + 0x38], eax
test edx, edx
je 0x1005a802
mov ecx, dword [edi + 0x1b8]
shl ecx, 2
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [edi + 0x1c0]
add esp, 0xc
test ecx, ecx
je 0x1005a7f6
mov eax, dword [0x10317358]
test eax, eax
je 0x1005a7f6
dec dword [eax + 0xb4]
push ecx
call dword [esp + 0x54]
mov eax, dword [esp + 0x3c]
add esp, 4
mov dword [edi + 0x1c0], eax
mov eax, dword [esp + 0x48]
mov dword [edi + 0x1bc], eax
mov dword [edi + 0x1b8], 0
lea eax, [edi + 0x280]
mov dword [edi + 0x1c4], eax
mov eax, dword [esp + 0x34]
mov dword [edi + 0x1c8], 0
mov dword [edi + 0x1d0], 1
test eax, eax
je 0x1005a84c
mov eax, dword [eax + 0x1d0]
jmp 0x1005a851
mov eax, 1
mov dword [edi + 0x1d4], eax
mov eax, dword [edi + 0x27c]
mov dword [edi + 0x1d8], eax
lea eax, [edi + 0x1e0]
mov dword [edi + 0x1dc], 0xbf800000
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x1005a89c
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 + 0x1e0]
call fcn.10048870
lea eax, [edi + 0x1e0]
mov dword [eax], 0
lea eax, [edi + 0x1ec]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x1005a8d1
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 + 0x1ec]
call fcn.10048870
lea eax, [edi + 0x1ec]
mov dword [eax], 0
mov al, byte [edi + 0xfc]
test al, al
jle 0x1005a8e9
dec al
mov byte [edi + 0xfc], al
mov al, byte [edi + 0xfd]
test al, al
jle 0x1005a8fb
dec al
mov byte [edi + 0xfd], al
cmp byte [esp + 0x28], 0
je 0x1005a91f
mov edx, 2
mov ecx, edi
call fcn.1005b2a0
cmp edi, dword [esi + 0x4928]
jne 0x1005a91f
xor dl, dl
mov ecx, edi
call fcn.10062360
mov eax, dword [esp + 0x54]
test eax, eax
je 0x1005a96f
mov ecx, dword [edi + 0x30]
cmp byte [ecx + 0x47], 0
je 0x1005a96f
mov eax, dword [0x10317358]
mov eax, dword [eax + 0x48dc]
cmp ecx, dword [eax]
je 0x1005a96b
test dword [esi + 0x5c80], 0x100
je 0x1005a95b
push dword [edi + 4]
push str._viewport__Window__s_closed_by_PlatformRequestClose_n
call fcn.100794b0
add esp, 8
mov eax, dword [esp + 0x54]
mov byte [eax], 0
mov byte [esi + 0x4aa8], 0
jmp 0x1005a96f
mov eax, dword [esp + 0x54]
test byte [esp + 0xc], 1
jne 0x1005a9e7
test byte [edi + 0x39d], 1
jne 0x1005a9e7
movss xmm1, dword [edi + 0x80]
lea edx, [esp + 0xe0]
movss xmm0, dword [esp + 0x70]
mov ecx, edi
addss xmm0, xmm1
push eax
push dword [esp + 0x5c]
movss dword [esp + 0xe8], xmm0
movss xmm0, dword [esp + 0x7c]
movss dword [esp + 0xec], xmm0
movss xmm0, dword [esp + 0x80]
subss xmm0, xmm1
movss dword [esp + 0xf0], xmm0
movss xmm0, dword [esp + 0x84]
movss dword [esp + 0xf4], xmm0
call fcn.10057a90
add esp, 8
xor eax, eax
mov dword [edi + 0x268], eax
test byte [esi + 8], 0x40
je 0x1005aa5b
cmp dword [esi + 0x3f40], edi
jne 0x1005aa1e
mov al, byte [esi + 0x45]
cmp al, byte [esi + 0xde1]
jne 0x1005aa1e
mov eax, dword [edi + 0x348]
test dword [eax + 0xc], 0x200000
jne 0x1005aa1e
mov ecx, edi
call fcn.1006f670
cmp byte [esi + 0x4ac0], 0
je 0x1005aa5b
test dword [esp + 0xc], 0x200000
jne 0x1005aa5b
mov eax, dword [esi + 0x3f40]
test eax, eax
je 0x1005aa43
cmp dword [eax + 0x348], edi
je 0x1005aa5b
cmp edi, dword [edi + 0x348]
jne 0x1005aa5b
test dword [edi + 0xc], 0x20000000
jne 0x1005aa5b
mov ecx, edi
call fcn.1006f880
test byte [edi + 0x39d], 1
je 0x1005aab3
mov ecx, dword [esi + 0x478c]
mov esi, dword [0x10317358]
mov edx, dword [edi + 0x3c4]
mov eax, dword [edi + 0xa0]
mov dword [esi + 0x47ac], eax
mov dword [esi + 0x47b0], ecx
mov dword [esi + 0x47b4], edx
movups xmm0, xmmword [edi + 0x3c8]
movups xmmword [esi + 0x47c8], xmm0
movups xmm0, xmmword [esi + 0x47c8]
movups xmmword [esi + 0x47b8], xmm0
mov esi, dword [esp + 0x18]
jmp 0x1005aba4
mov eax, dword [0x10317358]
movss xmm1, dword [esp + 0x70]
movss xmm6, dword [esp + 0x78]
movss xmm7, dword [esp + 0x7c]
movaps xmm3, xmm6
movss xmm2, dword [eax + 0x3890]
movaps xmm4, xmm7
movss xmm0, dword [eax + 0x3894]
subss xmm1, xmm2
movss xmm5, dword [eax + 0xdc0]
addss xmm3, xmm2
movss xmm2, dword [esp + 0x74]
addss xmm4, xmm0
subss xmm2, xmm0
comiss xmm5, xmm1
jb 0x1005ab5a
movss xmm0, dword [eax + 0xdc4]
comiss xmm0, xmm2
jb 0x1005ab5a
comiss xmm3, xmm5
jbe 0x1005ab5a
comiss xmm4, xmm0
jbe 0x1005ab5a
mov eax, dword [eax + 0x48e8]
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 + 0x74]
jbe 0x1005ab5a
comiss xmm7, xmm3
jbe 0x1005ab5a
comiss xmm1, dword [esp + 0x70]
jbe 0x1005ab5a
comiss xmm6, xmm2
mov dword [esp + 0x30], 1
ja 0x1005ab62
mov dword [esp + 0x30], 0
mov edx, dword [0x10317358]
mov eax, dword [edi + 0xa0]
mov ecx, dword [esi + 0x478c]
mov dword [edx + 0x47ac], eax
mov eax, dword [esp + 0x30]
mov dword [edx + 0x47b0], ecx
mov dword [edx + 0x47b4], eax
movups xmm0, xmmword [esp + 0x70]
movups xmmword [edx + 0x47c8], xmm0
movups xmm0, xmmword [edx + 0x47c8]
movups xmmword [edx + 0x47b8], xmm0
mov eax, dword [esi + 0x4790]
test eax, eax
je 0x1005aca1
cmp dword [edi + 8], eax
je 0x1005abc3
cmp dword [edi + 0xa0], eax
jne 0x1005aca1
call fcn.10079eb0
jmp 0x1005aca1
mov ecx, dword [edi + 0x30]
mov edx, dword [0x10317358]
test ecx, ecx
je 0x1005abe3
mov eax, dword [edx + 0x3eb0]
mov dword [ecx + 0x50], eax
cmp dword [edx + 0x48e4], ecx
je 0x1005ac20
test ecx, ecx
je 0x1005ac10
mov eax, dword [ecx + 0x28]
mov dword [edx + 0x48e0], eax
mov eax, dword [edx + 0x37f8]
mov dword [edx + 0x48e4], ecx
test eax, eax
je 0x1005ac20
push ecx
call eax
add esp, 4
jmp 0x1005ac20
mov dword [edx + 0x48e0], 0x3f800000
mov dword [edx + 0x48e4], ecx
mov edx, dword [0x10317358]
mov dword [edx + 0x3f34], edi
mov eax, dword [edi + 0x1cc]
cmp eax, 0xffffffff
je 0x1005ac45
imul ecx, eax, 0x1f0
add ecx, dword [edx + 0x4b7c]
jmp 0x1005ac47
xor ecx, ecx
mov dword [edx + 0x4b60], ecx
mov eax, dword [edi]
movss xmm0, dword [eax + 0x3ca0]
mulss xmm0, dword [edi + 0x298]
mov eax, dword [edi + 0x338]
mulss xmm0, dword [edi + 0x29c]
test eax, eax
je 0x1005ac79
mulss xmm0, dword [eax + 0x298]
movss dword [edx + 0x3cb0], xmm0
movss dword [edx + 0x3c9c], xmm0
test ecx, ecx
jne 0x1005ac99
cmp dword [edi + 0x1c8], ecx
jne 0x1005ac99
mov al, 1
jmp 0x1005ac9b
xor al, al
mov byte [edi + 0x188], al
mov edx, dword [esp + 0xc]
test edx, 0x20000000
jne 0x1005ad27
mov ecx, dword [0x10317358]
push 1
mov eax, dword [ecx + 0x3f34]
mov byte [eax + 0xe1], 1
lea eax, [edi + 0x220]
mov esi, dword [ecx + 0x3f34]
push eax
lea eax, [edi + 0x218]
push eax
mov ecx, dword [esi + 0x2a4]
call fcn.100843f0
mov eax, dword [esi + 0x2a4]
mov edx, dword [esp + 0xc]
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 [esi + 0x248], eax
movss dword [esi + 0x24c], xmm0
movss dword [esi + 0x250], xmm1
movss dword [esi + 0x254], xmm2
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x40]
mov byte [edi + 0xe1], 0
inc word [edi + 0xec]
mov dword [ecx + 0x47e8], 0
cmp eax, dword [esp + 0x44]
je 0x1005aee1
mov al, byte [edi + 0x39d]
and al, 5
cmp al, 1
jne 0x1005ad7b
mov eax, dword [edi + 0x274]
cmp eax, dword [ecx + 0x3eb0]
jne 0x1005ad74
mov byte [edi + 0x105], 1
jmp 0x1005ad7b
mov byte [edi + 0x104], 1
test edx, 0x1000000
je 0x1005ae3d
test dl, 0x40
jne 0x1005ae03
cmp byte [edi + 0xfc], 0
jg 0x1005ae03
cmp byte [edi + 0xfd], 0
jg 0x1005ae03
test edx, 0x800000
je 0x1005adcb
cmp byte [ecx + 0x4964], 0
je 0x1005adcb
mov eax, dword [ecx + 0x4928]
test eax, eax
je 0x1005adcb
mov eax, dword [eax + 0x350]
cmp eax, dword [edi + 0x350]
jne 0x1005adcb
mov al, 1
jmp 0x1005adcd
xor al, al
cmp byte [ecx + 0x5c4c], 0
jne 0x1005ae03
test al, al
jne 0x1005ae03
movss xmm0, dword [edi + 0x1f8]
comiss xmm0, dword [edi + 0x200]
jae 0x1005adfc
movss xmm0, dword [edi + 0x1fc]
comiss xmm0, dword [edi + 0x204]
jb 0x1005ae03
mov byte [edi + 0x104], 1
mov eax, dword [esp + 0x34]
test eax, eax
je 0x1005ae3d
cmp byte [eax + 0xe2], 0
jne 0x1005ae1d
cmp byte [eax + 0x104], 0
jle 0x1005ae24
mov byte [edi + 0x104], 1
cmp byte [eax + 0xe2], 0
jne 0x1005ae36
cmp byte [eax + 0x105], 0
jle 0x1005ae3d
mov byte [edi + 0x105], 1
xorps xmm0, xmm0
comiss xmm0, dword [ecx + 0x382c]
jb 0x1005ae50
mov byte [edi + 0x104], 1
cmp byte [edi + 0x104], 0
jg 0x1005ae70
cmp byte [edi + 0x105], 0
jg 0x1005ae70
xor dl, dl
cmp byte [edi + 0x106], dl
jg 0x1005ae72
xor al, al
jmp 0x1005ae74
mov dl, 1
mov al, 1
mov byte [edi + 0xe6], al
mov al, byte [edi + 0x107]
test al, al
jle 0x1005ae93
dec al
mov byte [edi + 0x107], al
or dword [edi + 0xc], 0xc0200
xor al, al
cmp byte [edi + 0xe2], al
jne 0x1005aea9
cmp byte [edi + 0xdf], al
je 0x1005aea9
test dl, dl
je 0x1005aedb
cmp byte [edi + 0xfc], 0
jg 0x1005aedb
cmp byte [edi + 0xfd], 0
jg 0x1005aedb
cmp byte [edi + 0x105], 0
jg 0x1005aedb
mov byte [edi + 0xe4], 1
mov ax, word [edi + 0x184]
mov word [edi + 0x186], ax
jmp 0x1005aee1
mov byte [edi + 0xe4], al
cmp byte [edi + 0xe7], 0
jne 0x1005af46
cmp byte [ecx + 0x6c], 0
je 0x1005aef7
cmp dword [esp + 0x60], 0
je 0x1005af0c
cmp byte [ecx + 0x6d], 0
je 0x1005af46
movsx eax, byte [ecx + 0x5ca2]
cmp eax, dword [ecx + 0x3f10]
jne 0x1005af46
mov al, byte [edi + 0xfc]
test al, al
jle 0x1005af1e
inc al
mov byte [edi + 0xfc], al
mov al, byte [edi + 0xfd]
test al, al
jle 0x1005af30
inc al
mov byte [edi + 0xfd], al
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.1013cfec
mov esp, ebp
pop ebp
ret
cmp byte [edi + 0xe4], 0
mov ecx, dword [esp + 0x12c]
pop edi
sete al
pop esi
xor ecx, esp
call fcn.1013cfec
mov esp, ebp
pop ebp
ret