Function at 0x140068040
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbx
push rsi
push rdi
sub rsp, 0x80
mov rsi, qword [0x1400b2e50]
mov qword [rax + 0x10], rbp
mov rbx, rsi
mov qword [rax + 0x20], r13
mov qword [rax - 0x20], r14
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
mov eax, dword [rsi + 0x3678]
lea ebp, [rax - 1]
test ebp, ebp
js 0x1400680ea
movsxd rdi, ebp
shl rdi, 5
mov r14, rdi
mov rdx, qword [rsi + 0x3680]
cmp dword [rdx + rdi + 4], 7
jne 0x1400680d7
movsxd r8, dword [rsi + 0x3678]
mov rcx, rdx
sub rdx, rdx
add rdx, r14
sar rdx, 5
sub r8, rdx
mov rax, rdx
shl rax, 5
add rcx, rax
shl r8, 5
sub r8, 0x20
lea rdx, [rcx + 0x20]
call sub.VCRUNTIME140.dll_memmove
dec dword [rsi + 0x3678]
mov eax, dword [rsi + 0x3678]
sub r14, 0x20
sub rdi, 0x20
sub ebp, 1
jns 0x140068091
xor edi, edi
mov ebp, edi
test eax, eax
jle 0x140068133
mov esi, edi
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rbx + 0x3680]
cmp dword [rax + rsi + 4], edi
jne 0x14006811e
movsxd rdx, ebp
mov rcx, rbx
shl rdx, 5
add rdx, rax
call qword [rax + rsi + Ordinal_19]
inc ebp
add rsi, 0x20
cmp ebp, dword [rbx + 0x3678]
jl 0x140068100
mov rsi, qword [0x1400b2e50]
cmp byte [rsi + 0x8ec], dil
je 0x14006814c
test byte [rsi + 0x838], 2
jne 0x14006814c
mov byte [rsi + 0x8ec], dil
mov rbp, rsi
cmp byte [rsi + 0x3631], dil
jne 0x1400681ba
mov rcx, qword [rsi + 0x840]
test rcx, rcx
je 0x1400681b3
lea r8, [rsp + 0xa0]
mov qword [rsp + 0xa0], rdi
call fcn.1400648a0
mov rsi, rax
test rax, rax
je 0x1400681ac
mov rdx, qword [rsp + 0xa0]
mov rcx, rax
call fcn.140076d00
mov rcx, qword [0x1400b2e50]
test rcx, rcx
je 0x1400681a3
dec dword [rcx + 0x9b8]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rsi, qword [0x1400b2e50]
mov byte [rbp + 0x3631], 1
movss xmm0, dword [rbp + 0x3634]
xorps xmm6, xmm6
comiss xmm0, xmm6
mov qword [rsp + 0x70], r15
jbe 0x14006825e
subss xmm0, dword [rbp + 0x10]
comiss xmm6, xmm0
movss dword [rbp + 0x3634], xmm0
jb 0x14006825e
mov r14, qword [rbp + 0x840]
test r14, r14
je 0x140068251
lea rcx, [rsp + 0xa0]
mov dword [rsi + 0x3634], edi
mov qword [rsp + 0xa0], rdi
call fcn.140077060
lea rdx, [0x1400a2a08]
mov rcx, r14
mov r15, rax
call fcn.140064780
mov rsi, rax
test rax, rax
je 0x140068248
mov r8, qword [rsp + 0xa0]
mov r9, rax
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rsi, qword [0x1400b2e50]
jmp 0x140068258
mov byte [rbp + 0x9a0], 1
mov dword [rbp + 0x3634], edi
inc dword [rbx + 0x2190]
movss xmm1, dword [rbx + 0x10]
cvtps2pd xmm0, xmm1
mov byte [rbx + 0x219c], 1
mov dword [rbx + 0x35f8], edi
mov dword [rbx + 0x2200], edi
addsd xmm0, qword [rbx + 0x2188]
movsd qword [rbx + 0x2188], xmm0
mov ecx, dword [rbx + 0x3614]
test ecx, ecx
jns 0x1400682c1
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x3610]
test eax, eax
cmovg edx, eax
call fcn.140062950
movss xmm1, dword [rbx + 0x10]
mov rsi, qword [0x1400b2e50]
movss xmm10, dword [0x1400a30c4]
movaps xmm0, xmm1
movss xmm9, dword [0x1400a2eec]
mov dword [rbx + 0x3610], edi
movsxd rax, dword [rbx + 0x38cc]
subss xmm0, dword [rbx + rax*4 + 0x36ec]
addss xmm0, dword [rbx + 0x38d4]
movss dword [rbx + 0x38d4], xmm0
movss dword [rbx + rax*4 + 0x36ec], xmm1
mov eax, 0x88888889
mov ecx, dword [rbx + 0x38cc]
movss xmm2, dword [rbx + 0x38d4]
inc ecx
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x78
sub ecx, eax
mov eax, dword [rbx + 0x38d0]
inc eax
mov dword [rbx + 0x38cc], ecx
mov ecx, 0x78
cmp eax, ecx
cmovl ecx, eax
comiss xmm2, xmm6
mov dword [rbx + 0x38d0], ecx
jbe 0x140068365
movd xmm0, ecx
movaps xmm1, xmm9
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
divss xmm1, xmm2
jmp 0x140068369
movaps xmm1, xmm10
movss dword [rbx + 0x9a4], xmm1
mov r8d, edi
mov rax, qword [rsi + 0x23c0]
mov rcx, qword [rax]
mov qword [rcx], 5
mov dword [rcx + 8], edi
mov eax, dword [rsi + 8]
mov dword [rcx + 0xc], eax
mov eax, dword [rsi + 0xc]
mov dword [rcx + 0x10], eax
cmp dword [rsi + 0x23b8], edi
jle 0x140068469
mov rdx, rdi
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rsi + 0x23c0]
inc r8d
mov rcx, qword [rdx + rax]
add rdx, 8
movss xmm3, dword [rcx + 0xa0]
movss dword [rcx + 0x90], xmm3
movaps xmm1, xmm3
movss xmm5, dword [rcx + 0xa4]
movss dword [rcx + 0x94], xmm5
movaps xmm0, xmm5
movss xmm2, dword [rcx + 0xa8]
movss dword [rcx + 0x98], xmm2
movss xmm4, dword [rcx + 0xac]
movss dword [rcx + 0x9c], xmm4
mov qword [rcx + 0xa8], rdi
mov qword [rcx + 0xa0], rdi
addss xmm1, dword [rcx + 4]
addss xmm0, dword [rcx + 8]
movss dword [rcx + 0x14], xmm1
movss dword [rcx + 0x18], xmm0
movss xmm1, dword [rcx + 0xc]
movss xmm0, dword [rcx + 0x10]
subss xmm1, xmm3
subss xmm0, xmm5
addss xmm1, xmm2
movaps xmm2, xmm6
addss xmm0, xmm4
maxss xmm2, xmm1
movaps xmm1, xmm6
maxss xmm1, xmm0
movss dword [rcx + 0x1c], xmm2
movss dword [rcx + 0x20], xmm1
cmp r8d, dword [rsi + 0x23b8]
jl 0x1400683b0
mov rax, qword [rbx + 0x8c8]
mov byte [rax + 0x18], 1
mov rcx, qword [rsi + 0x8d8]
test rcx, rcx
jne 0x14006848e
mov rax, qword [rsi + 0x8c8]
mov rcx, qword [rax + 0x50]
mov rcx, qword [rcx]
call fcn.140070580
mov eax, dword [rbx + 0x23b8]
movaps xmm8, xmm10
movss xmm4, dword [0x1400a3100]
movaps xmm7, xmm10
movaps xmm5, xmm4
test eax, eax
jle 0x140068509
mov rcx, qword [rbx + 0x23c0]
mov edx, eax
nop dword [rax]
mov rax, qword [rcx]
movss xmm3, dword [rax + 4]
comiss xmm8, xmm3
movss xmm2, dword [rax + 8]
movaps xmm0, xmm3
addss xmm0, dword [rax + 0xc]
movaps xmm1, xmm2
addss xmm1, dword [rax + 0x10]
jbe 0x1400684e7
movaps xmm8, xmm3
comiss xmm7, xmm2
jbe 0x1400684ef
movaps xmm7, xmm2
comiss xmm0, xmm4
jbe 0x1400684f7
movaps xmm4, xmm0
comiss xmm1, xmm5
jbe 0x1400684ff
movaps xmm5, xmm1
add rcx, 8
sub rdx, 1
jne 0x1400684c0
mov eax, dword [rbx + 0x1c1c]
movss xmm1, dword [rbx + 0x1c20]
movss dword [rbx + 0x1fa4], xmm8
movaps xmm8, xmmword [rsp + 0x40]
mov dword [rbx + 0x1f9c], eax
movss dword [rbx + 0x1fa8], xmm7
movss dword [rbx + 0x1fac], xmm4
movss dword [rbx + 0x1fb0], xmm5
movss xmm0, dword [rbx + 0x1fa0]
ucomiss xmm0, xmm1
jp 0x140068557
je 0x140068611
movss xmm7, dword [0x1400a2f88]
lea r14, [rbx + 0x213c]
movss dword [rbx + 0x1fa0], xmm1
mov ebp, edi
mov r15d, 0x200
nop word [rax + rax]
movd xmm0, ebp
cvtdq2ps xmm0, xmm0
test ebp, ebp
je 0x1400685d9
movss xmm1, dword [rbx + 0x1fa0]
minss xmm1, xmm0
divss xmm1, xmm0
movaps xmm0, xmm9
subss xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_acosf
movaps xmm1, xmm7
divss xmm1, xmm0
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
cvttss2si eax, xmm0
inc eax
cdq
sub eax, edx
sar eax, 1
add eax, eax
cmp eax, 4
jge 0x1400685d0
mov eax, 4
jmp 0x1400685db
cmp eax, r15d
cmovg eax, r15d
jmp 0x1400685db
mov eax, edi
mov byte [r14], al
inc ebp
inc r14
cmp ebp, 0x40
jl 0x140068580
movss xmm0, dword [0x1400a2dfc]
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movss xmm1, dword [rbx + 0x1fa0]
movaps xmm2, xmm9
subss xmm2, xmm0
divss xmm1, xmm2
movss dword [rbx + 0x2138], xmm1
mov r8d, edi
movaps xmm7, xmmword [rsp + 0x50]
mov dword [rbx + 0x1fb4], edi
cmp byte [rbx + 0x1c18], dil
je 0x140068638
mov dword [rbx + 0x1fb4], 1
mov r8d, 1
mov edx, r8d
cmp byte [rbx + 0x1c19], dil
je 0x14006865d
mov rax, qword [rbx + 0x1f78]
mov rcx, qword [rax + 0x40]
test byte [rcx], 4
jne 0x14006865d
or edx, 2
mov dword [rbx + 0x1fb4], edx
cmp byte [rbx + 0x1c1a], dil
je 0x14006866f
or edx, 4
mov dword [rbx + 0x1fb4], edx
test byte [rbx + 0x838], 8
je 0x140068681
or edx, 8
mov dword [rbx + 0x1fb4], edx
mov edx, edi
cmp dword [rbx + 0x23b8], edi
jle 0x1400686b9
mov r8, rdi
nop
mov rax, qword [rbx + 0x23c0]
lea r8, [r8 + 8]
xorps xmm0, xmm0
inc edx
mov rcx, qword [rax + r8 - 8]
movups xmmword [rcx + 0x40], xmm0
movups xmmword [rcx + 0x50], xmm0
movups xmmword [rcx + 0x60], xmm0
cmp edx, dword [rbx + 0x23b8]
jl 0x140068690
cmp byte [rbx + 0x254c], dil
je 0x1400686ed
mov eax, dword [rbx + 0x256c]
cmp eax, dword [rbx + 0x225c]
jne 0x1400686ed
cmp dword [rsi + 0x225c], eax
jne 0x1400686de
mov dword [rsi + 0x2260], eax
cmp dword [rsi + 0x2298], eax
jne 0x1400686ed
mov byte [rsi + 0x229c], 1
mov eax, dword [rbx + 0x2248]
cmp dword [rbx + 0x224c], edi
jne 0x140068703
mov dword [rbx + 0x2254], edi
jmp 0x140068711
mov edx, eax
test eax, eax
je 0x140068719
cmp dword [rbx + 0x225c], eax
jne 0x140068719
mov dword [rbx + 0x2258], edi
mov edx, eax
movss xmm2, dword [rbx + 0x10]
mov ecx, dword [rbx + 0x225c]
test edx, edx
je 0x140068752
movaps xmm0, xmm2
addss xmm0, dword [rbx + 0x2254]
movss dword [rbx + 0x2254], xmm0
cmp ecx, edx
je 0x140068752
movaps xmm0, xmm2
addss xmm0, dword [rbx + 0x2258]
movss dword [rbx + 0x2258], xmm0
movaps xmm1, xmm2
movzx eax, byte [rbx + 0x2251]
mov r13d, 0xffffffff
mov dword [rbx + 0x224c], edx
mov edx, ecx
mov byte [rbx + 0x2252], al
mov dword [rbx + 0x2248], edi
mov word [rbx + 0x2250], di
mov byte [rbx + 0x2253], dil
cmp dword [rbx + 0x2260], ecx
je 0x1400687f5
cmp dword [rbx + 0x2298], ecx
jne 0x1400687f5
test ecx, ecx
je 0x1400687f5
mov ecx, dword [rsi + 0x225c]
test ecx, ecx
setne al
mov byte [rsi + 0x2268], al
test ecx, ecx
je 0x1400687c1
mov dword [rsi + 0x2264], edi
mov word [rsi + 0x226b], di
mov dword [rsi + 0x2294], r13d
mov dword [rsi + 0x225c], edi
mov word [rsi + 0x2269], di
mov qword [rsi + 0x2288], rdi
mov word [rsi + 0x226d], di
mov qword [rsi + 0x2270], rdi
mov qword [rsi + 0x2278], rdi
mov edx, dword [rbx + 0x225c]
movss xmm1, dword [rbx + 0x10]
test edx, edx
je 0x14006880c
movaps xmm0, xmm1
addss xmm0, dword [rbx + 0x2264]
movss dword [rbx + 0x2264], xmm0
mov rax, qword [rbx + 0x2288]
addss xmm1, dword [rbx + 0x22ac]
mov qword [rbx + 0x22a0], rax
movzx eax, byte [rbx + 0x226c]
mov byte [rbx + 0x229d], al
mov eax, dword [rbx + 0x35b8]
movss dword [rbx + 0x22ac], xmm1
mov dword [rbx + 0x2298], edx
mov dword [rbx + 0x2260], edi
mov byte [rbx + 0x226d], dil
mov byte [rbx + 0x229c], dil
mov byte [rbx + 0x2268], dil
test eax, eax
je 0x14006886c
cmp edx, eax
je 0x14006886c
mov dword [rbx + 0x35b8], edi
test edx, edx
jne 0x14006887e
mov qword [rbx + 0x2270], rdi
mov qword [rbx + 0x2278], rdi
mov eax, dword [rbx + 0x25bc]
mov r8d, 0x800
mov dword [rbx + 0x25c0], eax
mov eax, edi
mov qword [rbx + 0x25b8], 0x7f7fffff
mov word [rbx + 0x254d], di
mov dword [rbx + 0x25c8], edi
cmp byte [rsi + 0x30], dil
setne al
mov ecx, eax
or ecx, 2
cmp byte [rsi + 0x31], dil
cmove ecx, eax
mov edx, ecx
or edx, 4
cmp byte [rsi + 0x32], dil
cmove edx, ecx
lea rcx, [rbx + 0x12a0]
mov eax, edx
or eax, 8
cmp byte [rsi + 0x33], dil
lea rsi, [rbx + 0xaa0]
cmove eax, edx
mov rdx, rsi
mov dword [rbx + 0x9c4], eax
call sub.VCRUNTIME140.dll_memcpy
movss xmm1, dword [0x1400a30d8]
mov eax, 0x80
nop
cmp dword [rsi - 0xa6c], edi
je 0x14006891d
movss xmm0, dword [rsi]
comiss xmm6, xmm0
jbe 0x140068916
movaps xmm0, xmm6
jmp 0x140068920
addss xmm0, dword [rbx + 0x10]
jmp 0x140068920
movaps xmm0, xmm1
movss dword [rsi], xmm0
cmp dword [rsi - 0xa68], edi
je 0x140068942
movss xmm0, dword [rsi + 4]
comiss xmm6, xmm0
jbe 0x14006893b
movaps xmm0, xmm6
jmp 0x140068945
addss xmm0, dword [rbx + 0x10]
jmp 0x140068945
movaps xmm0, xmm1
movss dword [rsi + 4], xmm0
cmp dword [rsi - 0xa64], edi
je 0x140068968
movss xmm0, dword [rsi + 8]
comiss xmm6, xmm0
jbe 0x140068961
movaps xmm0, xmm6
jmp 0x14006896b
addss xmm0, dword [rbx + 0x10]
jmp 0x14006896b
movaps xmm0, xmm1
movss dword [rsi + 8], xmm0
cmp dword [rsi - 0xa60], edi
je 0x14006898e
movss xmm0, dword [rsi + 0xc]
comiss xmm6, xmm0
jbe 0x140068987
movaps xmm0, xmm6
jmp 0x140068991
addss xmm0, dword [rbx + 0x10]
jmp 0x140068991
movaps xmm0, xmm1
movss dword [rsi + 0xc], xmm0
add rsi, 0x10
sub rax, 1
jne 0x140068900
call fcn.140073ca0
call fcn.140067500
call fcn.140067d60
call fcn.140066fc0
mov rax, qword [0x1400b2e50]
movsxd rcx, dword [rax + 0x2398]
test ecx, ecx
jle 0x1400689ff
mov rax, qword [rax + 0x23a0]
lea rdx, [rcx - 1]
lea r8, [rdx + rdx*2]
add rax, 8
shl r8, 4
add r8, rax
mov rax, qword [r8]
test rax, rax
je 0x1400689f5
test dword [rax + 0xc], 0x8000000
jne 0x140068a15
sub r8, 0x30
sub rdx, 1
jns 0x1400689e4
cmp qword [rbx + 0x24f8], rdi
je 0x140068a31
movss xmm0, dword [rbx + 0x2514]
comiss xmm0, xmm6
jbe 0x140068a31
movss xmm1, dword [rbx + 0x10]
mulss xmm1, dword [0x1400a2fa8]
addss xmm1, dword [rbx + 0x2544]
minss xmm1, xmm9
jmp 0x140068a4e
movss xmm0, dword [rbx + 0x10]
mulss xmm0, dword [0x1400a2fbc]
movss xmm1, dword [rbx + 0x2544]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [rbx + 0x2544], xmm1
mov dword [rbx + 0x3620], 0x3f800000
mov dword [rbx + 0x3624], 0x3f800000
mov dword [rbx + 0x2548], edi
mov qword [rbx + 0x38dc], 0xffffffffffffffff
mov dword [rbx + 0x38d8], r13d
call fcn.140067900
mov r10, qword [0x1400b2e50]
movaps xmm9, xmmword [rsp + 0x30]
mov r8, qword [r10 + 0x23c8]
test r8, r8
je 0x140068ad1
cmp byte [r8 + 0x8e], dil
je 0x140068ad1
test dword [r8 + 0xc], 0x40000
jne 0x140068ad1
cmp byte [r10 + 0x30], dil
jne 0x140068ad1
mov ecx, dword [r10 + 0x85c]
test ecx, ecx
js 0x140068ad1
call fcn.14006b000
test al, al
je 0x140068ad1
mov al, 1
jmp 0x140068ad3
xor al, al
mov byte [r10 + 0x2540], al
cmp dword [r10 + 0x225c], edi
jne 0x140068b2e
test al, al
je 0x140068b2e
mov qword [r10 + 0x2528], r8
mov dword [r10 + 0x2538], 0x7fffffff
cmp dword [r10 + 0x23d0], edi
je 0x140068b1e
mov edx, dword [r10 + 0x2418]
cmp edx, 0x7fffffff
je 0x140068b1e
movzx eax, byte [r10 + 0x31]
neg al
sbb ecx, ecx
add ecx, edx
jmp 0x140068b27
movzx eax, byte [r10 + 0x31]
neg al
sbb ecx, ecx
mov dword [r10 + 0x253c], ecx
mov r8, qword [r10 + 0x2528]
mov qword [r10 + 0x2520], rdi
mov dword [r10 + 0x2534], 0x7fffffff
mov dword [r10 + 0x2530], 0x7fffffff
test r8, r8
je 0x140068bcb
mov eax, dword [r10 + 0x2538]
mov qword [r10 + 0x2520], r8
cmp eax, 0x7fffffff
je 0x140068b86
mov ecx, dword [r8 + 0x1bc]
cmp ecx, r13d
je 0x140068b86
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [r10 + 0x2530], edx
mov eax, dword [r10 + 0x253c]
cmp eax, 0x7fffffff
je 0x140068bae
mov ecx, dword [r8 + 0x1c0]
cmp ecx, r13d
je 0x140068bae
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [r10 + 0x2534], edx
mov qword [r10 + 0x2528], rdi
mov dword [r10 + 0x253c], 0x7fffffff
mov dword [r10 + 0x2538], 0x7fffffff
mov dword [r10 + 0x2418], 0x7fffffff
cmp byte [rbx + 0x219f], dil
jne 0x140068bff
movss xmm0, dword [rbx + 0x8f0]
comiss xmm6, xmm0
ja 0x140068bff
movsd xmm10, qword [rbx + 0x2188]
cvtpd2ps xmm10, xmm10
subss xmm10, xmm0
mov ebp, edi
cmp dword [rbx + 0x21b0], edi
je 0x140068d66
mov r14, rdi
mov rax, qword [rbx + 0x21b8]
mov rsi, qword [r14 + rax]
movzx eax, byte [rsi + 0x8e]
mov byte [rsi + 0x8f], al
mov word [rsi + 0x9a], di
mov byte [rsi + 0x8e], dil
mov byte [rsi + 0x90], dil
test al, al
jne 0x140068d54
cmp byte [rsi + 0x3d8], dil
jne 0x140068d54
comiss xmm10, dword [rsi + 0x27c]
jbe 0x140068d54
mov rcx, qword [rsi + 0x2b0]
mov byte [rsi + 0x3d8], 1
mov eax, dword [rcx + 0x14]
mov dword [rsi + 0x3d0], eax
mov eax, dword [rcx + 0x24]
mov dword [rsi + 0x3d4], eax
mov rcx, qword [rsi + 0xd0]
test rcx, rcx
je 0x140068cb2
mov rax, qword [0x1400b2e50]
mov qword [rsi + 0xc8], rdi
test rax, rax
je 0x140068ca5
dec dword [rax + 0x9b8]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0xd0], rdi
mov rcx, qword [rsi + 0x2b0]
call fcn.140081ca0
mov rcx, qword [rsi + 0x198]
test rcx, rcx
je 0x140068cf0
mov rax, qword [0x1400b2e50]
mov qword [rsi + 0x190], rdi
test rax, rax
je 0x140068ce3
dec dword [rax + 0x9b8]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x198], rdi
mov rcx, qword [rsi + 0x1d8]
test rcx, rcx
je 0x140068d22
mov rax, qword [0x1400b2e50]
mov qword [rsi + 0x1d0], rdi
test rax, rax
je 0x140068d15
dec dword [rax + 0x9b8]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x1d8], rdi
mov rcx, qword [rsi + 0x1e8]
test rcx, rcx
je 0x140068d54
mov rax, qword [0x1400b2e50]
mov qword [rsi + 0x1e0], rdi
test rax, rax
je 0x140068d47
dec dword [rax + 0x9b8]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x1e8], rdi
inc ebp
add r14, 8
cmp ebp, dword [rbx + 0x21b0]
jne 0x140068c10
mov r14d, edi
cmp dword [rbx + 0x2638], edi
jle 0x140068e84
mov qword [rsp + 0xb0], r12
mov r15, rdi
mov r12, rdi
movabs r8, 0x7a44c6afc2dd9ca9
nop dword [rax]
mov rax, qword [rbx + 0x2640]
movss xmm0, dword [r15 + rax]
comiss xmm0, xmm6
jb 0x140068e61
comiss xmm10, xmm0
jbe 0x140068e61
mov rsi, qword [rbx + 0x2608]
mov rbp, qword [0x1400b2e50]
add rsi, r12
mov qword [rsi + 0x1e0], rdi
mov byte [rsi + 0x20c], 1
mov rcx, qword [rsi + 0x1d0]
test rcx, rcx
je 0x140068e04
mov qword [rsi + 0x1c8], rdi
test rbp, rbp
je 0x140068ded
dec dword [rbp + 0x9b8]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
movabs r8, 0x7a44c6afc2dd9ca9
mov qword [rsi + 0x1d0], rdi
mov edx, edi
mov byte [rsi + 0x216], 1
cmp dword [rsi + 0x74], edi
jle 0x140068e35
mov rcx, rdi
nop word [rax + rax]
mov rax, qword [rsi + 0x18]
lea rcx, [rcx + 0x68]
inc edx
mov word [rcx + rax - 0x18], r13w
cmp edx, dword [rsi + 0x74]
jl 0x140068e20
sub rsi, qword [rbp + 0x2608]
mov rax, r8
imul rsi
sar rdx, 8
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rax, qword [rbp + 0x2640]
movsxd rcx, edx
mov dword [rax + rcx*4], 0xbf800000
inc r14d
add r15, 4
add r12, 0x218
cmp r14d, dword [rbx + 0x2638]
jl 0x140068d90
mov r12, qword [rsp + 0xb0]
mov r14d, edi
mov r15, qword [rsp + 0x70]
mov r13, qword [rsp + 0xb8]
cmp dword [rbx + 0x2628], edi
jle 0x140068f0b
mov rsi, rdi
nop
mov rbp, qword [rbx + 0x2630]
movss xmm0, dword [rsi + rbp + 4]
comiss xmm0, xmm6
jb 0x140068ef8
comiss xmm10, xmm0
jbe 0x140068ef8
lea rcx, [rbp + 0x10]
add rcx, rsi
call fcn.140085750
mov rcx, qword [rsi + rbp + 0x40]
test rcx, rcx
je 0x140068ef0
mov rax, qword [0x1400b2e50]
mov qword [rsi + rbp + 0x38], rdi
test rax, rax
je 0x140068ee5
dec dword [rax + 0x9b8]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + rbp + 0x40], rdi
mov dword [rsi + rbp + 4], 0xbf800000
inc r14d
add rsi, 0x90
cmp r14d, dword [rbx + 0x2628]
jl 0x140068ea0
movaps xmm10, xmmword [rsp + 0x20]
mov r14, qword [rsp + 0x78]
mov rbp, qword [rsp + 0xa8]
cmp byte [rbx + 0x219f], dil
je 0x140068f90
mov rsi, qword [0x1400b2e50]
mov rcx, qword [rsi + 0x2380]
test rcx, rcx
je 0x140068f59
mov qword [rsi + 0x2378], rdi
test rsi, rsi
je 0x140068f4c
dec dword [rsi + 0x9b8]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x2380], rdi
mov rcx, qword [rsi + 0x2390]
test rcx, rcx
je 0x140068f8b
mov rax, qword [0x1400b2e50]
mov qword [rsi + 0x2388], rdi
test rax, rax
je 0x140068f7e
dec dword [rax + 0x9b8]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x2390], rdi
call fcn.140078ba0
mov rax, qword [rbx + 0x23c8]
mov byte [rbx + 0x219f], dil
test rax, rax
je 0x140069005
cmp byte [rax + 0x8f], dil
jne 0x140069005
mov rax, qword [0x1400b2e50]
movsxd rcx, dword [rax + 0x21c0]
test ecx, ecx
jle 0x140068ffe
mov rax, qword [rax + 0x21c8]
lea rdx, [rcx - 1]
lea r8, [rax + rdx*8]
nop dword [rax]
mov rcx, qword [r8]
test rcx, rcx
je 0x140068ff4
cmp byte [rcx + 0x8f], dil
je 0x140068ff4
mov eax, dword [rcx + 0xc]
and eax, 0x40200
cmp eax, 0x40200
jne 0x140069228
sub r8, 8
sub rdx, 1
jns 0x140068fd0
xor ecx, ecx
call fcn.140070320
mov ecx, dword [rbx + 0x21e4]
test ecx, ecx
jns 0x14006902b
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x21e0]
test eax, eax
cmovg edx, eax
call fcn.1400628b0
mov dword [rbx + 0x21e0], edi
mov ecx, dword [rbx + 0x23ac]
test ecx, ecx
jns 0x140069057
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x23a8]
test eax, eax
cmovg edx, eax
call fcn.140078050
lea rsi, [rbx + 0x2378]
mov dword [rbx + 0x23a8], edi
mov ecx, dword [rsi + 4]
test ecx, ecx
jns 0x140069086
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
mov rcx, rsi
test eax, eax
cmovg edx, eax
call fcn.140062950
mov ecx, dword [rsi + 4]
mov dword [rsi], edi
mov eax, edi
test ecx, ecx
jne 0x14006909b
lea edx, [rcx + 8]
mov rcx, rsi
call fcn.140062950
mov eax, dword [rsi]
movsxd rcx, eax
xor edx, edx
mov rax, qword [rsi + 8]
mov dword [rax + rcx*4], edi
lea rcx, [rbx + 0x2388]
inc dword [rsi]
call fcn.140077c70
mov rcx, qword [rbx + 0x23c8]
xor edx, edx
call fcn.140072080
mov r8, qword [0x1400b2e50]
mov dword [r8 + 0x36d8], edi
cmp byte [r8 + 0x36d4], dil
je 0x140069197
mov esi, dword [r8 + 0x224c]
mov dword [r8 + 0x2548], 7
mov ecx, dword [r8 + 0x894]
test ecx, ecx
js 0x14006910b
call fcn.14006b000
test al, al
je 0x14006910b
mov byte [r8 + 0x36d4], dil
movss xmm0, dword [r8 + 0xa3c]
ucomiss xmm0, xmm6
jp 0x14006912d
jne 0x14006912d
test esi, esi
je 0x14006912d
mov dword [r8 + 0x36d8], esi
mov byte [r8 + 0x36d4], dil
or dword [r8 + 0x22b0], 0x40
xor edx, edx
mov dword [r8 + 0x2310], 0x3f19999a
call fcn.140071c00
mov edx, esi
lea rcx, str.HoveredId:_0x_08X
call fcn.140051c40
lea rcx, str.Press_ESC_to_abort_picking.
call fcn.140051c40
mov eax, Ordinal_20
lea rdx, str.Click_to_break_in_debugger_
test esi, esi
mov rcx, rdi
cmove rcx, rax
mov rax, qword [0x1400b2e50]
add rax, 0x1c24
add rcx, rax
call fcn.140051cd0
call fcn.140070280
mov r8, qword [0x1400b2e50]
mov byte [rbx + 0x219d], 1
lea rcx, str.DebugDefault
or dword [r8 + 0x22b0], 2
xor edx, edx
mov dword [r8 + 0x22d0], 0x43c80000
mov dword [r8 + 0x22d4], 0x43c80000
mov dword [r8 + 0x22b8], 4
xor r8d, r8d
call fcn.14006df50
movaps xmm6, xmmword [rsp + 0x60]
cmp dword [rbx + 0x3678], edi
jle 0x14006921d
mov rsi, rdi
nop dword [rax + rax]
mov rax, qword [rbx + 0x3680]
cmp dword [rsi + rax + 4], 1
jne 0x14006920f
movsxd rdx, edi
mov rcx, rbx
shl rdx, 5
add rdx, rax
call qword [rsi + rax + Ordinal_19]
inc edi
add rsi, 0x20
cmp edi, dword [rbx + 0x3678]
jl 0x1400691f0
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret
mov rax, qword [rcx + 0x3a0]
test rax, rax
je 0x14006923d
cmp byte [rax + 0x8f], dil
jne 0x140069240
mov rax, rcx
mov rcx, rax
jmp 0x140069000