Function at 0x1400206f0
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbx
push rsi
push rdi
sub rsp, 0x70
mov rdi, qword [0x140054bc8]
xor esi, esi
mov qword [rax + 0x10], rbp
mov ebx, esi
mov qword [rax + 0x18], r12
mov qword [rax + 0x20], r13
mov qword [rax - 0x20], r14
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
cmp dword [rdi + 0x3128], esi
jle 0x14002075e
mov ebp, esi
nop dword [rax]
mov r8, qword [rdi + 0x3130]
cmp dword [r8 + rbp], esi
jne 0x140020750
movsxd rax, ebx
lea rcx, [rax + rax*2]
lea rdx, [r8 + rcx*8]
mov rcx, rdi
call qword [r8 + rbp + 8]
inc ebx
add rbp, 0x18
cmp ebx, dword [rdi + 0x3128]
jl 0x140020730
mov rbx, qword [0x140054bc8]
cmp byte [rbx + 0xcc], sil
je 0x14002077b
test byte [rbx + 0xc], 2
jne 0x14002077b
mov byte [rbx + 0xcc], sil
cmp byte [rbx + 0x30e1], sil
jne 0x1400207dc
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x1400207d5
lea r8, [rsp + 0x90]
mov qword [rsp + 0x90], rsi
call fcn.14001dbc0
mov rbp, rax
test rax, rax
je 0x1400207d5
mov rdx, qword [rsp + 0x90]
mov rcx, rax
call fcn.14002cfa0
mov rcx, qword [0x140054bc8]
test rcx, rcx
je 0x1400207cc
dec dword [rcx + 0x3b4]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rbx + 0x30e1], 1
movss xmm0, dword [rbx + 0x30e4]
xorps xmm6, xmm6
comiss xmm0, xmm6
jbe 0x140020878
subss xmm0, dword [rbx + 0x18]
comiss xmm6, xmm0
movss dword [rbx + 0x30e4], xmm0
jb 0x140020878
mov rbp, qword [rbx + 0x20]
test rbp, rbp
je 0x14002086b
mov rax, qword [0x140054bc8]
lea rcx, [rsp + 0x90]
mov qword [rsp + 0x90], rsi
mov dword [rax + 0x30e4], esi
call fcn.14002d300
lea rdx, [0x14004bbe8]
mov rcx, rbp
mov r14, rax
call fcn.14001da90
mov rbp, rax
test rax, rax
je 0x140020872
mov r8, qword [rsp + 0x90]
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 0x140020872
mov byte [rbx + 0x39c], 1
mov dword [rbx + 0x30e4], esi
inc dword [rdi + 0x1a68]
movss xmm0, dword [rdi + 0x18]
cvtps2pd xmm0, xmm0
mov byte [rdi + 0x1a74], 1
mov dword [rdi + 0x30a8], esi
mov dword [rdi + 0x1ad8], esi
addsd xmm0, qword [rdi + 0x1a60]
movsd qword [rdi + 0x1a60], xmm0
mov ecx, dword [rdi + 0x30c4]
test ecx, ecx
jns 0x1400208cf
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x30c0]
test eax, eax
cmovg edx, eax
call fcn.14002eab0
movss xmm9, dword [0x14004c4ac]
movss xmm8, dword [0x14004c41c]
mov dword [rdi + 0x30c0], esi
movsxd rax, dword [rdi + 0x3364]
movss xmm1, dword [rdi + 0x18]
movaps xmm0, xmm1
subss xmm0, dword [rdi + rax*4 + 0x3184]
addss xmm0, dword [rdi + 0x3368]
movss dword [rdi + 0x3368], xmm0
movss dword [rdi + rax*4 + 0x3184], xmm1
mov eax, 0x88888889
mov ecx, dword [rdi + 0x3364]
movss xmm1, dword [rdi + 0x3368]
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 [rdi + 0x3364], ecx
jbe 0x14002095d
divss xmm1, dword [0x14004c480]
movaps xmm0, xmm8
divss xmm0, xmm1
jmp 0x140020961
movaps xmm0, xmm9
mov rax, qword [rdi + 0xa8]
movss dword [rdi + 0x3a0], xmm0
mov byte [rax], 1
mov rax, qword [0x140054bc8]
mov rcx, qword [rax + 0xb8]
test rcx, rcx
jne 0x140020994
mov rax, qword [rax + 0xa8]
mov rcx, qword [rax + 0x48]
mov rcx, qword [rcx]
call fcn.140027ad0
movss xmm2, dword [rdi + 0x10]
movss xmm3, dword [rdi + 0x14]
mov qword [rdi + 0x19a4], rsi
movss dword [rdi + 0x19ac], xmm2
movss dword [rdi + 0x19b0], xmm3
mov eax, dword [rdi + 0x161c]
movss xmm1, dword [rdi + 0x1620]
mov dword [rdi + 0x199c], eax
movss xmm0, dword [rdi + 0x19a0]
ucomiss xmm0, xmm1
jp 0x1400209e1
je 0x140020a6b
movaps xmmword [rsp + 0x40], xmm7
lea r14, [rdi + 0x1a18]
movss xmm7, dword [0x14004c454]
mov ebx, esi
movss dword [rdi + 0x19a0], xmm1
mov ebp, 0x200
nop dword [rax]
nop dword [rax + rax]
movd xmm1, ebx
cvtdq2ps xmm1, xmm1
addss xmm1, xmm8
movaps xmm0, xmm1
subss xmm0, dword [rdi + 0x19a0]
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 0x140020a47
mov edx, 0xc
jmp 0x140020a4c
cmp edx, ebp
cmovg edx, ebp
mov ecx, 0xff
movzx eax, dl
cmp edx, ecx
cmovl ecx, eax
inc ebx
mov byte [r14], cl
inc r14
cmp ebx, 0x40
jl 0x140020a10
movaps xmm7, xmmword [rsp + 0x40]
mov r8d, esi
mov dword [rdi + 0x19b4], esi
cmp byte [rdi + 0x1618], sil
je 0x140020a8d
mov dword [rdi + 0x19b4], 1
mov r8d, 1
mov edx, r8d
cmp byte [rdi + 0x1619], sil
je 0x140020ab3
mov rax, qword [rdi + 0x1978]
mov rcx, qword [rax + 0x40]
test byte [rcx + 4], 4
jne 0x140020ab3
or edx, 2
mov dword [rdi + 0x19b4], edx
cmp byte [rdi + 0x161a], sil
je 0x140020ac5
or edx, 4
mov dword [rdi + 0x19b4], edx
test byte [rdi + 0xc], 8
je 0x140020ad4
or edx, 8
mov dword [rdi + 0x19b4], edx
lea rcx, [rdi + 0x1e70]
call fcn.140036340
mov rdx, qword [rdi + 0xa8]
lea rcx, [rdi + 0x1e70]
mov rdx, qword [rdx + 8]
call fcn.140036940
mov rax, qword [rdi + 0x1ea8]
lea rcx, [rdi + 0x1e70]
xor r9d, r9d
movss xmm1, dword [rax + 0x28]
movss xmm0, dword [rax + 0x24]
movss xmm2, dword [rax + 0x20]
unpcklps xmm0, xmm1
movss xmm1, dword [rax + 0x1c]
movq r8, xmm0
unpcklps xmm1, xmm2
movq rdx, xmm1
call fcn.140036820
lea rcx, [rdi + 0x1f38]
call fcn.140036340
mov rdx, qword [rdi + 0xa8]
lea rcx, [rdi + 0x1f38]
mov rdx, qword [rdx + 8]
call fcn.140036940
mov rax, qword [rdi + 0x1f70]
lea rcx, [rdi + 0x1f38]
xor r9d, r9d
movss xmm1, dword [rax + 0x28]
movss xmm0, dword [rax + 0x24]
movss xmm2, dword [rax + 0x20]
unpcklps xmm0, xmm1
movss xmm1, dword [rax + 0x1c]
movq r8, xmm0
unpcklps xmm1, xmm2
movq rdx, xmm1
call fcn.140036820
mov r8, qword [0x140054bc8]
mov byte [rdi + 0x1e10], sil
mov qword [rdi + 0x1e18], rsi
mov qword [rdi + 0x1e24], rsi
mov dword [rdi + 0x1e20], esi
mov qword [rdi + 0x1e3c], rsi
mov qword [rdi + 0x1e34], rsi
mov qword [rdi + 0x1e2c], rsi
cmp byte [rdi + 0x2004], sil
je 0x140020bfd
mov eax, dword [rdi + 0x2024]
cmp eax, dword [rdi + 0x1b30]
jne 0x140020bfd
cmp dword [r8 + 0x1b30], eax
jne 0x140020bec
mov dword [r8 + 0x1b34], eax
cmp dword [r8 + 0x1b70], eax
jne 0x140020bfd
mov byte [r8 + 0x1b74], 1
cmp dword [rdi + 0x1b20], esi
jne 0x140020c0d
mov dword [rdi + 0x1b28], esi
jmp 0x140020c1f
mov eax, dword [rdi + 0x1b1c]
test eax, eax
je 0x140020c25
cmp dword [rdi + 0x1b30], eax
jne 0x140020c25
mov dword [rdi + 0x1b2c], esi
mov eax, dword [rdi + 0x1b1c]
test eax, eax
je 0x140020c5f
movss xmm1, dword [rdi + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [rdi + 0x1b28]
movss dword [rdi + 0x1b28], xmm0
cmp dword [rdi + 0x1b30], eax
je 0x140020c5f
addss xmm1, dword [rdi + 0x1b2c]
movss dword [rdi + 0x1b2c], xmm1
mov dword [rdi + 0x1b20], eax
movzx eax, byte [rdi + 0x1b25]
mov byte [rdi + 0x1b26], al
mov eax, dword [rdi + 0x1b30]
mov dword [rdi + 0x1b1c], esi
mov word [rdi + 0x1b24], si
mov byte [rdi + 0x1b27], sil
cmp dword [rdi + 0x1b34], eax
je 0x140020cf2
cmp dword [rdi + 0x1b70], eax
jne 0x140020cf2
test eax, eax
je 0x140020cf2
mov ecx, dword [r8 + 0x1b30]
test ecx, ecx
setne al
mov byte [r8 + 0x1b3c], al
test ecx, ecx
je 0x140020cc6
mov dword [r8 + 0x1b38], esi
mov word [r8 + 0x1b3f], si
mov dword [r8 + 0x1b30], esi
mov word [r8 + 0x1b3d], si
mov qword [r8 + 0x1b60], rsi
mov word [r8 + 0x1b41], si
mov qword [r8 + 0x1b44], rsi
mov qword [r8 + 0x1b50], rsi
mov ecx, dword [rdi + 0x1b30]
test ecx, ecx
je 0x140020d11
movss xmm0, dword [rdi + 0x18]
addss xmm0, dword [rdi + 0x1b38]
movss dword [rdi + 0x1b38], xmm0
mov rax, qword [rdi + 0x1b60]
movss xmm0, dword [rdi + 0x18]
addss xmm0, dword [rdi + 0x1b84]
mov qword [rdi + 0x1b78], rax
movzx eax, byte [rdi + 0x1b40]
mov byte [rdi + 0x1b75], al
mov eax, dword [rdi + 0x3068]
movss dword [rdi + 0x1b84], xmm0
mov dword [rdi + 0x1b70], ecx
mov dword [rdi + 0x1b34], esi
mov byte [rdi + 0x1b41], sil
mov byte [rdi + 0x1b74], sil
mov byte [rdi + 0x1b3c], sil
test eax, eax
je 0x140020d76
cmp ecx, eax
je 0x140020d76
mov dword [rdi + 0x3068], esi
test ecx, ecx
jne 0x140020d88
mov qword [rdi + 0x1b44], rsi
mov qword [rdi + 0x1b50], rsi
mov eax, dword [rdi + 0x2074]
mov dword [rdi + 0x2078], eax
mov eax, esi
mov qword [rdi + 0x2070], 0x7f7fffff
mov word [rdi + 0x2005], si
mov dword [rdi + 0x2080], esi
cmp byte [r8 + 0x140], sil
setne al
mov ecx, eax
or ecx, 2
cmp byte [r8 + 0x141], sil
cmove ecx, eax
mov edx, ecx
or edx, 4
cmp byte [r8 + 0x142], sil
cmove edx, ecx
lea rcx, [rdi + 0xca0]
mov eax, edx
or eax, 8
cmp byte [r8 + 0x143], sil
mov r8d, 0x800
cmove eax, edx
lea rdx, [rdi + 0x4a0]
mov dword [rdi + 0x3c0], eax
call sub.VCRUNTIME140.dll_memcpy
movss xmm1, dword [0x14004c4b8]
lea rcx, [rdi + 0x145]
lea rax, [rdi + 0x4a4]
mov r8d, 0x80
cmp byte [rcx - 1], sil
je 0x140020e3c
movss xmm0, dword [rax - 4]
comiss xmm6, xmm0
jbe 0x140020e35
movaps xmm0, xmm6
jmp 0x140020e3f
addss xmm0, dword [rdi + 0x18]
jmp 0x140020e3f
movaps xmm0, xmm1
movss dword [rax - 4], xmm0
cmp byte [rcx], sil
je 0x140020e5e
movss xmm0, dword [rax]
comiss xmm6, xmm0
jbe 0x140020e57
movaps xmm0, xmm6
jmp 0x140020e61
addss xmm0, dword [rdi + 0x18]
jmp 0x140020e61
movaps xmm0, xmm1
movss dword [rax], xmm0
cmp byte [rcx + 1], sil
je 0x140020e81
movss xmm0, dword [rax + 4]
comiss xmm6, xmm0
jbe 0x140020e7a
movaps xmm0, xmm6
jmp 0x140020e84
addss xmm0, dword [rdi + 0x18]
jmp 0x140020e84
movaps xmm0, xmm1
movss dword [rax + 4], xmm0
cmp byte [rcx + 2], sil
je 0x140020ea5
movss xmm0, dword [rax + 8]
comiss xmm6, xmm0
jbe 0x140020e9e
movaps xmm0, xmm6
jmp 0x140020ea8
addss xmm0, dword [rdi + 0x18]
jmp 0x140020ea8
movaps xmm0, xmm1
movss dword [rax + 8], xmm0
add rcx, 4
add rax, 0x10
sub r8, 1
jne 0x140020e20
call fcn.14002a040
call fcn.14001fb50
call fcn.1400203e0
call fcn.14001f5c0
mov r8, qword [0x140054bc8]
mov eax, dword [r8 + 0x1c70]
sub eax, 1
js 0x140020f1b
mov r8, qword [r8 + 0x1c78]
movsxd rdx, eax
add r8, 8
lea rcx, [rdx + rdx*2]
shl rcx, 4
add r8, rcx
nop
mov rax, qword [r8]
test rax, rax
je 0x140020f11
test dword [rax + 0xc], 0x8000000
jne 0x140020f31
sub r8, 0x30
sub rdx, 1
jns 0x140020f00
cmp qword [rdi + 0x1dc0], rsi
je 0x140020f4d
movss xmm0, dword [rdi + 0x1ddc]
comiss xmm0, xmm6
jbe 0x140020f4d
movss xmm1, dword [rdi + 0x18]
mulss xmm1, dword [0x14004c450]
addss xmm1, dword [rdi + 0x1e68]
minss xmm1, xmm8
jmp 0x140020f6a
movss xmm0, dword [rdi + 0x18]
mulss xmm0, dword [0x14004c45c]
movss xmm1, dword [rdi + 0x1e68]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [rdi + 0x1e68], xmm1
mov r12d, 0xffffffff
mov dword [rdi + 0x336c], r12d
mov dword [rdi + 0x2000], esi
mov qword [rdi + 0x3370], 0xffffffffffffffff
mov dword [rdi + 0x30d0], 0x3f800000
mov dword [rdi + 0x30d4], 0x3f800000
call fcn.14001ff10
mov r11, qword [0x140054bc8]
movaps xmm8, xmmword [rsp + 0x30]
mov r8, qword [r11 + 0x1c90]
test r8, r8
je 0x140020ff3
cmp byte [r8 + 0x8e], sil
je 0x140020ff3
test dword [r8 + 0xc], 0x40000
jne 0x140020ff3
cmp byte [r11 + 0x140], sil
jne 0x140020ff3
mov ecx, dword [r11 + 0x3c]
test ecx, ecx
js 0x140020ff3
call fcn.1400226b0
test al, al
je 0x140020ff3
mov al, 1
jmp 0x140020ff5
xor al, al
mov byte [r11 + 0x1e08], al
cmp dword [r11 + 0x1b30], esi
jne 0x140021060
test al, al
je 0x140021060
mov qword [r11 + 0x1df0], r8
mov dword [r11 + 0x1e00], 0x7fffffff
cmp dword [r11 + 0x1c98], esi
je 0x14002104d
mov ecx, dword [r11 + 0x1ce0]
cmp ecx, 0x7fffffff
je 0x14002104d
cmp byte [r11 + 0x141], sil
mov eax, 2
cmovne eax, esi
add eax, ecx
mov dword [r11 + 0x1e04], eax
jmp 0x140021060
movzx eax, byte [r11 + 0x141]
neg al
sbb ecx, ecx
mov dword [r11 + 0x1e04], ecx
mov r8, qword [r11 + 0x1df0]
mov qword [r11 + 0x1de8], rsi
mov dword [r11 + 0x1dfc], 0x7fffffff
mov dword [r11 + 0x1df8], 0x7fffffff
test r8, r8
je 0x1400210fd
mov eax, dword [r11 + 0x1e00]
mov qword [r11 + 0x1de8], r8
cmp eax, 0x7fffffff
je 0x1400210b8
mov ecx, dword [r8 + 0x1c4]
cmp ecx, r12d
je 0x1400210b8
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [r11 + 0x1df8], edx
mov eax, dword [r11 + 0x1e04]
cmp eax, 0x7fffffff
je 0x1400210e0
mov ecx, dword [r8 + 0x1c8]
cmp ecx, r12d
je 0x1400210e0
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [r11 + 0x1dfc], edx
mov qword [r11 + 0x1df0], rsi
mov dword [r11 + 0x1e04], 0x7fffffff
mov dword [r11 + 0x1e00], 0x7fffffff
mov dword [r11 + 0x1ce0], 0x7fffffff
cmp byte [rdi + 0x1a77], sil
jne 0x140021131
movss xmm0, dword [rdi + 0xd0]
comiss xmm6, xmm0
ja 0x140021131
movsd xmm9, qword [rdi + 0x1a60]
cvtpd2ps xmm9, xmm9
subss xmm9, xmm0
mov ebp, esi
cmp dword [rdi + 0x1a88], esi
je 0x140021298
mov r14, rsi
mov rax, qword [rdi + 0x1a90]
mov rbx, qword [r14 + rax]
movzx eax, byte [rbx + 0x8e]
mov byte [rbx + 0x8f], al
mov word [rbx + 0x9a], si
mov byte [rbx + 0x8e], sil
mov byte [rbx + 0x90], sil
test al, al
jne 0x140021286
cmp byte [rbx + 0x3e0], sil
jne 0x140021286
comiss xmm9, dword [rbx + 0x284]
jbe 0x140021286
mov rcx, qword [rbx + 0x2b8]
mov byte [rbx + 0x3e0], 1
mov eax, dword [rcx + 0x14]
mov dword [rbx + 0x3d8], eax
mov eax, dword [rcx + 0x24]
mov dword [rbx + 0x3dc], eax
mov rcx, qword [rbx + 0xd0]
test rcx, rcx
je 0x1400211e4
mov rax, qword [0x140054bc8]
mov qword [rbx + 0xc8], rsi
test rax, rax
je 0x1400211d7
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0xd0], rsi
mov rcx, qword [rbx + 0x2b8]
call fcn.1400364e0
mov rcx, qword [rbx + 0x1a0]
test rcx, rcx
je 0x140021222
mov rax, qword [0x140054bc8]
mov qword [rbx + 0x198], rsi
test rax, rax
je 0x140021215
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1a0], rsi
mov rcx, qword [rbx + 0x1e0]
test rcx, rcx
je 0x140021254
mov rax, qword [0x140054bc8]
mov qword [rbx + 0x1d8], rsi
test rax, rax
je 0x140021247
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1e0], rsi
mov rcx, qword [rbx + 0x1f0]
test rcx, rcx
je 0x140021286
mov rax, qword [0x140054bc8]
mov qword [rbx + 0x1e8], rsi
test rax, rax
je 0x140021279
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1f0], rsi
inc ebp
add r14, 8
cmp ebp, dword [rdi + 0x1a88]
jne 0x140021142
mov ebp, esi
mov qword [rsp + 0x60], r15
cmp dword [rdi + 0x20e8], esi
jle 0x1400213e1
mov r15, rsi
mov r14, rsi
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rdi + 0x20f0]
movss xmm0, dword [r14 + rax]
comiss xmm0, xmm6
jb 0x1400213c8
comiss xmm9, xmm0
jbe 0x1400213c8
mov rbx, qword [rdi + 0x20b8]
mov r13, qword [0x140054bc8]
add rbx, r15
lea rcx, [rbx + 0x1e8]
call fcn.140039040
mov rcx, qword [rbx + 0x218]
test rcx, rcx
je 0x14002132f
mov rax, qword [0x140054bc8]
mov qword [rbx + 0x210], rsi
test rax, rax
je 0x140021322
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x218], rsi
mov qword [rbx + 0x220], rsi
mov byte [rbx + 0x24b], 1
mov rcx, qword [rbx + 0x1e0]
test rcx, rcx
je 0x14002136f
mov rax, qword [0x140054bc8]
mov qword [rbx + 0x1d8], rsi
test rax, rax
je 0x140021362
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1e0], rsi
mov edx, esi
mov byte [rbx + 0x255], 1
cmp dword [rbx + 0x6c], esi
jle 0x140021395
mov rcx, rsi
mov rax, qword [rbx + 0x10]
lea rcx, [rcx + 0x68]
inc edx
mov word [rcx + rax - 0x18], r12w
cmp edx, dword [rbx + 0x6c]
jl 0x140021380
sub rbx, qword [r13 + 0x20b8]
movabs rax, 0x6d3a06d3a06d3a07
imul rbx
sar rdx, 8
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rax, qword [r13 + 0x20f0]
movsxd rcx, edx
mov dword [rax + rcx*4], 0xbf800000
inc ebp
add r14, 4
add r15, 0x258
cmp ebp, dword [rdi + 0x20e8]
jl 0x1400212c0
movaps xmm9, xmmword [rsp + 0x20]
cmp byte [rdi + 0x1a77], sil
je 0x140021459
mov rbx, qword [0x140054bc8]
mov rcx, qword [rbx + 0x1c58]
test rcx, rcx
je 0x140021422
mov qword [rbx + 0x1c50], rsi
test rbx, rbx
je 0x140021415
dec dword [rbx + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1c58], rsi
mov rcx, qword [rbx + 0x1c68]
test rcx, rcx
je 0x140021454
mov rax, qword [0x140054bc8]
mov qword [rbx + 0x1c60], rsi
test rax, rax
je 0x140021447
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1c68], rsi
call fcn.1400403d0
mov rax, qword [rdi + 0x1c90]
mov byte [rdi + 0x1a77], sil
test rax, rax
je 0x1400214d9
cmp byte [rax + 0x8f], sil
jne 0x1400214d9
mov rcx, qword [0x140054bc8]
mov eax, dword [rcx + 0x1a98]
sub eax, 1
js 0x1400214d2
movsxd r9, eax
mov rax, qword [rcx + 0x1aa0]
lea r10, [rax + r9*8]
mov r8, qword [r10]
test r8, r8
je 0x1400214c8
cmp byte [r8 + 0x8f], sil
je 0x1400214c8
mov eax, dword [r8 + 0xc]
and eax, 0x40200
cmp eax, 0x40200
setne cl
bt dword [r8 + 0xc], 0x18
setae al
test al, cl
jne 0x140021616
sub r10, 8
sub r9, 1
jns 0x140021495
xor ecx, ecx
call fcn.1400277b0
mov ecx, dword [rdi + 0x1abc]
test ecx, ecx
jns 0x1400214ff
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x1ab8]
test eax, eax
cmovg edx, eax
call fcn.14002e410
mov dword [rdi + 0x1ab8], esi
mov ecx, dword [rdi + 0x1c84]
test ecx, ecx
jns 0x14002152b
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x1c80]
test eax, eax
cmovg edx, eax
call fcn.14002ea10
lea rbx, [rdi + 0x1c50]
mov dword [rdi + 0x1c80], esi
mov ecx, dword [rbx + 4]
test ecx, ecx
jns 0x140021557
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
mov rcx, rbx
test eax, eax
cmovg edx, eax
call fcn.14002eab0
mov dword [rbx], esi
mov r13d, 8
cmp dword [rbx + 4], esi
jne 0x14002156f
mov edx, r13d
mov rcx, rbx
call fcn.14002eab0
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*4], esi
lea rcx, [rdi + 0x1c60]
inc dword [rbx]
call fcn.14002e150
mov r9, qword [0x140054bc8]
mov r11, qword [rdi + 0x1c90]
movsxd rbp, dword [r9 + 0x1c70]
test ebp, ebp
je 0x14002168e
mov ebx, esi
test r11, r11
je 0x14002164c
test ebp, ebp
jle 0x14002164c
mov r14, qword [r9 + 0x1c78]
mov r15, rsi
add r14, r13
mov r12, rsi
mov rax, qword [r14]
test rax, rax
je 0x140021637
test dword [rax + 0xc], 0x1000000
jne 0x140021637
mov rdx, r15
cmp ebx, ebp
jge 0x14002164c
mov rcx, qword [r9 + 0x1c78]
add rcx, r13
add rcx, r12
nop dword [rax]
mov r8, qword [rcx]
test r8, r8
je 0x140021608
mov rax, qword [r11 + 0x390]
cmp qword [r8 + 0x390], rax
je 0x140021637
inc rdx
add rcx, 0x30
cmp rdx, rbp
jl 0x1400215f0
jmp 0x140021655
mov rcx, qword [r8 + 0x3a8]
test rcx, rcx
je 0x14002162f
cmp byte [rcx + 0x8f], sil
jne 0x1400214d4
mov rcx, r8
jmp 0x1400214d4
inc ebx
inc r15
add r12, 0x30
add r14, 0x30
cmp ebx, ebp
jl 0x1400215c7
cmp ebx, dword [r9 + 0x1c70]
jge 0x14002168e
lea r14, [r9 + 0x1c70]
mov ecx, dword [r14 + 4]
cmp ebx, ecx
jle 0x14002168b
test ecx, ecx
je 0x140021673
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
lea r13d, [rcx + rax]
cmp r13d, ebx
mov edx, ebx
mov rcx, r14
cmovg edx, r13d
call fcn.14002ea10
mov r9, qword [0x140054bc8]
mov dword [r14], ebx
mov r15, qword [rsp + 0x60]
mov r14, qword [rsp + 0x68]
mov r13, qword [rsp + 0xa8]
mov r12, qword [rsp + 0xa0]
mov rbp, qword [rsp + 0x98]
mov dword [r9 + 0x3170], esi
cmp byte [r9 + 0x316c], sil
je 0x14002177a
mov ebx, dword [r9 + 0x1b20]
mov dword [r9 + 0x2000], 7
mov ecx, dword [r9 + 0x74]
test ecx, ecx
js 0x1400216ee
call fcn.1400226b0
test al, al
je 0x1400216ee
mov byte [r9 + 0x316c], sil
movss xmm0, dword [r9 + 0x43c]
ucomiss xmm0, xmm6
jp 0x140021710
jne 0x140021710
test ebx, ebx
je 0x140021710
mov dword [r9 + 0x3170], ebx
mov byte [r9 + 0x316c], sil
or dword [r9 + 0x1b88], 0x40
xor edx, edx
mov dword [r9 + 0x1be8], 0x3f19999a
call fcn.140028830
mov edx, ebx
lea rcx, str.HoveredId:_0x_08X
call fcn.1400413b0
lea rcx, str.Press_ESC_to_abort_picking.
call fcn.1400413b0
mov eax, 0x10
lea rdx, str.Click_to_break_in_debugger_
test ebx, ebx
mov rcx, rsi
cmove rcx, rax
mov rax, qword [0x140054bc8]
add rax, 0x1624
add rcx, rax
call fcn.1400414b0
call fcn.140027690
mov r9, qword [0x140054bc8]
mov byte [rdi + 0x1a75], 1
lea rcx, str.DebugDefault
or dword [r9 + 0x1b88], 2
xor r8d, r8d
xor edx, edx
mov dword [r9 + 0x1ba8], 0x43c80000
mov dword [r9 + 0x1bac], 0x43c80000
mov dword [r9 + 0x1b90], 4
call fcn.140025310
movaps xmm6, xmmword [rsp + 0x50]
cmp dword [rdi + 0x3128], esi
jle 0x1400217ff
mov rbx, rsi
nop dword [rax + rax]
mov r8, qword [rdi + 0x3130]
cmp dword [rbx + r8], 1
jne 0x1400217f1
movsxd rax, esi
lea rcx, [rax + rax*2]
lea rdx, [r8 + rcx*8]
mov rcx, rdi
call qword [rbx + r8 + 8]
inc esi
add rbx, 0x18
cmp esi, dword [rdi + 0x3128]
jl 0x1400217d0
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret