Function at 0x180049a20
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x128]
sub rsp, 0x200
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x1800e2240]
xor rax, rsp
mov qword [rbp + 0xe0], rax
mov rdi, rcx
xor r13d, r13d
mov rcx, qword [0x1801a5878]
test rcx, rcx
je 0x18004a415
mov rax, qword [rcx]
mov rdx, qword [rax + 0xe0]
call rdx
test rax, rax
je 0x18004a415
cmp dword [rdi + 0xd0], r13d
jne 0x18004a420
mov dword [rdi + 0xd0], 1
mov eax, dword [rdi + 0xa8]
test eax, eax
jne 0x180049f60
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x180049b0f
mov ecx, 1
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rbx, rax
test rax, rax
je 0x180049b0f
call qword [sym.imp.USER32.dll_CloseClipboard]
xorps xmm0, xmm0
movups xmmword [rbp + 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x90], xmm1
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rbx + r8], r13b
jne 0x180049af5
mov rdx, rbx
lea rcx, [rbp + 0x80]
call fcn.180008190
jmp 0x180049b30
xorps xmm0, xmm0
movups xmmword [rbp + 0x80], xmm0
movdqa xmm1, xmmword [0x1800ca200]
movdqu xmmword [rbp + 0x90], xmm1
mov byte [rbp + 0x80], r13b
lea rax, [rsp + 0x70]
mov qword [rsp + 0x58], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], 1
mov qword [rbp - 0x78], recv
mov word [rsp + 0x70], 0x3b
lea rdx, [rbp + 0x80]
lea rcx, [rbp - 0x30]
call fcn.180006b00
nop
lea r9, [rsp + 0x70]
mov r8, rax
lea rdx, [rbp - 0x50]
call fcn.180047010
nop
mov rbx, qword [rdi + 0xb0]
mov rsi, qword [rdi + 0xb8]
cmp rbx, rsi
je 0x180049baf
nop
mov rcx, rbx
call fcn.180048390
add rbx, 0x50
cmp rbx, rsi
jne 0x180049b90
mov rax, qword [rdi + 0xb0]
mov qword [rdi + 0xb8], rax
mov rsi, qword [rbp - 0x50]
mov rax, qword [rbp - 0x48]
mov qword [rsp + 0x58], rax
cmp rsi, rax
je 0x180049ef6
nop word [rax + rax]
mov rdx, rsi
lea rcx, [rbp + 0xa0]
call fcn.180006b00
nop
lea rax, [rbp - 0x70]
mov qword [rsp + 0x30], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], 1
mov qword [rbp - 0x58], recv
mov word [rbp - 0x70], 0x2c
lea rdx, [rbp + 0xa0]
lea rcx, [rbp - 0x10]
call fcn.180006b00
nop
lea r9, [rbp - 0x70]
mov r8, rax
lea rdx, [rsp + 0x38]
call fcn.180047010
nop
mov rax, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
sub rax, rbx
sar rax, 5
cmp rax, 4
jae 0x180049c5c
lea rcx, [rsp + 0x38]
call fcn.180005e20
nop
lea rcx, [rbp + 0xa0]
call fcn.180006a60
jmp 0x180049ee7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov r14, rax
cmp qword [rbx + 0x18], 0xf
jbe 0x180049c6f
mov rbx, qword [rbx]
mov dword [rax], r13d
mov r8d, 0xa
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
mov r15d, eax
cmp rbx, qword [rsp + 0x60]
je 0x180049f52
cmp dword [r14], 0x22
je 0x180049f44
mov rcx, qword [0x1801a5878]
test rcx, rcx
jne 0x180049caf
mov rax, r13
jmp 0x180049cbb
mov rax, qword [rcx]
mov rdx, qword [rax + 0xe0]
call rdx
mov rax, qword [rax + 0x2c8]
cvttss2si r14d, dword [rax]
add r14d, r15d
mov rbx, qword [rsp + 0x38]
add rbx, 0x20
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov r15, rax
cmp qword [rbx + 0x18], 0xf
jbe 0x180049ce6
mov rbx, qword [rbx]
mov dword [rax], r13d
mov r8d, 0xa
lea rdx, [rsp + 0x68]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
mov r12d, eax
cmp rbx, qword [rsp + 0x68]
je 0x180049f36
cmp dword [r15], 0x22
je 0x180049f28
mov rcx, qword [0x1801a5878]
test rcx, rcx
jne 0x180049d26
mov rax, r13
jmp 0x180049d32
mov rax, qword [rcx]
mov rdx, qword [rax + 0xe0]
call rdx
mov rax, qword [rax + 0x2c8]
cvttss2si eax, dword [rax + 4]
dec eax
add eax, r12d
mov dword [rsp + 0x30], eax
mov rbx, qword [rsp + 0x38]
add rbx, 0x40
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov r15, rax
cmp qword [rbx + 0x18], 0xf
jbe 0x180049d63
mov rbx, qword [rbx]
mov dword [rax], r13d
mov r8d, 0xa
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
mov r12d, eax
cmp rbx, qword [rsp + 0x50]
je 0x180049f1a
cmp dword [r15], 0x22
je 0x180049f0c
mov rcx, qword [0x1801a5878]
test rcx, rcx
jne 0x180049da3
mov rax, r13
jmp 0x180049daf
mov rax, qword [rcx]
mov rdx, qword [rax + 0xe0]
call rdx
mov rax, qword [rax + 0x2c8]
cvttss2si ebx, dword [rax + 8]
add ebx, r12d
mov rdx, qword [rsp + 0x38]
add rdx, 0x60
lea rcx, [rbp + 0x60]
call fcn.180006b00
nop
mov rdx, qword [rsp + 0x38]
sub rdx, 0xffffffffffffff80
lea rcx, [rbp + 0xc0]
call fcn.180006b00
nop
lea rcx, [rbp + 0x60]
mov r15, qword [rbp + 0x60]
mov r12, qword [rbp + 0x78]
cmp r12, 0xf
cmova rcx, r15
mov r13, qword [rbp + 0x70]
cmp r13, 0xf
jne 0x180049e21
mov r8, r13
lea rdx, str.structure_block
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
sete al
test al, al
jne 0x180049eb6
lea rdx, [rbp + 0x60]
cmp r12, 0xf
cmova rdx, r15
cmp r13, 3
jne 0x180049e4f
movzx ecx, word [rdx]
mov eax, 0x6961
sub ecx, eax
jne 0x180049e46
movzx ecx, byte [rdx + 2]
sub ecx, 0x72
test ecx, ecx
sete al
test al, al
jne 0x180049eb6
cmp byte [rdi + 0xac], 0
je 0x180049e6e
mov rcx, qword [rsp + 0x38]
add rcx, 0x20
call fcn.180045b20
cmp eax, dword [rdi + 0xcc]
jne 0x180049eb6
mov dword [rbp + 0x10], r14d
mov eax, dword [rsp + 0x30]
mov dword [rbp + 0x14], eax
mov dword [rbp + 0x18], ebx
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0x20]
call fcn.180006b00
nop
lea rdx, [rbp + 0xc0]
lea rcx, [rbp + 0x40]
call fcn.180006b00
nop
lea rdx, [rbp + 0x10]
lea rcx, [rdi + 0xb0]
call fcn.18004a620
nop
lea rcx, [rbp + 0x10]
call fcn.180048390
nop
lea rcx, [rbp + 0xc0]
call fcn.180006a60
nop
lea rcx, [rbp + 0x60]
call fcn.180006a60
nop
lea rcx, [rsp + 0x38]
call fcn.180005e20
nop
lea rcx, [rbp + 0xa0]
call fcn.180006a60
xor r13d, r13d
add rsi, 0x20
cmp rsi, qword [rsp + 0x58]
jne 0x180049bd0
lea rcx, [rbp - 0x50]
call fcn.180005e20
nop
lea rcx, [rbp + 0x80]
jmp 0x18004a3ad
lea rcx, str.stoi_argument_out_of_range
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
int3
lea rcx, str.invalid_stoi_argument
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_]
int3
lea rcx, str.stoi_argument_out_of_range
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
int3
lea rcx, str.invalid_stoi_argument
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_]
int3
lea rcx, str.stoi_argument_out_of_range
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
int3
lea rcx, str.invalid_stoi_argument
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_]
nop
cmp eax, 1
jne 0x18004a3b2
lea rbx, [rdi + 0xb0]
mov rcx, qword [0x1801a5878]
test rcx, rcx
jne 0x180049f81
mov rax, r13
jmp 0x180049f94
mov rax, qword [rcx]
mov rdx, qword [rax + 0xe0]
call rdx
mov rcx, qword [0x1801a5878]
mov rax, qword [rax + 0x2c8]
cvttss2si r14d, dword [rax]
mov dword [rbp + 0x10], r14d
test rcx, rcx
jne 0x180049fae
mov rax, r13
jmp 0x180049fc1
mov rax, qword [rcx]
mov rdx, qword [rax + 0xe0]
call rdx
mov rcx, qword [0x1801a5878]
mov rax, qword [rax + 0x2c8]
cvttss2si esi, dword [rax + 4]
dec esi
mov dword [rbp + 0x14], esi
test rcx, rcx
jne 0x180049fdc
mov rax, r13
jmp 0x180049fe8
mov rax, qword [rcx]
mov rdx, qword [rax + 0xe0]
call rdx
mov rax, qword [rax + 0x2c8]
cvttss2si ecx, dword [rax + 8]
mov dword [rbp + 0x18], ecx
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
movdqa xmm1, xmmword [reloc.d2d1.dll_Ordinal_1]
movdqa xmmword [rbp + 0x30], xmm1
movzx eax, word [0x1800b8e94]
mov byte [rbp + 0x20], al
mov byte [rbp + 0x21], r13b
movups xmmword [rbp + 0x40], xmm0
movdqa xmmword [rbp + 0x50], xmm1
mov byte [rbp + 0x40], al
mov byte [rbp + 0x41], 0
mov rdx, qword [rbx + 8]
movdqa xmm6, xmmword [0x1800ca200]
cmp rdx, qword [rbx + 0x10]
je 0x18004a075
mov dword [rdx], r14d
mov dword [rdx + 4], esi
mov dword [rdx + 8], ecx
movaps xmm0, xmmword [rbp + 0x20]
movups xmmword [rdx + 0x10], xmm0
movups xmmword [rdx + 0x20], xmm1
movdqa xmmword [rbp + 0x30], xmm6
mov byte [rbp + 0x20], 0
movaps xmm0, xmmword [rbp + 0x40]
movups xmmword [rdx + 0x30], xmm0
movups xmmword [rdx + 0x40], xmm1
movdqa xmmword [rbp + 0x50], xmm6
mov byte [rbp + 0x40], 0
add qword [rbx + 8], 0x50
jmp 0x18004a082
lea r8, [rbp + 0x10]
mov rcx, rbx
call fcn.18004b6c0
nop
lea rcx, [rbp + 0x40]
call fcn.180006a60
lea rcx, [rbp + 0x20]
call fcn.180006a60
mov rcx, qword [0x1801a5878]
test rcx, rcx
jne 0x18004a0a5
mov rax, r13
jmp 0x18004a0b8
mov rax, qword [rcx]
mov rdx, qword [rax + 0xe0]
call rdx
mov rcx, qword [0x1801a5878]
mov rax, qword [rax + 0x2c8]
cvttss2si r14d, dword [rax]
mov dword [rbp + 0x10], r14d
test rcx, rcx
jne 0x18004a0d2
mov rax, r13
jmp 0x18004a0e5
mov rax, qword [rcx]
mov rdx, qword [rax + 0xe0]
call rdx
mov rcx, qword [0x1801a5878]
mov rax, qword [rax + 0x2c8]
cvttss2si esi, dword [rax + 4]
dec esi
mov dword [rbp + 0x14], esi
test rcx, rcx
jne 0x18004a100
mov rax, r13
jmp 0x18004a10c
mov rax, qword [rcx]
mov rdx, qword [rax + 0xe0]
call rdx
mov rax, qword [rax + 0x2c8]
cvttss2si ecx, dword [rax + 8]
inc ecx
mov dword [rbp + 0x18], ecx
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
movdqa xmm1, xmmword [reloc.d2d1.dll_Ordinal_1]
movdqa xmmword [rbp + 0x30], xmm1
movzx eax, word [0x1800b8e94]
mov byte [rbp + 0x20], al
mov byte [rbp + 0x21], 0
movups xmmword [rbp + 0x40], xmm0
movdqa xmmword [rbp + 0x50], xmm1
mov byte [rbp + 0x40], al
mov byte [rbp + 0x41], 0
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x18004a193
mov dword [rdx], r14d
mov dword [rdx + 4], esi
mov dword [rdx + 8], ecx
movaps xmm0, xmmword [rbp + 0x20]
movups xmmword [rdx + 0x10], xmm0
movups xmmword [rdx + 0x20], xmm1
movdqa xmmword [rbp + 0x30], xmm6
mov byte [rbp + 0x20], 0
movaps xmm0, xmmword [rbp + 0x40]
movups xmmword [rdx + 0x30], xmm0
movups xmmword [rdx + 0x40], xmm1
movdqa xmmword [rbp + 0x50], xmm6
mov byte [rbp + 0x40], 0
add qword [rbx + 8], 0x50
jmp 0x18004a1a0
lea r8, [rbp + 0x10]
mov rcx, rbx
call fcn.18004b6c0
nop
lea rcx, [rbp + 0x10]
call fcn.180048390
lea rcx, [0x1801a5878]
call fcn.18000c000
mov rcx, qword [rax + 0x2c8]
cvttss2si eax, dword [rcx]
mov dword [rbp + 0x10], eax
lea rcx, [0x1801a5878]
call fcn.18000c000
mov rcx, qword [rax + 0x2c8]
cvttss2si eax, dword [rcx + 4]
dec eax
mov dword [rbp + 0x14], eax
lea rcx, [0x1801a5878]
call fcn.18000c000
mov rcx, qword [rax + 0x2c8]
cvttss2si eax, dword [rcx + 8]
add eax, 2
mov dword [rbp + 0x18], eax
lea rdx, [0x1800b8e94]
lea rcx, [rbp + 0x20]
call fcn.180006ac0
nop
lea rdx, [0x1800b8e94]
lea rcx, [rbp + 0x40]
call fcn.180006ac0
nop
lea rdx, [rbp + 0x10]
mov rcx, rbx
call fcn.18004a590
nop
lea rcx, [rbp + 0x10]
call fcn.180048390
lea rcx, [0x1801a5878]
call fcn.18000c000
mov rcx, qword [rax + 0x2c8]
cvttss2si eax, dword [rcx]
mov dword [rbp + 0x10], eax
lea rcx, [0x1801a5878]
call fcn.18000c000
mov rcx, qword [rax + 0x2c8]
cvttss2si eax, dword [rcx + 4]
mov dword [rbp + 0x14], eax
lea rcx, [0x1801a5878]
call fcn.18000c000
mov rcx, qword [rax + 0x2c8]
cvttss2si eax, dword [rcx + 8]
inc eax
mov dword [rbp + 0x18], eax
lea rdx, [0x1800b8e94]
lea rcx, [rbp + 0x20]
call fcn.180006ac0
nop
lea rdx, [0x1800b8e94]
lea rcx, [rbp + 0x40]
call fcn.180006ac0
nop
lea rdx, [rbp + 0x10]
mov rcx, rbx
call fcn.18004a590
nop
lea rcx, [rbp + 0x40]
call fcn.180006a60
lea rcx, [rbp + 0x20]
call fcn.180006a60
lea rcx, [0x1801a5878]
call fcn.18000c000
mov rcx, qword [rax + 0x2c8]
cvttss2si eax, dword [rcx]
mov dword [rbp + 0x10], eax
lea rcx, [0x1801a5878]
call fcn.18000c000
mov rcx, qword [rax + 0x2c8]
cvttss2si eax, dword [rcx + 4]
inc eax
mov dword [rbp + 0x14], eax
lea rcx, [0x1801a5878]
call fcn.18000c000
mov rcx, qword [rax + 0x2c8]
cvttss2si eax, dword [rcx + 8]
inc eax
mov dword [rbp + 0x18], eax
lea rdx, [0x1800b8e94]
lea rcx, [rbp + 0x20]
call fcn.180006ac0
nop
lea rdx, [0x1800b8e94]
lea rcx, [rbp + 0x40]
call fcn.180006ac0
nop
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x18004a393
mov eax, dword [rbp + 0x10]
mov dword [rdx], eax
mov eax, dword [rbp + 0x14]
mov dword [rdx + 4], eax
mov eax, dword [rbp + 0x18]
mov dword [rdx + 8], eax
movaps xmm0, xmmword [rbp + 0x20]
movups xmmword [rdx + 0x10], xmm0
movaps xmm1, xmmword [rbp + 0x30]
movups xmmword [rdx + 0x20], xmm1
movdqa xmmword [rbp + 0x30], xmm6
mov byte [rbp + 0x20], 0
movaps xmm0, xmmword [rbp + 0x40]
movups xmmword [rdx + 0x30], xmm0
movaps xmm1, xmmword [rbp + 0x50]
movups xmmword [rdx + 0x40], xmm1
movdqa xmmword [rbp + 0x50], xmm6
mov byte [rbp + 0x40], 0
add qword [rbx + 8], 0x50
jmp 0x18004a3a0
lea r8, [rbp + 0x10]
mov rcx, rbx
call fcn.18004b6c0
nop
lea rcx, [rbp + 0x40]
call fcn.180006a60
lea rcx, [rbp + 0x20]
call fcn.180006a60
lea rbx, [0x1801a5898]
mov qword [rsp + 0x20], rbx
lea r9, str.Build_started_
lea r8, [0x1801a5890]
lea rdx, str._s_s_s
lea rcx, [0x1801a5878]
call fcn.1800a45e0
mov rax, qword [rdi + 0xb8]
cmp qword [rdi + 0xb0], rax
jne 0x18004a420
mov qword [rsp + 0x20], rbx
lea r9, str.No_blocks_to_build_
lea r8, [0x1801a5904]
lea rdx, str._s_s_s
lea rcx, [0x1801a5878]
call fcn.1800a45e0
mov rax, qword [rdi]
xor edx, edx
mov rcx, rdi
call qword [rax + 0x20]
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.1800ac5b0
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret