Function at 0x100076c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x28
push esi
push edi
mov edi, dword [0x10123348]
mov dword [esp + 0x10], edi
mov edx, dword [edi + 0x5b08]
sub edx, 1
mov dword [esp + 0xc], edx
js 0x10007758
lea eax, [edx + edx*4]
shl eax, 2
mov dword [esp + 8], eax
nop
mov ecx, dword [edi + 0x5b10]
cmp dword [ecx + eax + 4], 7
jne 0x10007748
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 + 0x5b08]
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 + 0x5b08]
mov edx, dword [esp + 0xc]
dec edx
sub eax, 0x14
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
test edx, edx
jns 0x100076f0
mov eax, dword [edi + 0x5b08]
mov esi, dword [edi + 0x5b10]
lea eax, [eax + eax*4]
lea eax, [esi + eax*4]
mov dword [esp + 0x20], eax
cmp esi, eax
je 0x1000778d
cmp dword [esi + 4], 0
jne 0x10007786
mov eax, dword [esi + 0xc]
push esi
push edi
call eax
mov eax, dword [esp + 0x28]
add esp, 8
add esi, 0x14
cmp esi, eax
jne 0x10007772
mov esi, dword [0x10123348]
cmp byte [esi + 0x4a], 0
je 0x100077a3
test byte [esi + 0xc], 2
jne 0x100077a3
mov byte [esi + 0x4a], 0
cmp byte [esi + 0x5ad0], 0
mov eax, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov dword [esp + 8], eax
jne 0x1000780b
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x10007804
push ecx
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
call fcn.10003820
mov ecx, eax
add esp, 8
mov dword [esp + 0x20], ecx
test ecx, ecx
je 0x10007804
mov edx, dword [esp + 0xc]
test edx, edx
je 0x100077ed
call fcn.10017fe0
mov ecx, dword [esp + 0x20]
mov eax, dword [0x10123348]
test eax, eax
je 0x100077fc
dec dword [eax + 0xb0]
push ecx
call dword [esp + 0xc]
add esp, 4
mov byte [esi + 0x5ad0], 1
movss xmm0, dword [esi + 0x5ad4]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x100078a7
subss xmm0, dword [esi + 0x18]
comiss xmm1, xmm0
movss dword [esi + 0x5ad4], xmm0
jb 0x100078a7
mov eax, dword [esi + 0x20]
mov dword [esp + 0x20], eax
test eax, eax
je 0x10007896
mov eax, dword [0x10123348]
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0
mov dword [eax + 0x5ad4], 0
call fcn.10018270
mov ecx, dword [esp + 0x20]
mov edx, 0x10094a48
mov dword [esp + 0x18], eax
call fcn.10003720
mov dword [esp + 0x20], eax
test eax, eax
je 0x1000789d
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 0x1000789d
mov byte [esi + 0x96], 1
mov dword [esi + 0x5ad4], 0
movss xmm0, dword [edi + 0x18]
lea ecx, [edi + 0x5a4c]
inc dword [edi + 0x3de0]
xor eax, eax
cvtps2pd xmm0, xmm0
push eax
mov byte [edi + 0x3dec], 1
mov word [edi + 0x5a3c], ax
mov dword [edi + 0x3e54], eax
addsd xmm0, qword [edi + 0x3dd8]
movsd qword [edi + 0x3dd8], xmm0
call fcn.10019cd0
mov eax, dword [edi + 0x5cb8]
mov ecx, 0x3c
movss xmm1, dword [edi + 0x18]
movaps xmm0, xmm1
subss xmm0, dword [edi + eax*4 + 0x5bc8]
addss xmm0, dword [edi + 0x5cc0]
movss dword [edi + 0x5cc0], xmm0
movss dword [edi + eax*4 + 0x5bc8], xmm1
mov eax, dword [edi + 0x5cb8]
inc eax
movss xmm1, dword [edi + 0x5cc0]
cdq
idiv ecx
mov eax, dword [edi + 0x5cbc]
movss xmm0, dword [0x10099d78]
inc eax
cmp eax, ecx
mov dword [edi + 0x5cb8], edx
movss dword [esp + 0xc], xmm0
cmovl ecx, eax
comiss xmm1, dword [0x10099bf8]
mov dword [edi + 0x5cbc], ecx
jbe 0x10007974
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x10099ca0]
divss xmm0, xmm1
movss dword [edi + 0x9c], xmm0
mov ecx, dword [edi + 0x3e08]
test ecx, ecx
jns 0x100079a2
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 + 0x3e04]
call fcn.1001a1a0
mov dword [edi + 0x3e04], 0
mov cl, byte [edi + 0x46]
call fcn.100119d0
mov esi, dword [0x10123348]
xorps xmm3, xmm3
mov eax, dword [esi + 0x47ec]
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
mov ecx, dword [esi + 0x47ec]
mov eax, dword [esi + 0x47e4]
lea eax, [ecx + eax*4]
cmp ecx, eax
je 0x10007ad4
mov edi, ecx
mov esi, eax
mov edx, dword [edi]
add edi, 4
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]
movss xmm2, dword [edx + 0x84]
movaps xmm1, xmm2
addss xmm0, dword [edx + 8]
addss xmm1, dword [edx + 4]
movss dword [edx + 0x18], xmm0
movss xmm0, dword [edx + 0xc]
movss dword [edx + 0x14], xmm1
subss xmm0, xmm2
movaps xmm2, xmm3
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, esi
jne 0x10007a00
mov edi, dword [esp + 0x10]
mov esi, dword [0x10123348]
mov eax, dword [edi + 0x2c]
mov byte [eax + 0x10], 1
mov ecx, dword [esi + 0x38]
mov dword [esp + 0x14], ecx
test ecx, ecx
jne 0x10007af2
mov eax, dword [esi + 0x2c]
mov eax, dword [eax + 0x44]
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
movss xmm1, dword [esi + 0x30]
movss xmm2, dword [0x10099ca0]
mov edx, dword [esi + 0x3e60]
movaps xmm0, xmm2
mov dword [esi + 0x3bc8], ecx
mulss xmm1, dword [ecx + 0x10]
mulss xmm1, dword [ecx + 0x4c]
maxss xmm0, xmm1
movss dword [esi + 0x3bd0], xmm0
test edx, edx
je 0x10007b4e
mov eax, dword [edx]
movss xmm0, dword [edx + 0x25c]
mulss xmm0, dword [eax + 0x3bd0]
mov eax, dword [edx + 0x2f8]
test eax, eax
je 0x10007b51
mulss xmm0, dword [eax + 0x25c]
jmp 0x10007b51
movaps xmm0, xmm3
movss xmm7, dword [esp + 0xc]
movss xmm5, dword [0x10099d94]
movaps xmm6, xmm7
movss dword [esi + 0x3bcc], xmm0
movaps xmm4, xmm5
mov edx, dword [ecx + 0x30]
mov eax, dword [edx + 0x34]
mov ecx, dword [edx + 0x38]
mov dword [esi + 0x3bd4], eax
lea eax, [edx + 0x60]
mov dword [esi + 0x3dd0], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x3bd8], ecx
mov dword [esi + 0x3bdc], eax
movss dword [esi + 0x3be0], xmm0
mov ecx, dword [edi + 0x47ec]
mov eax, dword [edi + 0x47e4]
lea edx, [ecx + eax*4]
cmp ecx, edx
je 0x10007bfb
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 0x10007bd4
movaps xmm7, xmm3
comiss xmm6, xmm2
jbe 0x10007bdc
movaps xmm6, xmm2
comiss xmm0, xmm5
jbe 0x10007be4
movaps xmm5, xmm0
comiss xmm1, xmm4
jbe 0x10007bec
movaps xmm4, xmm1
add ecx, 4
cmp ecx, edx
jne 0x10007bb0
movss xmm2, dword [0x10099ca0]
mov eax, dword [edi + 0x385c]
movss xmm1, dword [edi + 0x3860]
movss dword [esp + 0x20], xmm7
movss dword [esp + 0x24], xmm6
movss dword [esp + 0x28], xmm5
movss dword [esp + 0x2c], xmm4
movups xmm0, xmmword [esp + 0x20]
mov dword [edi + 0x3be4], eax
movups xmmword [edi + 0x3bec], xmm0
movss xmm0, dword [edi + 0x3be8]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10007d34
movss dword [edi + 0x3be8], xmm1
xor esi, esi
movd xmm0, esi
cvtdq2ps xmm0, xmm0
test esi, esi
je 0x10007cdf
movss xmm1, dword [edi + 0x3be8]
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 [0x10099ccc]
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 0x10007cd0
mov eax, 4
jmp 0x10007ce4
cmp eax, 0x200
mov ecx, 0x200
cmovg eax, ecx
jmp 0x10007ce4
mov eax, 0x30
movss xmm2, dword [0x10099ca0]
mov byte [esi + edi + 0x3d90], al
inc esi
cmp esi, 0x40
jl 0x10007c52
movsd xmm0, qword [0x10099cb0]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [0x10099ca0]
cvtsd2ss xmm0, xmm0
mov esi, dword [0x10123348]
subss xmm1, xmm0
movss xmm0, dword [edi + 0x3be8]
divss xmm0, xmm1
movss dword [edi + 0x3d8c], xmm0
xor edx, edx
mov dword [edi + 0x3bfc], 0
cmp byte [edi + 0x3858], dl
je 0x10007d57
mov dword [edi + 0x3bfc], 1
mov edx, 1
cmp byte [edi + 0x3859], 0
mov ecx, edx
je 0x10007d79
mov eax, dword [edi + 0x3bc8]
mov eax, dword [eax + 0x30]
test byte [eax], 4
jne 0x10007d79
or ecx, 2
mov dword [edi + 0x3bfc], ecx
cmp byte [edi + 0x385a], 0
je 0x10007d8b
or ecx, 4
mov dword [edi + 0x3bfc], ecx
test byte [edi + 0xc], 8
je 0x10007d9a
or ecx, 8
mov dword [edi + 0x3bfc], ecx
mov ecx, dword [edi + 0x47ec]
mov eax, dword [edi + 0x47e4]
lea edx, [ecx + eax*4]
cmp ecx, edx
je 0x10007dbd
nop dword [eax]
mov eax, dword [ecx]
add ecx, 4
mov byte [eax + 0x38], 0
cmp ecx, edx
jne 0x10007db0
cmp byte [edi + 0x4988], 0
je 0x10007df1
mov eax, dword [edi + 0x49a0]
cmp eax, dword [edi + 0x3eac]
jne 0x10007df1
cmp dword [esi + 0x3eac], eax
jne 0x10007de2
mov dword [esi + 0x3eb0], eax
cmp dword [esi + 0x3ed4], eax
jne 0x10007df1
mov byte [esi + 0x3ed8], 1
cmp dword [edi + 0x3e9c], 0
jne 0x10007e06
mov dword [edi + 0x3ea4], 0
jmp 0x10007e18
mov eax, dword [edi + 0x3e98]
test eax, eax
je 0x10007e22
cmp dword [edi + 0x3eac], eax
jne 0x10007e22
mov dword [edi + 0x3ea8], 0
mov eax, dword [edi + 0x3e98]
test eax, eax
je 0x10007e5c
movss xmm1, dword [edi + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x3ea4]
movss dword [edi + 0x3ea4], xmm0
cmp dword [edi + 0x3eac], eax
je 0x10007e5c
addss xmm1, dword [edi + 0x3ea8]
movss dword [edi + 0x3ea8], xmm1
mov dword [edi + 0x3e9c], eax
mov eax, dword [edi + 0x3eac]
mov dword [edi + 0x3e98], 0
mov word [edi + 0x3ea0], 0
test eax, eax
je 0x10007eae
cmp dword [edi + 0x3eb0], eax
je 0x10007eae
cmp dword [edi + 0x3ed4], eax
jne 0x10007eae
test byte [edi + 0x5b6c], 1
je 0x10007ea5
push str.NewFrame__:_ClearActiveID___because_it_isnt_marked_alive_anymore__n
call fcn.10018bb0
add esp, 4
xor edx, edx
xor ecx, ecx
call fcn.10006ae0
mov ecx, dword [edi + 0x3eac]
test ecx, ecx
je 0x10007ecd
movss xmm0, dword [edi + 0x18]
addss xmm0, dword [edi + 0x3eb4]
movss dword [edi + 0x3eb4], xmm0
mov eax, dword [edi + 0x3ec8]
movss xmm0, dword [edi + 0x18]
addss xmm0, dword [edi + 0x3ee4]
mov dword [edi + 0x3edc], eax
mov al, byte [edi + 0x3ebc]
mov byte [edi + 0x3ed9], al
mov eax, dword [edi + 0x59c0]
movss dword [edi + 0x3ee4], xmm0
mov dword [edi + 0x3ed4], ecx
mov dword [edi + 0x3eb0], 0
mov byte [edi + 0x3ebd], 0
mov byte [edi + 0x3ed8], 0
mov byte [edi + 0x3eb8], 0
test eax, eax
je 0x10007f37
cmp ecx, eax
je 0x10007f37
mov dword [edi + 0x59c0], 0
test ecx, ecx
jne 0x10007f55
mov dword [edi + 0x46b0], ecx
mov dword [edi + 0x46a8], ecx
mov byte [edi + 0x46ac], cl
mov dword [edi + 0x46b0], ecx
jmp 0x10007f84
mov eax, dword [edi + 0x46b0]
test eax, eax
je 0x10007f84
test al, 2
je 0x10007f84
mov esi, dword [edi + 0x3eac]
mov edx, 0x20e
mov ecx, dword [0x10123348]
call fcn.10002ad0
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
mov ecx, dword [edi + 0x4ab0]
test ecx, ecx
je 0x10007fa7
movss xmm0, dword [edi + 0x4acc]
comiss xmm0, dword [edi + 0x3bb4]
jb 0x10007fb1
mov dword [edi + 0x4ac0], ecx
jmp 0x10007fb1
mov dword [edi + 0x4ac0], 0
mov eax, dword [edi + 0x3e64]
test eax, eax
je 0x10007fd7
movss xmm0, dword [edi + 0x4acc]
comiss xmm0, dword [edi + 0x3bb4]
jb 0x10007fe1
mov eax, dword [eax + 8]
mov dword [edi + 0x4ac4], eax
jmp 0x10007fe1
mov dword [edi + 0x4ac4], 0
movss xmm0, dword [edi + 0x4ab8]
mov dword [edi + 0x4ab4], ecx
test ecx, ecx
je 0x1000800c
addss xmm0, dword [edi + 0x18]
mov dword [edi + 0x4ab0], 0
movss dword [edi + 0x4ab8], xmm0
jmp 0x1000804c
comiss xmm0, dword [0x10099bf8]
jbe 0x10008056
movss xmm1, dword [edi + 0x18]
movss xmm0, dword [0x10099c58]
movaps xmm2, xmm1
addss xmm2, dword [edi + 0x4abc]
addss xmm1, xmm1
movss dword [edi + 0x4abc], xmm2
maxss xmm0, xmm1
comiss xmm2, xmm0
jb 0x10008056
mov dword [edi + 0x4ab8], 0
mov dword [edi + 0x4abc], 0
mov eax, dword [edi + 0x49ec]
mov dword [edi + 0x49f0], eax
mov dword [edi + 0x49ec], 0
mov dword [edi + 0x49e8], 0x7f7fffff
mov word [edi + 0x4989], 0
mov dword [edi + 0x49f8], 0
call fcn.10010770
call fcn.10014e30
call fcn.10010c40
call fcn.10007450
mov esi, dword [0x10123348]
mov ecx, dword [esi + 0x3e6c]
test ecx, ecx
je 0x1000815e
mov eax, dword [esi + 0x3eac]
mov dword [esi + 0x3eb0], eax
cmp dword [esi + 0x3ed4], eax
jne 0x100080cc
mov byte [esi + 0x3ed8], 1
cmp byte [esi + 0xdc4], 0
mov eax, dword [ecx + 0x300]
mov dword [esp + 0x20], eax
je 0x10008152
lea eax, [esi + 0xdbc]
mov ecx, eax
test eax, eax
jne 0x100080f1
lea ecx, [esi + 0xdbc]
movss xmm0, dword [ecx]
movss xmm1, dword [0x10099d90]
comiss xmm0, xmm1
movss xmm2, dword [ecx + 4]
jb 0x10008152
comiss xmm2, xmm1
jb 0x10008152
movss xmm0, dword [eax]
lea edx, [esp + 0x18]
subss xmm0, dword [esi + 0x3ec0]
mov ecx, dword [esp + 0x20]
push 1
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, dword [esi + 0x3ec4]
movss dword [esp + 0x20], xmm0
call fcn.1000fd30
mov ecx, dword [esi + 0x3e6c]
add esp, 4
xor edx, edx
call fcn.1000f8e0
jmp 0x1000819a
mov dword [esi + 0x3e6c], 0
jmp 0x10008191
mov ecx, dword [esi + 0x3ec8]
test ecx, ecx
je 0x1000819a
mov eax, dword [esi + 0x3eac]
cmp dword [ecx + 0x70], eax
jne 0x1000819a
mov dword [esi + 0x3eb0], eax
cmp dword [esi + 0x3ed4], eax
jne 0x10008188
mov byte [esi + 0x3ed8], 1
cmp byte [esi + 0xdc4], 0
jne 0x1000819a
xor edx, edx
xor ecx, ecx
call fcn.10006ae0
mov eax, dword [0x10123348]
mov edx, dword [eax + 0x47bc]
sub edx, 1
js 0x100081d7
mov eax, dword [eax + 0x47c4]
lea ecx, [edx + edx*4]
lea eax, [eax + ecx*8]
add eax, 4
nop dword [eax]
mov ecx, dword [eax]
test ecx, ecx
je 0x100081cf
test dword [ecx + 0xc], 0x8000000
jne 0x100081f1
sub eax, 0x28
sub edx, 1
jns 0x100081c0
cmp dword [edi + 0x495c], 0
je 0x10008210
movss xmm0, dword [edi + 0x496c]
comiss xmm0, dword [0x10099bf8]
jbe 0x10008210
movss xmm1, dword [edi + 0x18]
mulss xmm1, dword [0x10099cdc]
addss xmm1, dword [edi + 0x4984]
minss xmm1, dword [0x10099ca0]
jmp 0x10008231
movss xmm0, dword [edi + 0x18]
mulss xmm0, dword [0x10099cf0]
movss xmm1, dword [edi + 0x4984]
subss xmm1, xmm0
maxss xmm1, dword [0x10099bf8]
movss dword [edi + 0x4984], xmm1
movups xmm0, xmmword [edi + 0x5ab0]
mov dword [edi + 0x4ac8], 0
mov dword [edi + 0x5ccc], 0xffffffff
mov dword [edi + 0x5cc8], 0xffffffff
mov dword [edi + 0x5cc4], 0xffffffff
movups xmmword [edi + 0x5ac0], xmm0
mov byte [edi + 0x5ab0], 0
call fcn.10010ff0
cmp byte [edi + 0x3def], 0
jne 0x100082a9
movss xmm0, dword [edi + 0x4c]
xorps xmm1, xmm1
comiss xmm1, xmm0
ja 0x100082a9
movsd xmm1, qword [edi + 0x3dd8]
cvtpd2ps xmm1, xmm1
subss xmm1, xmm0
movss dword [esp + 0xc], xmm1
jmp 0x100082af
movss xmm1, dword [esp + 0xc]
mov ecx, dword [edi + 0x3e20]
mov eax, dword [edi + 0x3e18]
mov dword [esp + 0x20], ecx
lea eax, [ecx + eax*4]
mov dword [esp + 0x18], eax
cmp ecx, eax
je 0x10008461
mov edi, ecx
mov esi, dword [edi]
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 0x1000844a
cmp byte [esi + 0x358], al
jne 0x1000844a
comiss xmm1, dword [esi + 0x23c]
jbe 0x1000844a
mov ecx, dword [esi + 0x264]
mov byte [esi + 0x358], 1
mov eax, dword [ecx + 0x10]
mov dword [esi + 0x350], eax
mov eax, dword [ecx + 0x1c]
mov dword [esi + 0x354], eax
mov ecx, dword [esi + 0xec]
test ecx, ecx
je 0x10008382
mov eax, dword [0x10123348]
mov dword [esi + 0xe8], 0
mov dword [esi + 0xe4], 0
test eax, eax
je 0x10008370
dec dword [eax + 0xb0]
push ecx
call dword [esp + 0xc]
add esp, 4
mov dword [esi + 0xec], 0
mov ecx, dword [esi + 0x264]
call fcn.100222f0
mov ecx, dword [esi + 0x188]
test ecx, ecx
je 0x100083cc
mov eax, dword [0x10123348]
mov dword [esi + 0x184], 0
mov dword [esi + 0x180], 0
test eax, eax
je 0x100083ba
dec dword [eax + 0xb0]
push ecx
call dword [esp + 0xc]
add esp, 4
mov dword [esi + 0x188], 0
mov ecx, dword [esi + 0x1b0]
test ecx, ecx
je 0x1000840b
mov eax, dword [0x10123348]
mov dword [esi + 0x1ac], 0
mov dword [esi + 0x1a8], 0
test eax, eax
je 0x100083f9
dec dword [eax + 0xb0]
push ecx
call dword [esp + 0xc]
add esp, 4
mov dword [esi + 0x1b0], 0
mov ecx, dword [esi + 0x1bc]
test ecx, ecx
je 0x1000844a
mov eax, dword [0x10123348]
mov dword [esi + 0x1b8], 0
mov dword [esi + 0x1b4], 0
test eax, eax
je 0x10008438
dec dword [eax + 0xb0]
push ecx
call dword [esp + 0xc]
add esp, 4
mov dword [esi + 0x1bc], 0
movss xmm1, dword [esp + 0xc]
add edi, 4
cmp edi, dword [esp + 0x18]
jne 0x100082d0
mov edi, dword [esp + 0x10]
xor ecx, ecx
mov dword [esp + 0x18], ecx
cmp dword [edi + 0x4a5c], ecx
jle 0x100085ba
xor edx, edx
xorps xmm1, xmm1
mov dword [esp + 0x20], edx
nop dword [eax]
mov eax, dword [edi + 0x4a64]
movss xmm0, dword [eax + ecx*4]
comiss xmm0, xmm1
jb 0x1000859f
movss xmm1, dword [esp + 0xc]
comiss xmm1, xmm0
jbe 0x1000859c
mov esi, dword [edi + 0x4a44]
mov eax, dword [0x10123348]
add esi, edx
mov dword [esp + 0x14], eax
mov dword [esi + 0x1a0], 0
mov ecx, dword [esi + 0x19c]
test ecx, ecx
je 0x100084f8
mov dword [esi + 0x198], 0
mov dword [esi + 0x194], 0
test eax, eax
je 0x100084e6
dec dword [eax + 0xb0]
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 0x1000853e
mov eax, dword [0x10123348]
mov dword [esi + 0x158], 0
mov dword [esi + 0x154], 0
test eax, eax
je 0x1000852c
dec dword [eax + 0xb0]
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 0x10008566
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 0x10008551
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
sub esi, dword [eax + 0x4a44]
mov eax, 0x84210843
imul esi
mov eax, dword [esp + 0x14]
add edx, esi
sar edx, 8
mov ecx, edx
mov eax, dword [eax + 0x4a64]
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 + 0x4a5c]
jl 0x10008480
imul eax, dword [edi + 0x4a30], 0x68
mov esi, dword [edi + 0x4a38]
add eax, esi
mov dword [esp + 0x20], eax
cmp esi, eax
je 0x10008606
xorps xmm1, xmm1
movss xmm0, dword [esi + 4]
comiss xmm0, xmm1
jb 0x100085ff
movss xmm1, dword [esp + 0xc]
comiss xmm1, xmm0
jbe 0x100085fc
lea ecx, [esi + 0x10]
call fcn.10024d60
mov eax, dword [esp + 0x20]
mov dword [esi + 4], 0xbf800000
xorps xmm1, xmm1
add esi, 0x68
cmp esi, eax
jne 0x100085d4
cmp byte [edi + 0x3def], 0
je 0x10008697
mov esi, dword [0x10123348]
mov eax, dword [esi + 0x47ac]
test eax, eax
je 0x10008653
mov dword [esi + 0x47a8], 0
mov dword [esi + 0x47a4], 0
test esi, esi
je 0x10008641
dec dword [esi + 0xb0]
push eax
call dword [esp + 0xc]
add esp, 4
mov dword [esi + 0x47ac], 0
mov ecx, dword [esi + 0x47b8]
test ecx, ecx
je 0x10008692
mov eax, dword [0x10123348]
mov dword [esi + 0x47b4], 0
mov dword [esi + 0x47b0], 0
test eax, eax
je 0x10008680
dec dword [eax + 0xb0]
push ecx
call dword [esp + 0xc]
add esp, 4
mov dword [esi + 0x47b8], 0
call fcn.1002cb60
mov eax, dword [edi + 0x47f0]
mov byte [edi + 0x3def], 0
test eax, eax
je 0x10008702
cmp byte [eax + 0xab], 0
jne 0x10008702
mov eax, dword [0x10123348]
mov edx, dword [eax + 0x3e24]
sub edx, 1
js 0x100086f6
mov eax, dword [eax + 0x3e2c]
lea esi, [eax + edx*4]
nop word [eax + eax]
mov ecx, dword [esi]
test ecx, ecx
je 0x100086ee
cmp byte [ecx + 0xab], 0
je 0x100086ee
mov eax, dword [ecx + 0xc]
and eax, 0x40200
cmp eax, 0x40200
jne 0x100086f8
sub esi, 4
sub edx, 1
jns 0x100086d0
xor ecx, ecx
mov edx, 1
call fcn.1000f8e0
mov ecx, dword [edi + 0x3e40]
test ecx, ecx
jns 0x10008728
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 + 0x3e3c]
call fcn.1001a130
mov dword [edi + 0x3e3c], 0
mov ecx, dword [edi + 0x47cc]
test ecx, ecx
jns 0x10008758
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 + 0x47c8]
call fcn.1001a0b0
lea esi, [edi + 0x47a4]
mov dword [edi + 0x47c8], 0
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x10008787
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.10019a40
mov dword [esi], 0
cmp dword [esi + 4], 0
jne 0x1000879c
push 8
mov ecx, esi
call fcn.10019a40
mov ecx, dword [esi]
mov eax, dword [esi + 8]
push 0
mov dword [eax + ecx*4], 0
lea ecx, [edi + 0x47b0]
inc dword [esi]
call fcn.10019810
call fcn.10018f30
call fcn.10019140
mov al, byte [edi + 0x5b8d]
test al, al
je 0x100087df
sub al, 1
mov byte [edi + 0x5b8d], al
jne 0x100087df
mov dword [edi + 0x46bc], 0
mov al, byte [edi + 0x5b8c]
test al, al
je 0x10008807
sub al, 1
mov byte [edi + 0x5b8c], al
jne 0x10008807
push str._Auto_disabled_ImGuiDebugLogFlags_EventClipper_to_avoid_spamming__n
call fcn.10018bb0
add esp, 4
and dword [edi + 0x5b6c], 0xffffffef
mov eax, dword [0x10123348]
xor edx, edx
mov byte [edi + 0x3ded], 1
mov ecx, str.DebugDefault
push 0
or dword [eax + 0x4714], 2
mov dword [eax + 0x4734], 0x43c80000
mov dword [eax + 0x4738], 0x43c80000
mov dword [eax + 0x471c], 4
call fcn.1000d050
add esp, 4
cmp byte [edi + 0x65], 0
je 0x10008884
mov cl, byte [edi + 0x5b8e]
cmp cl, 0xff
jne 0x1000885e
xor edx, edx
jmp 0x10008887
mov eax, dword [edi + 0x3de0]
and eax, reloc.WS2_32.dll_closesocket
jns 0x10008870
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 0x10008887
or dl, 0xff
mov byte [edi + 0x5b8e], dl
mov eax, dword [edi + 0x5b08]
mov esi, dword [edi + 0x5b10]
lea eax, [eax + eax*4]
lea eax, [esi + eax*4]
mov dword [esp + 0x20], eax
cmp esi, eax
je 0x100088c2
cmp dword [esi + 4], 1
jne 0x100088bb
mov eax, dword [esi + 0xc]
push esi
push edi
call eax
mov eax, dword [esp + 0x28]
add esp, 8
add esi, 0x14
cmp esi, eax
jne 0x100088a7
pop edi
pop esi
mov esp, ebp
pop ebp
ret