Function at 0x10006cf0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x28
push esi
push edi
mov edi, dword [0x10087578]
mov dword [esp + 0x14], edi
mov edx, dword [edi + 0x5abc]
sub edx, 1
mov dword [esp + 0xc], edx
js 0x10006d88
lea eax, [edx + edx*4]
shl eax, 2
mov dword [esp + 8], eax
nop
mov ecx, dword [edi + 0x5ac4]
cmp dword [ecx + eax + 4], 7
jne 0x10006d78
mov esi, ecx
sub ecx, esi
add ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
lea eax, [ecx + ecx*4]
lea edx, [esi + eax*4]
mov eax, dword [edi + 0x5abc]
sub eax, ecx
lea eax, [eax + eax*4]
lea eax, [eax*4 - 0x14]
push eax
lea eax, [edx + 0x14]
push eax
push edx
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [esp + 0x14]
add esp, 0xc
dec dword [edi + 0x5abc]
mov edx, dword [esp + 0xc]
dec edx
sub eax, 0x14
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
test edx, edx
jns 0x10006d20
xor esi, esi
cmp dword [edi + 0x5abc], esi
jle 0x10006dcc
xor ecx, ecx
mov dword [esp + 0xc], ecx
nop dword [eax + eax]
mov eax, dword [edi + 0x5ac4]
add eax, ecx
cmp dword [eax + 4], 0
jne 0x10006dbc
push eax
mov eax, dword [eax + 0xc]
push edi
call eax
mov ecx, dword [esp + 0x14]
add esp, 8
inc esi
add ecx, 0x14
mov dword [esp + 0xc], ecx
cmp esi, dword [edi + 0x5abc]
jl 0x10006da0
mov esi, dword [0x10087578]
cmp byte [esi + 0x4a], 0
je 0x10006de2
test byte [esi + 0xc], 2
jne 0x10006de2
mov byte [esi + 0x4a], 0
cmp byte [esi + 0x5a85], 0
mov eax, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov dword [esp + 8], eax
jne 0x10006e4a
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x10006e43
push ecx
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
call fcn.100041d0
mov ecx, eax
add esp, 8
mov dword [esp + 0x20], ecx
test ecx, ecx
je 0x10006e43
mov edx, dword [esp + 0xc]
test edx, edx
je 0x10006e2c
call fcn.10016e60
mov ecx, dword [esp + 0x20]
mov eax, dword [0x10087578]
test eax, eax
je 0x10006e3b
dec dword [eax + 0xac]
push ecx
call dword [esp + 0xc]
add esp, 4
mov byte [esi + 0x5a85], 1
movss xmm0, dword [esi + 0x5a88]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x10006ee6
subss xmm0, dword [esi + 0x18]
comiss xmm1, xmm0
movss dword [esi + 0x5a88], xmm0
jb 0x10006ee6
mov eax, dword [esi + 0x20]
mov dword [esp + 0x20], eax
test eax, eax
je 0x10006ed5
mov eax, dword [0x10087578]
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0
mov dword [eax + 0x5a88], 0
call fcn.10017090
mov ecx, dword [esp + 0x20]
mov edx, 0x100491c0
mov dword [esp + 0x18], eax
call fcn.100040d0
mov dword [esp + 0x20], eax
test eax, eax
je 0x10006edc
push eax
push dword [esp + 0x10]
push 1
push dword [esp + 0x24]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push dword [esp + 0x30]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x14
jmp 0x10006edc
mov byte [esi + 0x94], 1
mov dword [esi + 0x5a88], 0
movss xmm0, dword [edi + 0x18]
lea ecx, [edi + 0x5a58]
inc dword [edi + 0x3df8]
xor eax, eax
cvtps2pd xmm0, xmm0
push eax
mov byte [edi + 0x3e04], 1
mov word [edi + 0x5a4a], ax
mov dword [edi + 0x3e6c], eax
addsd xmm0, qword [edi + 0x3df0]
movsd qword [edi + 0x3df0], xmm0
call fcn.10018b10
mov eax, dword [edi + 0x5c6c]
mov ecx, 0x3c
movss xmm1, dword [edi + 0x18]
movaps xmm0, xmm1
subss xmm0, dword [edi + eax*4 + 0x5b7c]
addss xmm0, dword [edi + 0x5c74]
movss dword [edi + 0x5c74], xmm0
movss dword [edi + eax*4 + 0x5b7c], xmm1
mov eax, dword [edi + 0x5c6c]
inc eax
movss xmm1, dword [edi + 0x5c74]
cdq
idiv ecx
mov eax, dword [edi + 0x5c70]
movss xmm0, dword [0x100810d0]
inc eax
cmp eax, ecx
mov dword [edi + 0x5c6c], edx
movss dword [esp + 0xc], xmm0
cmovl ecx, eax
comiss xmm1, dword [0x10080f18]
mov dword [edi + 0x5c70], ecx
jbe 0x10006fb3
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x10080fc0]
divss xmm0, xmm1
movss dword [edi + 0x98], xmm0
mov ecx, dword [edi + 0x3e20]
test ecx, ecx
jns 0x10006fe1
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 + 0x3e1c]
call fcn.10018fe0
mov dword [edi + 0x3e1c], 0
mov cl, byte [edi + 0x46]
call fcn.100107c0
mov esi, dword [0x10087578]
xorps xmm3, xmm3
mov eax, dword [esi + 0x47f8]
mov edx, dword [eax]
mov dword [edx], 5
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov dword [edx + 0xc], eax
mov dword [edx + 0x10], ecx
cmp dword [esi + 0x47f0], 0
jle 0x1000710a
xor edi, edi
mov eax, dword [esi + 0x47f8]
mov edx, dword [eax + edi*4]
inc edi
mov eax, dword [edx + 0x94]
mov ecx, dword [edx + 0x98]
mov dword [edx + 0x84], eax
mov eax, dword [edx + 0x9c]
mov dword [edx + 0x88], ecx
mov ecx, dword [edx + 0xa0]
mov dword [edx + 0x8c], eax
mov dword [edx + 0x90], ecx
mov dword [edx + 0x9c], 0
mov dword [edx + 0xa0], 0
mov dword [edx + 0x94], 0
mov dword [edx + 0x98], 0
movss xmm0, dword [edx + 0x88]
addss xmm0, dword [edx + 8]
movss xmm2, dword [edx + 0x84]
movaps xmm1, xmm2
addss xmm1, dword [edx + 4]
movss dword [edx + 0x18], xmm0
movss xmm0, dword [edx + 0xc]
subss xmm0, xmm2
movaps xmm2, xmm3
movss dword [edx + 0x14], xmm1
movaps xmm1, xmm3
addss xmm0, dword [edx + 0x8c]
maxss xmm2, xmm0
movss xmm0, dword [edx + 0x10]
subss xmm0, dword [edx + 0x88]
addss xmm0, dword [edx + 0x90]
movss dword [edx + 0x1c], xmm2
maxss xmm1, xmm0
movss dword [edx + 0x20], xmm1
cmp edi, dword [esi + 0x47f0]
jl 0x10007033
mov edi, dword [esp + 0x14]
mov eax, dword [edi + 0x2c]
mov byte [eax + 0x10], 1
mov ecx, dword [esi + 0x38]
mov dword [esp + 0x10], ecx
test ecx, ecx
jne 0x10007128
mov eax, dword [esi + 0x2c]
mov eax, dword [eax + 0x44]
mov ecx, dword [eax]
mov dword [esp + 0x10], ecx
movss xmm1, dword [esi + 0x30]
movss xmm2, dword [0x10080fc0]
mov edx, dword [esi + 0x3e78]
movaps xmm0, xmm2
mov dword [esi + 0x3be0], ecx
mulss xmm1, dword [ecx + 0x10]
mulss xmm1, dword [ecx + 0x4c]
maxss xmm0, xmm1
movss dword [esi + 0x3be8], xmm0
test edx, edx
je 0x10007184
mov eax, dword [edx]
movss xmm0, dword [eax + 0x3be8]
mov eax, dword [edx + 0x300]
mulss xmm0, dword [edx + 0x264]
test eax, eax
je 0x10007187
mulss xmm0, dword [eax + 0x264]
jmp 0x10007187
movaps xmm0, xmm3
movss xmm7, dword [esp + 0xc]
movss xmm4, dword [0x100810ec]
movaps xmm6, xmm7
movss dword [esi + 0x3be4], xmm0
movaps xmm5, xmm4
mov edx, dword [ecx + 0x30]
mov eax, dword [edx + 0x34]
mov ecx, dword [edx + 0x38]
mov dword [esi + 0x3bec], eax
lea eax, [edx + 0x60]
mov dword [esi + 0x3de8], eax
mov eax, dword [esp + 0x10]
mov dword [esi + 0x3bf0], ecx
mov dword [esi + 0x3bf4], eax
movss dword [esi + 0x3bf8], xmm0
mov edx, dword [edi + 0x47f0]
test edx, edx
jle 0x1000722f
mov ecx, dword [edi + 0x47f8]
mov eax, dword [ecx]
movss xmm3, dword [eax + 4]
comiss xmm7, xmm3
movss xmm2, dword [eax + 8]
movaps xmm0, xmm3
addss xmm0, dword [eax + 0xc]
movaps xmm1, xmm2
addss xmm1, dword [eax + 0x10]
jbe 0x10007207
movaps xmm7, xmm3
comiss xmm6, xmm2
jbe 0x1000720f
movaps xmm6, xmm2
comiss xmm0, xmm4
jbe 0x10007217
movaps xmm4, xmm0
comiss xmm1, xmm5
jbe 0x1000721f
movaps xmm5, xmm1
add ecx, 4
sub edx, 1
jne 0x100071e3
movss xmm2, dword [0x10080fc0]
mov eax, dword [edi + 0x3854]
movss xmm1, dword [edi + 0x3858]
movss dword [esp + 0x20], xmm7
movss dword [esp + 0x24], xmm6
movss dword [esp + 0x28], xmm4
movss dword [esp + 0x2c], xmm5
movups xmm0, xmmword [esp + 0x20]
mov dword [edi + 0x3bfc], eax
movups xmmword [edi + 0x3c04], xmm0
movss xmm0, dword [edi + 0x3c00]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10007362
movss dword [edi + 0x3c00], xmm1
xor esi, esi
movd xmm0, esi
cvtdq2ps xmm0, xmm0
test esi, esi
je 0x10007313
movss xmm1, dword [edi + 0x3c00]
minss xmm1, xmm0
divss xmm1, xmm0
movaps xmm0, xmm2
subss xmm0, xmm1
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_acos_precise
movss xmm1, dword [0x10080ff4]
sub esp, 8
cvtsd2ss xmm0, xmm0
divss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd qword [esp + 0x28], xmm0
fld qword [esp + 0x28]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
fstp qword [esp + 0x28]
movsd xmm0, qword [esp + 0x28]
add esp, 8
cvtpd2ps xmm0, xmm0
cvttss2si eax, xmm0
inc eax
cdq
sub eax, edx
and eax, 0xfffffffe
cmp eax, 4
jge 0x10007304
mov eax, 4
jmp 0x10007318
cmp eax, 0x200
mov ecx, 0x200
cmovg eax, ecx
jmp 0x10007318
mov eax, 0x30
movss xmm2, dword [0x10080fc0]
mov byte [edi + esi + 0x3da8], al
inc esi
cmp esi, 0x40
jl 0x10007286
movsd xmm0, qword [0x10080fd0]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [0x10080fc0]
cvtsd2ss xmm0, xmm0
subss xmm1, xmm0
movss xmm0, dword [edi + 0x3c00]
divss xmm0, xmm1
movss dword [edi + 0x3da4], xmm0
xor edx, edx
mov dword [edi + 0x3c14], 0
cmp byte [edi + 0x3850], dl
je 0x10007385
mov dword [edi + 0x3c14], 1
mov edx, 1
cmp byte [edi + 0x3851], 0
mov ecx, edx
je 0x100073a7
mov eax, dword [edi + 0x3be0]
mov eax, dword [eax + 0x30]
test byte [eax], 4
jne 0x100073a7
or ecx, 2
mov dword [edi + 0x3c14], ecx
cmp byte [edi + 0x3852], 0
je 0x100073b9
or ecx, 4
mov dword [edi + 0x3c14], ecx
test byte [edi + 0xc], 8
je 0x100073c8
or ecx, 8
mov dword [edi + 0x3c14], ecx
xor ecx, ecx
mov dword [esp + 0x10], ecx
cmp dword [edi + 0x47f0], ecx
jle 0x1000744e
nop word [eax + eax]
mov eax, dword [edi + 0x47f8]
push 0
mov esi, dword [eax + ecx*4]
lea ecx, [esi + 0x48]
mov byte [esi + 0x38], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
call fcn.10018b10
mov ecx, dword [esp + 0x10]
inc ecx
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x6c], 0
mov dword [esp + 0x10], ecx
cmp ecx, dword [edi + 0x47f0]
jl 0x100073e0
cmp byte [edi + 0x4998], 0
mov ecx, dword [0x10087578]
je 0x10007488
mov eax, dword [edi + 0x49b0]
cmp eax, dword [edi + 0x3ec4]
jne 0x10007488
cmp dword [ecx + 0x3ec4], eax
jne 0x10007479
mov dword [ecx + 0x3ec8], eax
cmp dword [ecx + 0x3eec], eax
jne 0x10007488
mov byte [ecx + 0x3ef0], 1
cmp dword [edi + 0x3eb4], 0
jne 0x1000749d
mov dword [edi + 0x3ebc], 0
jmp 0x100074af
mov eax, dword [edi + 0x3eb0]
test eax, eax
je 0x100074b9
cmp dword [edi + 0x3ec4], eax
jne 0x100074b9
mov dword [edi + 0x3ec0], 0
mov eax, dword [edi + 0x3eb0]
test eax, eax
je 0x100074f3
movss xmm1, dword [edi + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x3ebc]
movss dword [edi + 0x3ebc], xmm0
cmp dword [edi + 0x3ec4], eax
je 0x100074f3
addss xmm1, dword [edi + 0x3ec0]
movss dword [edi + 0x3ec0], xmm1
mov dword [edi + 0x3eb4], eax
mov eax, dword [edi + 0x3ec4]
mov dword [edi + 0x3eb0], 0
mov word [edi + 0x3eb8], 0
test eax, eax
je 0x1000754b
cmp dword [edi + 0x3ec8], eax
je 0x1000754b
cmp dword [edi + 0x3eec], eax
jne 0x1000754b
test byte [edi + 0x5b20], 1
je 0x1000753c
push str.NewFrame__:_ClearActiveID___because_it_isnt_marked_alive_anymore__n
call fcn.100179f0
add esp, 4
xor edx, edx
xor ecx, ecx
call fcn.10006110
mov ecx, dword [0x10087578]
mov edx, dword [edi + 0x3ec4]
test edx, edx
je 0x1000756a
movss xmm0, dword [edi + 0x18]
addss xmm0, dword [edi + 0x3ecc]
movss dword [edi + 0x3ecc], xmm0
mov eax, dword [edi + 0x3ee0]
movss xmm0, dword [edi + 0x18]
addss xmm0, dword [edi + 0x3efc]
mov dword [edi + 0x3ef4], eax
mov al, byte [edi + 0x3ed4]
mov byte [edi + 0x3ef1], al
mov eax, dword [edi + 0x59d0]
movss dword [edi + 0x3efc], xmm0
mov dword [edi + 0x3eec], edx
mov dword [edi + 0x3ec8], 0
mov byte [edi + 0x3ed5], 0
mov byte [edi + 0x3ef0], 0
mov byte [edi + 0x3ed0], 0
test eax, eax
je 0x100075d4
cmp edx, eax
je 0x100075d4
mov dword [edi + 0x59d0], 0
test edx, edx
jne 0x100075f2
mov dword [edi + 0x46c8], edx
mov dword [edi + 0x46c0], edx
mov byte [edi + 0x46c4], dl
mov dword [edi + 0x46c8], edx
jmp 0x1000761b
mov eax, dword [edi + 0x46c8]
test eax, eax
je 0x1000761b
test al, 2
je 0x1000761b
mov esi, dword [edi + 0x3ec4]
mov edx, 0x20e
call fcn.10003490
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
mov ecx, dword [edi + 0x4ac0]
test ecx, ecx
je 0x1000763e
movss xmm0, dword [edi + 0x4adc]
comiss xmm0, dword [edi + 0x3bcc]
jb 0x10007648
mov dword [edi + 0x4ad0], ecx
jmp 0x10007648
mov dword [edi + 0x4ad0], 0
mov eax, dword [edi + 0x3e7c]
test eax, eax
je 0x1000766e
movss xmm0, dword [edi + 0x4adc]
comiss xmm0, dword [edi + 0x3bcc]
jb 0x10007678
mov eax, dword [eax + 8]
mov dword [edi + 0x4ad4], eax
jmp 0x10007678
mov dword [edi + 0x4ad4], 0
movss xmm0, dword [edi + 0x4ac8]
mov dword [edi + 0x4ac4], ecx
test ecx, ecx
je 0x100076a3
addss xmm0, dword [edi + 0x18]
mov dword [edi + 0x4ac0], 0
movss dword [edi + 0x4ac8], xmm0
jmp 0x100076e3
comiss xmm0, dword [0x10080f18]
jbe 0x100076ed
movss xmm1, dword [edi + 0x18]
movss xmm0, dword [0x10080f78]
movaps xmm2, xmm1
addss xmm2, dword [edi + 0x4acc]
addss xmm1, xmm1
movss dword [edi + 0x4acc], xmm2
maxss xmm0, xmm1
comiss xmm2, xmm0
jb 0x100076ed
mov dword [edi + 0x4ac8], 0
mov dword [edi + 0x4acc], 0
mov eax, dword [edi + 0x49fc]
mov dword [edi + 0x4a00], eax
mov dword [edi + 0x49fc], 0
mov dword [edi + 0x49f8], 0x7f7fffff
mov word [edi + 0x4999], 0
mov dword [edi + 0x4a08], 0
call fcn.1000f570
call fcn.10013cb0
call fcn.1000fa40
call fcn.10006a80
mov esi, dword [0x10087578]
mov ecx, dword [esi + 0x3e84]
test ecx, ecx
je 0x100077f5
mov eax, dword [esi + 0x3ec4]
mov dword [esi + 0x3ec8], eax
cmp dword [esi + 0x3eec], eax
jne 0x10007763
mov byte [esi + 0x3ef0], 1
cmp byte [esi + 0xdc0], 0
mov eax, dword [ecx + 0x308]
mov dword [esp + 0x20], eax
je 0x100077e9
lea eax, [esi + 0xdb8]
mov ecx, eax
test eax, eax
jne 0x10007788
lea ecx, [esi + 0xdb8]
movss xmm0, dword [ecx]
movss xmm1, dword [0x100810e8]
comiss xmm0, xmm1
movss xmm2, dword [ecx + 4]
jb 0x100077e9
comiss xmm2, xmm1
jb 0x100077e9
movss xmm0, dword [eax]
lea edx, [esp + 0x18]
subss xmm0, dword [esi + 0x3ed8]
mov ecx, dword [esp + 0x20]
push 1
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, dword [esi + 0x3edc]
movss dword [esp + 0x20], xmm0
call fcn.1000eb30
mov ecx, dword [esi + 0x3e84]
add esp, 4
xor edx, edx
call fcn.1000e470
jmp 0x10007831
mov dword [esi + 0x3e84], 0
jmp 0x10007828
mov ecx, dword [esi + 0x3ee0]
test ecx, ecx
je 0x10007831
mov eax, dword [esi + 0x3ec4]
cmp dword [ecx + 0x70], eax
jne 0x10007831
mov dword [esi + 0x3ec8], eax
cmp dword [esi + 0x3eec], eax
jne 0x1000781f
mov byte [esi + 0x3ef0], 1
cmp byte [esi + 0xdc0], 0
jne 0x10007831
xor edx, edx
xor ecx, ecx
call fcn.10006110
mov eax, dword [0x10087578]
mov edx, dword [eax + 0x47d4]
sub edx, 1
js 0x10007867
mov eax, dword [eax + 0x47dc]
lea ecx, [edx + edx*4]
lea eax, [eax + ecx*8]
add eax, 4
mov ecx, dword [eax]
test ecx, ecx
je 0x1000785f
test dword [ecx + 0xc], 0x8000000
jne 0x10007881
sub eax, 0x28
sub edx, 1
jns 0x10007850
cmp dword [edi + 0x496c], 0
je 0x100078a0
movss xmm0, dword [edi + 0x497c]
comiss xmm0, dword [0x10080f18]
jbe 0x100078a0
movss xmm1, dword [edi + 0x18]
mulss xmm1, dword [0x10081000]
addss xmm1, dword [edi + 0x4994]
minss xmm1, dword [0x10080fc0]
jmp 0x100078c1
movss xmm0, dword [edi + 0x18]
mulss xmm0, dword [0x10081010]
movss xmm1, dword [edi + 0x4994]
subss xmm1, xmm0
maxss xmm1, dword [0x10080f18]
movss dword [edi + 0x4994], xmm1
movups xmm0, xmmword [edi + 0x5a64]
mov dword [edi + 0x4ad8], 0
mov dword [edi + 0x5c80], 0xffffffff
mov dword [edi + 0x5c7c], 0xffffffff
mov dword [edi + 0x5c78], 0xffffffff
movups xmmword [edi + 0x5a74], xmm0
mov byte [edi + 0x5a64], 0
call fcn.1000fde0
cmp byte [edi + 0x3e07], 0
jne 0x10007939
movss xmm0, dword [edi + 0x4c]
xorps xmm1, xmm1
comiss xmm1, xmm0
ja 0x10007939
movsd xmm1, qword [edi + 0x3df0]
cvtpd2ps xmm1, xmm1
subss xmm1, xmm0
movss dword [esp + 0xc], xmm1
jmp 0x1000793f
movss xmm1, dword [esp + 0xc]
xor ecx, ecx
mov dword [esp + 0x10], ecx
cmp dword [edi + 0x3e30], ecx
je 0x10007afc
nop dword [eax]
nop word [eax + eax]
mov eax, dword [edi + 0x3e38]
mov esi, dword [eax + ecx*4]
mov ax, word [esi + 0xb6]
mov cl, byte [esi + 0xaa]
mov word [esi + 0xb8], ax
xor eax, eax
mov byte [esi + 0xab], cl
mov byte [esi + 0xaa], 0
mov byte [esi + 0xac], 0
mov word [esi + 0xb6], ax
test cl, cl
jne 0x10007ae1
cmp byte [esi + 0x360], al
jne 0x10007ae1
comiss xmm1, dword [esi + 0x244]
jbe 0x10007ae1
mov ecx, dword [esi + 0x26c]
mov byte [esi + 0x360], 1
mov eax, dword [ecx + 0x10]
mov dword [esi + 0x358], eax
mov eax, dword [ecx + 0x1c]
mov dword [esi + 0x35c], eax
mov ecx, dword [esi + 0xec]
test ecx, ecx
je 0x10007a19
mov eax, dword [0x10087578]
mov dword [esi + 0xe8], 0
mov dword [esi + 0xe4], 0
test eax, eax
je 0x10007a07
dec dword [eax + 0xac]
push ecx
call dword [esp + 0xc]
add esp, 4
mov dword [esi + 0xec], 0
mov ecx, dword [esi + 0x26c]
call fcn.10020ad0
mov ecx, dword [esi + 0x190]
test ecx, ecx
je 0x10007a63
mov eax, dword [0x10087578]
mov dword [esi + 0x18c], 0
mov dword [esi + 0x188], 0
test eax, eax
je 0x10007a51
dec dword [eax + 0xac]
push ecx
call dword [esp + 0xc]
add esp, 4
mov dword [esi + 0x190], 0
mov ecx, dword [esi + 0x1b8]
test ecx, ecx
je 0x10007aa2
mov eax, dword [0x10087578]
mov dword [esi + 0x1b4], 0
mov dword [esi + 0x1b0], 0
test eax, eax
je 0x10007a90
dec dword [eax + 0xac]
push ecx
call dword [esp + 0xc]
add esp, 4
mov dword [esi + 0x1b8], 0
mov ecx, dword [esi + 0x1c4]
test ecx, ecx
je 0x10007ae1
mov eax, dword [0x10087578]
mov dword [esi + 0x1c0], 0
mov dword [esi + 0x1bc], 0
test eax, eax
je 0x10007acf
dec dword [eax + 0xac]
push ecx
call dword [esp + 0xc]
add esp, 4
mov dword [esi + 0x1c4], 0
mov ecx, dword [esp + 0x10]
movss xmm1, dword [esp + 0xc]
inc ecx
mov dword [esp + 0x10], ecx
cmp ecx, dword [edi + 0x3e30]
jne 0x10007960
xor ecx, ecx
mov dword [esp + 0x18], ecx
cmp dword [edi + 0x4a6c], ecx
jle 0x10007c5a
xor edx, edx
xorps xmm1, xmm1
mov dword [esp + 0x20], edx
nop word [eax + eax]
mov eax, dword [edi + 0x4a74]
movss xmm0, dword [eax + ecx*4]
comiss xmm0, xmm1
jb 0x10007c3f
movss xmm1, dword [esp + 0xc]
comiss xmm1, xmm0
jbe 0x10007c3c
mov esi, dword [edi + 0x4a54]
mov eax, dword [0x10087578]
add esi, edx
mov dword [esp + 0x10], eax
mov dword [esi + 0x1a0], 0
mov ecx, dword [esi + 0x19c]
test ecx, ecx
je 0x10007b98
mov dword [esi + 0x198], 0
mov dword [esi + 0x194], 0
test eax, eax
je 0x10007b86
dec dword [eax + 0xac]
push ecx
call dword [esp + 0xc]
add esp, 4
mov dword [esi + 0x19c], 0
mov byte [esi + 0x1e1], 1
mov ecx, dword [esi + 0x15c]
test ecx, ecx
je 0x10007bde
mov eax, dword [0x10087578]
mov dword [esi + 0x158], 0
mov dword [esi + 0x154], 0
test eax, eax
je 0x10007bcc
dec dword [eax + 0xac]
push ecx
call dword [esp + 0xc]
add esp, 4
mov dword [esi + 0x15c], 0
xor edx, edx
mov byte [esi + 0x1ed], 1
cmp dword [esi + 0x40], edx
jle 0x10007c06
xor ecx, ecx
or edi, 0xffffffff
mov eax, dword [esi + 0x10]
lea ecx, [ecx + 0x70]
inc edx
mov word [eax + ecx - 0x20], di
cmp edx, dword [esi + 0x40]
jl 0x10007bf1
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
sub esi, dword [eax + 0x4a54]
mov eax, 0x84210843
imul esi
mov eax, dword [esp + 0x10]
add edx, esi
sar edx, 8
mov ecx, edx
mov eax, dword [eax + 0x4a74]
shr ecx, 0x1f
add ecx, edx
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4], 0xbf800000
mov ecx, dword [esp + 0x18]
xorps xmm1, xmm1
inc ecx
add edx, 0x1f0
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], edx
cmp ecx, dword [edi + 0x4a6c]
jl 0x10007b20
xor ecx, ecx
mov dword [esp + 0x20], ecx
cmp dword [edi + 0x4a40], ecx
jle 0x10007cbd
xor esi, esi
xorps xmm1, xmm1
nop dword [eax]
mov eax, dword [edi + 0x4a48]
mov dword [esp + 0x18], eax
movss xmm0, dword [esi + eax + 4]
comiss xmm0, xmm1
jb 0x10007cad
movss xmm1, dword [esp + 0xc]
comiss xmm1, xmm0
jbe 0x10007caa
lea ecx, [eax + 0x10]
add ecx, esi
call fcn.10023650
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov dword [esi + eax + 4], 0xbf800000
xorps xmm1, xmm1
inc ecx
add esi, 0x68
mov dword [esp + 0x20], ecx
cmp ecx, dword [edi + 0x4a40]
jl 0x10007c70
cmp byte [edi + 0x3e07], 0
je 0x10007d4e
mov esi, dword [0x10087578]
mov eax, dword [esi + 0x47c4]
test eax, eax
je 0x10007d0a
mov dword [esi + 0x47c0], 0
mov dword [esi + 0x47bc], 0
test esi, esi
je 0x10007cf8
dec dword [esi + 0xac]
push eax
call dword [esp + 0xc]
add esp, 4
mov dword [esi + 0x47c4], 0
mov ecx, dword [esi + 0x47d0]
test ecx, ecx
je 0x10007d49
mov eax, dword [0x10087578]
mov dword [esi + 0x47cc], 0
mov dword [esi + 0x47c8], 0
test eax, eax
je 0x10007d37
dec dword [eax + 0xac]
push ecx
call dword [esp + 0xc]
add esp, 4
mov dword [esi + 0x47d0], 0
call fcn.1002b220
mov eax, dword [edi + 0x47fc]
mov byte [edi + 0x3e07], 0
test eax, eax
je 0x10007db3
cmp byte [eax + 0xab], 0
jne 0x10007db3
mov eax, dword [0x10087578]
mov edx, dword [eax + 0x3e3c]
sub edx, 1
js 0x10007da7
mov eax, dword [eax + 0x3e44]
lea esi, [eax + edx*4]
mov ecx, dword [esi]
test ecx, ecx
je 0x10007d9f
cmp byte [ecx + 0xab], 0
je 0x10007d9f
mov eax, dword [ecx + 0xc]
and eax, 0x40200
cmp eax, 0x40200
jne 0x10007da9
sub esi, 4
sub edx, 1
jns 0x10007d81
xor ecx, ecx
mov edx, 1
call fcn.1000e470
mov ecx, dword [edi + 0x3e58]
test ecx, ecx
jns 0x10007dd9
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 + 0x3e54]
call fcn.10018f70
mov dword [edi + 0x3e54], 0
mov ecx, dword [edi + 0x47e4]
test ecx, ecx
jns 0x10007e09
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 + 0x47e0]
call fcn.10018ef0
lea esi, [edi + 0x47bc]
mov dword [edi + 0x47e0], 0
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x10007e38
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.10018880
mov dword [esi], 0
cmp dword [esi + 4], 0
jne 0x10007e4d
push 8
mov ecx, esi
call fcn.10018880
mov ecx, dword [esi]
mov eax, dword [esi + 8]
push 0
mov dword [eax + ecx*4], 0
lea ecx, [edi + 0x47c8]
inc dword [esi]
call fcn.10018650
call fcn.10017d70
call fcn.10017f80
mov al, byte [edi + 0x5b41]
test al, al
je 0x10007e90
sub al, 1
mov byte [edi + 0x5b41], al
jne 0x10007e90
mov dword [edi + 0x46d4], 0
mov al, byte [edi + 0x5b40]
test al, al
je 0x10007eb8
sub al, 1
mov byte [edi + 0x5b40], al
jne 0x10007eb8
push str._Auto_disabled_ImGuiDebugLogFlags_EventClipper_to_avoid_spamming__n
call fcn.100179f0
add esp, 4
and dword [edi + 0x5b20], 0xffffffef
mov eax, dword [0x10087578]
xor edx, edx
mov byte [edi + 0x3e05], 1
mov ecx, str.DebugDefault
push 0
or dword [eax + 0x472c], 2
mov dword [eax + 0x474c], 0x43c80000
mov dword [eax + 0x4750], 0x43c80000
mov dword [eax + 0x4734], 4
call fcn.1000be00
add esp, 4
cmp byte [edi + 0x65], 0
je 0x10007f35
mov cl, byte [edi + 0x5b42]
cmp cl, 0xff
jne 0x10007f0f
xor edx, edx
jmp 0x10007f38
mov eax, dword [edi + 0x3df8]
and eax, 0x80000003
jns 0x10007f21
dec eax
or eax, 0xfffffffc
inc eax
neg eax
movsx ecx, cl
sbb eax, eax
inc eax
add eax, ecx
mov ecx, 0xa
cdq
idiv ecx
jmp 0x10007f38
or dl, 0xff
xor esi, esi
mov byte [edi + 0x5b42], dl
cmp dword [edi + 0x5abc], esi
jle 0x10007f7c
xor ecx, ecx
mov dword [esp + 0x20], ecx
nop
mov eax, dword [edi + 0x5ac4]
add eax, ecx
cmp dword [eax + 4], 1
jne 0x10007f6c
push eax
mov eax, dword [eax + 0xc]
push edi
call eax
mov ecx, dword [esp + 0x28]
add esp, 8
inc esi
add ecx, 0x14
mov dword [esp + 0x20], ecx
cmp esi, dword [edi + 0x5abc]
jl 0x10007f50
pop edi
pop esi
mov esp, ebp
pop ebp
ret