Function at 0x1800608b8
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xf8
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x60], xmm6
mov qword [rbp + 0x50], 0xfffffffffffffffe
mov ebx, edx
mov rsi, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov byte [rbp + 0x4f], bl
test bl, bl
mov ecx, 0x60
mov edx, pe_nt_image_headers64
cmovne rdx, rcx
lea rcx, [rsi + 0x60]
lea r8, [rsi + 0x78]
cmovne r8, rcx
mov qword [rsi], rax
mov qword [rbp + 0x28], rsi
mov qword [rbp - 0x40], rdx
mov rax, qword [rsi + rdx]
mov qword [rbp - 0x38], r8
mov rcx, qword [r8 + 8]
cmp rax, rcx
je 0x180060e3e
mov rdx, qword [rax + 0x20]
mov qword [rdx], 0
add rax, 0x28
cmp rax, rcx
jne 0x18006092b
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp - 0x40]
mov rcx, qword [rax + rcx]
mov rax, qword [rbp - 0x38]
mov rdx, qword [rax + 8]
cmp rcx, rdx
je 0x180060e3e
lea r12, [rbp - 0x30]
lea r14, [rbp + 0x30]
xorps xmm6, xmm6
mov qword [rbp - 0x48], rdx
mov rax, qword [rcx + 0x20]
cmp qword [rax], 0
jne 0x180060dd8
mov rsi, qword [rcx]
mov qword [rbp + 0x20], rcx
mov rax, qword [rcx + 8]
mov qword [rbp - 0x58], rax
cmp rsi, rax
je 0x180060dc6
cmp qword [rsi + 0x18], 0x10
mov r13, rsi
jb 0x18006099e
mov r13, qword [rsi]
mov qword [rbp - 0x60], rsi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
movsxd rcx, dword [rax + 0x3c]
lea rbx, [rax + rcx]
mov qword [rbp + 8], rax
movzx edi, word [rax + rcx + 0x14]
mov eax, dword [rdi + rbx + 0x28]
mov qword [rbp + 0x10], rax
movaps xmmword [rbp + 0x30], xmm6
mov qword [rbp + 0x40], 0
mov rcx, r13
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov qword [rbp - 0x30], r13
mov r8d, 0
mov r9d, 0
test rax, rax
jle 0x180060aa0
mov rsi, rax
mov qword [rbp + 0x18], rbx
add rsi, r13
lea r15, [rbp + 0x48]
cmp byte [r13], 0x3f
jne 0x180060a3d
lea rbx, [r13 + 1]
mov qword [rbp - 0x30], rbx
cmp byte [r13 + 1], 0x3f
jne 0x180060a1f
add r13, 2
mov qword [rbp - 0x30], r13
mov rbx, r13
mov dword [rbp + 0x48], 0xffffffff
mov rdx, qword [rbp + 0x38]
cmp rdx, qword [rbp + 0x40]
je 0x180060a65
mov dword [rdx], 0xffffffff
add qword [rbp + 0x38], 4
jmp 0x180060a81
mov rcx, r13
mov rdx, r12
mov r8d, 0x10
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtoul]
mov dword [rbp + 0x48], eax
mov rdx, qword [rbp + 0x38]
cmp rdx, qword [rbp + 0x40]
je 0x180060a72
mov dword [rdx], eax
add qword [rbp + 0x38], 4
jmp 0x180060a7d
mov rcx, r14
mov r8, r15
call fcn.180060f2e
jmp 0x180060a81
mov rcx, r14
mov r8, r15
call fcn.180060f2e
mov rbx, qword [rbp - 0x30]
inc rbx
mov qword [rbp - 0x30], rbx
mov r13, rbx
cmp rbx, rsi
jb 0x1800609fe
mov r8, qword [rbp + 0x30]
mov r9, qword [rbp + 0x38]
mov rbx, qword [rbp + 0x18]
mov eax, dword [rbx + rdi + 0x24]
mov rdi, r9
sub rdi, r8
sar rdi, 2
movaps xmmword [rbp - 0x10], xmm6
movaps xmmword [rbp - 0x20], xmm6
movaps xmmword [rbp - 0x30], xmm6
mov rcx, qword [rbp + 0x10]
sub rcx, rdi
jne 0x180060acb
xor r14d, r14d
jmp 0x180060b9e
mov r15, qword [rbp + 8]
add r15, rax
xor r13d, r13d
xor esi, esi
mov qword [rbp + 0x10], rcx
mov qword [rbp - 0x50], r9
cmp r9, r8
je 0x180060d44
mov eax, r13d
mov qword [rbp + 0x18], rax
lea r12, [r15 + rax]
mov r14d, 1
xor ebx, ebx
lea rcx, [r12 + rbx]
cmp rcx, rsi
jb 0x180060b34
mov qword [rbp + 8], rsi
mov rsi, r8
mov r8d, 0x30
lea rdx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x180060b8f
cmp dword [rbp - 0xc], 1
mov rax, qword [rbp - 0x30]
mov r8, rsi
je 0x180060b59
add rax, qword [rbp - 0x18]
mov rsi, rax
lea eax, [r14 + r13]
dec eax
movzx ecx, byte [r15 + rax]
mov eax, dword [r8 + rbx*4]
cmp eax, ecx
je 0x180060b4c
cmp eax, 0xffffffff
jne 0x180060b6f
mov ebx, r14d
inc r14d
cmp rdi, rbx
ja 0x180060afb
jmp 0x180060b8f
mov rcx, qword [rbp + 0x18]
add ecx, r15d
sub eax, ecx
add eax, dword [rbp - 0x18]
add r13d, eax
dec r13d
mov rsi, qword [rbp + 8]
inc r13d
mov r14d, 0
mov rcx, qword [rbp + 0x10]
cmp rcx, r13
lea r12, [rbp - 0x30]
mov r9, qword [rbp - 0x50]
ja 0x180060adf
jmp 0x180060b9e
mov eax, r13d
lea r12, [rbp - 0x30]
mov eax, eax
add r15, rax
mov r14, r15
mov rcx, qword [rbp + 0x30]
test rcx, rcx
je 0x180060bb3
mov rdx, qword [rbp + 0x40]
sub rdx, rcx
call fcn.180004dc2
test r14, r14
movabs r10, 0x642c8590b21642c9
lea r11, [0x1800b57d5]
mov rsi, qword [rbp - 0x60]
jne 0x180060d4b
cmp byte [0x1800b57ee], 0
lea r14, [rbp + 0x30]
jne 0x180060c3a
mov r8, qword [0x1800a76b0]
movabs rax, 0x1d51419fb39214be
lea r9, [r8 + rax]
movabs rax, 0x1d51419fb39214a7
add r8, rax
xor ecx, ecx
mov rax, rcx
mul r10
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 4
imul rax, rax, 0xffffffffffffffe9
add rax, r8
mov al, byte [rcx + rax]
xor al, byte [r9 + rcx]
mov byte [rcx + r11], al
inc rcx
cmp rcx, 0x19
jne 0x180060c02
mov byte [0x1800b57ee], 1
mov rdx, qword [0x1800a76b8]
movabs rax, 0x1d51419fb3921460
add rdx, rax
mov rcx, r12
mov r8, rsi
call fcn.18000a4aa
cmp qword [rbp - 0x18], 0x10
mov rdx, r12
jb 0x180060c67
mov rdx, qword [rbp - 0x30]
cmp byte [0x1800b57d4], 0
jne 0x180060d06
mov rax, qword [0x1800a76b0]
movabs rcx, 0x1d51419fb392147c
mov cl, byte [rax + rcx]
movabs r8, 0x1d51419fb392148f
xor cl, byte [rax + r8]
mov byte [0x1800b57d0], cl
movabs rcx, 0x1d51419fb392147d
mov cl, byte [rax + rcx]
movabs r8, 0x1d51419fb3921490
xor cl, byte [rax + r8]
mov byte [0x1800b57d1], cl
movabs rcx, 0x1d51419fb392147e
mov cl, byte [rax + rcx]
movabs r8, 0x1d51419fb3921491
xor cl, byte [rax + r8]
mov byte [0x1800b57d2], cl
movabs rcx, 0x1d51419fb392147f
mov cl, byte [rax + rcx]
movabs r8, 0x1d51419fb3921492
xor cl, byte [rax + r8]
mov byte [0x1800b57d3], cl
mov byte [0x1800b57d4], 1
xor ecx, ecx
lea r8, [0x1800b57d0]
mov r9d, 0x30
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x180060d31
mov rcx, qword [rbp - 0x30]
inc rdx
call fcn.180004dc2
add rsi, 0x20
cmp rsi, qword [rbp - 0x58]
jne 0x180060991
jmp 0x180060dc6
xor eax, eax
jmp 0x180060b96
mov rax, qword [rbp + 0x20]
cmp byte [rax + 0x19], 0
je 0x180060d78
mov rcx, rsi
mov dl, 0x3f
xor r8d, r8d
call fcn.180060eea
movabs rcx, 0xaaaaaaaaaaaaaaab
mul rcx
shr rdx, 1
mov r14, qword [r14 + rdx]
jmp 0x180060d9c
cmp byte [rax + 0x1a], 0
je 0x180060d8b
mov eax, dword [r14 + 3]
add r14, rax
add r14, 7
jmp 0x180060d9c
cmp byte [r14], 0xe8
jne 0x180060d9c
mov eax, dword [r14 + 1]
add r14, rax
add r14, 5
xor eax, eax
mov rcx, qword [rbp + 0x28]
sub eax, dword [rcx]
mov rdx, qword [rbp + 0x20]
cmp byte [rdx + 0x18], 0
mov ecx, 0
cmove eax, ecx
add r14d, eax
add r14d, dword [rdx + 0x1c]
mov rax, qword [rdx + 0x20]
mov qword [rax], r14
lea r14, [rbp + 0x30]
mov rcx, qword [rbp + 0x20]
mov rax, qword [rcx + 0x20]
cmp qword [rax], 0
mov rdx, qword [rbp - 0x48]
je 0x180060de7
add rcx, 0x28
cmp rcx, rdx
jne 0x18006096b
jmp 0x180060e3e
mov rcx, r12
call fcn.1800610fe
mov rax, qword [rbp - 0x30]
lea rcx, [rax + 0x77359400]
movabs rdx, 0x7fffffff88ca6bff
cmp rax, rdx
movabs rax, 0x7fffffffffffffff
cmovge rcx, rax
mov qword [rbp + 0x30], rcx
mov rcx, r14
call fcn.180061033
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp - 0x40]
mov rcx, qword [rax + rcx]
mov rax, qword [rbp - 0x38]
mov rdx, qword [rax + 8]
cmp rcx, rdx
jne 0x180060967
mov rcx, qword [rbp + 0x28]
mov dl, byte [rbp + 0x4f]
call fcn.180060794
movaps xmm6, xmmword [rbp + 0x60]
add rsp, 0xf8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret