Function at 0x140008080
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbx
push rsi
push rdi
sub rsp, 0x80
mov rbx, qword [0x140080be0]
xor edi, edi
mov qword [rax + 0x10], rbp
mov esi, edi
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
movaps xmmword [rax - 0x58], xmm9
movaps xmmword [rax - 0x68], xmm10
cmp dword [rbx + 0x2ff8], edi
jle 0x1400080ee
mov ebp, edi
nop dword [rax]
mov r8, qword [rbx + 0x3000]
cmp dword [r8 + rbp], edi
jne 0x1400080e0
movsxd rax, esi
lea rcx, [rax + rax*2]
lea rdx, [r8 + rcx*8]
mov rcx, rbx
call qword [r8 + rbp + 8]
inc esi
add rbp, 0x18
cmp esi, dword [rbx + 0x2ff8]
jl 0x1400080c0
mov rsi, qword [0x140080be0]
mov eax, dword [rbx + 0x1a24]
mov dword [rbx + 0x1a28], eax
cmp byte [rsi + 0xd3], dil
je 0x140008117
test byte [rsi + 0xc], 2
jne 0x140008117
mov byte [rsi + 0xd3], dil
mov ecx, dword [rsi + 8]
bt ecx, 0xa
jae 0x140008136
mov eax, dword [rsi + 0xc]
and eax, 0x1400
cmp eax, 0x1400
je 0x140008136
btr ecx, 0xa
mov dword [rsi + 8], ecx
mov eax, dword [rbx + 8]
mov dword [rbx + 0x1a24], eax
cmp byte [rsi + 0x2fc0], dil
jne 0x1400081a6
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14000819f
lea r8, [rsp + 0xa0]
mov qword [rsp + 0xa0], rdi
call fcn.140003f90
mov rbp, rax
test rax, rax
je 0x14000819f
mov rdx, qword [rsp + 0xa0]
mov rcx, rax
call fcn.1400186c0
mov rcx, qword [0x140080be0]
test rcx, rcx
je 0x140008190
dec dword [rcx + 0x3b0]
mov rdx, qword [0x140080bd0]
mov rcx, rbp
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov byte [rsi + 0x2fc0], 1
movss xmm0, dword [rsi + 0x2fc4]
xorps xmm6, xmm6
comiss xmm0, xmm6
mov qword [rsp + 0xb0], r14
jbe 0x14000824a
subss xmm0, dword [rsi + 0x18]
comiss xmm6, xmm0
movss dword [rsi + 0x2fc4], xmm0
jb 0x14000824a
mov rbp, qword [rsi + 0x20]
test rbp, rbp
je 0x14000823d
mov rax, qword [0x140080be0]
lea rcx, [rsp + 0xa0]
mov qword [rsp + 0xa0], rdi
mov dword [rax + 0x2fc4], edi
call fcn.140018a20
lea rdx, [0x140066d4c]
mov rcx, rbp
mov r14, rax
call fcn.140003e60
mov rbp, rax
test rax, rax
je 0x140008244
mov r8, qword [rsp + 0xa0]
mov r9, rax
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x140008244
mov byte [rsi + 0x398], 1
mov dword [rsi + 0x2fc4], edi
inc dword [rbx + 0x1b20]
movss xmm1, dword [rbx + 0x18]
cvtps2pd xmm0, xmm1
mov byte [rbx + 0x1b30], 1
mov dword [rbx + 0x2f40], edi
mov dword [rbx + 0x1b90], edi
addsd xmm0, qword [rbx + 0x1b18]
movsd qword [rbx + 0x1b18], xmm0
mov ecx, dword [rbx + 0x2f5c]
test ecx, ecx
jns 0x1400082a6
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x2f58]
test eax, eax
cmovg edx, eax
call fcn.1400235a0
movss xmm1, dword [rbx + 0x18]
movss xmm9, dword [0x14006da34]
movaps xmm0, xmm1
movss xmm10, dword [0x14006d8c0]
mov dword [rbx + 0x2f58], edi
movsxd rax, dword [rbx + 0x3234]
subss xmm0, dword [rbx + rax*4 + 0x3054]
addss xmm0, dword [rbx + 0x3238]
movss dword [rbx + 0x3238], xmm0
movss dword [rbx + rax*4 + 0x3054], xmm1
mov eax, 0x88888889
mov ecx, dword [rbx + 0x3234]
movss xmm1, dword [rbx + 0x3238]
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
comiss xmm1, xmm6
mov dword [rbx + 0x3234], ecx
jbe 0x14000832f
divss xmm1, dword [0x14006d9b0]
movaps xmm0, xmm10
divss xmm0, xmm1
jmp 0x140008333
movaps xmm0, xmm9
movss dword [rbx + 0x39c], xmm0
call fcn.140019920
mov rax, qword [rbx + 0xa8]
mov rsi, qword [0x140080be0]
mov byte [rax], 1
mov rcx, qword [rsi + 0xb8]
test rcx, rcx
jne 0x14000836b
mov rax, qword [rsi + 0xa8]
mov rcx, qword [rax + 0x48]
mov rcx, qword [rcx]
call fcn.140011de0
mov eax, dword [rbx + 0x1d40]
movaps xmm0, xmm9
movss xmm5, dword [0x14006da84]
movaps xmm8, xmm9
movaps xmm7, xmm5
test eax, eax
jle 0x1400083e9
mov rcx, qword [rbx + 0x1d48]
mov edx, eax
nop word [rax + rax]
mov rax, qword [rcx]
movss xmm4, dword [rax + 8]
comiss xmm0, xmm4
movss xmm3, dword [rax + 0xc]
movaps xmm1, xmm4
addss xmm1, dword [rax + 0x10]
movaps xmm2, xmm3
addss xmm2, dword [rax + 0x14]
jbe 0x1400083c5
movaps xmm0, xmm4
comiss xmm8, xmm3
jbe 0x1400083cf
movaps xmm8, xmm3
comiss xmm1, xmm5
jbe 0x1400083d7
movaps xmm5, xmm1
comiss xmm2, xmm7
jbe 0x1400083df
movaps xmm7, xmm2
add rcx, 8
sub rdx, 1
jne 0x1400083a0
mov eax, dword [rbx + 0x16fc]
movss xmm1, dword [rbx + 0x1700]
shufps xmm0, xmm0, 0xe1
movss xmm0, xmm8
mov dword [rbx + 0x1a54], eax
movaps xmm8, xmmword [rsp + 0x50]
shufps xmm0, xmm0, 0xc6
movss xmm0, xmm5
shufps xmm0, xmm0, 0x27
movss xmm0, xmm7
shufps xmm0, xmm0, 0x39
movups xmmword [rbx + 0x1a5c], xmm0
movss xmm0, dword [rbx + 0x1a58]
ucomiss xmm0, xmm1
jp 0x14000843a
je 0x1400084c1
movss xmm7, dword [0x14006d910]
lea r14, [rbx + 0x1ad0]
mov qword [rsp + 0xb8], r15
mov ebp, edi
mov r15d, 0x200
movss dword [rbx + 0x1a58], xmm1
movd xmm1, ebp
cvtdq2ps xmm1, xmm1
addss xmm1, xmm10
movaps xmm0, xmm1
subss xmm0, dword [rbx + 0x1a58]
divss xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_acosf
movaps xmm1, xmm7
divss xmm1, xmm0
cvttss2si edx, xmm1
cmp edx, 0xc
jge 0x140008498
mov edx, 0xc
jmp 0x14000849f
cmp edx, r15d
cmovg edx, r15d
mov ecx, 0xff
movzx eax, dl
cmp edx, ecx
cmovl ecx, eax
inc ebp
mov byte [r14], cl
inc r14
cmp ebp, 0x40
jl 0x140008461
mov r15, qword [rsp + 0xb8]
mov r8d, edi
movaps xmm7, xmmword [rsp + 0x60]
mov dword [rbx + 0x1a6c], edi
cmp byte [rbx + 0x16f8], dil
je 0x1400084e8
mov dword [rbx + 0x1a6c], 1
mov r8d, 1
mov edx, r8d
cmp byte [rbx + 0x16f9], dil
je 0x14000850e
mov rax, qword [rbx + 0x1a30]
mov rcx, qword [rax + 0x40]
test byte [rcx + 4], 4
jne 0x14000850e
or edx, 2
mov dword [rbx + 0x1a6c], edx
cmp byte [rbx + 0x16fa], dil
je 0x140008520
or edx, 4
mov dword [rbx + 0x1a6c], edx
test byte [rbx + 0xc], 8
je 0x14000852f
or edx, 8
mov dword [rbx + 0x1a6c], edx
mov r8d, edi
cmp dword [rbx + 0x1d40], edi
jle 0x14000859c
mov rdx, rdi
nop dword [rax]
mov rax, qword [rbx + 0x1d48]
lea rdx, [rdx + 8]
inc r8d
mov rcx, qword [rdx + rax - 8]
mov qword [rcx + 0x30], rdi
mov qword [rcx + 0xdc], rdi
movsd xmm0, qword [rcx + 0xdc]
unpcklpd xmm0, xmm0
movups xmmword [rcx + 0xcc], xmm0
mov byte [rcx + 0xb0], dil
mov qword [rcx + 0xb8], rdi
mov qword [rcx + 0xc4], rdi
mov dword [rcx + 0xc0], edi
mov qword [rcx + 0xe8], rdi
cmp r8d, dword [rbx + 0x1d40]
jl 0x140008540
cmp byte [rbx + 0x1efc], dil
je 0x1400085d0
mov eax, dword [rbx + 0x1f1c]
cmp eax, dword [rbx + 0x1bf0]
jne 0x1400085d0
cmp dword [rsi + 0x1bf0], eax
jne 0x1400085c1
mov dword [rsi + 0x1bf4], eax
cmp dword [rsi + 0x1c30], eax
jne 0x1400085d0
mov byte [rsi + 0x1c34], 1
mov eax, dword [rbx + 0x1bdc]
cmp dword [rbx + 0x1be0], edi
jne 0x1400085e6
mov dword [rbx + 0x1be8], edi
jmp 0x1400085f4
mov ecx, eax
test eax, eax
je 0x1400085fc
cmp dword [rbx + 0x1bf0], eax
jne 0x1400085fc
mov dword [rbx + 0x1bec], edi
mov ecx, eax
movss xmm2, dword [rbx + 0x18]
mov eax, dword [rbx + 0x1bf0]
test ecx, ecx
je 0x140008635
movaps xmm0, xmm2
addss xmm0, dword [rbx + 0x1be8]
movss dword [rbx + 0x1be8], xmm0
cmp eax, ecx
je 0x140008635
movaps xmm0, xmm2
addss xmm0, dword [rbx + 0x1bec]
movss dword [rbx + 0x1bec], xmm0
movaps xmm1, xmm2
mov dword [rbx + 0x1be0], ecx
mov ecx, eax
mov dword [rbx + 0x1bdc], edi
mov word [rbx + 0x1be4], di
cmp dword [rbx + 0x1bf4], eax
je 0x1400086b7
cmp dword [rbx + 0x1c30], eax
jne 0x1400086b7
test eax, eax
je 0x1400086b7
mov ecx, dword [rsi + 0x1bf0]
test ecx, ecx
setne al
mov byte [rsi + 0x1bfc], al
test ecx, ecx
je 0x140008683
mov dword [rsi + 0x1bf8], edi
mov word [rsi + 0x1bff], di
mov dword [rsi + 0x1bf0], edi
mov word [rsi + 0x1bfd], di
mov qword [rsi + 0x1c20], rdi
mov byte [rsi + 0x1c01], dil
mov qword [rsi + 0x1c04], rdi
mov qword [rsi + 0x1c10], rdi
mov ecx, dword [rbx + 0x1bf0]
movss xmm1, dword [rbx + 0x18]
test ecx, ecx
je 0x1400086ce
movaps xmm0, xmm1
addss xmm0, dword [rbx + 0x1bf8]
movss dword [rbx + 0x1bf8], xmm0
mov rax, qword [rbx + 0x1c20]
addss xmm1, dword [rbx + 0x1c44]
mov qword [rbx + 0x1c38], rax
movzx eax, byte [rbx + 0x1c00]
mov byte [rbx + 0x1c35], al
mov eax, dword [rbx + 0x2f00]
movss dword [rbx + 0x1c44], xmm1
mov dword [rbx + 0x1c30], ecx
mov dword [rbx + 0x1bf4], edi
mov byte [rbx + 0x1c01], dil
mov byte [rbx + 0x1c34], dil
mov byte [rbx + 0x1bfc], dil
test eax, eax
je 0x14000872e
cmp ecx, eax
je 0x14000872e
mov dword [rbx + 0x2f00], edi
test ecx, ecx
jne 0x140008740
mov qword [rbx + 0x1c04], rdi
mov qword [rbx + 0x1c10], rdi
mov eax, dword [rbx + 0x1f6c]
mov r8d, 0x800
mov dword [rbx + 0x1f70], eax
mov eax, edi
mov qword [rbx + 0x1f68], 0x7f7fffff
mov word [rbx + 0x1efd], di
mov dword [rbx + 0x1f78], edi
cmp byte [rsi + 0x13c], dil
setne al
mov ecx, eax
or ecx, 2
cmp byte [rsi + 0x13d], dil
cmove ecx, eax
mov edx, ecx
or edx, 4
cmp byte [rsi + 0x13e], dil
cmove edx, ecx
lea rcx, [rbx + 0xc98]
mov eax, edx
or eax, 8
cmp byte [rsi + 0x13f], dil
cmove eax, edx
lea rdx, [rbx + 0x498]
mov dword [rbx + 0x3bc], eax
call sub.VCRUNTIME140.dll_memcpy
movss xmm1, dword [0x14006da50]
lea rcx, [rbx + 0x141]
lea rax, [rbx + 0x49c]
mov edx, 0x80
cmp byte [rcx - 1], dil
je 0x1400087f3
movss xmm0, dword [rax - 4]
comiss xmm6, xmm0
jbe 0x1400087ec
movaps xmm0, xmm6
jmp 0x1400087f6
addss xmm0, dword [rbx + 0x18]
jmp 0x1400087f6
movaps xmm0, xmm1
movss dword [rax - 4], xmm0
cmp byte [rcx], dil
je 0x140008815
movss xmm0, dword [rax]
comiss xmm6, xmm0
jbe 0x14000880e
movaps xmm0, xmm6
jmp 0x140008818
addss xmm0, dword [rbx + 0x18]
jmp 0x140008818
movaps xmm0, xmm1
movss dword [rax], xmm0
cmp byte [rcx + 1], dil
je 0x140008838
movss xmm0, dword [rax + 4]
comiss xmm6, xmm0
jbe 0x140008831
movaps xmm0, xmm6
jmp 0x14000883b
addss xmm0, dword [rbx + 0x18]
jmp 0x14000883b
movaps xmm0, xmm1
movss dword [rax + 4], xmm0
cmp byte [rcx + 2], dil
je 0x14000885c
movss xmm0, dword [rax + 8]
comiss xmm6, xmm0
jbe 0x140008855
movaps xmm0, xmm6
jmp 0x14000885f
addss xmm0, dword [rbx + 0x18]
jmp 0x14000885f
movaps xmm0, xmm1
movss dword [rax + 8], xmm0
add rcx, 4
add rax, 0x10
sub rdx, 1
jne 0x1400087d7
call fcn.140015360
call fcn.140007400
mov rcx, rbx
call fcn.14001af00
call fcn.140007d40
call fcn.140006cd0
mov r10, qword [0x140080be0]
movsxd rax, dword [r10 + 0x1d20]
test eax, eax
jle 0x1400088db
lea rdx, [rax - 1]
mov rax, qword [r10 + 0x1d28]
lea r8, [rdx + rdx*2]
add rax, 8
shl r8, 4
add r8, rax
nop
mov rax, qword [r8]
test rax, rax
je 0x1400088d1
test dword [rax + 0xc], 0x8000000
jne 0x1400088f1
sub r8, 0x30
sub rdx, 1
jns 0x1400088c0
cmp qword [rbx + 0x1ea8], rdi
je 0x14000890d
movss xmm0, dword [rbx + 0x1ec4]
comiss xmm0, xmm6
jbe 0x14000890d
movss xmm1, dword [rbx + 0x18]
mulss xmm1, dword [0x14006d90c]
addss xmm1, dword [rbx + 0x1ef4]
minss xmm1, xmm10
jmp 0x14000892a
movss xmm0, dword [rbx + 0x18]
mulss xmm0, dword [0x14006d92c]
movss xmm1, dword [rbx + 0x1ef4]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [rbx + 0x1ef4], xmm1
mov dword [rbx + 0x1ef8], edi
mov qword [rbx + 0x3240], 0xffffffffffffffff
mov dword [rbx + 0x323c], 0xffffffff
mov dword [rbx + 0x2f68], 0x3f800000
mov dword [rbx + 0x2f6c], 0x3f800000
mov qword [rbx + 0x2f78], rdi
call fcn.1400077b0
mov r8, qword [r10 + 0x1d78]
movaps xmm10, xmmword [rsp + 0x30]
test r8, r8
je 0x1400089b0
cmp byte [r8 + 0xbf], dil
je 0x1400089b0
test dword [r8 + 0xc], 0x40000
jne 0x1400089b0
cmp byte [r10 + 0x13c], dil
jne 0x1400089b0
mov ecx, dword [r10 + 0x3c]
test ecx, ecx
js 0x1400089b0
call fcn.14000b3d0
test al, al
je 0x1400089b0
mov al, 1
jmp 0x1400089b2
xor al, al
mov byte [r10 + 0x1ef0], al
cmp dword [r10 + 0x1bf0], edi
jne 0x140008a1d
test al, al
je 0x140008a1d
mov qword [r10 + 0x1ed8], r8
mov dword [r10 + 0x1ee8], 0x7fffffff
cmp dword [r10 + 0x1d80], edi
je 0x140008a0a
mov ecx, dword [r10 + 0x1dc8]
cmp ecx, 0x7fffffff
je 0x140008a0a
cmp byte [r10 + 0x13d], dil
mov eax, 2
cmovne eax, edi
add eax, ecx
mov dword [r10 + 0x1eec], eax
jmp 0x140008a1d
movzx eax, byte [r10 + 0x13d]
neg al
sbb ecx, ecx
mov dword [r10 + 0x1eec], ecx
mov r8, qword [r10 + 0x1ed8]
mov qword [r10 + 0x1ed0], rdi
mov dword [r10 + 0x1ee4], 0x7fffffff
mov dword [r10 + 0x1ee0], 0x7fffffff
test r8, r8
je 0x140008aba
mov eax, dword [r10 + 0x1ee8]
mov qword [r10 + 0x1ed0], r8
cmp eax, 0x7fffffff
je 0x140008a75
mov ecx, dword [r8 + 0x1f8]
cmp ecx, 0xffffffff
je 0x140008a75
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [r10 + 0x1ee0], edx
mov eax, dword [r10 + 0x1eec]
cmp eax, 0x7fffffff
je 0x140008a9d
mov ecx, dword [r8 + 0x1fc]
cmp ecx, 0xffffffff
je 0x140008a9d
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [r10 + 0x1ee4], edx
mov qword [r10 + 0x1ed8], rdi
mov dword [r10 + 0x1eec], 0x7fffffff
mov dword [r10 + 0x1ee8], 0x7fffffff
mov dword [r10 + 0x1dc8], 0x7fffffff
movss xmm0, dword [rbx + 0xd8]
comiss xmm0, xmm6
jb 0x140008ae5
movsd xmm9, qword [rbx + 0x1b18]
cvtpd2ps xmm9, xmm9
subss xmm9, xmm0
mov esi, edi
cmp dword [rbx + 0x1b40], edi
je 0x140008b50
mov r14, rdi
mov rax, qword [rbx + 0x1b48]
mov rcx, qword [r14 + rax]
movzx eax, byte [rcx + 0xbf]
mov byte [rcx + 0xc0], al
mov word [rcx + 0xca], di
mov byte [rcx + 0xbf], dil
mov byte [rcx + 0xc1], dil
test al, al
jne 0x140008b3b
cmp byte [rcx + 0x440], dil
jne 0x140008b3b
comiss xmm9, dword [rcx + 0x2e0]
jbe 0x140008b3b
call fcn.140006350
inc esi
add r14, 8
cmp esi, dword [rbx + 0x1b40]
jne 0x140008af2
mov r10, qword [0x140080be0]
mov rax, qword [rbx + 0x1d78]
movaps xmm9, xmmword [rsp + 0x40]
test rax, rax
je 0x140008bc3
cmp byte [rax + 0xc0], dil
jne 0x140008bc3
movsxd rax, dword [r10 + 0x1b50]
test eax, eax
jle 0x140008bbc
lea rdx, [rax - 1]
mov rax, qword [r10 + 0x1b58]
lea r8, [rax + rdx*8]
mov rcx, qword [r8]
test rcx, rcx
je 0x140008bb2
cmp byte [rcx + 0xc0], dil
je 0x140008bb2
cmp qword [rcx + 0x3f0], rcx
jne 0x140008bb2
mov eax, dword [rcx + 0xc]
and eax, 0x40200
cmp eax, 0x40200
jne 0x140008c72
sub r8, 8
sub rdx, 1
jns 0x140008b85
xor ecx, ecx
call fcn.140011a20
mov ecx, dword [rbx + 0x1b74]
test ecx, ecx
jns 0x140008be9
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x1b70]
test eax, eax
cmovg edx, eax
call fcn.140023330
mov dword [rbx + 0x1b70], edi
mov ecx, dword [rbx + 0x1d34]
test ecx, ecx
jns 0x140008c15
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x1d30]
test eax, eax
cmovg edx, eax
call fcn.140023640
mov dword [rbx + 0x1d30], edi
xor edx, edx
mov rcx, qword [rbx + 0x1d78]
call fcn.140013920
test byte [rbx + 8], 0x40
je 0x140008dc3
mov rax, qword [rbx + 0x1bb0]
mov qword [rbx + 0x1bb8], rdi
test rax, rax
je 0x140008d12
mov rcx, qword [rax + 0x450]
test rcx, rcx
je 0x140008cf8
mov rdx, qword [rbx + 0x120]
call fcn.140020ab0
mov qword [rbx + 0x1bb8], rax
jmp 0x140008d12
mov rax, qword [rcx + 0x408]
test rax, rax
je 0x140008c87
cmp byte [rax + 0xc0], dil
jne 0x140008cf0
mov r8, qword [rcx + 0x450]
test r8, r8
je 0x140008ced
mov r8, qword [r8 + 0x38]
test r8, r8
je 0x140008ced
movsxd r9, dword [r8]
mov rdx, rdi
test r9, r9
jle 0x140008ced
mov r8, qword [r8 + 8]
nop dword [rax + rax]
test rdx, rdx
je 0x140008cbe
mov eax, dword [r8 + 0x14]
cmp dword [rdx + 0x14], eax
jge 0x140008cd2
mov rax, qword [r8 + 8]
test rax, rax
je 0x140008cd2
cmp byte [rax + 0xc0], dil
cmovne rdx, r8
add r8, 0x30
sub r9, 1
jne 0x140008cb0
test rdx, rdx
je 0x140008ced
mov rax, qword [rdx + 8]
mov rcx, rax
jmp 0x140008bbe
mov rax, rcx
mov rcx, rax
jmp 0x140008bbe
mov rax, qword [rax + 0x3f0]
mov rcx, qword [rax + 0x448]
test rcx, rcx
je 0x140008d12
mov qword [rbx + 0x1bb8], rcx
mov esi, edi
cmp dword [rbx + 0x2f98], edi
jle 0x140008d4d
mov rbp, rdi
nop
mov rax, qword [rbx + 0x2fa0]
cmp dword [rax + rbp], 1
jne 0x140008d3f
movsxd rdx, esi
mov rcx, rbx
shl rdx, 6
add rdx, rax
call fcn.14001bda0
inc esi
add rbp, 0x40
cmp esi, dword [rbx + 0x2f98]
jl 0x140008d20
mov ecx, dword [rbx + 0x2f9c]
test ecx, ecx
jns 0x140008d73
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x2f98]
test eax, eax
cmovg edx, eax
call fcn.1400236e0
mov dword [rbx + 0x2f98], edi
mov esi, edi
cmp dword [rbx + 0x2f88], edi
jle 0x140008dc3
mov rbp, rdi
nop word [rax + rax]
mov rax, qword [rbx + 0x2f90]
mov rcx, qword [rax + rbp + 8]
test rcx, rcx
je 0x140008db5
cmp qword [rcx + 0x10], rdi
jne 0x140008db5
test dword [rcx + 8], 0x400
jne 0x140008db5
call fcn.14001ca10
inc esi
add rbp, 0x10
cmp esi, dword [rbx + 0x2f88]
jl 0x140008d90
mov r8, qword [0x140080be0]
mov r14, qword [rsp + 0xb0]
mov rbp, qword [rsp + 0xa8]
mov dword [r8 + 0x3040], edi
cmp byte [r8 + 0x303c], dil
je 0x140008ea4
mov esi, dword [r8 + 0x1be0]
mov dword [r8 + 0x1ef8], 7
mov ecx, dword [r8 + 0x74]
test ecx, ecx
js 0x140008e18
call fcn.14000b3d0
test al, al
je 0x140008e18
mov byte [r8 + 0x303c], dil
movss xmm0, dword [r8 + 0x434]
ucomiss xmm0, xmm6
jp 0x140008e3a
jne 0x140008e3a
test esi, esi
je 0x140008e3a
mov dword [r8 + 0x3040], esi
mov byte [r8 + 0x303c], dil
or dword [r8 + 0x1c48], 0x40
xor edx, edx
mov dword [r8 + 0x1ca8], 0x3f19999a
call fcn.140013420
mov edx, esi
lea rcx, str.HoveredId:_0x_08X
call fcn.140036a80
lea rcx, str.Press_ESC_to_abort_picking.
call fcn.140036a80
mov eax, 0x10
lea rdx, str.Click_to_break_in_debugger_
test esi, esi
mov rcx, rdi
cmove rcx, rax
mov rax, qword [0x140080be0]
add rax, 0x1704
add rcx, rax
call fcn.140036b00
call fcn.1400117a0
mov r8, qword [0x140080be0]
mov byte [rbx + 0x1b31], 1
lea rcx, str.DebugDefault
or dword [r8 + 0x1c48], 2
xor edx, edx
mov dword [r8 + 0x1c6c], 0x43c80000
mov dword [r8 + 0x1c70], 0x43c80000
mov dword [r8 + 0x1c50], 4
xor r8d, r8d
call fcn.14000e880
movaps xmm6, xmmword [rsp + 0x70]
cmp dword [rbx + 0x2ff8], edi
jle 0x140008f2f
mov rsi, rdi
nop word [rax + rax]
mov r8, qword [rbx + 0x3000]
cmp dword [rsi + r8], 1
jne 0x140008f21
movsxd rax, edi
lea rcx, [rax + rax*2]
lea rdx, [r8 + rcx*8]
mov rcx, rbx
call qword [rsi + r8 + 8]
inc edi
add rsi, 0x18
cmp edi, dword [rbx + 0x2ff8]
jl 0x140008f00
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret