Function at 0x10008ec0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x28
push esi
push edi
mov edi, dword [0x100aff30]
mov dword [esp + 0xc], edi
mov ecx, dword [edi + 0x5f64]
sub ecx, 1
mov dword [esp + 0x18], ecx
js 0x10008f5a
lea eax, [ecx + ecx*4]
shl eax, 2
mov dword [esp + 0x14], eax
nop
mov edx, dword [edi + 0x5f6c]
cmp dword [eax + edx + 4], 7
jne 0x10008f4a
mov ecx, eax
mov esi, edx
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 + 0x5f64]
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 + 0x20]
add esp, 0xc
dec dword [edi + 0x5f64]
mov ecx, dword [esp + 0x18]
dec ecx
sub eax, 0x14
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], eax
test ecx, ecx
jns 0x10008ef0
mov eax, dword [edi + 0x5f64]
mov esi, dword [edi + 0x5f6c]
lea eax, [eax + eax*4]
lea eax, [esi + eax*4]
mov dword [esp + 0x18], eax
cmp esi, eax
je 0x10008f8f
cmp dword [esi + 4], 0
jne 0x10008f88
mov eax, dword [esi + 0xc]
push esi
push edi
call eax
mov eax, dword [esp + 0x20]
add esp, 8
add esi, 0x14
cmp esi, eax
jne 0x10008f74
mov esi, dword [0x100aff30]
mov eax, dword [edi + 0x3dc0]
mov dword [edi + 0x3dc4], eax
cmp byte [esi + 0x52], 0
je 0x10008fb1
test byte [esi + 0xc], 2
jne 0x10008fb1
mov byte [esi + 0x52], 0
mov ecx, dword [esi + 8]
test ecx, 0x400
je 0x10008fd4
mov eax, dword [esi + 0xc]
and eax, 0x1400
cmp eax, 0x1400
je 0x10008fd4
and ecx, 0xfffffbff
mov dword [esi + 8], ecx
mov eax, dword [edi + 8]
mov dword [edi + 0x3dc0], eax
cmp byte [esi + 0x5f2c], 0
jne 0x1000902c
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x10009025
push ecx
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push eax
call fcn.10004360
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
je 0x10009025
mov edx, dword [esp + 0x18]
test edx, edx
je 0x1000901e
mov ecx, eax
call fcn.1001bd00
mov eax, dword [esp + 0x14]
mov ecx, eax
call fcn.10008350
mov byte [esi + 0x5f2c], 1
movss xmm0, dword [esi + 0x5f30]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x100090c8
subss xmm0, dword [esi + 0x18]
comiss xmm1, xmm0
movss dword [esi + 0x5f30], xmm0
jb 0x100090c8
mov eax, dword [esi + 0x20]
mov dword [esp + 0x14], eax
test eax, eax
je 0x100090b7
mov eax, dword [0x100aff30]
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], 0
mov dword [eax + 0x5f30], 0
call fcn.1001bf50
mov ecx, dword [esp + 0x14]
mov edx, 0x100735fc
mov dword [esp + 0x10], eax
call fcn.10004280
mov dword [esp + 0x14], eax
test eax, eax
je 0x100090be
push eax
push dword [esp + 0x1c]
push 1
push dword [esp + 0x1c]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push dword [esp + 0x24]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x14
jmp 0x100090be
mov byte [esi + 0x9e], 1
mov dword [esi + 0x5f30], 0
movss xmm1, dword [edi + 0x18]
xor eax, eax
inc dword [edi + 0x3fe0]
cvtps2pd xmm0, xmm1
mov byte [edi + 0x3ff0], 1
mov word [edi + 0x5e60], ax
mov dword [edi + 0x4058], eax
addsd xmm0, qword [edi + 0x3fd8]
movsd qword [edi + 0x3fd8], xmm0
mov ecx, dword [edi + 0x5e74]
test ecx, ecx
jns 0x10009168
mov eax, ecx
xor esi, esi
cdq
sub eax, edx
sar eax, 1
add eax, ecx
test eax, eax
cmovg esi, eax
cmp esi, ecx
jle 0x10009168
lea ecx, [esi*4]
call fcn.100082b0
mov edx, dword [edi + 0x5e78]
mov dword [esp + 0x18], eax
test edx, edx
je 0x10009157
mov ecx, dword [edi + 0x5e70]
shl ecx, 2
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [edi + 0x5e78]
add esp, 0xc
call fcn.10008350
mov eax, dword [esp + 0x18]
mov dword [edi + 0x5e78], eax
mov dword [edi + 0x5e74], esi
movss xmm1, dword [edi + 0x18]
mov dword [edi + 0x5e70], 0
movaps xmm0, xmm1
mov eax, dword [edi + 0x6180]
mov ecx, 0x3c
subss xmm0, dword [edi + eax*4 + 0x6090]
addss xmm0, dword [edi + 0x6188]
movss dword [edi + 0x6188], xmm0
movss dword [edi + eax*4 + 0x6090], xmm1
mov eax, dword [edi + 0x6180]
inc eax
movss xmm1, dword [edi + 0x6188]
cdq
idiv ecx
mov eax, dword [edi + 0x6184]
movss xmm0, dword [0x100aa29c]
inc eax
cmp eax, ecx
mov dword [edi + 0x6180], edx
movss dword [esp + 8], xmm0
cmovl ecx, eax
comiss xmm1, dword [0x100aa0c8]
mov dword [edi + 0x6184], ecx
jbe 0x100091fa
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x100aa18c]
divss xmm0, xmm1
push ecx
lea ecx, [edi + 0x4008]
movss dword [edi + 0xa4], xmm0
call fcn.10028240
mov cl, byte [edi + 0x4e]
call fcn.10014d00
call fcn.1001cd50
mov eax, dword [edi + 0x2c]
mov esi, dword [0x100aff30]
mov byte [eax + 0x10], 1
mov ecx, dword [esi + 0x38]
mov dword [esp + 0x18], ecx
test ecx, ecx
jne 0x1000923f
mov eax, dword [esi + 0x2c]
mov eax, dword [eax + 0x44]
mov ecx, dword [eax]
mov dword [esp + 0x18], ecx
movss xmm2, dword [0x100aa18c]
mov edx, dword [esi + 0x4068]
movaps xmm0, xmm2
mov dword [esi + 0x3dc8], ecx
movss xmm1, dword [ecx + 0x10]
mulss xmm1, dword [esi + 0x30]
mulss xmm1, dword [ecx + 0x4c]
maxss xmm0, xmm1
movss dword [esi + 0x3dd0], xmm0
test edx, edx
je 0x100092a3
mov eax, dword [edx]
movss xmm0, dword [edx + 0x2a0]
mulss xmm0, dword [eax + 0x3dd0]
mov eax, dword [edx + 0x340]
mulss xmm0, dword [edx + 0x2a4]
test eax, eax
je 0x100092a6
mulss xmm0, dword [eax + 0x2a0]
jmp 0x100092a6
xorps xmm0, xmm0
movss xmm7, dword [0x100aa29c]
movss xmm5, dword [0x100aa2d0]
movaps xmm6, xmm7
movss dword [esi + 0x3dcc], xmm0
movaps xmm4, xmm5
mov edx, dword [ecx + 0x30]
mov eax, dword [edx + 0x34]
mov ecx, dword [edx + 0x38]
mov dword [esi + 0x3dd4], eax
lea eax, [edx + 0x60]
mov dword [esi + 0x3fd0], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 0x3dd8], ecx
mov dword [esi + 0x3ddc], eax
movss dword [esi + 0x3de0], xmm0
mov ecx, dword [edi + 0x4b44]
mov eax, dword [edi + 0x4b3c]
lea edx, [ecx + eax*4]
cmp ecx, edx
je 0x1000935b
nop word [eax + eax]
mov eax, dword [ecx]
movss xmm3, dword [eax + 8]
comiss xmm7, xmm3
movss xmm2, dword [eax + 0xc]
movaps xmm0, xmm3
addss xmm0, dword [eax + 0x10]
movaps xmm1, xmm2
addss xmm1, dword [eax + 0x14]
jbe 0x10009334
movaps xmm7, xmm3
comiss xmm6, xmm2
jbe 0x1000933c
movaps xmm6, xmm2
comiss xmm0, xmm5
jbe 0x10009344
movaps xmm5, xmm0
comiss xmm1, xmm4
jbe 0x1000934c
movaps xmm4, xmm1
add ecx, 4
cmp ecx, edx
jne 0x10009310
movss xmm2, dword [0x100aa18c]
mov eax, dword [edi + 0x3a34]
movss xmm1, dword [edi + 0x3a38]
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 + 0x3de4], eax
movups xmmword [edi + 0x3dec], xmm0
movss xmm0, dword [edi + 0x3de8]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10009490
movss dword [edi + 0x3de8], xmm1
xor esi, esi
movd xmm0, esi
cvtdq2ps xmm0, xmm0
test esi, esi
je 0x1000943b
movss xmm1, dword [edi + 0x3de8]
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 [0x100aa1f0]
sub esp, 8
cvtsd2ss xmm0, xmm0
divss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd qword [esp + 0x20], xmm0
fld qword [esp + 0x20]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
fstp qword [esp + 0x20]
movsd xmm0, qword [esp + 0x20]
add esp, 8
cvtpd2ps xmm0, xmm0
cvttss2si eax, xmm0
inc eax
cdq
sub eax, edx
and eax, 0xfffffffe
cmp eax, 4
jge 0x1000942c
mov eax, 4
jmp 0x10009440
cmp eax, 0x200
mov ecx, 0x200
cmovg eax, ecx
jmp 0x10009440
mov eax, 0x30
movss xmm2, dword [0x100aa18c]
mov byte [esi + edi + 0x3f90], al
inc esi
cmp esi, 0x40
jl 0x100093b2
movsd xmm0, qword [0x100aa1a0]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [0x100aa18c]
cvtsd2ss xmm0, xmm0
mov esi, dword [0x100aff30]
subss xmm1, xmm0
movss xmm0, dword [edi + 0x3de8]
divss xmm0, xmm1
movss dword [edi + 0x3f8c], xmm0
xor edx, edx
mov dword [edi + 0x3dfc], 0
cmp byte [edi + 0x3a30], dl
je 0x100094b3
mov dword [edi + 0x3dfc], 1
mov edx, 1
cmp byte [edi + 0x3a31], 0
mov ecx, edx
je 0x100094d5
mov eax, dword [edi + 0x3dc8]
mov eax, dword [eax + 0x30]
test byte [eax], 4
jne 0x100094d5
or ecx, 2
mov dword [edi + 0x3dfc], ecx
cmp byte [edi + 0x3a32], 0
je 0x100094e7
or ecx, 4
mov dword [edi + 0x3dfc], ecx
test byte [edi + 0xc], 8
je 0x100094f6
or ecx, 8
mov dword [edi + 0x3dfc], ecx
mov ecx, dword [edi + 0x4b44]
mov eax, dword [edi + 0x4b3c]
lea edx, [ecx + eax*4]
cmp ecx, edx
je 0x10009527
nop dword [eax]
mov eax, dword [ecx]
add ecx, 4
mov dword [eax + 0x30], 0
mov byte [eax + 0x80], 0
cmp ecx, edx
jne 0x10009510
cmp byte [edi + 0x4d84], 0
je 0x1000955b
mov eax, dword [edi + 0x4d9c]
cmp eax, dword [edi + 0x40b8]
jne 0x1000955b
cmp dword [esi + 0x40b8], eax
jne 0x1000954c
mov dword [esi + 0x40bc], eax
cmp dword [esi + 0x40e0], eax
jne 0x1000955b
mov byte [esi + 0x40e4], 1
cmp dword [edi + 0x40a8], 0
mov eax, dword [edi + 0x40a4]
jne 0x10009576
mov dword [edi + 0x40b0], 0
jmp 0x10009584
mov ecx, eax
test eax, eax
je 0x10009590
cmp dword [edi + 0x40b8], eax
jne 0x10009594
mov dword [edi + 0x40b4], 0
mov ecx, eax
test ecx, ecx
je 0x100095c8
movss xmm1, dword [edi + 0x18]
mov eax, dword [edi + 0x40b8]
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x40b0]
movss dword [edi + 0x40b0], xmm0
cmp eax, ecx
je 0x100095ce
addss xmm1, dword [edi + 0x40b4]
movss dword [edi + 0x40b4], xmm1
jmp 0x100095ce
mov eax, dword [edi + 0x40b8]
mov dword [edi + 0x40a8], ecx
mov dword [edi + 0x40a4], 0
mov word [edi + 0x40ac], 0
test eax, eax
je 0x1000961a
cmp dword [edi + 0x40bc], eax
je 0x1000961a
cmp dword [edi + 0x40e0], eax
jne 0x1000961a
test byte [edi + 0x5fd4], 1
je 0x10009611
push str.NewFrame__:_ClearActiveID___because_it_isnt_marked_alive_anymore__n
call fcn.10027060
add esp, 4
xor edx, edx
xor ecx, ecx
call fcn.10007ba0
mov esi, dword [edi + 0x40b8]
test esi, esi
je 0x10009639
movss xmm0, dword [edi + 0x40c0]
addss xmm0, dword [edi + 0x18]
movss dword [edi + 0x40c0], xmm0
movss xmm0, dword [edi + 0x40f0]
mov eax, dword [edi + 0x40d8]
addss xmm0, dword [edi + 0x18]
mov dword [edi + 0x40e8], eax
mov al, byte [edi + 0x40c8]
mov byte [edi + 0x40e5], al
mov eax, dword [edi + 0x5dd0]
movss dword [edi + 0x40f0], xmm0
mov dword [edi + 0x40e0], esi
mov dword [edi + 0x40bc], 0
mov byte [edi + 0x40c9], 0
mov byte [edi + 0x40e4], 0
mov byte [edi + 0x40c4], 0
test eax, eax
je 0x100096a3
cmp esi, eax
je 0x100096a3
mov dword [edi + 0x5dd0], 0
test esi, esi
jne 0x100096c2
mov dword [edi + 0x49b4], esi
mov dword [edi + 0x49a8], esi
mov byte [edi + 0x49ac], 0
mov dword [edi + 0x49b4], esi
jmp 0x100096eb
mov eax, dword [edi + 0x49b4]
test eax, eax
je 0x100096eb
test al, 2
je 0x100096eb
mov ecx, dword [0x100aff30]
mov edx, 0x20e
call fcn.10003730
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
mov ecx, dword [edi + 0x4ec0]
test ecx, ecx
je 0x1000970e
movss xmm0, dword [edi + 0x4edc]
comiss xmm0, dword [edi + 0x3dac]
jb 0x10009718
mov dword [edi + 0x4ed0], ecx
jmp 0x10009718
mov dword [edi + 0x4ed0], 0
mov eax, dword [edi + 0x406c]
test eax, eax
je 0x1000973e
movss xmm0, dword [edi + 0x4edc]
comiss xmm0, dword [edi + 0x3dac]
jb 0x10009748
mov eax, dword [eax + 8]
mov dword [edi + 0x4ed4], eax
jmp 0x10009748
mov dword [edi + 0x4ed4], 0
movss xmm0, dword [edi + 0x4ec8]
mov dword [edi + 0x4ec4], ecx
test ecx, ecx
je 0x10009773
addss xmm0, dword [edi + 0x18]
mov dword [edi + 0x4ec0], 0
movss dword [edi + 0x4ec8], xmm0
jmp 0x100097b3
comiss xmm0, dword [0x100aa0c8]
jbe 0x100097bd
movss xmm1, dword [edi + 0x18]
movss xmm0, dword [0x100aa124]
movaps xmm2, xmm1
addss xmm2, dword [edi + 0x4ecc]
addss xmm1, xmm1
movss dword [edi + 0x4ecc], xmm2
maxss xmm0, xmm1
comiss xmm2, xmm0
jb 0x100097bd
mov dword [edi + 0x4ec8], 0
mov dword [edi + 0x4ecc], 0
mov eax, dword [edi + 0x4df8]
mov dword [edi + 0x4dfc], eax
mov dword [edi + 0x4df8], 0
mov dword [edi + 0x4df4], 0x7f7fffff
mov word [edi + 0x4d85], 0
mov dword [edi + 0x4e04], 0
call fcn.100139a0
call fcn.10018820
call fcn.10013ea0
test byte [edi + 8], 0x40
jne 0x1000982e
cmp dword [edi + 0x5f00], 0
jg 0x1000981b
cmp dword [edi + 0x5f0c], 0
jle 0x10009913
mov dl, 1
call fcn.100254b0
xor ecx, ecx
call fcn.10025180
jmp 0x10009913
cmp byte [edi + 0x44], 0
je 0x1000986a
xor esi, esi
cmp dword [edi + 0x5f00], esi
jle 0x1000986a
nop
mov eax, dword [edi + 0x5f08]
mov ecx, dword [eax + esi*8 + 4]
test ecx, ecx
je 0x10009861
cmp dword [ecx + 0x18], 0
jne 0x10009861
cmp dword [ecx + 0x1c], 0
je 0x10009861
mov ecx, dword [ecx]
call fcn.10025180
inc esi
cmp esi, dword [edi + 0x5f00]
jl 0x10009840
cmp byte [edi + 0x5f24], 0
je 0x100098c5
test dword [edi + 0x5fd4], 0x100
je 0x1000988c
push str._docking__DockContextRebuildNodes_n
call fcn.10027060
add esp, 4
xor ecx, ecx
call fcn.1001bf50
xor dl, dl
call fcn.100254b0
xor ecx, ecx
call fcn.10025180
push dword [edi + 0x5f18]
mov edx, dword [edi + 0x5f20]
mov ecx, edi
call fcn.1001f190
add esp, 4
mov ecx, edi
call fcn.1001f300
mov byte [edi + 0x5f24], 0
mov eax, dword [edi + 0x5f0c]
mov esi, dword [edi + 0x5f14]
lea eax, [eax + eax*8]
lea eax, [esi + eax*4]
mov dword [esp + 0x18], eax
cmp esi, eax
je 0x10009913
nop
cmp dword [esi], 2
jne 0x1000990c
mov edx, dword [esi + 0x1c]
test edx, edx
je 0x100098fa
push 1
mov ecx, edi
call fcn.1001f740
add esp, 4
jmp 0x10009908
mov edx, dword [esi + 0x20]
test edx, edx
je 0x1000990c
mov ecx, edi
call fcn.1001f8a0
mov eax, dword [esp + 0x18]
add esi, 0x24
cmp esi, eax
jne 0x100098e0
call fcn.10008c60
call fcn.10008700
mov eax, dword [0x100aff30]
mov edx, dword [eax + 0x4b14]
sub edx, 1
js 0x10009957
mov eax, dword [eax + 0x4b1c]
lea ecx, [edx + edx*4]
lea eax, [eax + ecx*8]
add eax, 4
nop dword [eax]
mov ecx, dword [eax]
test ecx, ecx
je 0x1000994f
test dword [ecx + 0xc], 0x8000000
jne 0x10009971
sub eax, 0x28
sub edx, 1
jns 0x10009940
cmp dword [edi + 0x4d58], 0
je 0x10009990
movss xmm0, dword [edi + 0x4d68]
comiss xmm0, dword [0x100aa0c8]
jbe 0x10009990
movss xmm1, dword [edi + 0x18]
mulss xmm1, dword [0x100aa200]
addss xmm1, dword [edi + 0x4d80]
minss xmm1, dword [0x100aa18c]
jmp 0x100099b1
movss xmm0, dword [edi + 0x18]
mulss xmm0, dword [0x100aa20c]
movss xmm1, dword [edi + 0x4d80]
subss xmm1, xmm0
maxss xmm1, dword [0x100aa0c8]
movups xmm0, xmmword [edi + 0x5edc]
mov dword [edi + 0x4ed8], 0
movss dword [edi + 0x4d80], xmm1
mov dword [edi + 0x6194], 0xffffffff
mov dword [edi + 0x6190], 0xffffffff
mov dword [edi + 0x618c], 0xffffffff
movups xmmword [edi + 0x5eec], xmm0
mov byte [edi + 0x5edc], 0
call fcn.100143f0
cmp byte [edi + 0x3ff3], 0
jne 0x10009a29
movss xmm0, dword [edi + 0x54]
xorps xmm1, xmm1
comiss xmm1, xmm0
ja 0x10009a29
movsd xmm1, qword [edi + 0x3fd8]
cvtpd2ps xmm1, xmm1
subss xmm1, xmm0
movss dword [esp + 8], xmm1
jmp 0x10009a31
movss xmm1, dword [0x100aa29c]
mov ecx, dword [edi + 0x4024]
mov eax, dword [edi + 0x401c]
lea eax, [ecx + eax*4]
mov dword [esp + 0x14], eax
cmp ecx, eax
je 0x10009b99
mov edi, ecx
nop
mov esi, dword [edi]
mov ax, word [esi + 0xf4]
mov cl, byte [esi + 0xe7]
mov word [esi + 0xf6], ax
xor eax, eax
mov byte [esi + 0xe8], cl
mov byte [esi + 0xe7], 0
mov byte [esi + 0xe9], 0
mov word [esi + 0xf4], ax
test cl, cl
jne 0x10009b82
cmp byte [esi + 0x3a8], al
jne 0x10009b82
comiss xmm1, dword [esi + 0x280]
jbe 0x10009b82
mov ecx, dword [esi + 0x2ac]
mov byte [esi + 0x3a8], 1
mov eax, dword [ecx + 0x10]
mov dword [esi + 0x3a0], eax
mov eax, dword [ecx + 0x1c]
mov dword [esi + 0x3a4], eax
mov ecx, dword [esi + 0x12c]
test ecx, ecx
je 0x10009af0
mov dword [esi + 0x128], 0
mov dword [esi + 0x124], 0
call fcn.10008350
mov dword [esi + 0x12c], 0
mov ecx, dword [esi + 0x2ac]
call fcn.10030360
mov ecx, dword [esi + 0x1c8]
test ecx, ecx
je 0x10009b28
mov dword [esi + 0x1c4], 0
mov dword [esi + 0x1c0], 0
call fcn.10008350
mov dword [esi + 0x1c8], 0
mov ecx, dword [esi + 0x1f0]
test ecx, ecx
je 0x10009b55
mov dword [esi + 0x1ec], 0
mov dword [esi + 0x1e8], 0
call fcn.10008350
mov dword [esi + 0x1f0], 0
mov ecx, dword [esi + 0x1fc]
test ecx, ecx
je 0x10009b82
mov dword [esi + 0x1f8], 0
mov dword [esi + 0x1f4], 0
call fcn.10008350
mov dword [esi + 0x1fc], 0
movss xmm1, dword [esp + 8]
add edi, 4
cmp edi, dword [esp + 0x14]
jne 0x10009a50
mov edi, dword [esp + 0xc]
xor ecx, ecx
mov dword [esp + 0x18], ecx
cmp dword [edi + 0x4e6c], ecx
jle 0x10009cc7
xor edx, edx
xorps xmm1, xmm1
mov dword [esp + 0x14], edx
nop dword [eax]
nop dword [eax + eax]
mov eax, dword [edi + 0x4e74]
movss xmm0, dword [eax + ecx*4]
comiss xmm0, xmm1
jb 0x10009cac
movss xmm2, dword [esp + 8]
comiss xmm2, xmm0
jbe 0x10009cac
mov esi, dword [edi + 0x4e54]
mov eax, dword [0x100aff30]
add esi, edx
mov dword [esp + 0x10], eax
mov dword [esi + 0x1a8], 0
mov ecx, dword [esi + 0x1a4]
test ecx, ecx
je 0x10009c2b
mov dword [esi + 0x1a0], 0
mov dword [esi + 0x19c], 0
call fcn.10008350
mov dword [esi + 0x1a4], 0
mov byte [esi + 0x1ed], 1
mov ecx, dword [esi + 0x164]
test ecx, ecx
je 0x10009c5f
mov dword [esi + 0x160], 0
mov dword [esi + 0x15c], 0
call fcn.10008350
mov dword [esi + 0x164], 0
xor edx, edx
mov byte [esi + 0x1fc], 1
cmp dword [esi + 0x40], edx
jle 0x10009c87
xor ecx, ecx
or edi, 0xffffffff
mov eax, dword [esi + 0x10]
lea ecx, [ecx + 0x70]
inc edx
mov word [ecx + eax - 0x20], di
cmp edx, dword [esi + 0x40]
jl 0x10009c72
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
xorps xmm1, xmm1
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
sub esi, dword [eax + 0x4e54]
mov eax, dword [eax + 0x4e74]
sar esi, 9
mov dword [eax + esi*4], 0xbf800000
inc ecx
add edx, 0x200
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edx
cmp ecx, dword [edi + 0x4e6c]
jl 0x10009bc0
imul eax, dword [edi + 0x4e40], 0x6c
mov esi, dword [edi + 0x4e48]
add eax, esi
mov dword [esp + 0x18], eax
cmp esi, eax
je 0x10009d13
xorps xmm1, xmm1
movss xmm0, dword [esi + 4]
comiss xmm0, xmm1
jb 0x10009d0c
movss xmm2, dword [esp + 8]
comiss xmm2, xmm0
jbe 0x10009d0c
lea ecx, [esi + 0x14]
call fcn.100326c0
mov eax, dword [esp + 0x18]
xorps xmm1, xmm1
mov dword [esi + 4], 0xbf800000
add esi, 0x6c
cmp esi, eax
jne 0x10009ce1
cmp byte [edi + 0x3ff3], 0
je 0x10009d21
call fcn.100079c0
mov eax, dword [edi + 0x4b90]
mov esi, 1
mov byte [edi + 0x3ff3], 0
test eax, eax
je 0x10009d90
cmp byte [eax + 0xe8], 0
jne 0x10009d90
mov eax, dword [0x100aff30]
mov edx, dword [eax + 0x4028]
sub edx, esi
js 0x10009d87
mov eax, dword [eax + 0x4030]
lea esi, [eax + edx*4]
mov ecx, dword [esi]
test ecx, ecx
je 0x10009d7a
cmp byte [ecx + 0xe8], 0
je 0x10009d7a
mov eax, dword [ecx + 0xc]
and eax, 0x10200
cmp eax, 0x10200
jne 0x10009f0f
sub esi, 4
sub edx, 1
jns 0x10009d58
mov esi, 1
xor ecx, ecx
mov edx, esi
call fcn.10012540
mov ecx, dword [edi + 0x4044]
test ecx, ecx
jns 0x10009dfd
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
mov dword [esp + 0x14], ecx
cmp ecx, dword [edi + 0x4044]
jle 0x10009dfd
imul ecx, ecx, 0x64
call fcn.100082b0
mov edx, dword [edi + 0x4048]
mov dword [esp + 0x18], eax
test edx, edx
je 0x10009ded
imul ecx, dword [edi + 0x4040], 0x64
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [edi + 0x4048]
add esp, 0xc
call fcn.10008350
mov eax, dword [esp + 0x18]
mov dword [edi + 0x4048], eax
mov eax, dword [esp + 0x14]
mov dword [edi + 0x4044], eax
mov dword [edi + 0x4040], 0
mov ecx, dword [edi + 0x4b24]
test ecx, ecx
jns 0x10009e7c
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
mov dword [esp + 0x14], ecx
cmp ecx, dword [edi + 0x4b24]
jle 0x10009e7c
lea ecx, [ecx + ecx*4]
shl ecx, 3
call fcn.100082b0
mov edx, dword [edi + 0x4b28]
mov dword [esp + 0x18], eax
test edx, edx
je 0x10009e6c
mov ecx, dword [edi + 0x4b20]
lea ecx, [ecx + ecx*4]
shl ecx, 3
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [edi + 0x4b28]
add esp, 0xc
call fcn.10008350
mov eax, dword [esp + 0x18]
mov dword [edi + 0x4b28], eax
mov eax, dword [esp + 0x14]
mov dword [edi + 0x4b24], eax
mov dword [edi + 0x4b20], 0
mov ecx, dword [edi + 0x4b00]
mov eax, ecx
mov dword [esp + 8], ecx
mov dword [esp + 0x10], eax
test ecx, ecx
jns 0x10009f19
cdq
sub eax, edx
mov dword [esp + 8], ecx
sar eax, 1
xor edx, edx
add eax, ecx
test eax, eax
cmovg edx, eax
mov eax, ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
cmp edx, ecx
jle 0x10009f19
lea ecx, [edx*4]
call fcn.100082b0
mov edx, dword [edi + 0x4b04]
mov dword [esp + 0x18], eax
test edx, edx
je 0x10009ef7
mov ecx, dword [edi + 0x4afc]
shl ecx, 2
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [edi + 0x4b04]
add esp, 0xc
call fcn.10008350
mov eax, dword [esp + 0x18]
mov dword [edi + 0x4b04], eax
mov eax, dword [esp + 0x14]
mov ecx, eax
mov dword [edi + 0x4b00], eax
mov dword [esp + 0x10], eax
jmp 0x10009f1d
mov esi, 1
jmp 0x10009d89
mov ecx, dword [esp + 8]
xor edx, edx
mov dword [edi + 0x4afc], 0
test ecx, ecx
jne 0x10009f9e
test eax, eax
je 0x10009f4a
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x10]
cmp eax, 1
cmovg esi, eax
xor edx, edx
cmp esi, dword [esp + 0x10]
jle 0x10009f9e
jmp 0x10009f4f
mov esi, 8
lea ecx, [esi*4]
call fcn.100082b0
mov edx, dword [edi + 0x4b04]
mov dword [esp + 0x18], eax
test edx, edx
je 0x10009f8c
mov ecx, dword [edi + 0x4afc]
shl ecx, 2
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [edi + 0x4b04]
add esp, 0xc
call fcn.10008350
mov eax, dword [esp + 0x18]
mov edx, dword [edi + 0x4afc]
mov dword [edi + 0x4b04], eax
mov dword [edi + 0x4b00], esi
mov eax, dword [edi + 0x4b04]
mov dword [eax + edx*4], 0
inc dword [edi + 0x4afc]
mov ecx, dword [edi + 0x4b0c]
test ecx, ecx
jns 0x1000a02a
mov eax, ecx
xor esi, esi
cdq
sub eax, edx
sar eax, 1
add eax, ecx
test eax, eax
cmovg esi, eax
cmp esi, ecx
jle 0x1000a02a
lea ecx, [esi*8]
sub ecx, esi
shl ecx, 3
call fcn.100082b0
cmp dword [edi + 0x4b10], 0
mov dword [esp + 0x18], eax
je 0x1000a01e
mov ecx, dword [edi + 0x4b08]
lea edx, [ecx*8]
sub edx, ecx
shl edx, 3
push edx
push dword [edi + 0x4b10]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [edi + 0x4b10]
add esp, 0xc
call fcn.10008350
mov eax, dword [esp + 0x18]
mov dword [edi + 0x4b10], eax
mov dword [edi + 0x4b0c], esi
mov ecx, edi
mov dword [edi + 0x4b08], 0
call fcn.1001e5a0
mov esi, dword [0x100aff30]
cmp byte [esi + 0x6001], 0
mov dword [esi + 0x6004], 0
je 0x1000a205
mov eax, dword [esi + 0x40a8]
xor edx, edx
push 1
mov ecx, 0x20e
mov dword [esp + 0x1c], eax
mov dword [esi + 0x4ed8], 7
call fcn.100136c0
add esp, 4
test al, al
je 0x1000a088
mov byte [esi + 0x6001], 0
mov eax, dword [esi + 0xe2c]
xorps xmm1, xmm1
mov dword [esp + 8], eax
cmp eax, 0x3000
je 0x1000a0ee
movzx ecx, byte [esi + 0x6002]
cmp byte [ecx + esi + 0xe10], 0
je 0x1000a0ee
movss xmm0, dword [esi + ecx*4 + 0x3860]
comiss xmm1, xmm0
ja 0x1000a0ee
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1000a0ea
add ecx, 0x28f
xor edx, edx
call fcn.10015300
test al, al
je 0x1000a0ea
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1000a0ea
mov dword [esi + 0x6004], eax
mov byte [esi + 0x6001], 0
mov eax, dword [esp + 8]
xor ecx, ecx
mov edx, 0x3860
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
nop dword [eax]
cmp eax, 0x3000
jne 0x1000a14d
cmp byte [esi + ecx + 0xe10], 0
je 0x1000a14d
movss xmm0, dword [esi + edx]
comiss xmm1, xmm0
ja 0x1000a14d
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1000a149
add ecx, 0x28f
xor edx, edx
call fcn.10015300
mov ecx, dword [esp + 0x10]
test al, al
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 8]
je 0x1000a14d
mov byte [esi + 0x6002], cl
jmp 0x1000a14d
mov eax, dword [esp + 8]
add edx, 4
inc ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
cmp edx, 0x386c
jl 0x1000a100
or dword [esi + 0x4a34], 0x40
xor ecx, ecx
mov dword [esi + 0x4a90], 0x3f333333
call fcn.10016470
test al, al
je 0x1000a205
push dword [esp + 0x18]
push str.HoveredId:_0x_08X
call fcn.1003cb40
push str.Press_ESC_to_abort_picking.
call fcn.1003cb40
add esp, 0xc
mov dword [esp + 0x20], str.Left
cmp dword [esp + 8], 0x3000
mov dword [esp + 0x24], str.Right
mov dword [esp + 0x28], str.Middle
jne 0x1000a1cd
push str.Remap_w__CtrlShift:_click_anywhere_to_select_new_mouse_button.
call fcn.1003cb40
add esp, 4
jmp 0x1000a200
movzx eax, byte [esi + 0x6002]
xor ecx, ecx
cmp dword [esp + 0x18], ecx
push dword [esp + eax*4 + 0x20]
mov eax, 0x10
cmove ecx, eax
mov eax, dword [0x100aff30]
add eax, 0x3a3c
add eax, ecx
push str.Click__s_Button_to_break_in_debugger___remap_w__CtrlShift_
push eax
call fcn.1003cb90
add esp, 0xc
call fcn.10012290
call fcn.100273e0
mov edx, dword [0x100aff30]
xorps xmm1, xmm1
movss xmm0, dword [edx + 0x6008]
comiss xmm1, xmm0
jae 0x1000a2d7
mulss xmm0, dword [0x100aa200]
lea eax, [edx + 0x3a44]
mov ecx, dword [edx + 0x4ac8]
shl ecx, 4
add eax, ecx
cvtps2pd xmm0, xmm0
push eax
lea esi, [ecx + edx]
lea edi, [ecx + edx]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [0x100aa144]
lea edx, [esi + 0x3a40]
cvtsd2ss xmm0, xmm0
lea ecx, [edi + 0x3a3c]
movaps xmm2, xmm1
mulss xmm0, xmm1
addss xmm0, xmm1
call fcn.10004790
mov edx, dword [0x100aff30]
xorps xmm1, xmm1
add esp, 4
mov eax, dword [edx + 0x4ac8]
add eax, eax
mov dword [edx + eax*8 + 0x3a48], 0x3f800000
movss xmm0, dword [edx + 0x6008]
subss xmm0, dword [edx + 0x18]
comiss xmm1, xmm0
movss dword [edx + 0x6008], xmm0
jb 0x1000a2d3
mov eax, dword [edx + 0x4ac8]
cmp eax, 0x37
je 0x1000a2c9
movups xmm0, xmmword [edx + 0x600c]
add eax, eax
movups xmmword [edx + eax*8 + 0x3a3c], xmm0
mov dword [edx + 0x4ac8], 0x37
mov edi, dword [esp + 0xc]
mov al, byte [edi + 0x5ff9]
test al, al
je 0x1000a2fc
sub al, 1
mov byte [edi + 0x5ff9], al
jne 0x1000a2fc
mov dword [edi + 0x49c0], 0
mov byte [edi + 0x5ffa], 0
mov al, byte [edi + 0x5ff8]
test al, al
je 0x1000a335
sub al, 1
mov byte [edi + 0x5ff8], al
jne 0x1000a335
push str._Debug_Log:_Auto_disabled_some_ImGuiDebugLogFlags_after_2_frames__n
call fcn.10027060
mov eax, dword [edi + 0x5ff4]
add esp, 4
not eax
mov dword [edi + 0x5ff4], 0
and dword [edi + 0x5fd4], eax
mov eax, dword [0x100aff30]
xor edx, edx
mov byte [edi + 0x3ff1], 1
mov ecx, str.DebugDefault
push 0
or dword [eax + 0x4a34], 2
mov dword [eax + 0x4a58], 0x43c80000
mov dword [eax + 0x4a5c], 0x43c80000
mov dword [eax + 0x4a3c], 4
call fcn.1000f330
add esp, 4
cmp byte [edi + 0x6e], 0
je 0x1000a3b2
mov cl, byte [edi + 0x6000]
cmp cl, 0xff
jne 0x1000a38c
xor edx, edx
jmp 0x1000a3b5
mov eax, dword [edi + 0x3fe0]
and eax, 0x80000003
jns 0x1000a39e
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 0x1000a3b5
or dl, 0xff
mov byte [edi + 0x6000], dl
mov eax, dword [edi + 0x5f64]
mov esi, dword [edi + 0x5f6c]
lea eax, [eax + eax*4]
lea eax, [esi + eax*4]
mov dword [esp + 0x18], eax
cmp esi, eax
je 0x1000a3f0
cmp dword [esi + 4], 1
jne 0x1000a3e9
mov eax, dword [esi + 0xc]
push esi
push edi
call eax
mov eax, dword [esp + 0x20]
add esp, 8
add esi, 0x14
cmp esi, eax
jne 0x1000a3d5
pop edi
pop esi
mov esp, ebp
pop ebp
ret