Function at 0x10006500
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x34
push ebx
push esi
push edi
mov edi, dword [0x1003f738]
mov dword [esp + 0x34], edi
mov eax, dword [edi + 0x5abc]
sub eax, 1
mov dword [esp + 0x28], eax
js 0x10006590
lea ebx, [eax + eax*4]
shl ebx, 2
nop dword [eax + eax]
mov ecx, dword [edi + 0x5ac4]
cmp dword [ecx + ebx + 4], 7
jne 0x10006584
mov esi, ecx
mov eax, 0x66666667
sub ecx, esi
add ecx, ebx
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 + 0x34]
add esp, 0xc
dec dword [edi + 0x5abc]
dec eax
sub ebx, 0x14
mov dword [esp + 0x28], eax
test eax, eax
jns 0x10006530
xor esi, esi
cmp dword [edi + 0x5abc], esi
jle 0x100065c4
xor ebx, ebx
nop dword [eax]
mov eax, dword [edi + 0x5ac4]
add eax, ebx
cmp dword [eax + 4], 0
jne 0x100065b8
push eax
mov eax, dword [eax + 0xc]
push edi
call eax
add esp, 8
inc esi
add ebx, 0x14
cmp esi, dword [edi + 0x5abc]
jl 0x100065a0
mov esi, dword [0x1003f738]
cmp byte [esi + 0x4a], 0
je 0x100065da
test byte [esi + 0xc], 2
jne 0x100065da
mov byte [esi + 0x4a], 0
cmp byte [esi + 0x5a85], 0
mov ebx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov dword [esp + 0x24], ebx
jne 0x10006641
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x1000663a
push ecx
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], 0
push eax
call fcn.10003b10
mov ecx, eax
add esp, 8
mov dword [esp + 0x30], ecx
test ecx, ecx
je 0x1000663a
mov edx, dword [esp + 0x28]
test edx, edx
je 0x10006625
call fcn.10016440
mov ecx, dword [esp + 0x30]
mov eax, dword [0x1003f738]
test eax, eax
je 0x10006634
dec dword [eax + 0xac]
push ecx
call ebx
add esp, 4
mov byte [esi + 0x5a85], 1
movss xmm0, dword [esi + 0x5a88]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x100066ce
subss xmm0, dword [esi + 0x18]
comiss xmm1, xmm0
movss dword [esi + 0x5a88], xmm0
jb 0x100066ce
mov ebx, dword [esi + 0x20]
test ebx, ebx
je 0x100066bd
mov eax, dword [0x1003f738]
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], 0
mov dword [eax + 0x5a88], 0
call fcn.10016670
mov edx, 0x10037088
mov dword [esp + 0x30], eax
mov ecx, ebx
call fcn.10003a10
mov ebx, eax
test ebx, ebx
je 0x100066c4
push ebx
push dword [esp + 0x2c]
push 1
push dword [esp + 0x3c]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x14
jmp 0x100066c4
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.100180f0
mov eax, dword [edi + 0x5c6c]
mov ecx, 0x3c
movss xmm1, dword [edi + 0x18]
movaps xmm0, xmm1
movss xmm2, dword [0x1003c088]
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 [0x1003c16c]
inc eax
cmp eax, ecx
mov dword [edi + 0x5c6c], edx
movss dword [esp + 0x28], xmm0
cmovl ecx, eax
comiss xmm1, dword [0x1003bfe4]
mov dword [edi + 0x5c70], ecx
jbe 0x1000679e
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movaps xmm0, xmm2
divss xmm0, xmm1
movss dword [edi + 0x98], xmm0
mov ecx, dword [edi + 0x3e20]
test ecx, ecx
jns 0x100067cc
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.100185c0
mov dword [edi + 0x3e1c], 0
mov cl, byte [edi + 0x46]
call fcn.1000fd80
mov ebx, dword [0x1003f738]
xor esi, esi
mov dword [esp + 0x30], ebx
xorps xmm3, xmm3
mov eax, dword [ebx + 0x47f8]
mov edx, dword [eax]
mov dword [edx], 5
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 0x14]
mov dword [edx + 0xc], eax
mov dword [edx + 0x10], ecx
cmp dword [ebx + 0x47f0], esi
jle 0x100068f4
mov eax, dword [ebx + 0x47f8]
mov edx, dword [eax + esi*4]
inc esi
mov eax, dword [edx + 0x94]
mov ecx, dword [edx + 0x98]
movss xmm0, dword [edx + 8]
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
addss xmm0, dword [edx + 0x88]
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 esi, dword [ebx + 0x47f0]
jl 0x10006821
mov eax, dword [edi + 0x2c]
mov byte [eax + 0x10], 1
mov esi, dword [ebx + 0x38]
test esi, esi
jne 0x1000690a
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax + 0x44]
mov esi, dword [eax]
movss xmm1, dword [ebx + 0x30]
movss xmm2, dword [0x1003c088]
mov ecx, dword [ebx + 0x3e78]
movaps xmm0, xmm2
mov dword [ebx + 0x3be0], esi
mulss xmm1, dword [esi + 0x10]
mulss xmm1, dword [esi + 0x4c]
maxss xmm0, xmm1
movss dword [ebx + 0x3be8], xmm0
test ecx, ecx
je 0x10006966
mov eax, dword [ecx]
movss xmm0, dword [ecx + 0x264]
mulss xmm0, dword [eax + 0x3be8]
mov eax, dword [ecx + 0x300]
test eax, eax
je 0x10006969
mulss xmm0, dword [eax + 0x264]
jmp 0x10006969
movaps xmm0, xmm3
movss xmm7, dword [esp + 0x28]
movss xmm4, dword [0x1003c188]
movaps xmm6, xmm7
movss dword [ebx + 0x3be4], xmm0
movaps xmm5, xmm4
mov edx, dword [esi + 0x30]
mov eax, dword [edx + 0x34]
mov ecx, dword [edx + 0x38]
mov dword [ebx + 0x3bec], eax
lea eax, [edx + 0x60]
mov dword [ebx + 0x3bf0], ecx
mov dword [ebx + 0x3de8], eax
mov dword [ebx + 0x3bf4], esi
movss dword [ebx + 0x3bf8], xmm0
mov edx, dword [edi + 0x47f0]
test edx, edx
jle 0x10006a0d
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 0x100069e5
movaps xmm7, xmm3
comiss xmm6, xmm2
jbe 0x100069ed
movaps xmm6, xmm2
comiss xmm0, xmm4
jbe 0x100069f5
movaps xmm4, xmm0
comiss xmm1, xmm5
jbe 0x100069fd
movaps xmm5, xmm1
add ecx, 4
sub edx, 1
jne 0x100069c1
movss xmm2, dword [0x1003c088]
movss dword [edi + 0x3c04], xmm7
movss dword [edi + 0x3c08], xmm6
movss dword [edi + 0x3c0c], xmm4
movss dword [edi + 0x3c10], xmm5
mov eax, dword [edi + 0x3854]
movss xmm1, dword [edi + 0x3858]
mov dword [edi + 0x3bfc], eax
movss xmm0, dword [edi + 0x3c00]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10006b40
movss dword [edi + 0x3c00], xmm1
xor esi, esi
mov ebx, 0x200
movd xmm0, esi
cvtdq2ps xmm0, xmm0
test esi, esi
je 0x10006aed
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 [0x1003c0b0]
sub esp, 8
cvtsd2ss xmm0, xmm0
divss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd qword [esp + 0x40], xmm0
fld qword [esp + 0x40]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
fstp qword [esp + 0x40]
movsd xmm0, qword [esp + 0x40]
add esp, 8
cvtpd2ps xmm0, xmm0
cvttss2si eax, xmm0
inc eax
cdq
sub eax, edx
and eax, 0xfffffffe
cmp eax, 4
jge 0x10006ae3
mov eax, 4
jmp 0x10006af2
cmp eax, 0x200
cmovg eax, ebx
jmp 0x10006af2
mov eax, 0x30
movss xmm2, dword [0x1003c088]
mov byte [edi + esi + 0x3da8], al
inc esi
cmp esi, 0x40
jl 0x10006a65
movsd xmm0, qword [0x1003c098]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [0x1003c088]
cvtsd2ss xmm0, xmm0
mov ebx, dword [esp + 0x30]
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 0x10006b63
mov dword [edi + 0x3c14], 1
mov edx, 1
cmp byte [edi + 0x3851], 0
mov ecx, edx
je 0x10006b85
mov eax, dword [edi + 0x3be0]
mov eax, dword [eax + 0x30]
test byte [eax], 4
jne 0x10006b85
or ecx, 2
mov dword [edi + 0x3c14], ecx
cmp byte [edi + 0x3852], 0
je 0x10006b97
or ecx, 4
mov dword [edi + 0x3c14], ecx
test byte [edi + 0xc], 8
je 0x10006ba6
or ecx, 8
mov dword [edi + 0x3c14], ecx
xor ecx, ecx
mov dword [esp + 0x2c], ecx
cmp dword [edi + 0x47f0], ecx
jle 0x10006c34
nop dword [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.100180f0
mov ecx, dword [esp + 0x2c]
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 + 0x2c], ecx
cmp ecx, dword [edi + 0x47f0]
jl 0x10006bc0
mov ebx, dword [0x1003f738]
cmp byte [edi + 0x4998], 0
je 0x10006c68
mov eax, dword [edi + 0x49b0]
cmp eax, dword [edi + 0x3ec4]
jne 0x10006c68
cmp dword [ebx + 0x3ec4], eax
jne 0x10006c59
mov dword [ebx + 0x3ec8], eax
cmp dword [ebx + 0x3eec], eax
jne 0x10006c68
mov byte [ebx + 0x3ef0], 1
cmp dword [edi + 0x3eb4], 0
jne 0x10006c7d
mov dword [edi + 0x3ebc], 0
jmp 0x10006c8f
mov eax, dword [edi + 0x3eb0]
test eax, eax
je 0x10006c99
cmp dword [edi + 0x3ec4], eax
jne 0x10006c99
mov dword [edi + 0x3ec0], 0
mov eax, dword [edi + 0x3eb0]
test eax, eax
je 0x10006cd3
movss xmm1, dword [edi + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x3ebc]
movss dword [edi + 0x3ebc], xmm0
cmp dword [edi + 0x3ec4], eax
je 0x10006cd3
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 0x10006d2b
cmp dword [edi + 0x3ec8], eax
je 0x10006d2b
cmp dword [edi + 0x3eec], eax
jne 0x10006d2b
test byte [edi + 0x5b20], 1
je 0x10006d1c
push str.NewFrame__:_ClearActiveID___because_it_isnt_marked_alive_anymore__n
call fcn.10016fd0
add esp, 4
xor edx, edx
xor ecx, ecx
call fcn.10005910
mov ebx, dword [0x1003f738]
mov esi, dword [edi + 0x3ec4]
test esi, esi
je 0x10006d4a
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], esi
mov dword [edi + 0x3ec8], 0
mov byte [edi + 0x3ed5], 0
mov byte [edi + 0x3ef0], 0
mov byte [edi + 0x3ed0], 0
test eax, eax
je 0x10006db4
cmp esi, eax
je 0x10006db4
mov dword [edi + 0x59d0], 0
test esi, esi
jne 0x10006dd3
mov dword [edi + 0x46c8], esi
mov dword [edi + 0x46c0], esi
mov byte [edi + 0x46c4], 0
mov dword [edi + 0x46c8], esi
jmp 0x10006df8
mov eax, dword [edi + 0x46c8]
test eax, eax
je 0x10006df8
test al, 2
je 0x10006df8
mov edx, 0x20e
mov ecx, ebx
call fcn.10002da0
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
mov ecx, dword [edi + 0x4ac0]
test ecx, ecx
je 0x10006e1b
movss xmm0, dword [edi + 0x4adc]
comiss xmm0, dword [edi + 0x3bcc]
jb 0x10006e25
mov dword [edi + 0x4ad0], ecx
jmp 0x10006e25
mov dword [edi + 0x4ad0], 0
mov eax, dword [edi + 0x3e7c]
test eax, eax
je 0x10006e4b
movss xmm0, dword [edi + 0x4adc]
comiss xmm0, dword [edi + 0x3bcc]
jb 0x10006e55
mov eax, dword [eax + 8]
mov dword [edi + 0x4ad4], eax
jmp 0x10006e55
mov dword [edi + 0x4ad4], 0
movss xmm0, dword [edi + 0x4ac8]
mov dword [edi + 0x4ac4], ecx
test ecx, ecx
je 0x10006e80
addss xmm0, dword [edi + 0x18]
mov dword [edi + 0x4ac0], 0
movss dword [edi + 0x4ac8], xmm0
jmp 0x10006ec0
comiss xmm0, dword [0x1003bfe4]
jbe 0x10006eca
movss xmm1, dword [edi + 0x18]
movss xmm0, dword [0x1003c040]
movaps xmm2, xmm1
addss xmm2, dword [edi + 0x4acc]
addss xmm1, xmm1
movss dword [edi + 0x4acc], xmm2
maxss xmm0, xmm1
comiss xmm2, xmm0
jb 0x10006eca
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.1000eb00
call fcn.10013240
call fcn.1000efd0
call fcn.10006290
mov esi, dword [0x1003f738]
mov ecx, dword [esi + 0x3e84]
test ecx, ecx
je 0x10006fcc
mov eax, dword [esi + 0x3ec4]
mov dword [esi + 0x3ec8], eax
cmp dword [esi + 0x3eec], eax
jne 0x10006f40
mov byte [esi + 0x3ef0], 1
cmp byte [esi + 0xdc0], 0
mov ebx, dword [ecx + 0x308]
je 0x10006fc0
lea eax, [esi + 0xdb8]
mov ecx, eax
test eax, eax
jne 0x10006f61
lea ecx, [esi + 0xdb8]
movss xmm0, dword [ecx]
movss xmm1, dword [0x1003c184]
comiss xmm0, xmm1
movss xmm2, dword [ecx + 4]
jb 0x10006fc0
comiss xmm2, xmm1
jb 0x10006fc0
movss xmm0, dword [eax]
lea edx, [esp + 0x38]
subss xmm0, dword [esi + 0x3ed8]
push 1
mov ecx, ebx
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, dword [esi + 0x3edc]
movss dword [esp + 0x40], xmm0
call fcn.1000e080
mov ecx, dword [esi + 0x3e84]
add esp, 4
xor edx, edx
call fcn.1000dc30
jmp 0x10007008
mov dword [esi + 0x3e84], 0
jmp 0x10006fff
mov ecx, dword [esi + 0x3ee0]
test ecx, ecx
je 0x10007008
mov eax, dword [esi + 0x3ec4]
cmp dword [ecx + 0x70], eax
jne 0x10007008
mov dword [esi + 0x3ec8], eax
cmp dword [esi + 0x3eec], eax
jne 0x10006ff6
mov byte [esi + 0x3ef0], 1
cmp byte [esi + 0xdc0], 0
jne 0x10007008
xor edx, edx
xor ecx, ecx
call fcn.10005910
mov eax, dword [0x1003f738]
mov edx, dword [eax + 0x47d4]
sub edx, 1
js 0x1000703e
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 0x10007036
test dword [ecx + 0xc], 0x8000000
jne 0x10007058
sub eax, 0x28
sub edx, 1
jns 0x10007027
cmp dword [edi + 0x496c], 0
je 0x10007077
movss xmm0, dword [edi + 0x497c]
comiss xmm0, dword [0x1003bfe4]
jbe 0x10007077
movss xmm1, dword [edi + 0x18]
mulss xmm1, dword [0x1003c0bc]
addss xmm1, dword [edi + 0x4994]
minss xmm1, dword [0x1003c088]
jmp 0x10007098
movss xmm0, dword [edi + 0x18]
mulss xmm0, dword [0x1003c0cc]
movss xmm1, dword [edi + 0x4994]
subss xmm1, xmm0
maxss xmm1, dword [0x1003bfe4]
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.1000f390
cmp byte [edi + 0x3e07], 0
jne 0x10007110
movss xmm0, dword [edi + 0x4c]
xorps xmm1, xmm1
comiss xmm1, xmm0
ja 0x10007110
movsd xmm1, qword [edi + 0x3df0]
cvtpd2ps xmm1, xmm1
subss xmm1, xmm0
movss dword [esp + 0x28], xmm1
jmp 0x10007116
movss xmm1, dword [esp + 0x28]
xor ebx, ebx
cmp dword [edi + 0x3e30], ebx
je 0x100072c4
nop dword [eax]
nop dword [eax + eax]
mov eax, dword [edi + 0x3e38]
mov esi, dword [eax + ebx*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 0x100072b1
cmp byte [esi + 0x360], al
jne 0x100072b1
comiss xmm1, dword [esi + 0x244]
jbe 0x100072b1
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 0x100071e9
mov eax, dword [0x1003f738]
mov dword [esi + 0xe8], 0
mov dword [esi + 0xe4], 0
test eax, eax
je 0x100071d7
dec dword [eax + 0xac]
push ecx
call dword [esp + 0x28]
add esp, 4
mov dword [esi + 0xec], 0
mov ecx, dword [esi + 0x26c]
call fcn.10020640
mov ecx, dword [esi + 0x190]
test ecx, ecx
je 0x10007233
mov eax, dword [0x1003f738]
mov dword [esi + 0x18c], 0
mov dword [esi + 0x188], 0
test eax, eax
je 0x10007221
dec dword [eax + 0xac]
push ecx
call dword [esp + 0x28]
add esp, 4
mov dword [esi + 0x190], 0
mov ecx, dword [esi + 0x1b8]
test ecx, ecx
je 0x10007272
mov eax, dword [0x1003f738]
mov dword [esi + 0x1b4], 0
mov dword [esi + 0x1b0], 0
test eax, eax
je 0x10007260
dec dword [eax + 0xac]
push ecx
call dword [esp + 0x28]
add esp, 4
mov dword [esi + 0x1b8], 0
mov ecx, dword [esi + 0x1c4]
test ecx, ecx
je 0x100072b1
mov eax, dword [0x1003f738]
mov dword [esi + 0x1c0], 0
mov dword [esi + 0x1bc], 0
test eax, eax
je 0x1000729f
dec dword [eax + 0xac]
push ecx
call dword [esp + 0x28]
add esp, 4
mov dword [esi + 0x1c4], 0
movss xmm1, dword [esp + 0x28]
inc ebx
cmp ebx, dword [edi + 0x3e30]
jne 0x10007130
xor ecx, ecx
mov dword [esp + 0x2c], ecx
cmp dword [edi + 0x4a6c], ecx
jle 0x10007417
xor edx, edx
xorps xmm1, xmm1
mov dword [esp + 0x30], edx
nop
mov eax, dword [edi + 0x4a74]
movss xmm0, dword [eax + ecx*4]
comiss xmm0, xmm1
jb 0x100073fc
movss xmm1, dword [esp + 0x28]
comiss xmm1, xmm0
jbe 0x100073f9
mov esi, dword [edi + 0x4a54]
mov ebx, dword [0x1003f738]
add esi, edx
mov dword [esp + 0x38], ebx
mov dword [esi + 0x1a0], 0
mov eax, dword [esi + 0x19c]
test eax, eax
je 0x10007359
mov dword [esi + 0x198], 0
mov dword [esi + 0x194], 0
test ebx, ebx
je 0x10007347
dec dword [ebx + 0xac]
push eax
call dword [esp + 0x28]
add esp, 4
mov dword [esi + 0x19c], 0
mov byte [esi + 0x1e1], 1
mov ecx, dword [esi + 0x15c]
test ecx, ecx
je 0x1000739f
mov eax, dword [0x1003f738]
mov dword [esi + 0x158], 0
mov dword [esi + 0x154], 0
test eax, eax
je 0x1000738d
dec dword [eax + 0xac]
push ecx
call dword [esp + 0x28]
add esp, 4
mov dword [esi + 0x15c], 0
xor edx, edx
mov byte [esi + 0x1ed], 1
cmp dword [esi + 0x40], edx
jle 0x100073cb
xor ecx, ecx
or ebx, 0xffffffff
mov eax, dword [esi + 0x10]
lea ecx, [ecx + 0x70]
inc edx
mov word [eax + ecx - 0x20], bx
cmp edx, dword [esi + 0x40]
jl 0x100073b2
mov edi, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
sub esi, dword [ebx + 0x4a54]
mov eax, 0x84210843
imul esi
mov eax, dword [ebx + 0x4a74]
add edx, esi
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [esp + 0x30]
mov dword [eax + ecx*4], 0xbf800000
mov ecx, dword [esp + 0x2c]
xorps xmm1, xmm1
inc ecx
add edx, 0x1f0
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
cmp ecx, dword [edi + 0x4a6c]
jl 0x100072e0
xor eax, eax
mov dword [esp + 0x30], eax
cmp dword [edi + 0x4a40], eax
jle 0x10007475
xor esi, esi
xorps xmm1, xmm1
nop word [eax + eax]
mov ebx, dword [edi + 0x4a48]
movss xmm0, dword [esi + ebx + 4]
comiss xmm0, xmm1
jb 0x10007465
movss xmm1, dword [esp + 0x28]
comiss xmm1, xmm0
jbe 0x10007462
lea ecx, [ebx + 0x10]
add ecx, esi
call fcn.100231d0
mov eax, dword [esp + 0x30]
mov dword [esi + ebx + 4], 0xbf800000
xorps xmm1, xmm1
inc eax
add esi, 0x68
mov dword [esp + 0x30], eax
cmp eax, dword [edi + 0x4a40]
jl 0x10007430
cmp byte [edi + 0x3e07], 0
je 0x1000750c
mov esi, dword [0x1003f738]
mov eax, dword [esi + 0x47c4]
test eax, eax
je 0x100074c6
mov dword [esi + 0x47c0], 0
mov dword [esi + 0x47bc], 0
test esi, esi
je 0x100074b0
dec dword [esi + 0xac]
mov ebx, dword [esp + 0x24]
push eax
call ebx
add esp, 4
mov dword [esi + 0x47c4], 0
jmp 0x100074ca
mov ebx, dword [esp + 0x24]
mov ecx, dword [esi + 0x47d0]
test ecx, ecx
je 0x10007507
mov eax, dword [0x1003f738]
mov dword [esi + 0x47cc], 0
mov dword [esi + 0x47c8], 0
test eax, eax
je 0x100074f7
dec dword [eax + 0xac]
push ecx
call ebx
add esp, 4
mov dword [esi + 0x47d0], 0
call fcn.1002ad80
mov eax, dword [edi + 0x47fc]
mov byte [edi + 0x3e07], 0
test eax, eax
je 0x10007572
cmp byte [eax + 0xab], 0
jne 0x10007572
mov eax, dword [0x1003f738]
mov edx, dword [eax + 0x3e3c]
sub edx, 1
js 0x10007566
mov eax, dword [eax + 0x3e44]
lea esi, [eax + edx*4]
nop
mov ecx, dword [esi]
test ecx, ecx
je 0x1000755e
cmp byte [ecx + 0xab], 0
je 0x1000755e
mov eax, dword [ecx + 0xc]
and eax, 0x40200
cmp eax, 0x40200
jne 0x10007568
sub esi, 4
sub edx, 1
jns 0x10007540
xor ecx, ecx
mov edx, 1
call fcn.1000dc30
mov ecx, dword [edi + 0x3e58]
test ecx, ecx
jns 0x10007598
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.10018550
mov dword [edi + 0x3e54], 0
mov ecx, dword [edi + 0x47e4]
test ecx, ecx
jns 0x100075c8
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.100184d0
lea esi, [edi + 0x47bc]
mov dword [edi + 0x47e0], 0
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x100075f7
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.10017e60
mov dword [esi], 0
cmp dword [esi + 4], 0
jne 0x1000760c
push 8
mov ecx, esi
call fcn.10017e60
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.10017c30
call fcn.10017350
call fcn.10017560
mov al, byte [edi + 0x5b41]
test al, al
je 0x1000764f
sub al, 1
mov byte [edi + 0x5b41], al
jne 0x1000764f
mov dword [edi + 0x46d4], 0
mov al, byte [edi + 0x5b40]
test al, al
je 0x10007677
sub al, 1
mov byte [edi + 0x5b40], al
jne 0x10007677
push str._Auto_disabled_ImGuiDebugLogFlags_EventClipper_to_avoid_spamming__n
call fcn.10016fd0
add esp, 4
and dword [edi + 0x5b20], 0xffffffef
mov eax, dword [0x1003f738]
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.1000b550
add esp, 4
cmp byte [edi + 0x65], 0
je 0x100076f4
mov cl, byte [edi + 0x5b42]
cmp cl, 0xff
jne 0x100076ce
xor edx, edx
jmp 0x100076f7
mov eax, dword [edi + 0x3df8]
and eax, 0x80000003
jns 0x100076e0
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 0x100076f7
or dl, 0xff
xor esi, esi
mov byte [edi + 0x5b42], dl
cmp dword [edi + 0x5abc], esi
jle 0x10007734
xor ebx, ebx
nop dword [eax]
mov eax, dword [edi + 0x5ac4]
add eax, ebx
cmp dword [eax + 4], 1
jne 0x10007728
push eax
mov eax, dword [eax + 0xc]
push edi
call eax
add esp, 8
inc esi
add ebx, 0x14
cmp esi, dword [edi + 0x5abc]
jl 0x10007710
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret