Function at 0x10008c60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x28
push esi
push edi
mov edi, dword [0x100a79b0]
mov dword [esp + 0xc], edi
mov ecx, dword [edi + 0x5f64]
sub ecx, 1
mov dword [esp + 0x18], ecx
js 0x10008cfa
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 0x10008cea
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 0x10008c90
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 0x10008d2f
cmp dword [esi + 4], 0
jne 0x10008d28
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 0x10008d14
mov esi, dword [0x100a79b0]
mov eax, dword [edi + 0x3dc0]
mov dword [edi + 0x3dc4], eax
cmp byte [esi + 0x52], 0
je 0x10008d51
test byte [esi + 0xc], 2
jne 0x10008d51
mov byte [esi + 0x52], 0
mov ecx, dword [esi + 8]
test ecx, 0x400
je 0x10008d74
mov eax, dword [esi + 0xc]
and eax, 0x1400
cmp eax, 0x1400
je 0x10008d74
and ecx, 0xfffffbff
mov dword [esi + 8], ecx
mov eax, dword [edi + 8]
mov dword [edi + 0x3dc0], eax
cmp byte [esi + 0x5f2c], 0
jne 0x10008dcc
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x10008dc5
push ecx
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push eax
call fcn.10004100
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
je 0x10008dc5
mov edx, dword [esp + 0x18]
test edx, edx
je 0x10008dbe
mov ecx, eax
call fcn.1001bac0
mov eax, dword [esp + 0x14]
mov ecx, eax
call fcn.100080f0
mov byte [esi + 0x5f2c], 1
movss xmm0, dword [esi + 0x5f30]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x10008e68
subss xmm0, dword [esi + 0x18]
comiss xmm1, xmm0
movss dword [esi + 0x5f30], xmm0
jb 0x10008e68
mov eax, dword [esi + 0x20]
mov dword [esp + 0x14], eax
test eax, eax
je 0x10008e57
mov eax, dword [0x100a79b0]
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], 0
mov dword [eax + 0x5f30], 0
call fcn.1001bd10
mov ecx, dword [esp + 0x14]
mov edx, 0x1006c47c
mov dword [esp + 0x10], eax
call fcn.10004020
mov dword [esp + 0x14], eax
test eax, eax
je 0x10008e5e
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 0x10008e5e
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 0x10008f08
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 0x10008f08
lea ecx, [esi*4]
call fcn.10008050
mov edx, dword [edi + 0x5e78]
mov dword [esp + 0x18], eax
test edx, edx
je 0x10008ef7
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.100080f0
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 [0x100a2d34]
inc eax
cmp eax, ecx
mov dword [edi + 0x6180], edx
movss dword [esp + 8], xmm0
cmovl ecx, eax
comiss xmm1, dword [0x100a2b88]
mov dword [edi + 0x6184], ecx
jbe 0x10008f9a
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x100a2c38]
divss xmm0, xmm1
push ecx
lea ecx, [edi + 0x4008]
movss dword [edi + 0xa4], xmm0
call fcn.10027fe0
mov cl, byte [edi + 0x4e]
call fcn.10014ab0
call fcn.1001cb00
mov eax, dword [edi + 0x2c]
mov esi, dword [0x100a79b0]
mov byte [eax + 0x10], 1
mov ecx, dword [esi + 0x38]
mov dword [esp + 0x18], ecx
test ecx, ecx
jne 0x10008fdf
mov eax, dword [esi + 0x2c]
mov eax, dword [eax + 0x44]
mov ecx, dword [eax]
mov dword [esp + 0x18], ecx
movss xmm2, dword [0x100a2c38]
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 0x10009043
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 0x10009046
mulss xmm0, dword [eax + 0x2a0]
jmp 0x10009046
xorps xmm0, xmm0
movss xmm7, dword [0x100a2d34]
movss xmm5, dword [0x100a2d60]
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 0x100090fb
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 0x100090d4
movaps xmm7, xmm3
comiss xmm6, xmm2
jbe 0x100090dc
movaps xmm6, xmm2
comiss xmm0, xmm5
jbe 0x100090e4
movaps xmm5, xmm0
comiss xmm1, xmm4
jbe 0x100090ec
movaps xmm4, xmm1
add ecx, 4
cmp ecx, edx
jne 0x100090b0
movss xmm2, dword [0x100a2c38]
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 0x10009230
movss dword [edi + 0x3de8], xmm1
xor esi, esi
movd xmm0, esi
cvtdq2ps xmm0, xmm0
test esi, esi
je 0x100091db
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 [0x100a2ca0]
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 0x100091cc
mov eax, 4
jmp 0x100091e0
cmp eax, 0x200
mov ecx, 0x200
cmovg eax, ecx
jmp 0x100091e0
mov eax, 0x30
movss xmm2, dword [0x100a2c38]
mov byte [esi + edi + 0x3f90], al
inc esi
cmp esi, 0x40
jl 0x10009152
movsd xmm0, qword [0x100a2c50]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [0x100a2c38]
cvtsd2ss xmm0, xmm0
mov esi, dword [0x100a79b0]
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 0x10009253
mov dword [edi + 0x3dfc], 1
mov edx, 1
cmp byte [edi + 0x3a31], 0
mov ecx, edx
je 0x10009275
mov eax, dword [edi + 0x3dc8]
mov eax, dword [eax + 0x30]
test byte [eax], 4
jne 0x10009275
or ecx, 2
mov dword [edi + 0x3dfc], ecx
cmp byte [edi + 0x3a32], 0
je 0x10009287
or ecx, 4
mov dword [edi + 0x3dfc], ecx
test byte [edi + 0xc], 8
je 0x10009296
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 0x100092c7
nop dword [eax]
mov eax, dword [ecx]
add ecx, 4
mov dword [eax + 0x30], 0
mov byte [eax + 0x80], 0
cmp ecx, edx
jne 0x100092b0
cmp byte [edi + 0x4d84], 0
je 0x100092fb
mov eax, dword [edi + 0x4d9c]
cmp eax, dword [edi + 0x40b8]
jne 0x100092fb
cmp dword [esi + 0x40b8], eax
jne 0x100092ec
mov dword [esi + 0x40bc], eax
cmp dword [esi + 0x40e0], eax
jne 0x100092fb
mov byte [esi + 0x40e4], 1
cmp dword [edi + 0x40a8], 0
mov eax, dword [edi + 0x40a4]
jne 0x10009316
mov dword [edi + 0x40b0], 0
jmp 0x10009324
mov ecx, eax
test eax, eax
je 0x10009330
cmp dword [edi + 0x40b8], eax
jne 0x10009334
mov dword [edi + 0x40b4], 0
mov ecx, eax
test ecx, ecx
je 0x10009368
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 0x1000936e
addss xmm1, dword [edi + 0x40b4]
movss dword [edi + 0x40b4], xmm1
jmp 0x1000936e
mov eax, dword [edi + 0x40b8]
mov dword [edi + 0x40a8], ecx
mov dword [edi + 0x40a4], 0
mov word [edi + 0x40ac], 0
test eax, eax
je 0x100093ba
cmp dword [edi + 0x40bc], eax
je 0x100093ba
cmp dword [edi + 0x40e0], eax
jne 0x100093ba
test byte [edi + 0x5fd4], 1
je 0x100093b1
push str.NewFrame__:_ClearActiveID___because_it_isnt_marked_alive_anymore__n
call fcn.10026e00
add esp, 4
xor edx, edx
xor ecx, ecx
call fcn.10007940
mov esi, dword [edi + 0x40b8]
test esi, esi
je 0x100093d9
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 0x10009443
cmp esi, eax
je 0x10009443
mov dword [edi + 0x5dd0], 0
test esi, esi
jne 0x10009462
mov dword [edi + 0x49b4], esi
mov dword [edi + 0x49a8], esi
mov byte [edi + 0x49ac], 0
mov dword [edi + 0x49b4], esi
jmp 0x1000948b
mov eax, dword [edi + 0x49b4]
test eax, eax
je 0x1000948b
test al, 2
je 0x1000948b
mov ecx, dword [0x100a79b0]
mov edx, 0x20e
call fcn.100034d0
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
mov ecx, dword [edi + 0x4ec0]
test ecx, ecx
je 0x100094ae
movss xmm0, dword [edi + 0x4edc]
comiss xmm0, dword [edi + 0x3dac]
jb 0x100094b8
mov dword [edi + 0x4ed0], ecx
jmp 0x100094b8
mov dword [edi + 0x4ed0], 0
mov eax, dword [edi + 0x406c]
test eax, eax
je 0x100094de
movss xmm0, dword [edi + 0x4edc]
comiss xmm0, dword [edi + 0x3dac]
jb 0x100094e8
mov eax, dword [eax + 8]
mov dword [edi + 0x4ed4], eax
jmp 0x100094e8
mov dword [edi + 0x4ed4], 0
movss xmm0, dword [edi + 0x4ec8]
mov dword [edi + 0x4ec4], ecx
test ecx, ecx
je 0x10009513
addss xmm0, dword [edi + 0x18]
mov dword [edi + 0x4ec0], 0
movss dword [edi + 0x4ec8], xmm0
jmp 0x10009553
comiss xmm0, dword [0x100a2b88]
jbe 0x1000955d
movss xmm1, dword [edi + 0x18]
movss xmm0, dword [0x100a2bd8]
movaps xmm2, xmm1
addss xmm2, dword [edi + 0x4ecc]
addss xmm1, xmm1
movss dword [edi + 0x4ecc], xmm2
maxss xmm0, xmm1
comiss xmm2, xmm0
jb 0x1000955d
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.10013750
call fcn.100185d0
call fcn.10013c50
test byte [edi + 8], 0x40
jne 0x100095ce
cmp dword [edi + 0x5f00], 0
jg 0x100095bb
cmp dword [edi + 0x5f0c], 0
jle 0x100096b3
mov dl, 1
call fcn.10025250
xor ecx, ecx
call fcn.10024f20
jmp 0x100096b3
cmp byte [edi + 0x44], 0
je 0x1000960a
xor esi, esi
cmp dword [edi + 0x5f00], esi
jle 0x1000960a
nop
mov eax, dword [edi + 0x5f08]
mov ecx, dword [eax + esi*8 + 4]
test ecx, ecx
je 0x10009601
cmp dword [ecx + 0x18], 0
jne 0x10009601
cmp dword [ecx + 0x1c], 0
je 0x10009601
mov ecx, dword [ecx]
call fcn.10024f20
inc esi
cmp esi, dword [edi + 0x5f00]
jl 0x100095e0
cmp byte [edi + 0x5f24], 0
je 0x10009665
test dword [edi + 0x5fd4], 0x100
je 0x1000962c
push str._docking__DockContextRebuildNodes_n
call fcn.10026e00
add esp, 4
xor ecx, ecx
call fcn.1001bd10
xor dl, dl
call fcn.10025250
xor ecx, ecx
call fcn.10024f20
push dword [edi + 0x5f18]
mov edx, dword [edi + 0x5f20]
mov ecx, edi
call fcn.1001ef40
add esp, 4
mov ecx, edi
call fcn.1001f0b0
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 0x100096b3
nop
cmp dword [esi], 2
jne 0x100096ac
mov edx, dword [esi + 0x1c]
test edx, edx
je 0x1000969a
push 1
mov ecx, edi
call fcn.1001f4f0
add esp, 4
jmp 0x100096a8
mov edx, dword [esi + 0x20]
test edx, edx
je 0x100096ac
mov ecx, edi
call fcn.1001f650
mov eax, dword [esp + 0x18]
add esi, 0x24
cmp esi, eax
jne 0x10009680
call fcn.10008a00
call fcn.100084a0
mov eax, dword [0x100a79b0]
mov edx, dword [eax + 0x4b14]
sub edx, 1
js 0x100096f7
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 0x100096ef
test dword [ecx + 0xc], 0x8000000
jne 0x10009711
sub eax, 0x28
sub edx, 1
jns 0x100096e0
cmp dword [edi + 0x4d58], 0
je 0x10009730
movss xmm0, dword [edi + 0x4d68]
comiss xmm0, dword [0x100a2b88]
jbe 0x10009730
movss xmm1, dword [edi + 0x18]
mulss xmm1, dword [0x100a2cb0]
addss xmm1, dword [edi + 0x4d80]
minss xmm1, dword [0x100a2c38]
jmp 0x10009751
movss xmm0, dword [edi + 0x18]
mulss xmm0, dword [0x100a2cbc]
movss xmm1, dword [edi + 0x4d80]
subss xmm1, xmm0
maxss xmm1, dword [0x100a2b88]
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.100141a0
cmp byte [edi + 0x3ff3], 0
jne 0x100097c9
movss xmm0, dword [edi + 0x54]
xorps xmm1, xmm1
comiss xmm1, xmm0
ja 0x100097c9
movsd xmm1, qword [edi + 0x3fd8]
cvtpd2ps xmm1, xmm1
subss xmm1, xmm0
movss dword [esp + 8], xmm1
jmp 0x100097d1
movss xmm1, dword [0x100a2d34]
mov ecx, dword [edi + 0x4024]
mov eax, dword [edi + 0x401c]
lea eax, [ecx + eax*4]
mov dword [esp + 0x14], eax
cmp ecx, eax
je 0x10009939
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 0x10009922
cmp byte [esi + 0x3a8], al
jne 0x10009922
comiss xmm1, dword [esi + 0x280]
jbe 0x10009922
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 0x10009890
mov dword [esi + 0x128], 0
mov dword [esi + 0x124], 0
call fcn.100080f0
mov dword [esi + 0x12c], 0
mov ecx, dword [esi + 0x2ac]
call fcn.10030100
mov ecx, dword [esi + 0x1c8]
test ecx, ecx
je 0x100098c8
mov dword [esi + 0x1c4], 0
mov dword [esi + 0x1c0], 0
call fcn.100080f0
mov dword [esi + 0x1c8], 0
mov ecx, dword [esi + 0x1f0]
test ecx, ecx
je 0x100098f5
mov dword [esi + 0x1ec], 0
mov dword [esi + 0x1e8], 0
call fcn.100080f0
mov dword [esi + 0x1f0], 0
mov ecx, dword [esi + 0x1fc]
test ecx, ecx
je 0x10009922
mov dword [esi + 0x1f8], 0
mov dword [esi + 0x1f4], 0
call fcn.100080f0
mov dword [esi + 0x1fc], 0
movss xmm1, dword [esp + 8]
add edi, 4
cmp edi, dword [esp + 0x14]
jne 0x100097f0
mov edi, dword [esp + 0xc]
xor ecx, ecx
mov dword [esp + 0x18], ecx
cmp dword [edi + 0x4e6c], ecx
jle 0x10009a67
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 0x10009a4c
movss xmm2, dword [esp + 8]
comiss xmm2, xmm0
jbe 0x10009a4c
mov esi, dword [edi + 0x4e54]
mov eax, dword [0x100a79b0]
add esi, edx
mov dword [esp + 0x10], eax
mov dword [esi + 0x1a8], 0
mov ecx, dword [esi + 0x1a4]
test ecx, ecx
je 0x100099cb
mov dword [esi + 0x1a0], 0
mov dword [esi + 0x19c], 0
call fcn.100080f0
mov dword [esi + 0x1a4], 0
mov byte [esi + 0x1ed], 1
mov ecx, dword [esi + 0x164]
test ecx, ecx
je 0x100099ff
mov dword [esi + 0x160], 0
mov dword [esi + 0x15c], 0
call fcn.100080f0
mov dword [esi + 0x164], 0
xor edx, edx
mov byte [esi + 0x1fc], 1
cmp dword [esi + 0x40], edx
jle 0x10009a27
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 0x10009a12
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 0x10009960
imul eax, dword [edi + 0x4e40], 0x6c
mov esi, dword [edi + 0x4e48]
add eax, esi
mov dword [esp + 0x18], eax
cmp esi, eax
je 0x10009ab3
xorps xmm1, xmm1
movss xmm0, dword [esi + 4]
comiss xmm0, xmm1
jb 0x10009aac
movss xmm2, dword [esp + 8]
comiss xmm2, xmm0
jbe 0x10009aac
lea ecx, [esi + 0x14]
call fcn.10032460
mov eax, dword [esp + 0x18]
xorps xmm1, xmm1
mov dword [esi + 4], 0xbf800000
add esi, 0x6c
cmp esi, eax
jne 0x10009a81
cmp byte [edi + 0x3ff3], 0
je 0x10009ac1
call fcn.10007760
mov eax, dword [edi + 0x4b90]
mov esi, 1
mov byte [edi + 0x3ff3], 0
test eax, eax
je 0x10009b30
cmp byte [eax + 0xe8], 0
jne 0x10009b30
mov eax, dword [0x100a79b0]
mov edx, dword [eax + 0x4028]
sub edx, esi
js 0x10009b27
mov eax, dword [eax + 0x4030]
lea esi, [eax + edx*4]
mov ecx, dword [esi]
test ecx, ecx
je 0x10009b1a
cmp byte [ecx + 0xe8], 0
je 0x10009b1a
mov eax, dword [ecx + 0xc]
and eax, 0x10200
cmp eax, 0x10200
jne 0x10009caf
sub esi, 4
sub edx, 1
jns 0x10009af8
mov esi, 1
xor ecx, ecx
mov edx, esi
call fcn.100122f0
mov ecx, dword [edi + 0x4044]
test ecx, ecx
jns 0x10009b9d
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 0x10009b9d
imul ecx, ecx, 0x64
call fcn.10008050
mov edx, dword [edi + 0x4048]
mov dword [esp + 0x18], eax
test edx, edx
je 0x10009b8d
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.100080f0
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 0x10009c1c
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 0x10009c1c
lea ecx, [ecx + ecx*4]
shl ecx, 3
call fcn.10008050
mov edx, dword [edi + 0x4b28]
mov dword [esp + 0x18], eax
test edx, edx
je 0x10009c0c
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.100080f0
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 0x10009cb9
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 0x10009cb9
lea ecx, [edx*4]
call fcn.10008050
mov edx, dword [edi + 0x4b04]
mov dword [esp + 0x18], eax
test edx, edx
je 0x10009c97
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.100080f0
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 0x10009cbd
mov esi, 1
jmp 0x10009b29
mov ecx, dword [esp + 8]
xor edx, edx
mov dword [edi + 0x4afc], 0
test ecx, ecx
jne 0x10009d3e
test eax, eax
je 0x10009cea
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 0x10009d3e
jmp 0x10009cef
mov esi, 8
lea ecx, [esi*4]
call fcn.10008050
mov edx, dword [edi + 0x4b04]
mov dword [esp + 0x18], eax
test edx, edx
je 0x10009d2c
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.100080f0
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 0x10009dca
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 0x10009dca
lea ecx, [esi*8]
sub ecx, esi
shl ecx, 3
call fcn.10008050
cmp dword [edi + 0x4b10], 0
mov dword [esp + 0x18], eax
je 0x10009dbe
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.100080f0
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.1001e350
mov esi, dword [0x100a79b0]
cmp byte [esi + 0x6001], 0
mov dword [esi + 0x6004], 0
je 0x10009fa5
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.10013470
add esp, 4
test al, al
je 0x10009e28
mov byte [esi + 0x6001], 0
mov eax, dword [esi + 0xe2c]
xorps xmm1, xmm1
mov dword [esp + 8], eax
cmp eax, 0x3000
je 0x10009e8e
movzx ecx, byte [esi + 0x6002]
cmp byte [ecx + esi + 0xe10], 0
je 0x10009e8e
movss xmm0, dword [esi + ecx*4 + 0x3860]
comiss xmm1, xmm0
ja 0x10009e8e
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10009e8a
add ecx, 0x28f
xor edx, edx
call fcn.100150b0
test al, al
je 0x10009e8a
mov eax, dword [esp + 0x18]
test eax, eax
je 0x10009e8a
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 0x10009eed
cmp byte [esi + ecx + 0xe10], 0
je 0x10009eed
movss xmm0, dword [esi + edx]
comiss xmm1, xmm0
ja 0x10009eed
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10009ee9
add ecx, 0x28f
xor edx, edx
call fcn.100150b0
mov ecx, dword [esp + 0x10]
test al, al
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 8]
je 0x10009eed
mov byte [esi + 0x6002], cl
jmp 0x10009eed
mov eax, dword [esp + 8]
add edx, 4
inc ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
cmp edx, 0x386c
jl 0x10009ea0
or dword [esi + 0x4a34], 0x40
xor ecx, ecx
mov dword [esi + 0x4a90], 0x3f333333
call fcn.10016220
test al, al
je 0x10009fa5
push dword [esp + 0x18]
push str.HoveredId:_0x_08X
call fcn.1003c8e0
push str.Press_ESC_to_abort_picking.
call fcn.1003c8e0
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 0x10009f6d
push str.Remap_w__CtrlShift:_click_anywhere_to_select_new_mouse_button.
call fcn.1003c8e0
add esp, 4
jmp 0x10009fa0
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 [0x100a79b0]
add eax, 0x3a3c
add eax, ecx
push str.Click__s_Button_to_break_in_debugger___remap_w__CtrlShift_
push eax
call fcn.1003c930
add esp, 0xc
call fcn.10012040
call fcn.10027180
mov edx, dword [0x100a79b0]
xorps xmm1, xmm1
movss xmm0, dword [edx + 0x6008]
comiss xmm1, xmm0
jae 0x1000a077
mulss xmm0, dword [0x100a2cb0]
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 [0x100a2bf4]
lea edx, [esi + 0x3a40]
cvtsd2ss xmm0, xmm0
lea ecx, [edi + 0x3a3c]
movaps xmm2, xmm1
mulss xmm0, xmm1
addss xmm0, xmm1
call fcn.10004530
mov edx, dword [0x100a79b0]
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 0x1000a073
mov eax, dword [edx + 0x4ac8]
cmp eax, 0x37
je 0x1000a069
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 0x1000a09c
sub al, 1
mov byte [edi + 0x5ff9], al
jne 0x1000a09c
mov dword [edi + 0x49c0], 0
mov byte [edi + 0x5ffa], 0
mov al, byte [edi + 0x5ff8]
test al, al
je 0x1000a0d5
sub al, 1
mov byte [edi + 0x5ff8], al
jne 0x1000a0d5
push str._Debug_Log:_Auto_disabled_some_ImGuiDebugLogFlags_after_2_frames__n
call fcn.10026e00
mov eax, dword [edi + 0x5ff4]
add esp, 4
not eax
mov dword [edi + 0x5ff4], 0
and dword [edi + 0x5fd4], eax
mov eax, dword [0x100a79b0]
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.1000f0e0
add esp, 4
cmp byte [edi + 0x6e], 0
je 0x1000a152
mov cl, byte [edi + 0x6000]
cmp cl, 0xff
jne 0x1000a12c
xor edx, edx
jmp 0x1000a155
mov eax, dword [edi + 0x3fe0]
and eax, 0x80000003
jns 0x1000a13e
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 0x1000a155
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 0x1000a190
cmp dword [esi + 4], 1
jne 0x1000a189
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 0x1000a175
pop edi
pop esi
mov esp, ebp
pop ebp
ret