Function at 0x1000df70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [0x1004fc68]
push esi
push edi
mov dword [ebp - 8], ebx
mov eax, dword [ebx + 0x5df4]
sub eax, 1
mov dword [ebp - 4], eax
js 0x1000e000
lea edi, [eax + eax*4]
shl edi, 2
nop word [eax + eax]
mov edx, dword [ebx + 0x5dfc]
cmp dword [edi + edx + 4], 7
jne 0x1000dff5
mov esi, edx
mov ecx, edi
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 [ebx + 0x5df4]
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 - 4]
add esp, 0xc
dec dword [ebx + 0x5df4]
dec eax
sub edi, 0x14
mov dword [ebp - 4], eax
test eax, eax
jns 0x1000dfa0
mov eax, dword [ebx + 0x5df4]
mov esi, dword [ebx + 0x5dfc]
lea eax, [eax + eax*4]
lea edi, [esi + eax*4]
cmp esi, edi
je 0x1000e02d
cmp dword [esi + 4], 0
jne 0x1000e026
mov eax, dword [esi + 0xc]
push esi
push ebx
call eax
add esp, 8
add esi, 0x14
cmp esi, edi
jne 0x1000e016
mov esi, dword [0x1004fc68]
cmp byte [esi + 0x4a], 0
je 0x1000e043
test byte [esi + 0xc], 2
jne 0x1000e043
mov byte [esi + 0x4a], 0
cmp byte [esi + 0x5dbc], 0
jne 0x1000e089
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x1000e082
push ecx
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
call fcn.1000a580
mov edi, eax
add esp, 8
test edi, edi
je 0x1000e082
mov edx, dword [ebp - 4]
test edx, edx
je 0x1000e07b
mov ecx, edi
call fcn.1001f9a0
mov ecx, edi
call fcn.1000d880
mov byte [esi + 0x5dbc], 1
movss xmm0, dword [esi + 0x5dc0]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x1000e111
subss xmm0, dword [esi + 0x18]
comiss xmm1, xmm0
movss dword [esi + 0x5dc0], xmm0
jb 0x1000e111
mov edi, dword [esi + 0x20]
test edi, edi
je 0x1000e100
mov eax, dword [0x1004fc68]
lea ecx, [ebp - 4]
mov dword [ebp - 4], 0
mov dword [eax + 0x5dc0], 0
call fcn.1001fb80
mov edx, 0x1004bf0c
mov dword [ebp - 0x10], eax
mov ecx, edi
call fcn.1000a490
mov edi, eax
test edi, edi
je 0x1000e107
push edi
push dword [ebp - 4]
push 1
push dword [ebp - 0x10]
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 0x1000e107
mov byte [esi + 0x96], 1
mov dword [esi + 0x5dc0], 0
movss xmm1, dword [ebx + 0x18]
xor eax, eax
inc dword [ebx + 0x3f08]
cvtps2pd xmm0, xmm1
mov byte [ebx + 0x3f14], 1
mov word [ebx + 0x5d20], ax
mov dword [ebx + 0x3f7c], eax
addsd xmm0, qword [ebx + 0x3f00]
movsd qword [ebx + 0x3f00], xmm0
mov ecx, dword [ebx + 0x5d34]
test ecx, ecx
jns 0x1000e1ab
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 0x1000e1ab
lea ecx, [esi*4]
call fcn.1000d7f0
mov edi, eax
mov eax, dword [ebx + 0x5d38]
test eax, eax
je 0x1000e19a
mov ecx, dword [ebx + 0x5d30]
shl ecx, 2
push ecx
push eax
push edi
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebx + 0x5d38]
add esp, 0xc
call fcn.1000d880
mov dword [ebx + 0x5d38], edi
mov dword [ebx + 0x5d34], esi
movss xmm1, dword [ebx + 0x18]
mov dword [ebx + 0x5d30], 0
movaps xmm0, xmm1
mov eax, dword [ebx + 0x6008]
mov ecx, 0x3c
subss xmm0, dword [ebx + eax*4 + 0x5f18]
addss xmm0, dword [ebx + 0x6010]
movss dword [ebx + 0x6010], xmm0
movss dword [ebx + eax*4 + 0x5f18], xmm1
mov eax, dword [ebx + 0x6008]
inc eax
movss xmm1, dword [ebx + 0x6010]
cdq
idiv ecx
mov eax, dword [ebx + 0x600c]
movss xmm0, dword [0x1004c880]
inc eax
cmp eax, ecx
mov dword [ebx + 0x6008], edx
movss dword [ebp - 4], xmm0
cmovl ecx, eax
comiss xmm1, dword [0x1004c6f0]
mov dword [ebx + 0x600c], ecx
jbe 0x1000e23c
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x1004c7a8]
divss xmm0, xmm1
push ecx
lea ecx, [ebx + 0x3f2c]
movss dword [ebx + 0x9c], xmm0
call fcn.10021100
mov cl, byte [ebx + 0x46]
call fcn.10018630
mov edi, dword [0x1004fc68]
xorps xmm3, xmm3
mov eax, dword [edi + 0x4a34]
mov edx, dword [eax]
mov dword [edx + 4], 5
mov dword [edx + 8], 0
mov dword [edx + 0xc], 0
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 0x14]
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], ecx
mov esi, dword [edi + 0x4a34]
mov eax, dword [edi + 0x4a2c]
lea eax, [esi + eax*4]
cmp esi, eax
je 0x1000e375
mov ebx, eax
mov edx, dword [esi]
movaps xmm2, xmm3
add esi, 4
mov eax, dword [edx + 0x98]
mov ecx, dword [edx + 0x9c]
movss xmm1, dword [edx + 8]
mov dword [edx + 0x88], eax
mov eax, dword [edx + 0xa0]
mov dword [edx + 0x8c], ecx
mov ecx, dword [edx + 0xa4]
mov dword [edx + 0x90], eax
mov dword [edx + 0x94], ecx
mov dword [edx + 0xa0], 0
mov eax, dword [edx + 0xa0]
mov dword [edx + 0xa4], 0
mov ecx, dword [edx + 0xa4]
mov dword [edx + 0x98], eax
mov dword [edx + 0x9c], ecx
movss xmm0, dword [edx + 0x8c]
addss xmm0, dword [edx + 0xc]
addss xmm1, dword [edx + 0x88]
movss dword [edx + 0x1c], xmm0
movss xmm0, dword [edx + 0x10]
movss dword [edx + 0x18], xmm1
movaps xmm1, xmm3
subss xmm0, dword [edx + 0x88]
addss xmm0, dword [edx + 0x90]
maxss xmm2, xmm0
movss xmm0, dword [edx + 0x14]
subss xmm0, dword [edx + 0x8c]
addss xmm0, dword [edx + 0x94]
movss dword [edx + 0x20], xmm2
maxss xmm1, xmm0
movss dword [edx + 0x24], xmm1
cmp esi, ebx
jne 0x1000e2a3
mov ebx, dword [ebp - 8]
mov eax, dword [ebx + 0x2c]
mov byte [eax + 0x10], 1
mov esi, dword [edi + 0x38]
test esi, esi
jne 0x1000e38b
mov eax, dword [edi + 0x2c]
mov eax, dword [eax + 0x44]
mov esi, dword [eax]
movss xmm2, dword [0x1004c7a8]
mov ecx, dword [edi + 0x3f8c]
movaps xmm0, xmm2
mov dword [edi + 0x3cf0], esi
movss xmm1, dword [esi + 0x10]
mulss xmm1, dword [edi + 0x30]
mulss xmm1, dword [esi + 0x4c]
maxss xmm0, xmm1
movss dword [edi + 0x3cf8], xmm0
test ecx, ecx
je 0x1000e3e7
mov eax, dword [ecx]
movss xmm0, dword [eax + 0x3cf8]
mov eax, dword [ecx + 0x304]
mulss xmm0, dword [ecx + 0x268]
test eax, eax
je 0x1000e3ea
mulss xmm0, dword [eax + 0x268]
jmp 0x1000e3ea
movaps xmm0, xmm3
movss xmm7, dword [0x1004c880]
movss xmm5, dword [0x1004c8b4]
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 + 0x4a34]
mov eax, dword [ebx + 0x4a2c]
lea edx, [ecx + eax*4]
cmp ecx, edx
je 0x1000e49b
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 0x1000e474
movaps xmm7, xmm3
comiss xmm6, xmm2
jbe 0x1000e47c
movaps xmm6, xmm2
comiss xmm0, xmm5
jbe 0x1000e484
movaps xmm5, xmm0
comiss xmm1, xmm4
jbe 0x1000e48c
movaps xmm4, xmm1
add ecx, 4
cmp ecx, edx
jne 0x1000e450
movss xmm2, dword [0x1004c7a8]
mov eax, dword [ebx + 0x3984]
movss xmm1, dword [ebx + 0x3988]
movss dword [ebp - 0x20], xmm7
movss dword [ebp - 0x1c], xmm6
movss dword [ebp - 0x18], xmm5
movss dword [ebp - 0x14], xmm4
movups xmm0, xmmword [ebp - 0x20]
mov dword [ebx + 0x3d0c], eax
movups xmmword [ebx + 0x3d14], xmm0
movss xmm0, dword [ebx + 0x3d10]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1000e5c7
movss dword [ebx + 0x3d10], xmm1
xor esi, esi
mov edi, 0x200
movd xmm0, esi
cvtdq2ps xmm0, xmm0
test esi, esi
je 0x1000e572
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 [0x1004c7e8]
sub esp, 8
cvtsd2ss xmm0, xmm0
divss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd qword [ebp - 0x18], xmm0
fld qword [ebp - 0x18]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
fstp qword [ebp - 0x18]
movsd xmm0, qword [ebp - 0x18]
add esp, 8
cvtpd2ps xmm0, xmm0
cvttss2si eax, xmm0
inc eax
cdq
sub eax, edx
and eax, 0xfffffffe
cmp eax, 4
jge 0x1000e568
mov eax, 4
jmp 0x1000e577
cmp eax, 0x200
cmovg eax, edi
jmp 0x1000e577
mov eax, 0x30
movss xmm2, dword [0x1004c7a8]
mov byte [esi + ebx + 0x3eb8], al
inc esi
cmp esi, 0x40
jl 0x1000e4f2
movsd xmm0, qword [0x1004c7b8]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [0x1004c7a8]
cvtsd2ss xmm0, xmm0
mov edi, dword [0x1004fc68]
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 0x1000e5ea
mov dword [ebx + 0x3d24], 1
mov edx, 1
cmp byte [ebx + 0x3981], 0
mov ecx, edx
je 0x1000e60c
mov eax, dword [ebx + 0x3cf0]
mov eax, dword [eax + 0x30]
test byte [eax], 4
jne 0x1000e60c
or ecx, 2
mov dword [ebx + 0x3d24], ecx
cmp byte [ebx + 0x3982], 0
je 0x1000e61e
or ecx, 4
mov dword [ebx + 0x3d24], ecx
test byte [ebx + 0xc], 8
je 0x1000e62d
or ecx, 8
mov dword [ebx + 0x3d24], ecx
mov ecx, dword [ebx + 0x4a34]
mov eax, dword [ebx + 0x4a2c]
lea edx, [ecx + eax*4]
cmp ecx, edx
je 0x1000e64d
mov eax, dword [ecx]
add ecx, 4
mov byte [eax + 0x3c], 0
cmp ecx, edx
jne 0x1000e640
cmp byte [ebx + 0x4c30], 0
je 0x1000e681
mov eax, dword [ebx + 0x4c48]
cmp eax, dword [ebx + 0x3fdc]
jne 0x1000e681
cmp dword [edi + 0x3fdc], eax
jne 0x1000e672
mov dword [edi + 0x3fe0], eax
cmp dword [edi + 0x4004], eax
jne 0x1000e681
mov byte [edi + 0x4008], 1
cmp dword [ebx + 0x3fcc], 0
mov eax, dword [ebx + 0x3fc8]
jne 0x1000e69c
mov dword [ebx + 0x3fd4], 0
jmp 0x1000e6aa
mov ecx, eax
test eax, eax
je 0x1000e6b6
cmp dword [ebx + 0x3fdc], eax
jne 0x1000e6ba
mov dword [ebx + 0x3fd8], 0
mov ecx, eax
test ecx, ecx
je 0x1000e6ee
movss xmm1, dword [ebx + 0x18]
mov eax, dword [ebx + 0x3fdc]
movaps xmm0, xmm1
addss xmm0, dword [ebx + 0x3fd4]
movss dword [ebx + 0x3fd4], xmm0
cmp eax, ecx
je 0x1000e6f4
addss xmm1, dword [ebx + 0x3fd8]
movss dword [ebx + 0x3fd8], xmm1
jmp 0x1000e6f4
mov eax, dword [ebx + 0x3fdc]
mov dword [ebx + 0x3fcc], ecx
mov dword [ebx + 0x3fc8], 0
mov word [ebx + 0x3fd0], 0
test eax, eax
je 0x1000e746
cmp dword [ebx + 0x3fe0], eax
je 0x1000e746
cmp dword [ebx + 0x4004], eax
jne 0x1000e746
test byte [ebx + 0x5e58], 1
je 0x1000e737
push str.NewFrame__:_ClearActiveID___because_it_isnt_marked_alive_anymore__n
call fcn.100204c0
add esp, 4
xor edx, edx
xor ecx, ecx
call fcn.1000d120
mov edi, dword [0x1004fc68]
mov esi, dword [ebx + 0x3fdc]
test esi, esi
je 0x1000e765
movss xmm0, dword [ebx + 0x3fe4]
addss xmm0, dword [ebx + 0x18]
movss dword [ebx + 0x3fe4], xmm0
movss xmm0, dword [ebx + 0x4014]
mov eax, dword [ebx + 0x3ffc]
addss xmm0, dword [ebx + 0x18]
mov dword [ebx + 0x400c], eax
mov al, byte [ebx + 0x3fec]
mov byte [ebx + 0x4009], al
mov eax, dword [ebx + 0x5c88]
movss dword [ebx + 0x4014], xmm0
mov dword [ebx + 0x4004], esi
mov dword [ebx + 0x3fe0], 0
mov byte [ebx + 0x3fed], 0
mov byte [ebx + 0x4008], 0
mov byte [ebx + 0x3fe8], 0
test eax, eax
je 0x1000e7cf
cmp esi, eax
je 0x1000e7cf
mov dword [ebx + 0x5c88], 0
test esi, esi
jne 0x1000e7ee
mov dword [ebx + 0x48d4], esi
mov dword [ebx + 0x48c8], esi
mov byte [ebx + 0x48cc], 0
mov dword [ebx + 0x48d4], esi
jmp 0x1000e813
mov eax, dword [ebx + 0x48d4]
test eax, eax
je 0x1000e813
test al, 2
je 0x1000e813
mov edx, 0x20e
mov ecx, edi
call fcn.10009740
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
mov ecx, dword [ebx + 0x4d6c]
test ecx, ecx
je 0x1000e836
movss xmm0, dword [ebx + 0x4d88]
comiss xmm0, dword [ebx + 0x3cdc]
jb 0x1000e840
mov dword [ebx + 0x4d7c], ecx
jmp 0x1000e840
mov dword [ebx + 0x4d7c], 0
mov eax, dword [ebx + 0x3f90]
test eax, eax
je 0x1000e866
movss xmm0, dword [ebx + 0x4d88]
comiss xmm0, dword [ebx + 0x3cdc]
jb 0x1000e870
mov eax, dword [eax + 8]
mov dword [ebx + 0x4d80], eax
jmp 0x1000e870
mov dword [ebx + 0x4d80], 0
movss xmm0, dword [ebx + 0x4d74]
mov dword [ebx + 0x4d70], ecx
test ecx, ecx
je 0x1000e89b
addss xmm0, dword [ebx + 0x18]
mov dword [ebx + 0x4d6c], 0
movss dword [ebx + 0x4d74], xmm0
jmp 0x1000e8db
comiss xmm0, dword [0x1004c6f0]
jbe 0x1000e8e5
movss xmm1, dword [ebx + 0x18]
movss xmm0, dword [0x1004c744]
movaps xmm2, xmm1
addss xmm2, dword [ebx + 0x4d78]
addss xmm1, xmm1
movss dword [ebx + 0x4d78], xmm2
maxss xmm0, xmm1
comiss xmm2, xmm0
jb 0x1000e8e5
mov dword [ebx + 0x4d74], 0
mov dword [ebx + 0x4d78], 0
mov eax, dword [ebx + 0x4ca4]
mov dword [ebx + 0x4ca8], eax
mov dword [ebx + 0x4ca4], 0
mov dword [ebx + 0x4ca0], 0x7f7fffff
mov word [ebx + 0x4c31], 0
mov dword [ebx + 0x4cb0], 0
call fcn.100173d0
call fcn.1001c020
call fcn.100178d0
call fcn.1000dcf0
mov esi, dword [0x1004fc68]
mov ecx, dword [esi + 0x3f98]
test ecx, ecx
je 0x1000e9ce
mov eax, dword [esi + 0x3fdc]
mov dword [esi + 0x3fe0], eax
cmp dword [esi + 0x4004], eax
jne 0x1000e95b
mov byte [esi + 0x4008], 1
cmp byte [esi + 0xe08], 0
je 0x1000e9c2
movss xmm1, dword [esi + 0xe00]
movss xmm2, dword [0x1004c8b0]
comiss xmm1, xmm2
movss xmm0, dword [esi + 0xe04]
jb 0x1000e9c2
comiss xmm0, xmm2
jb 0x1000e9c2
subss xmm1, dword [esi + 0x3ff4]
subss xmm0, dword [esi + 0x3ff8]
mov ecx, dword [ecx + 0x30c]
lea edx, [ebp - 0x18]
push 1
movss dword [ebp - 0x18], xmm1
movss dword [ebp - 0x14], xmm0
call fcn.10016310
mov ecx, dword [esi + 0x3f98]
add esp, 4
xor edx, edx
call fcn.10015e10
jmp 0x1000ea0a
mov dword [esi + 0x3f98], 0
jmp 0x1000ea01
mov ecx, dword [esi + 0x3ffc]
test ecx, ecx
je 0x1000ea0a
mov eax, dword [esi + 0x3fdc]
cmp dword [ecx + 0x74], eax
jne 0x1000ea0a
mov dword [esi + 0x3fe0], eax
cmp dword [esi + 0x4004], eax
jne 0x1000e9f8
mov byte [esi + 0x4008], 1
cmp byte [esi + 0xe08], 0
jne 0x1000ea0a
xor edx, edx
xor ecx, ecx
call fcn.1000d120
mov eax, dword [0x1004fc68]
mov edx, dword [eax + 0x4a08]
sub edx, 1
js 0x1000ea47
mov eax, dword [eax + 0x4a10]
lea ecx, [edx + edx*4]
lea eax, [eax + ecx*8]
add eax, 4
nop dword [eax]
mov ecx, dword [eax]
test ecx, ecx
je 0x1000ea3f
test dword [ecx + 0xc], 0x8000000
jne 0x1000ea61
sub eax, 0x28
sub edx, 1
jns 0x1000ea30
cmp dword [ebx + 0x4c00], 0
je 0x1000ea80
movss xmm0, dword [ebx + 0x4c10]
comiss xmm0, dword [0x1004c6f0]
jbe 0x1000ea80
movss xmm1, dword [ebx + 0x18]
mulss xmm1, dword [0x1004c808]
addss xmm1, dword [ebx + 0x4c2c]
minss xmm1, dword [0x1004c7a8]
jmp 0x1000eaa1
movss xmm0, dword [ebx + 0x18]
mulss xmm0, dword [0x1004c814]
movss xmm1, dword [ebx + 0x4c2c]
subss xmm1, xmm0
maxss xmm1, dword [0x1004c6f0]
movups xmm0, xmmword [ebx + 0x5d9c]
mov dword [ebx + 0x4d84], 0
movss dword [ebx + 0x4c2c], xmm1
mov dword [ebx + 0x601c], 0xffffffff
mov dword [ebx + 0x6018], 0xffffffff
mov dword [ebx + 0x6014], 0xffffffff
movups xmmword [ebx + 0x5dac], xmm0
mov byte [ebx + 0x5d9c], 0
call fcn.10017d60
cmp byte [ebx + 0x3f17], 0
jne 0x1000eb18
movss xmm1, dword [ebx + 0x4c]
xorps xmm0, xmm0
comiss xmm0, xmm1
ja 0x1000eb18
movsd xmm0, qword [ebx + 0x3f00]
cvtpd2ps xmm0, xmm0
subss xmm0, xmm1
movss dword [ebp - 4], xmm0
jmp 0x1000eb20
movss xmm0, dword [0x1004c880]
mov edi, dword [ebx + 0x3f48]
mov eax, dword [ebx + 0x3f40]
lea eax, [edi + eax*4]
mov dword [ebp - 0x10], eax
cmp edi, eax
je 0x1000ec85
mov ebx, eax
nop dword [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 0x1000ec72
cmp byte [esi + 0x368], al
jne 0x1000ec72
comiss xmm0, dword [esi + 0x248]
jbe 0x1000ec72
mov ecx, dword [esi + 0x270]
mov byte [esi + 0x368], 1
mov eax, dword [ecx + 0x10]
mov dword [esi + 0x360], eax
mov eax, dword [ecx + 0x1c]
mov dword [esi + 0x364], eax
mov ecx, dword [esi + 0xf4]
test ecx, ecx
je 0x1000ebe0
mov dword [esi + 0xf0], 0
mov dword [esi + 0xec], 0
call fcn.1000d880
mov dword [esi + 0xf4], 0
mov ecx, dword [esi + 0x270]
call fcn.10029410
mov ecx, dword [esi + 0x190]
test ecx, ecx
je 0x1000ec18
mov dword [esi + 0x18c], 0
mov dword [esi + 0x188], 0
call fcn.1000d880
mov dword [esi + 0x190], 0
mov ecx, dword [esi + 0x1bc]
test ecx, ecx
je 0x1000ec45
mov dword [esi + 0x1b8], 0
mov dword [esi + 0x1b4], 0
call fcn.1000d880
mov dword [esi + 0x1bc], 0
mov ecx, dword [esi + 0x1c8]
test ecx, ecx
je 0x1000ec72
mov dword [esi + 0x1c4], 0
mov dword [esi + 0x1c0], 0
call fcn.1000d880
mov dword [esi + 0x1c8], 0
movss xmm0, dword [ebp - 4]
add edi, 4
cmp edi, ebx
jne 0x1000eb40
mov ebx, dword [ebp - 8]
xor edi, edi
mov dword [ebp - 0xc], edi
cmp dword [ebx + 0x4d18], edi
jle 0x1000ed9f
xor ecx, ecx
xorps xmm1, xmm1
mov dword [ebp - 0x10], ecx
nop
mov eax, dword [ebx + 0x4d20]
movss xmm0, dword [eax + edi*4]
comiss xmm0, xmm1
jb 0x1000ed86
movss xmm2, dword [ebp - 4]
comiss xmm2, xmm0
jbe 0x1000ed86
mov esi, dword [ebx + 0x4d00]
mov eax, dword [0x1004fc68]
add esi, ecx
mov dword [ebp - 0x14], eax
mov dword [esi + 0x1a8], 0
mov ecx, dword [esi + 0x1a4]
test ecx, ecx
je 0x1000ed09
mov dword [esi + 0x1a0], 0
mov dword [esi + 0x19c], 0
call fcn.1000d880
mov dword [esi + 0x1a4], 0
mov byte [esi + 0x1ed], 1
mov ecx, dword [esi + 0x164]
test ecx, ecx
je 0x1000ed3d
mov dword [esi + 0x160], 0
mov dword [esi + 0x15c], 0
call fcn.1000d880
mov dword [esi + 0x164], 0
xor edx, edx
mov byte [esi + 0x1fc], 1
cmp dword [esi + 0x40], edx
jle 0x1000ed67
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 0x1000ed50
mov ebx, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
xorps xmm1, xmm1
mov ecx, dword [ebp - 0x10]
sub esi, dword [eax + 0x4d00]
mov eax, dword [eax + 0x4d20]
sar esi, 9
mov dword [eax + esi*4], 0xbf800000
inc edi
add ecx, 0x200
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], ecx
cmp edi, dword [ebx + 0x4d18]
jl 0x1000eca0
imul edi, dword [ebx + 0x4cec], 0x6c
mov esi, dword [ebx + 0x4cf4]
add edi, esi
cmp esi, edi
je 0x1000ede2
xorps xmm1, xmm1
movss xmm0, dword [esi + 4]
comiss xmm0, xmm1
jb 0x1000eddb
movss xmm2, dword [ebp - 4]
comiss xmm2, xmm0
jbe 0x1000eddb
lea ecx, [esi + 0x14]
call fcn.1002ba70
mov dword [esi + 4], 0xbf800000
xorps xmm1, xmm1
add esi, 0x6c
cmp esi, edi
jne 0x1000edb5
cmp byte [ebx + 0x3f17], 0
je 0x1000edf0
call fcn.1000cf80
mov eax, dword [ebx + 0x4a38]
mov edi, 1
mov byte [ebx + 0x3f17], 0
test eax, eax
je 0x1000ee55
cmp byte [eax + 0xaf], 0
jne 0x1000ee55
mov eax, dword [0x1004fc68]
mov edx, dword [eax + 0x3f4c]
sub edx, edi
js 0x1000ee4c
mov eax, dword [eax + 0x3f54]
lea esi, [eax + edx*4]
mov ecx, dword [esi]
test ecx, ecx
je 0x1000ee45
cmp byte [ecx + 0xaf], 0
je 0x1000ee45
mov eax, dword [ecx + 0xc]
and eax, 0x10200
cmp eax, 0x10200
jne 0x1000ee4e
sub esi, 4
sub edx, edi
jns 0x1000ee27
xor ecx, ecx
mov edx, edi
call fcn.10015e10
mov ecx, dword [ebx + 0x3f68]
test ecx, ecx
jns 0x1000eeb4
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 0x1000eeb4
imul ecx, esi, 0x64
call fcn.1000d7f0
mov edx, dword [ebx + 0x3f6c]
mov dword [ebp - 0x14], eax
test edx, edx
je 0x1000eea8
imul ecx, dword [ebx + 0x3f64], 0x64
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebx + 0x3f6c]
add esp, 0xc
call fcn.1000d880
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0x3f6c], eax
mov dword [ebx + 0x3f68], esi
mov dword [ebx + 0x3f64], 0
mov ecx, dword [ebx + 0x4a18]
test ecx, ecx
jns 0x1000ef25
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 0x1000ef25
lea ecx, [esi + esi*4]
shl ecx, 3
call fcn.1000d7f0
mov edx, dword [ebx + 0x4a1c]
mov dword [ebp - 0x14], eax
test edx, edx
je 0x1000ef19
mov ecx, dword [ebx + 0x4a14]
lea ecx, [ecx + ecx*4]
shl ecx, 3
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebx + 0x4a1c]
add esp, 0xc
call fcn.1000d880
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0x4a1c], eax
mov dword [ebx + 0x4a18], esi
mov dword [ebx + 0x4a14], 0
mov ecx, dword [ebx + 0x49f4]
mov eax, ecx
mov esi, ecx
test ecx, ecx
jns 0x1000efa2
cdq
xor esi, esi
sub eax, edx
mov dword [ebp - 0x14], ecx
sar eax, 1
add eax, ecx
test eax, eax
cmovg esi, eax
mov eax, ecx
cmp esi, ecx
jle 0x1000ef9f
lea ecx, [esi*4]
call fcn.1000d7f0
mov edx, dword [ebx + 0x49f8]
mov dword [ebp - 0x14], eax
test edx, edx
je 0x1000ef8f
mov ecx, dword [ebx + 0x49f0]
shl ecx, 2
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebx + 0x49f8]
add esp, 0xc
call fcn.1000d880
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0x49f8], eax
mov eax, esi
mov dword [ebx + 0x49f4], esi
jmp 0x1000efa2
mov esi, dword [ebp - 0x14]
xor ecx, ecx
mov dword [ebx + 0x49f0], 0
test eax, eax
jne 0x1000f019
test esi, esi
je 0x1000efcb
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, esi
cmp eax, 1
cmovg edi, eax
cmp edi, esi
jle 0x1000f019
jmp 0x1000efd0
mov edi, 8
lea ecx, [edi*4]
call fcn.1000d7f0
mov esi, eax
mov eax, dword [ebx + 0x49f8]
test eax, eax
je 0x1000f007
mov ecx, dword [ebx + 0x49f0]
shl ecx, 2
push ecx
push eax
push esi
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebx + 0x49f8]
add esp, 0xc
call fcn.1000d880
mov ecx, dword [ebx + 0x49f0]
mov dword [ebx + 0x49f8], esi
mov dword [ebx + 0x49f4], edi
mov eax, dword [ebx + 0x49f8]
mov dword [eax + ecx*4], 0
inc dword [ebx + 0x49f0]
mov ecx, dword [ebx + 0x4a00]
test ecx, ecx
jns 0x1000f09b
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 0x1000f09b
lea ecx, [esi*8]
sub ecx, esi
shl ecx, 3
call fcn.1000d7f0
mov edi, eax
mov eax, dword [ebx + 0x4a04]
test eax, eax
je 0x1000f08f
mov ecx, dword [ebx + 0x49fc]
lea edx, [ecx*8]
sub edx, ecx
shl edx, 3
push edx
push eax
push edi
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebx + 0x4a04]
add esp, 0xc
call fcn.1000d880
mov dword [ebx + 0x4a04], edi
mov dword [ebx + 0x4a00], esi
mov edi, dword [0x1004fc68]
mov dword [ebx + 0x49fc], 0
cmp byte [edi + 0x5e85], 0
mov dword [edi + 0x5e88], 0
je 0x1000f256
mov esi, dword [edi + 0x3fcc]
xor edx, edx
push 1
mov ecx, 0x20e
mov dword [ebp - 0x14], esi
mov dword [edi + 0x4d84], 7
call fcn.10017150
add esp, 4
test al, al
je 0x1000f0f1
mov byte [edi + 0x5e85], 0
mov eax, dword [edi + 0xe20]
xorps xmm1, xmm1
mov dword [ebp - 4], eax
cmp eax, 0x3000
je 0x1000f156
movzx ecx, byte [edi + 0x5e86]
cmp byte [ecx + edi + 0xe08], 0
je 0x1000f156
movss xmm0, dword [edi + ecx*4 + 0x3850]
comiss xmm1, xmm0
ja 0x1000f156
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1000f153
add ecx, 0x28f
xor edx, edx
call fcn.10018c10
test al, al
mov eax, dword [ebp - 4]
je 0x1000f156
test esi, esi
je 0x1000f156
mov dword [edi + 0x5e88], esi
mov byte [edi + 0x5e85], 0
jmp 0x1000f156
mov eax, dword [ebp - 4]
xor ebx, ebx
mov esi, 0x3850
nop dword [eax]
cmp eax, 0x3000
jne 0x1000f1a8
mov eax, dword [0x1004fc68]
cmp byte [eax + ebx + 0xe08], 0
je 0x1000f1a5
movss xmm0, dword [esi + eax]
comiss xmm1, xmm0
ja 0x1000f1a5
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1000f1a5
lea ecx, [ebx + 0x28f]
xor edx, edx
call fcn.10018c10
test al, al
mov eax, dword [ebp - 4]
je 0x1000f1a8
mov byte [edi + 0x5e86], bl
jmp 0x1000f1a8
mov eax, dword [ebp - 4]
add esi, 4
inc ebx
cmp esi, 0x385c
jl 0x1000f160
mov eax, dword [0x1004fc68]
xor ecx, ecx
or dword [eax + 0x4954], 0x40
mov dword [eax + 0x49ac], 0x3f333333
call fcn.10019de0
mov ebx, dword [ebp - 8]
test al, al
je 0x1000f256
mov esi, dword [ebp - 0x14]
push esi
push str.HoveredId:_0x_08X
call fcn.100323d0
push str.Press_ESC_to_abort_picking.
call fcn.100323d0
add esp, 0xc
mov dword [ebp - 0x1c], str.Left
cmp dword [ebp - 4], 0x3000
mov dword [ebp - 0x18], str.Right
mov dword [ebp - 0x14], str.Middle
jne 0x1000f220
push str.Remap_w__CtrlShift:_click_anywhere_to_select_new_mouse_button.
call fcn.100323d0
add esp, 4
jmp 0x1000f251
movzx eax, byte [edi + 0x5e86]
xor ecx, ecx
test esi, esi
push dword [ebp + eax*4 - 0x1c]
mov eax, 0x10
cmove ecx, eax
mov eax, dword [0x1004fc68]
add eax, 0x398c
add eax, ecx
push str.Click__s_Button_to_break_in_debugger___remap_w__CtrlShift_
push eax
call fcn.10032420
add esp, 0xc
call fcn.10015ca0
call fcn.10020840
mov edx, dword [0x1004fc68]
xorps xmm0, xmm0
movss xmm1, dword [edx + 0x5e8c]
comiss xmm0, xmm1
jae 0x1000f324
mulss xmm1, dword [0x1004c808]
lea eax, [edx + 0x3994]
mov ecx, dword [edx + 0x49bc]
shl ecx, 4
add eax, ecx
cvtps2pd xmm0, xmm1
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 [0x1004c764]
lea edx, [esi + 0x3990]
cvtsd2ss xmm0, xmm0
lea ecx, [edi + 0x398c]
movaps xmm2, xmm1
mulss xmm0, xmm1
addss xmm0, xmm1
call fcn.1000aa70
mov edx, dword [0x1004fc68]
xorps xmm1, xmm1
add esp, 4
mov eax, dword [edx + 0x49bc]
add eax, eax
mov dword [edx + eax*8 + 0x3998], 0x3f800000
movss xmm0, dword [edx + 0x5e8c]
subss xmm0, dword [edx + 0x18]
comiss xmm1, xmm0
movss dword [edx + 0x5e8c], xmm0
jb 0x1000f324
mov eax, dword [edx + 0x49bc]
cmp eax, 0x35
je 0x1000f31a
movups xmm0, xmmword [edx + 0x5e90]
add eax, eax
movups xmmword [edx + eax*8 + 0x398c], xmm0
mov dword [edx + 0x49bc], 0x35
mov al, byte [ebx + 0x5e7d]
test al, al
je 0x1000f349
sub al, 1
mov byte [ebx + 0x5e7d], al
jne 0x1000f349
mov dword [ebx + 0x48e0], 0
mov byte [ebx + 0x5e7e], 0
mov al, byte [ebx + 0x5e7c]
test al, al
je 0x1000f382
sub al, 1
mov byte [ebx + 0x5e7c], al
jne 0x1000f382
push str._Debug_Log:_Auto_disabled_some_ImGuiDebugLogFlags_after_2_frames__n
call fcn.100204c0
mov eax, dword [ebx + 0x5e78]
add esp, 4
not eax
mov dword [ebx + 0x5e78], 0
and dword [ebx + 0x5e58], eax
mov eax, dword [0x1004fc68]
xor edx, edx
mov byte [ebx + 0x3f15], 1
mov ecx, str.DebugDefault
push 0
or dword [eax + 0x4954], 2
mov dword [eax + 0x4974], 0x43c80000
mov dword [eax + 0x4978], 0x43c80000
mov dword [eax + 0x495c], 4
call fcn.10013820
add esp, 4
cmp byte [ebx + 0x66], 0
je 0x1000f3ff
mov cl, byte [ebx + 0x5e84]
cmp cl, 0xff
jne 0x1000f3d9
xor edx, edx
jmp 0x1000f402
mov eax, dword [ebx + 0x3f08]
and eax, 0x80000003
jns 0x1000f3eb
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 0x1000f402
or dl, 0xff
mov byte [ebx + 0x5e84], dl
mov eax, dword [ebx + 0x5df4]
mov esi, dword [ebx + 0x5dfc]
lea eax, [eax + eax*4]
lea edi, [esi + eax*4]
cmp esi, edi
je 0x1000f437
nop
cmp dword [esi + 4], 1
jne 0x1000f430
mov eax, dword [esi + 0xc]
push esi
push ebx
call eax
add esp, 8
add esi, 0x14
cmp esi, edi
jne 0x1000f420
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret