Function at 0x1000ba10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x34
push ebx
mov ebx, dword [0x1004e504]
push esi
push edi
mov dword [esp + 0x20], ebx
mov eax, dword [ebx + 0x5d90]
sub eax, 1
mov dword [esp + 0x28], eax
js 0x1000baa0
lea edi, [eax + eax*4]
shl edi, 2
nop dword [eax + eax]
mov ecx, dword [ebx + 0x5d98]
cmp dword [ecx + edi + 4], 7
jne 0x1000ba94
mov esi, ecx
mov eax, 0x66666667
sub ecx, esi
add ecx, edi
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 [ebx + 0x5d90]
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 [ebx + 0x5d90]
dec eax
sub edi, 0x14
mov dword [esp + 0x28], eax
test eax, eax
jns 0x1000ba40
mov eax, dword [ebx + 0x5d90]
mov esi, dword [ebx + 0x5d98]
lea eax, [eax + eax*4]
lea edi, [esi + eax*4]
cmp esi, edi
je 0x1000bacd
cmp dword [esi + 4], 0
jne 0x1000bac6
mov eax, dword [esi + 0xc]
push esi
push ebx
call eax
add esp, 8
add esi, 0x14
cmp esi, edi
jne 0x1000bab6
mov esi, dword [0x1004e504]
cmp byte [esi + 0x4a], 0
je 0x1000bae3
test byte [esi + 0xc], 2
jne 0x1000bae3
mov byte [esi + 0x4a], 0
cmp byte [esi + 0x5d58], 0
mov eax, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov dword [esp + 0x24], 6
mov dword [esp + 0x28], eax
jne 0x1000bba3
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x1000bb9c
push ecx
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
call fcn.100074e0
mov edi, eax
add esp, 8
test edi, edi
je 0x1000bb9c
mov edx, dword [esp + 0x1c]
test edx, edx
je 0x1000bb37
mov ecx, edi
call fcn.1001cb50
mov ecx, dword [0x1004e504]
test ecx, ecx
je 0x1000bb94
movsx eax, word [ecx + 0x5e6c]
mov edx, dword [ecx + 0x3f08]
add eax, 0xbce
mov dword [esp + 0x30], edx
cmp dword [ecx + eax*8], edx
lea eax, [ecx + eax*8]
je 0x1000bb8a
movsx eax, word [ecx + 0x5e6c]
inc eax
cdq
idiv dword [esp + 0x24]
movzx eax, dx
mov edx, dword [esp + 0x30]
mov word [ecx + 0x5e6c], ax
cwde
add eax, 0xbce
lea eax, [ecx + eax*8]
mov dword [eax], edx
xor edx, edx
mov dword [eax + 4], edx
inc word [eax + 6]
inc dword [ecx + 0x5e68]
push edi
call dword [esp + 0x2c]
add esp, 4
mov byte [esi + 0x5d58], 1
movss xmm0, dword [esi + 0x5d5c]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x1000bc30
subss xmm0, dword [esi + 0x18]
comiss xmm1, xmm0
movss dword [esi + 0x5d5c], xmm0
jb 0x1000bc30
mov edi, dword [esi + 0x20]
test edi, edi
je 0x1000bc1f
mov eax, dword [0x1004e504]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], 0
mov dword [eax + 0x5d5c], 0
call fcn.1001cde0
mov edx, 0x10047208
mov dword [esp + 0x30], eax
mov ecx, edi
call fcn.10007440
mov edi, eax
test edi, edi
je 0x1000bc26
push edi
push dword [esp + 0x20]
push 1
push dword [esp + 0x3c]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x14
jmp 0x1000bc26
mov byte [esi + 0x92], 1
mov dword [esi + 0x5d5c], 0
movss xmm0, dword [ebx + 0x18]
xor eax, eax
inc dword [ebx + 0x3f08]
cvtps2pd xmm0, xmm0
mov byte [ebx + 0x3f14], 1
mov word [ebx + 0x5cbc], ax
mov dword [ebx + 0x3f7c], eax
addsd xmm0, qword [ebx + 0x3f00]
movsd qword [ebx + 0x3f00], xmm0
mov ecx, dword [ebx + 0x5cd0]
test ecx, ecx
jns 0x1000bc8a
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, [ebx + 0x5ccc]
call fcn.1001e680
mov dword [ebx + 0x5ccc], 0
mov ecx, 0x3c
mov eax, dword [ebx + 0x5f90]
movss xmm1, dword [ebx + 0x18]
movaps xmm0, xmm1
movss xmm2, dword [0x1004bf54]
subss xmm0, dword [ebx + eax*4 + 0x5ea0]
addss xmm0, dword [ebx + 0x5f98]
movss dword [ebx + 0x5f98], xmm0
movss dword [ebx + eax*4 + 0x5ea0], xmm1
mov eax, dword [ebx + 0x5f90]
inc eax
movss xmm1, dword [ebx + 0x5f98]
cdq
idiv ecx
mov eax, dword [ebx + 0x5f94]
movss xmm0, dword [0x1004c018]
inc eax
cmp eax, ecx
mov dword [ebx + 0x5f90], edx
movss dword [esp + 0x1c], xmm0
cmovl ecx, eax
comiss xmm1, dword [0x1004bed0]
mov dword [ebx + 0x5f94], ecx
jbe 0x1000bd24
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movaps xmm0, xmm2
divss xmm0, xmm1
movss dword [ebx + 0x98], xmm0
mov ecx, dword [ebx + 0x3f30]
test ecx, ecx
jns 0x1000bd52
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, [ebx + 0x3f2c]
call fcn.1001ee40
mov dword [ebx + 0x3f2c], 0
mov cl, byte [ebx + 0x46]
call fcn.10016540
mov edi, dword [0x1004e504]
xorps xmm3, xmm3
mov dword [esp + 0x2c], edi
mov eax, dword [edi + 0x4a00]
mov edx, dword [eax]
mov dword [edx], 5
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 0x14]
mov dword [edx + 0xc], eax
mov dword [edx + 0x10], ecx
mov esi, dword [edi + 0x4a00]
mov eax, dword [edi + 0x49f8]
lea eax, [esi + eax*4]
cmp esi, eax
je 0x1000be80
mov ebx, eax
mov edx, dword [esi]
add esi, 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 esi, ebx
jne 0x1000bdb2
mov ebx, dword [esp + 0x20]
mov eax, dword [ebx + 0x2c]
mov byte [eax + 0x10], 1
mov esi, dword [edi + 0x38]
test esi, esi
jne 0x1000be96
mov eax, dword [edi + 0x2c]
mov eax, dword [eax + 0x44]
mov esi, dword [eax]
movss xmm1, dword [edi + 0x30]
movss xmm2, dword [0x1004bf54]
mov ecx, dword [edi + 0x3f88]
movaps xmm0, xmm2
mov dword [edi + 0x3cf0], esi
mulss xmm1, dword [esi + 0x10]
mulss xmm1, dword [esi + 0x4c]
maxss xmm0, xmm1
movss dword [edi + 0x3cf8], xmm0
test ecx, ecx
je 0x1000bef2
mov eax, dword [ecx]
movss xmm0, dword [eax + 0x3cf8]
mov eax, dword [ecx + 0x300]
mulss xmm0, dword [ecx + 0x264]
test eax, eax
je 0x1000bef5
mulss xmm0, dword [eax + 0x264]
jmp 0x1000bef5
movaps xmm0, xmm3
movss xmm7, dword [esp + 0x1c]
movss xmm5, dword [0x1004c03c]
movaps xmm6, xmm7
movss dword [edi + 0x3cf4], xmm0
movaps xmm4, xmm5
mov edx, dword [esi + 0x30]
mov eax, dword [edx + 0x34]
mov ecx, dword [edx + 0x38]
mov dword [edi + 0x3cfc], eax
lea eax, [edx + 0x60]
mov dword [edi + 0x3d00], ecx
mov dword [edi + 0x3ef8], eax
mov dword [edi + 0x3d04], esi
movss dword [edi + 0x3d08], xmm0
mov ecx, dword [ebx + 0x4a00]
mov eax, dword [ebx + 0x49f8]
lea edx, [ecx + eax*4]
cmp ecx, edx
je 0x1000bf9b
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 0x1000bf74
movaps xmm7, xmm3
comiss xmm6, xmm2
jbe 0x1000bf7c
movaps xmm6, xmm2
comiss xmm0, xmm5
jbe 0x1000bf84
movaps xmm5, xmm0
comiss xmm1, xmm4
jbe 0x1000bf8c
movaps xmm4, xmm1
add ecx, 4
cmp ecx, edx
jne 0x1000bf50
movss xmm2, dword [0x1004bf54]
movss dword [ebx + 0x3d14], xmm7
movss dword [ebx + 0x3d18], xmm6
movss dword [ebx + 0x3d1c], xmm5
movss dword [ebx + 0x3d20], xmm4
mov eax, dword [ebx + 0x3984]
movss xmm1, dword [ebx + 0x3988]
mov dword [ebx + 0x3d0c], eax
movss xmm0, dword [ebx + 0x3d10]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1000c0ce
movss dword [ebx + 0x3d10], xmm1
xor esi, esi
mov edi, 0x200
movd xmm0, esi
cvtdq2ps xmm0, xmm0
test esi, esi
je 0x1000c07b
movss xmm1, dword [ebx + 0x3d10]
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 [0x1004bf94]
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 0x1000c071
mov eax, 4
jmp 0x1000c080
cmp eax, 0x200
cmovg eax, edi
jmp 0x1000c080
mov eax, 0x30
movss xmm2, dword [0x1004bf54]
mov byte [esi + ebx + 0x3eb8], al
inc esi
cmp esi, 0x40
jl 0x1000bff3
movsd xmm0, qword [0x1004bf60]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [0x1004bf54]
cvtsd2ss xmm0, xmm0
mov edi, dword [esp + 0x2c]
subss xmm1, xmm0
movss xmm0, dword [ebx + 0x3d10]
divss xmm0, xmm1
movss dword [ebx + 0x3eb4], xmm0
xor edx, edx
mov dword [ebx + 0x3d24], 0
cmp byte [ebx + 0x3980], dl
je 0x1000c0f1
mov dword [ebx + 0x3d24], 1
mov edx, 1
cmp byte [ebx + 0x3981], 0
mov ecx, edx
je 0x1000c113
mov eax, dword [ebx + 0x3cf0]
mov eax, dword [eax + 0x30]
test byte [eax], 4
jne 0x1000c113
or ecx, 2
mov dword [ebx + 0x3d24], ecx
cmp byte [ebx + 0x3982], 0
je 0x1000c125
or ecx, 4
mov dword [ebx + 0x3d24], ecx
test byte [ebx + 0xc], 8
je 0x1000c134
or ecx, 8
mov dword [ebx + 0x3d24], ecx
mov ecx, dword [ebx + 0x4a00]
mov eax, dword [ebx + 0x49f8]
lea edx, [ecx + eax*4]
cmp ecx, edx
je 0x1000c154
mov eax, dword [ecx]
add ecx, 4
mov byte [eax + 0x38], 0
cmp ecx, edx
jne 0x1000c147
cmp byte [ebx + 0x4be4], 0
je 0x1000c188
mov eax, dword [ebx + 0x4bfc]
cmp eax, dword [ebx + 0x3fd8]
jne 0x1000c188
cmp dword [edi + 0x3fd8], eax
jne 0x1000c179
mov dword [edi + 0x3fdc], eax
cmp dword [edi + 0x4000], eax
jne 0x1000c188
mov byte [edi + 0x4004], 1
cmp dword [ebx + 0x3fc8], 0
jne 0x1000c19d
mov dword [ebx + 0x3fd0], 0
jmp 0x1000c1af
mov eax, dword [ebx + 0x3fc4]
test eax, eax
je 0x1000c1b9
cmp dword [ebx + 0x3fd8], eax
jne 0x1000c1b9
mov dword [ebx + 0x3fd4], 0
mov eax, dword [ebx + 0x3fc4]
test eax, eax
je 0x1000c1f3
movss xmm1, dword [ebx + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [ebx + 0x3fd0]
movss dword [ebx + 0x3fd0], xmm0
cmp dword [ebx + 0x3fd8], eax
je 0x1000c1f3
addss xmm1, dword [ebx + 0x3fd4]
movss dword [ebx + 0x3fd4], xmm1
mov dword [ebx + 0x3fc8], eax
mov eax, dword [ebx + 0x3fd8]
mov dword [ebx + 0x3fc4], 0
mov word [ebx + 0x3fcc], 0
test eax, eax
je 0x1000c24b
cmp dword [ebx + 0x3fdc], eax
je 0x1000c24b
cmp dword [ebx + 0x4000], eax
jne 0x1000c24b
test byte [ebx + 0x5df4], 1
je 0x1000c23c
push str.NewFrame__:_ClearActiveID___because_it_isnt_marked_alive_anymore__n
call fcn.1001d730
add esp, 4
xor edx, edx
xor ecx, ecx
call fcn.1000ad50
mov edi, dword [0x1004e504]
mov esi, dword [ebx + 0x3fd8]
test esi, esi
je 0x1000c26a
movss xmm0, dword [ebx + 0x18]
addss xmm0, dword [ebx + 0x3fe0]
movss dword [ebx + 0x3fe0], xmm0
mov eax, dword [ebx + 0x3ff4]
movss xmm0, dword [ebx + 0x18]
addss xmm0, dword [ebx + 0x4010]
mov dword [ebx + 0x4008], eax
mov al, byte [ebx + 0x3fe8]
mov byte [ebx + 0x4005], al
mov eax, dword [ebx + 0x5c2c]
movss dword [ebx + 0x4010], xmm0
mov dword [ebx + 0x4000], esi
mov dword [ebx + 0x3fdc], 0
mov byte [ebx + 0x3fe9], 0
mov byte [ebx + 0x4004], 0
mov byte [ebx + 0x3fe4], 0
test eax, eax
je 0x1000c2d4
cmp esi, eax
je 0x1000c2d4
mov dword [ebx + 0x5c2c], 0
test esi, esi
jne 0x1000c2f3
mov dword [ebx + 0x48a0], esi
mov dword [ebx + 0x4898], esi
mov byte [ebx + 0x489c], 0
mov dword [ebx + 0x48a0], esi
jmp 0x1000c318
mov eax, dword [ebx + 0x48a0]
test eax, eax
je 0x1000c318
test al, 2
je 0x1000c318
mov edx, 0x20e
mov ecx, edi
call fcn.10006750
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
mov ecx, dword [ebx + 0x4d1c]
test ecx, ecx
je 0x1000c33b
movss xmm0, dword [ebx + 0x4d38]
comiss xmm0, dword [ebx + 0x3cdc]
jb 0x1000c345
mov dword [ebx + 0x4d2c], ecx
jmp 0x1000c345
mov dword [ebx + 0x4d2c], 0
mov eax, dword [ebx + 0x3f8c]
test eax, eax
je 0x1000c36b
movss xmm0, dword [ebx + 0x4d38]
comiss xmm0, dword [ebx + 0x3cdc]
jb 0x1000c375
mov eax, dword [eax + 8]
mov dword [ebx + 0x4d30], eax
jmp 0x1000c375
mov dword [ebx + 0x4d30], 0
movss xmm0, dword [ebx + 0x4d24]
mov dword [ebx + 0x4d20], ecx
test ecx, ecx
je 0x1000c3a0
addss xmm0, dword [ebx + 0x18]
mov dword [ebx + 0x4d1c], 0
movss dword [ebx + 0x4d24], xmm0
jmp 0x1000c3e0
comiss xmm0, dword [0x1004bed0]
jbe 0x1000c3ea
movss xmm1, dword [ebx + 0x18]
movss xmm0, dword [0x1004bf0c]
movaps xmm2, xmm1
addss xmm2, dword [ebx + 0x4d28]
addss xmm1, xmm1
movss dword [ebx + 0x4d28], xmm2
maxss xmm0, xmm1
comiss xmm2, xmm0
jb 0x1000c3ea
mov dword [ebx + 0x4d24], 0
mov dword [ebx + 0x4d28], 0
mov eax, dword [ebx + 0x4c58]
mov dword [ebx + 0x4c5c], eax
mov dword [ebx + 0x4c58], 0
mov dword [ebx + 0x4c54], 0x7f7fffff
mov word [ebx + 0x4be5], 0
mov dword [ebx + 0x4c64], 0
call fcn.10015260
call fcn.10019820
call fcn.10015700
call fcn.1000b7a0
mov esi, dword [0x1004e504]
mov ecx, dword [esi + 0x3f94]
test ecx, ecx
je 0x1000c4f0
mov eax, dword [esi + 0x3fd8]
mov dword [esi + 0x3fdc], eax
cmp dword [esi + 0x4000], eax
jne 0x1000c460
mov byte [esi + 0x4004], 1
cmp byte [esi + 0xe08], 0
mov edi, dword [ecx + 0x308]
je 0x1000c4e4
lea eax, [esi + 0xe00]
mov ecx, eax
test eax, eax
jne 0x1000c485
lea ecx, [esi + 0xe00]
movss xmm0, dword [ecx]
movss xmm1, dword [0x1004c038]
comiss xmm0, xmm1
movss xmm2, dword [ecx + 4]
jb 0x1000c4e4
comiss xmm2, xmm1
jb 0x1000c4e4
movss xmm0, dword [eax]
lea edx, [esp + 0x38]
subss xmm0, dword [esi + 0x3fec]
push 1
mov ecx, edi
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, dword [esi + 0x3ff0]
movss dword [esp + 0x40], xmm0
call fcn.10014770
mov ecx, dword [esi + 0x3f94]
add esp, 4
xor edx, edx
call fcn.100142f0
jmp 0x1000c52c
mov dword [esi + 0x3f94], 0
jmp 0x1000c523
mov ecx, dword [esi + 0x3ff4]
test ecx, ecx
je 0x1000c52c
mov eax, dword [esi + 0x3fd8]
cmp dword [ecx + 0x74], eax
jne 0x1000c52c
mov dword [esi + 0x3fdc], eax
cmp dword [esi + 0x4000], eax
jne 0x1000c51a
mov byte [esi + 0x4004], 1
cmp byte [esi + 0xe08], 0
jne 0x1000c52c
xor edx, edx
xor ecx, ecx
call fcn.1000ad50
mov eax, dword [0x1004e504]
movss xmm2, dword [0x1004bfa4]
mov edx, dword [eax + 0x49d0]
sub edx, 1
js 0x1000c56a
mov eax, dword [eax + 0x49d8]
lea ecx, [edx + edx*4]
lea eax, [eax + ecx*8]
add eax, 4
mov ecx, dword [eax]
test ecx, ecx
je 0x1000c562
test dword [ecx + 0xc], 0x8000000
jne 0x1000c584
sub eax, 0x28
sub edx, 1
jns 0x1000c553
cmp dword [ebx + 0x4bb8], 0
je 0x1000c59f
movss xmm0, dword [ebx + 0x4bc8]
comiss xmm0, dword [0x1004bed0]
jbe 0x1000c59f
movss xmm1, dword [ebx + 0x18]
mulss xmm1, xmm2
addss xmm1, dword [ebx + 0x4be0]
minss xmm1, dword [0x1004bf54]
jmp 0x1000c5c0
movss xmm0, dword [ebx + 0x18]
mulss xmm0, dword [0x1004bfb4]
movss xmm1, dword [ebx + 0x4be0]
subss xmm1, xmm0
maxss xmm1, dword [0x1004bed0]
movss dword [ebx + 0x4be0], xmm1
movups xmm0, xmmword [ebx + 0x5d38]
mov dword [ebx + 0x4d34], 0
mov dword [ebx + 0x5fa4], 0xffffffff
mov dword [ebx + 0x5fa0], 0xffffffff
mov dword [ebx + 0x5f9c], 0xffffffff
movups xmmword [ebx + 0x5d48], xmm0
mov byte [ebx + 0x5d38], 0
call fcn.10015af0
cmp byte [ebx + 0x3f17], 0
jne 0x1000c638
movss xmm0, dword [ebx + 0x4c]
xorps xmm1, xmm1
comiss xmm1, xmm0
ja 0x1000c638
movsd xmm1, qword [ebx + 0x3f00]
cvtpd2ps xmm1, xmm1
subss xmm1, xmm0
movss dword [esp + 0x1c], xmm1
jmp 0x1000c63e
movss xmm1, dword [esp + 0x1c]
mov edi, dword [ebx + 0x3f48]
mov eax, dword [ebx + 0x3f40]
lea eax, [edi + eax*4]
mov dword [esp + 0x30], eax
cmp edi, eax
je 0x1000c713
mov ebx, eax
nop dword [eax + eax]
mov esi, dword [edi]
mov ax, word [esi + 0xbc]
mov cl, byte [esi + 0xae]
mov word [esi + 0xbe], ax
xor eax, eax
mov byte [esi + 0xaf], cl
mov byte [esi + 0xae], 0
mov byte [esi + 0xb0], 0
mov word [esi + 0xbc], ax
test cl, cl
jne 0x1000c6fe
cmp byte [esi + 0x360], al
jne 0x1000c6fe
comiss xmm1, dword [esi + 0x244]
jbe 0x1000c6fe
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]
lea ecx, [esi + 0xec]
mov dword [esi + 0x35c], eax
call fcn.100046c0
mov ecx, dword [esi + 0x26c]
call fcn.10027b40
lea ecx, [esi + 0x188]
call fcn.100046c0
lea ecx, [esi + 0x1b0]
call fcn.100046c0
lea ecx, [esi + 0x1bc]
call fcn.100046c0
movss xmm1, dword [esp + 0x1c]
add edi, 4
cmp edi, ebx
jne 0x1000c660
mov ebx, dword [esp + 0x20]
xor ecx, ecx
mov dword [esp + 0x2c], ecx
cmp dword [ebx + 0x4cc8], ecx
jle 0x1000c875
xor edx, edx
xorps xmm1, xmm1
mov dword [esp + 0x30], edx
nop
mov eax, dword [ebx + 0x4cd0]
movss xmm0, dword [eax + ecx*4]
comiss xmm0, xmm1
jb 0x1000c85a
movss xmm1, dword [esp + 0x1c]
comiss xmm1, xmm0
jbe 0x1000c857
mov esi, dword [ebx + 0x4cb0]
mov edi, dword [0x1004e504]
add esi, edx
mov dword [esp + 0x38], edi
mov dword [esi + 0x1a8], 0
mov ecx, dword [esi + 0x1a4]
test ecx, ecx
je 0x1000c7fa
mov dword [esi + 0x1a0], 0
mov dword [esi + 0x19c], 0
test edi, edi
je 0x1000c7e8
movsx eax, word [edi + 0x5e6c]
mov edx, dword [edi + 0x3f08]
add eax, 0xbce
mov dword [esp + 0x34], edx
cmp dword [edi + eax*8], edx
lea eax, [edi + eax*8]
je 0x1000c7de
movsx eax, word [edi + 0x5e6c]
inc eax
cdq
idiv dword [esp + 0x24]
movzx eax, dx
mov edx, dword [esp + 0x34]
mov word [edi + 0x5e6c], ax
cwde
add eax, 0xbce
lea eax, [edi + eax*8]
mov dword [eax], edx
xor edx, edx
mov dword [eax + 4], edx
inc word [eax + 6]
inc dword [edi + 0x5e68]
push ecx
call dword [esp + 0x2c]
add esp, 4
mov dword [esi + 0x1a4], 0
lea ecx, [esi + 0x15c]
mov byte [esi + 0x1ed], 1
call fcn.100046c0
xor edx, edx
mov byte [esi + 0x1fc], 1
cmp dword [esi + 0x40], edx
jle 0x1000c839
xor ecx, ecx
or edi, 0xffffffff
nop
mov eax, dword [esi + 0x10]
lea ecx, [ecx + 0x70]
inc edx
mov word [ecx + eax - 0x20], di
cmp edx, dword [esi + 0x40]
jl 0x1000c820
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x38]
sub esi, dword [edi + 0x4cb0]
mov eax, dword [edi + 0x4cd0]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
sar esi, 9
mov dword [eax + esi*4], 0xbf800000
xorps xmm1, xmm1
inc ecx
add edx, 0x200
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
cmp ecx, dword [ebx + 0x4cc8]
jl 0x1000c730
imul edi, dword [ebx + 0x4c9c], 0x6c
mov esi, dword [ebx + 0x4ca4]
add edi, esi
cmp esi, edi
je 0x1000c8be
xorps xmm1, xmm1
nop dword [eax + eax]
movss xmm0, dword [esi + 4]
comiss xmm0, xmm1
jb 0x1000c8b7
movss xmm1, dword [esp + 0x1c]
comiss xmm1, xmm0
jbe 0x1000c8b4
lea ecx, [esi + 0x14]
call fcn.1002a290
mov dword [esi + 4], 0xbf800000
xorps xmm1, xmm1
add esi, 0x6c
cmp esi, edi
jne 0x1000c890
cmp byte [ebx + 0x3f17], 0
je 0x1000c972
mov esi, dword [0x1004e504]
lea ecx, [esi + 0x49b8]
call fcn.100046c0
mov edi, dword [esi + 0x49cc]
test edi, edi
je 0x1000c96d
mov ecx, dword [0x1004e504]
mov dword [esi + 0x49c8], 0
mov dword [esi + 0x49c4], 0
test ecx, ecx
je 0x1000c95b
movsx eax, word [ecx + 0x5e6c]
mov edx, dword [ecx + 0x3f08]
add eax, 0xbce
mov dword [esp + 0x38], edx
cmp dword [ecx + eax*8], edx
lea eax, [ecx + eax*8]
je 0x1000c951
movsx eax, word [ecx + 0x5e6c]
inc eax
cdq
idiv dword [esp + 0x24]
movzx eax, dx
mov edx, dword [esp + 0x38]
mov word [ecx + 0x5e6c], ax
cwde
add eax, 0xbce
lea eax, [ecx + eax*8]
mov dword [eax], edx
xor edx, edx
mov dword [eax + 4], edx
inc word [eax + 6]
inc dword [ecx + 0x5e68]
push edi
call dword [esp + 0x2c]
add esp, 4
mov dword [esi + 0x49cc], 0
call fcn.100321e0
mov eax, dword [ebx + 0x4a04]
mov byte [ebx + 0x3f17], 0
test eax, eax
je 0x1000c9d7
cmp byte [eax + 0xaf], 0
jne 0x1000c9d7
mov eax, dword [0x1004e504]
mov edx, dword [eax + 0x3f4c]
sub edx, 1
js 0x1000c9cb
mov eax, dword [eax + 0x3f54]
lea esi, [eax + edx*4]
mov ecx, dword [esi]
test ecx, ecx
je 0x1000c9c3
cmp byte [ecx + 0xaf], 0
je 0x1000c9c3
mov eax, dword [ecx + 0xc]
and eax, 0x10200
cmp eax, 0x10200
jne 0x1000c9cd
sub esi, 4
sub edx, 1
jns 0x1000c9a5
xor ecx, ecx
mov edx, 1
call fcn.100142f0
mov ecx, dword [ebx + 0x3f68]
test ecx, ecx
jns 0x1000c9fd
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, [ebx + 0x3f64]
call fcn.1001ed80
mov dword [ebx + 0x3f64], 0
mov ecx, dword [ebx + 0x49e0]
test ecx, ecx
jns 0x1000ca2d
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, [ebx + 0x49dc]
call fcn.1001ecb0
lea esi, [ebx + 0x49b8]
mov dword [ebx + 0x49dc], 0
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x1000ca5c
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.1001e680
mov dword [esi], 0
cmp dword [esi + 4], 0
jne 0x1000ca71
push 8
mov ecx, esi
call fcn.1001e680
mov ecx, dword [esi]
mov eax, dword [esi + 8]
push 0
mov dword [eax + ecx*4], 0
lea ecx, [ebx + 0x49c4]
inc dword [esi]
call fcn.1001e340
call fcn.1001dab0
mov edx, dword [0x1004e504]
mov esi, edx
mov dword [esi + 0x3fc0], 0
mov eax, dword [esi + 0x5e44]
inc eax
cmp dword [esi + 0x3f08], eax
jne 0x1000cba3
mov edi, dword [esi + 0x3fc8]
test edi, edi
jne 0x1000cac6
mov edi, dword [esi + 0x3fd8]
cmp dword [esi + 0x5e4c], edi
je 0x1000cb19
lea eax, [esi + 0x5e50]
mov dword [esi + 0x5e4c], edi
mov dword [esi + 0x5e48], 0xffffffff
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x1000cb13
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, [esi + 0x5e50]
call fcn.1001ef20
mov edx, dword [0x1004e504]
lea eax, [esi + 0x5e50]
mov dword [eax], 0
test edi, edi
je 0x1000cba3
mov eax, dword [esi + 0x5e48]
test eax, eax
js 0x1000cb6c
mov ecx, eax
cmp eax, dword [esi + 0x5e50]
jge 0x1000cb7f
mov ebx, dword [esi + 0x5e58]
lea ecx, [eax + eax*8]
cmp byte [ebx + ecx*8 + 5], 0
mov ebx, dword [esp + 0x20]
jne 0x1000cb65
mov edx, dword [esi + 0x5e58]
lea ebx, [eax + eax*8]
mov ecx, eax
cmp byte [edx + ebx*8 + 4], 2
mov ebx, dword [esp + 0x20]
mov edx, dword [0x1004e504]
jle 0x1000cb7f
inc eax
mov dword [esi + 0x5e48], eax
mov ecx, eax
cmp eax, 0xffffffff
jne 0x1000cb7b
mov dword [esi + 0x3fc0], edi
jmp 0x1000cba3
test ecx, ecx
js 0x1000cba3
cmp ecx, dword [esi + 0x5e50]
jge 0x1000cba3
mov eax, dword [esi + 0x5e58]
lea ecx, [ecx + ecx*8]
mov eax, dword [eax + ecx*8]
mov dword [esi + 0x3fc0], eax
mov eax, dword [esi + 0x5e58]
inc byte [eax + ecx*8 + 4]
movss xmm0, dword [edx + 0x5e20]
xorps xmm1, xmm1
comiss xmm1, xmm0
jae 0x1000cc66
mov ecx, dword [edx + 0x4984]
mulss xmm0, dword [0x1004bfa4]
shl ecx, 4
cvtps2pd xmm0, xmm0
lea eax, [ecx + 0x3994]
add eax, edx
lea esi, [ecx + edx]
push eax
lea edi, [ecx + edx]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [0x1004bf20]
lea edx, [esi + 0x3990]
cvtsd2ss xmm0, xmm0
lea ecx, [edi + 0x398c]
movaps xmm2, xmm1
mulss xmm0, xmm1
addss xmm0, xmm1
call fcn.10007900
mov edx, dword [0x1004e504]
xorps xmm1, xmm1
add esp, 4
mov eax, dword [edx + 0x4984]
add eax, eax
mov dword [edx + eax*8 + 0x3998], 0x3f800000
movss xmm0, dword [edx + 0x5e20]
subss xmm0, dword [edx + 0x18]
comiss xmm1, xmm0
movss dword [edx + 0x5e20], xmm0
jb 0x1000cc66
mov eax, dword [edx + 0x4984]
cmp eax, 0x35
je 0x1000cc5c
movups xmm0, xmmword [edx + 0x5e24]
add eax, eax
movups xmmword [edx + eax*8 + 0x398c], xmm0
mov dword [edx + 0x4984], 0x35
mov al, byte [ebx + 0x5e15]
test al, al
je 0x1000cc84
sub al, 1
mov byte [ebx + 0x5e15], al
jne 0x1000cc84
mov dword [ebx + 0x48ac], 0
mov al, byte [ebx + 0x5e14]
test al, al
je 0x1000ccac
sub al, 1
mov byte [ebx + 0x5e14], al
jne 0x1000ccac
push str._Debug_Log:_Auto_disabled_ImGuiDebugLogFlags_EventClipper_after_2_frames__n
call fcn.1001d730
add esp, 4
and dword [ebx + 0x5df4], 0xffffffef
mov eax, dword [0x1004e504]
xor edx, edx
mov byte [ebx + 0x3f15], 1
mov ecx, str.DebugDefault
push 0
or dword [eax + 0x491c], 2
mov dword [eax + 0x493c], 0x43c80000
mov dword [eax + 0x4940], 0x43c80000
mov dword [eax + 0x4924], 4
call fcn.100115d0
add esp, 4
cmp byte [ebx + 0x65], 0
je 0x1000cd29
mov cl, byte [ebx + 0x5e16]
cmp cl, 0xff
jne 0x1000cd03
xor edx, edx
jmp 0x1000cd2c
mov eax, dword [ebx + 0x3f08]
and eax, 0x80000003
jns 0x1000cd15
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 0x1000cd2c
or dl, 0xff
mov byte [ebx + 0x5e16], dl
mov eax, dword [ebx + 0x5d90]
mov esi, dword [ebx + 0x5d98]
lea eax, [eax + eax*4]
lea edi, [esi + eax*4]
cmp esi, edi
je 0x1000cd5f
cmp dword [esi + 4], 1
jne 0x1000cd58
mov eax, dword [esi + 0xc]
push esi
push ebx
call eax
add esp, 8
add esi, 0x14
cmp esi, edi
jne 0x1000cd48
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret