Function at 0x1001d960
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
mov edi, dword [0x1011eb84]
mov dword [ebp - 0x14], edi
mov eax, dword [edi + 0x5a78]
sub eax, 1
mov dword [ebp - 8], eax
js 0x1001d9f0
lea ebx, [eax + eax*4]
shl ebx, 2
nop word [eax + eax]
mov edx, dword [edi + 0x5a80]
cmp dword [ebx + edx + 4], 7
jne 0x1001d9e5
mov esi, edx
mov ecx, ebx
sub ecx, esi
mov eax, 0x66666667
add ecx, edx
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 + 0x5a78]
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 [ebp - 8]
add esp, 0xc
dec dword [edi + 0x5a78]
dec eax
sub ebx, 0x14
mov dword [ebp - 8], eax
test eax, eax
jns 0x1001d990
xor esi, esi
cmp dword [edi + 0x5a78], esi
jle 0x1001da24
xor ebx, ebx
nop dword [eax]
mov eax, dword [edi + 0x5a80]
add eax, ebx
cmp dword [eax + 4], 0
jne 0x1001da18
push eax
mov eax, dword [eax + 0xc]
push edi
call eax
add esp, 8
inc esi
add ebx, 0x14
cmp esi, dword [edi + 0x5a78]
jl 0x1001da00
mov esi, dword [0x1011eb84]
cmp byte [esi + 0x66], 0
je 0x1001da3a
test byte [esi + 0xc], 2
jne 0x1001da3a
mov byte [esi + 0x66], 0
cmp byte [esi + 0x5a41], 0
mov ebx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov dword [ebp - 4], ebx
jne 0x1001da9b
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x1001da94
push ecx
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
call fcn.1001a400
mov ecx, eax
add esp, 8
mov dword [ebp - 0x10], ecx
test ecx, ecx
je 0x1001da94
mov edx, dword [ebp - 8]
test edx, edx
je 0x1001da7f
call fcn.1002f870
mov ecx, dword [ebp - 0x10]
mov eax, dword [0x1011eb84]
test eax, eax
je 0x1001da8e
dec dword [eax + 0xb4]
push ecx
call ebx
add esp, 4
mov byte [esi + 0x5a41], 1
movss xmm0, dword [esi + 0x5a44]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x1001db23
subss xmm0, dword [esi + 0x18]
comiss xmm1, xmm0
movss dword [esi + 0x5a44], xmm0
jb 0x1001db23
mov ebx, dword [esi + 0x20]
test ebx, ebx
je 0x1001db12
mov eax, dword [0x1011eb84]
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
mov dword [eax + 0x5a44], 0
call fcn.1002faa0
mov edx, 0x1005f3a0
mov dword [ebp - 0x10], eax
mov ecx, ebx
call fcn.1001a300
mov ebx, eax
test ebx, ebx
je 0x1001db19
push ebx
push dword [ebp - 8]
push 1
push dword [ebp - 0x10]
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 0x1001db19
mov byte [esi + 0x9c], 1
mov dword [esi + 0x5a44], 0
movss xmm0, dword [edi + 0x18]
lea ecx, [edi + 0x5a14]
inc dword [edi + 0x3dc8]
xor eax, eax
cvtps2pd xmm0, xmm0
push eax
mov byte [edi + 0x3dd4], 1
mov word [edi + 0x5a06], ax
mov dword [edi + 0x3e3c], eax
addsd xmm0, qword [edi + 0x3dc0]
movsd qword [edi + 0x3dc0], xmm0
call fcn.10031380
mov eax, dword [edi + 0x5c24]
mov ecx, 0x3c
movss xmm1, dword [edi + 0x18]
movaps xmm0, xmm1
movss xmm2, dword [0x1005f8e0]
subss xmm0, dword [edi + eax*4 + 0x5b34]
addss xmm0, dword [edi + 0x5c2c]
movss dword [edi + 0x5c2c], xmm0
movss dword [edi + eax*4 + 0x5b34], xmm1
mov eax, dword [edi + 0x5c24]
inc eax
movss xmm1, dword [edi + 0x5c2c]
cdq
idiv ecx
mov eax, dword [edi + 0x5c28]
movss xmm0, dword [0x1005fa48]
inc eax
cmp eax, ecx
mov dword [edi + 0x5c24], edx
movss dword [ebp - 8], xmm0
cmovl ecx, eax
comiss xmm1, dword [0x1005f85c]
mov dword [edi + 0x5c28], ecx
jbe 0x1001dbf2
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movaps xmm0, xmm2
divss xmm0, xmm1
movss dword [edi + 0xa0], xmm0
mov ecx, dword [edi + 0x3df0]
test ecx, ecx
jns 0x1001dc20
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 + 0x3dec]
call fcn.100319d0
mov dword [edi + 0x3dec], 0
mov cl, byte [edi + 0x62]
call fcn.10027d30
mov ebx, dword [0x1011eb84]
xor esi, esi
mov dword [ebp - 0x10], ebx
xorps xmm3, xmm3
mov eax, dword [ebx + 0x47c4]
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 + 0x47bc], esi
jle 0x1001dd3f
mov eax, dword [ebx + 0x47c4]
movaps xmm2, xmm3
mov edx, dword [eax + esi*4]
inc esi
mov eax, dword [edx + 0x8c]
mov ecx, dword [edx + 0x90]
movss xmm0, dword [edx + 8]
mov dword [edx + 0x7c], eax
mov eax, dword [edx + 0x94]
mov dword [edx + 0x80], ecx
mov ecx, dword [edx + 0x98]
mov dword [edx + 0x84], eax
mov dword [edx + 0x88], ecx
mov dword [edx + 0x94], 0
mov dword [edx + 0x98], 0
mov dword [edx + 0x8c], 0
mov dword [edx + 0x90], 0
addss xmm0, dword [edx + 0x80]
movss xmm1, dword [edx + 0x7c]
addss xmm1, dword [edx + 4]
movss dword [edx + 0x18], xmm0
movss xmm0, dword [edx + 0xc]
movss dword [edx + 0x14], xmm1
movaps xmm1, xmm3
subss xmm0, dword [edx + 0x7c]
addss xmm0, dword [edx + 0x84]
maxss xmm2, xmm0
movss xmm0, dword [edx + 0x10]
subss xmm0, dword [edx + 0x80]
addss xmm0, dword [edx + 0x88]
movss dword [edx + 0x1c], xmm2
maxss xmm1, xmm0
movss dword [edx + 0x20], xmm1
cmp esi, dword [ebx + 0x47bc]
jl 0x1001dc74
mov eax, dword [edi + 0x48]
mov byte [eax + 0x10], 1
mov esi, dword [ebx + 0x54]
test esi, esi
jne 0x1001dd55
mov eax, dword [ebx + 0x48]
mov eax, dword [eax + 0x44]
mov esi, dword [eax]
movss xmm1, dword [ebx + 0x4c]
movss xmm2, dword [0x1005f8e0]
mov ecx, dword [ebx + 0x3e48]
movaps xmm0, xmm2
mov dword [ebx + 0x3bb4], esi
mulss xmm1, dword [esi + 0x10]
mulss xmm1, dword [esi + 0x4c]
maxss xmm0, xmm1
movss dword [ebx + 0x3bbc], xmm0
test ecx, ecx
je 0x1001ddb1
mov eax, dword [ecx]
movss xmm0, dword [ecx + 0x264]
mulss xmm0, dword [eax + 0x3bbc]
mov eax, dword [ecx + 0x300]
test eax, eax
je 0x1001ddb4
mulss xmm0, dword [eax + 0x264]
jmp 0x1001ddb4
movaps xmm0, xmm3
movss xmm7, dword [ebp - 8]
movss xmm4, dword [0x1005fa78]
movaps xmm6, xmm7
movss dword [ebx + 0x3bb8], xmm0
movaps xmm5, xmm4
mov edx, dword [esi + 0x30]
mov eax, dword [edx + 0x34]
mov ecx, dword [edx + 0x38]
mov dword [ebx + 0x3bc0], eax
lea eax, [edx + 0x60]
mov dword [ebx + 0x3bc4], ecx
mov dword [ebx + 0x3dbc], eax
mov dword [ebx + 0x3bc8], esi
movss dword [ebx + 0x3bcc], xmm0
mov edx, dword [edi + 0x47bc]
test edx, edx
jle 0x1001de5c
mov ecx, dword [edi + 0x47c4]
nop dword [eax + eax]
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 0x1001de34
movaps xmm7, xmm3
comiss xmm6, xmm2
jbe 0x1001de3c
movaps xmm6, xmm2
comiss xmm0, xmm4
jbe 0x1001de44
movaps xmm4, xmm0
comiss xmm1, xmm5
jbe 0x1001de4c
movaps xmm5, xmm1
add ecx, 4
sub edx, 1
jne 0x1001de10
movss xmm2, dword [0x1005f8e0]
movss dword [edi + 0x3bd8], xmm7
movss dword [edi + 0x3bdc], xmm6
movss dword [edi + 0x3be0], xmm4
movss dword [edi + 0x3be4], xmm5
mov eax, dword [edi + 0x385c]
movss xmm1, dword [edi + 0x3860]
mov dword [edi + 0x3bd0], eax
movss xmm0, dword [edi + 0x3bd4]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1001df86
movss dword [edi + 0x3bd4], xmm1
xor esi, esi
mov ebx, 0x200
movd xmm0, esi
cvtdq2ps xmm0, xmm0
test esi, esi
je 0x1001df34
movss xmm1, dword [edi + 0x3bd4]
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 [0x1005f930]
sub esp, 8
cvtsd2ss xmm0, xmm0
divss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd qword [ebp - 0x20], xmm0
fld qword [ebp - 0x20]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
fstp qword [ebp - 0x20]
movsd xmm0, qword [ebp - 0x20]
add esp, 8
cvtpd2ps xmm0, xmm0
cvttss2si eax, xmm0
inc eax
cdq
sub eax, edx
and eax, 0xfffffffe
cmp eax, 4
jge 0x1001df2a
mov eax, 4
jmp 0x1001df39
cmp eax, 0x200
cmovg eax, ebx
jmp 0x1001df39
mov eax, 0x30
movss xmm2, dword [0x1005f8e0]
mov byte [edi + esi + 0x3d7c], al
inc esi
cmp esi, 0x40
jl 0x1001deb4
movsd xmm0, qword [0x1005f8f0]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [0x1005f8e0]
cvtsd2ss xmm0, xmm0
mov ebx, dword [ebp - 0x10]
subss xmm1, xmm0
movss xmm0, dword [edi + 0x3bd4]
divss xmm0, xmm1
movss dword [edi + 0x3d78], xmm0
xor edx, edx
mov dword [edi + 0x3be8], 0
cmp byte [edi + 0x3858], dl
je 0x1001dfa9
mov dword [edi + 0x3be8], 1
mov edx, 1
cmp byte [edi + 0x3859], 0
mov ecx, edx
je 0x1001dfcb
mov eax, dword [edi + 0x3bb4]
mov eax, dword [eax + 0x30]
test byte [eax], 4
jne 0x1001dfcb
or ecx, 2
mov dword [edi + 0x3be8], ecx
cmp byte [edi + 0x385a], 0
je 0x1001dfdd
or ecx, 4
mov dword [edi + 0x3be8], ecx
test byte [edi + 0xc], 8
je 0x1001dfec
or ecx, 8
mov dword [edi + 0x3be8], ecx
xor esi, esi
cmp dword [edi + 0x47bc], esi
jle 0x1001e018
mov eax, dword [edi + 0x47c4]
push 0x2c
push 0
mov eax, dword [eax + esi*4]
add eax, 0x38
push eax
call sub.VCRUNTIME140.dll_memset
inc esi
add esp, 0xc
cmp esi, dword [edi + 0x47bc]
jl 0x1001dff6
cmp byte [edi + 0x4964], 0
je 0x1001e04c
mov eax, dword [edi + 0x497c]
cmp eax, dword [edi + 0x3e94]
jne 0x1001e04c
cmp dword [ebx + 0x3e94], eax
jne 0x1001e03d
mov dword [ebx + 0x3e98], eax
cmp dword [ebx + 0x3ebc], eax
jne 0x1001e04c
mov byte [ebx + 0x3ec0], 1
cmp dword [edi + 0x3e84], 0
jne 0x1001e061
mov dword [edi + 0x3e8c], 0
jmp 0x1001e073
mov eax, dword [edi + 0x3e80]
test eax, eax
je 0x1001e07d
cmp dword [edi + 0x3e94], eax
jne 0x1001e07d
mov dword [edi + 0x3e90], 0
mov eax, dword [edi + 0x3e80]
test eax, eax
je 0x1001e0b7
movss xmm1, dword [edi + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x3e8c]
movss dword [edi + 0x3e8c], xmm0
cmp dword [edi + 0x3e94], eax
je 0x1001e0b7
addss xmm1, dword [edi + 0x3e90]
movss dword [edi + 0x3e90], xmm1
mov dword [edi + 0x3e84], eax
mov eax, dword [edi + 0x3e94]
mov dword [edi + 0x3e80], 0
mov word [edi + 0x3e88], 0
test eax, eax
je 0x1001e10f
cmp dword [edi + 0x3e98], eax
je 0x1001e10f
cmp dword [edi + 0x3ebc], eax
jne 0x1001e10f
test byte [edi + 0x5ad8], 1
je 0x1001e100
push str.NewFrame__:_ClearActiveID___because_it_isnt_marked_alive_anymore__n
call fcn.100303e0
add esp, 4
xor edx, edx
xor ecx, ecx
call fcn.1001cc70
mov ebx, dword [0x1011eb84]
mov esi, dword [edi + 0x3e94]
test esi, esi
je 0x1001e12e
movss xmm0, dword [edi + 0x18]
addss xmm0, dword [edi + 0x3e9c]
movss dword [edi + 0x3e9c], xmm0
mov eax, dword [edi + 0x3eb0]
movss xmm0, dword [edi + 0x18]
addss xmm0, dword [edi + 0x3ecc]
mov dword [edi + 0x3ec4], eax
mov al, byte [edi + 0x3ea4]
mov byte [edi + 0x3ec1], al
mov eax, dword [edi + 0x598c]
movss dword [edi + 0x3ecc], xmm0
mov dword [edi + 0x3ebc], esi
mov dword [edi + 0x3e98], 0
mov byte [edi + 0x3ea5], 0
mov byte [edi + 0x3ec0], 0
mov byte [edi + 0x3ea0], 0
test eax, eax
je 0x1001e198
cmp esi, eax
je 0x1001e198
mov dword [edi + 0x598c], 0
test esi, esi
jne 0x1001e1b7
mov dword [edi + 0x4698], esi
mov dword [edi + 0x4690], esi
mov byte [edi + 0x4694], 0
mov dword [edi + 0x4698], esi
jmp 0x1001e1dc
mov eax, dword [edi + 0x4698]
test eax, eax
je 0x1001e1dc
test al, 2
je 0x1001e1dc
mov edx, 0x20e
mov ecx, ebx
call fcn.100196e0
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
mov eax, dword [edi + 0x4a8c]
movss xmm0, dword [edi + 0x4a94]
mov dword [edi + 0x4a90], eax
test eax, eax
je 0x1001e20d
addss xmm0, dword [edi + 0x18]
mov dword [edi + 0x4a8c], 0
movss dword [edi + 0x4a94], xmm0
jmp 0x1001e24d
comiss xmm0, dword [0x1005f85c]
jbe 0x1001e257
movss xmm1, dword [edi + 0x18]
movss xmm0, dword [0x1005f894]
movaps xmm2, xmm1
addss xmm2, dword [edi + 0x4a98]
addss xmm1, xmm1
movss dword [edi + 0x4a98], xmm2
maxss xmm0, xmm1
comiss xmm2, xmm0
jb 0x1001e257
mov dword [edi + 0x4a94], 0
mov dword [edi + 0x4a98], 0
mov eax, dword [edi + 0x49c8]
mov dword [edi + 0x49cc], eax
mov dword [edi + 0x49c8], 0
mov dword [edi + 0x49c4], 0x7f7fffff
mov word [edi + 0x4965], 0
mov dword [edi + 0x49d4], 0
call fcn.10026af0
call fcn.1002c6d0
call fcn.10026fc0
call fcn.1001d6f0
mov esi, dword [0x1011eb84]
mov ecx, dword [esi + 0x3e54]
test ecx, ecx
je 0x1001e356
mov eax, dword [esi + 0x3e94]
mov dword [esi + 0x3e98], eax
cmp dword [esi + 0x3ebc], eax
jne 0x1001e2cd
mov byte [esi + 0x3ec0], 1
cmp byte [esi + 0xdc8], 0
mov ebx, dword [ecx + 0x308]
je 0x1001e34a
lea eax, [esi + 0xdc0]
mov ecx, eax
test eax, eax
jne 0x1001e2ee
lea ecx, [esi + 0xdc0]
movss xmm0, dword [ecx]
movss xmm1, dword [0x1005fa74]
comiss xmm0, xmm1
movss xmm2, dword [ecx + 4]
jb 0x1001e34a
comiss xmm2, xmm1
jb 0x1001e34a
movss xmm0, dword [eax]
lea edx, [ebp - 0x20]
subss xmm0, dword [esi + 0x3ea8]
push 1
mov ecx, ebx
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, dword [esi + 0x3eac]
movss dword [ebp - 0x1c], xmm0
call fcn.10025ef0
mov ecx, dword [esi + 0x3e54]
add esp, 4
xor edx, edx
call fcn.10025920
jmp 0x1001e392
mov dword [esi + 0x3e54], 0
jmp 0x1001e389
mov ecx, dword [esi + 0x3eb0]
test ecx, ecx
je 0x1001e392
mov eax, dword [esi + 0x3e94]
cmp dword [ecx + 0x70], eax
jne 0x1001e392
mov dword [esi + 0x3e98], eax
cmp dword [esi + 0x3ebc], eax
jne 0x1001e380
mov byte [esi + 0x3ec0], 1
cmp byte [esi + 0xdc8], 0
jne 0x1001e392
xor edx, edx
xor ecx, ecx
call fcn.1001cc70
mov eax, dword [0x1011eb84]
mov edx, dword [eax + 0x47a0]
sub edx, 1
js 0x1001e3c8
mov eax, dword [eax + 0x47a8]
lea ecx, [edx + edx*4]
lea eax, [eax + ecx*8]
add eax, 4
mov ecx, dword [eax]
test ecx, ecx
je 0x1001e3c0
test dword [ecx + 0xc], 0x8000000
jne 0x1001e3e2
sub eax, 0x28
sub edx, 1
jns 0x1001e3b1
cmp dword [edi + 0x4934], 0
je 0x1001e401
movss xmm0, dword [edi + 0x4944]
comiss xmm0, dword [0x1005f85c]
jbe 0x1001e401
movss xmm1, dword [edi + 0x18]
mulss xmm1, dword [0x1005f950]
addss xmm1, dword [edi + 0x495c]
minss xmm1, dword [0x1005f8e0]
jmp 0x1001e422
movss xmm0, dword [edi + 0x18]
mulss xmm0, dword [0x1005f960]
movss xmm1, dword [edi + 0x495c]
subss xmm1, xmm0
maxss xmm1, dword [0x1005f85c]
movss dword [edi + 0x495c], xmm1
movups xmm0, xmmword [edi + 0x5a20]
mov dword [edi + 0x4960], 0
mov dword [edi + 0x5c38], 0xffffffff
mov dword [edi + 0x5c34], 0xffffffff
mov dword [edi + 0x5c30], 0xffffffff
movups xmmword [edi + 0x5a30], xmm0
mov byte [edi + 0x5a20], 0
call fcn.10027340
cmp byte [edi + 0x3dd7], 0
jne 0x1001e499
movss xmm0, dword [edi + 0x68]
xorps xmm1, xmm1
comiss xmm1, xmm0
ja 0x1001e499
movsd xmm1, qword [edi + 0x3dc0]
cvtpd2ps xmm1, xmm1
subss xmm1, xmm0
movss dword [ebp - 8], xmm1
jmp 0x1001e49e
movss xmm1, dword [ebp - 8]
xor ebx, ebx
cmp dword [edi + 0x3e00], ebx
je 0x1001e63f
nop dword [eax]
mov eax, dword [edi + 0x3e08]
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 0x1001e62d
cmp byte [esi + 0x360], al
jne 0x1001e62d
comiss xmm1, dword [esi + 0x244]
jbe 0x1001e62d
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 0x1001e568
mov eax, dword [0x1011eb84]
mov dword [esi + 0xe8], 0
mov dword [esi + 0xe4], 0
test eax, eax
je 0x1001e557
dec dword [eax + 0xb4]
push ecx
call dword [ebp - 4]
add esp, 4
mov dword [esi + 0xec], 0
mov ecx, dword [esi + 0x26c]
call fcn.10039ac0
mov ecx, dword [esi + 0x190]
test ecx, ecx
je 0x1001e5b1
mov eax, dword [0x1011eb84]
mov dword [esi + 0x18c], 0
mov dword [esi + 0x188], 0
test eax, eax
je 0x1001e5a0
dec dword [eax + 0xb4]
push ecx
call dword [ebp - 4]
add esp, 4
mov dword [esi + 0x190], 0
mov ecx, dword [esi + 0x1b8]
test ecx, ecx
je 0x1001e5ef
mov eax, dword [0x1011eb84]
mov dword [esi + 0x1b4], 0
mov dword [esi + 0x1b0], 0
test eax, eax
je 0x1001e5de
dec dword [eax + 0xb4]
push ecx
call dword [ebp - 4]
add esp, 4
mov dword [esi + 0x1b8], 0
mov ecx, dword [esi + 0x1c4]
test ecx, ecx
je 0x1001e62d
mov eax, dword [0x1011eb84]
mov dword [esi + 0x1c0], 0
mov dword [esi + 0x1bc], 0
test eax, eax
je 0x1001e61c
dec dword [eax + 0xb4]
push ecx
call dword [ebp - 4]
add esp, 4
mov dword [esi + 0x1c4], 0
movss xmm1, dword [ebp - 8]
inc ebx
cmp ebx, dword [edi + 0x3e00]
jne 0x1001e4b0
xor ecx, ecx
mov dword [ebp - 0xc], ecx
cmp dword [edi + 0x4a38], ecx
jle 0x1001e78d
xor edx, edx
xorps xmm1, xmm1
mov dword [ebp - 0x10], edx
nop dword [eax + eax]
mov eax, dword [edi + 0x4a40]
movss xmm0, dword [eax + ecx*4]
comiss xmm0, xmm1
jb 0x1001e774
movss xmm1, dword [ebp - 8]
comiss xmm1, xmm0
jbe 0x1001e771
mov esi, dword [edi + 0x4a20]
mov ebx, dword [0x1011eb84]
add esi, edx
mov dword [ebp - 0x1c], ebx
mov dword [esi + 0x198], 0
mov eax, dword [esi + 0x194]
test eax, eax
je 0x1001e6d6
mov dword [esi + 0x190], 0
mov dword [esi + 0x18c], 0
test ebx, ebx
je 0x1001e6c5
dec dword [ebx + 0xb4]
push eax
call dword [ebp - 4]
add esp, 4
mov dword [esi + 0x194], 0
mov byte [esi + 0x1d9], 1
mov ecx, dword [esi + 0x15c]
test ecx, ecx
je 0x1001e71b
mov eax, dword [0x1011eb84]
mov dword [esi + 0x158], 0
mov dword [esi + 0x154], 0
test eax, eax
je 0x1001e70a
dec dword [eax + 0xb4]
push ecx
call dword [ebp - 4]
add esp, 4
mov dword [esi + 0x15c], 0
xor edx, edx
mov byte [esi + 0x1e5], 1
cmp dword [esi + 0x40], edx
jle 0x1001e747
xor ecx, ecx
or ebx, 0xffffffff
nop
mov eax, dword [esi + 0x10]
lea ecx, [ecx + 0x70]
inc edx
mov word [eax + ecx - 0x20], bx
cmp edx, dword [esi + 0x40]
jl 0x1001e730
mov edi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x1c]
sub esi, dword [ebx + 0x4a20]
mov eax, 0x4325c53f
imul esi
mov eax, dword [ebx + 0x4a40]
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [ebp - 0x10]
mov dword [eax + ecx*4], 0xbf800000
mov ecx, dword [ebp - 0xc]
xorps xmm1, xmm1
inc ecx
add edx, 0x1e8
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], edx
cmp ecx, dword [edi + 0x4a38]
jl 0x1001e660
xor eax, eax
mov dword [ebp - 0x10], eax
cmp dword [edi + 0x4a0c], eax
jle 0x1001e7e2
xor esi, esi
xorps xmm1, xmm1
nop
mov ebx, dword [edi + 0x4a14]
movss xmm0, dword [ebx + esi + 4]
comiss xmm0, xmm1
jb 0x1001e7d3
movss xmm1, dword [ebp - 8]
comiss xmm1, xmm0
jbe 0x1001e7d0
lea ecx, [esi + 0x10]
add ecx, ebx
call fcn.1003c470
mov eax, dword [ebp - 0x10]
mov dword [ebx + esi + 4], 0xbf800000
xorps xmm1, xmm1
inc eax
add esi, 0x68
mov dword [ebp - 0x10], eax
cmp eax, dword [edi + 0x4a0c]
jl 0x1001e7a0
cmp byte [edi + 0x3dd7], 0
je 0x1001e877
mov esi, dword [0x1011eb84]
mov eax, dword [esi + 0x4790]
test eax, eax
je 0x1001e832
mov dword [esi + 0x478c], 0
mov dword [esi + 0x4788], 0
test esi, esi
je 0x1001e81d
dec dword [esi + 0xb4]
mov ebx, dword [ebp - 4]
push eax
call ebx
add esp, 4
mov dword [esi + 0x4790], 0
jmp 0x1001e835
mov ebx, dword [ebp - 4]
mov ecx, dword [esi + 0x479c]
test ecx, ecx
je 0x1001e872
mov eax, dword [0x1011eb84]
mov dword [esi + 0x4798], 0
mov dword [esi + 0x4794], 0
test eax, eax
je 0x1001e862
dec dword [eax + 0xb4]
push ecx
call ebx
add esp, 4
mov dword [esi + 0x479c], 0
call fcn.10043c50
mov eax, dword [edi + 0x47c8]
mov byte [edi + 0x3dd7], 0
test eax, eax
je 0x1001e8e2
cmp byte [eax + 0xab], 0
jne 0x1001e8e2
mov eax, dword [0x1011eb84]
mov edx, dword [eax + 0x3e0c]
sub edx, 1
js 0x1001e8d6
mov eax, dword [eax + 0x3e14]
lea esi, [eax + edx*4]
nop word [eax + eax]
mov ecx, dword [esi]
test ecx, ecx
je 0x1001e8ce
cmp byte [ecx + 0xab], 0
je 0x1001e8ce
mov eax, dword [ecx + 0xc]
and eax, 0x40200
cmp eax, 0x40200
jne 0x1001e8d8
sub esi, 4
sub edx, 1
jns 0x1001e8b0
xor ecx, ecx
mov edx, 1
call fcn.10025920
mov ecx, dword [edi + 0x3e28]
test ecx, ecx
jns 0x1001e908
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 + 0x3e24]
call fcn.10031960
mov dword [edi + 0x3e24], 0
mov ecx, dword [edi + 0x47b0]
test ecx, ecx
jns 0x1001e938
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 + 0x47ac]
call fcn.100318e0
lea esi, [edi + 0x4788]
mov dword [edi + 0x47ac], 0
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x1001e967
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.10031250
mov dword [esi], 0
cmp dword [esi + 4], 0
jne 0x1001e97c
push 8
mov ecx, esi
call fcn.10031250
mov ecx, dword [esi]
mov eax, dword [esi + 8]
push 0
mov dword [eax + ecx*4], 0
lea ecx, [edi + 0x4794]
inc dword [esi]
call fcn.10031020
call fcn.10030750
call fcn.10030960
mov al, byte [edi + 0x5af9]
test al, al
je 0x1001e9bf
sub al, 1
mov byte [edi + 0x5af9], al
jne 0x1001e9bf
mov dword [edi + 0x46a4], 0
mov al, byte [edi + 0x5af8]
test al, al
je 0x1001e9e7
sub al, 1
mov byte [edi + 0x5af8], al
jne 0x1001e9e7
push str._Auto_disabled_ImGuiDebugLogFlags_EventClipper_to_avoid_spamming__n
call fcn.100303e0
add esp, 4
and dword [edi + 0x5ad8], 0xffffffef
mov eax, dword [0x1011eb84]
xor edx, edx
mov byte [edi + 0x3dd5], 1
mov ecx, str.DebugDefault
push 0
or dword [eax + 0x46f8], 2
mov dword [eax + 0x4718], 0x43c80000
mov dword [eax + 0x471c], 0x43c80000
mov dword [eax + 0x4700], 4
call fcn.10023170
add esp, 4
cmp byte [edi + 0x6d], 0
je 0x1001ea64
mov cl, byte [edi + 0x5afa]
cmp cl, 0xff
jne 0x1001ea3e
xor edx, edx
jmp 0x1001ea67
mov eax, dword [edi + 0x3dc8]
and eax, 0x80000003
jns 0x1001ea50
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 0x1001ea67
or dl, 0xff
xor esi, esi
mov byte [edi + 0x5afa], dl
cmp dword [edi + 0x5a78], esi
jle 0x1001eaa4
xor ebx, ebx
nop dword [eax]
mov eax, dword [edi + 0x5a80]
add eax, ebx
cmp dword [eax + 4], 1
jne 0x1001ea98
push eax
mov eax, dword [eax + 0xc]
push edi
call eax
add esp, 8
inc esi
add ebx, 0x14
cmp esi, dword [edi + 0x5a78]
jl 0x1001ea80
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret