Function at 0x180146bd4
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x408]
sub rsp, 0x4f0
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
lea r12, [0x1801a1280]
mov rcx, r12
cmp qword [0x1801a1298], 0x10
cmovae rcx, qword [0x1801a1280]
mov edx, 0x5c
call qword [sym.imp.VCRUNTIME140.dll_strrchr]
mov rbx, rax
xor r14d, r14d
test rax, rax
jne 0x180146c47
mov rbx, r12
cmp qword [0x1801a1298], 0x10
cmovae rbx, qword [0x1801a1280]
jmp 0x180146c4a
inc rbx
mov rax, qword [0x1801a1278]
test rax, rax
je 0x180146caa
lea rdx, str.kernel32.dll
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcmp]
test eax, eax
je 0x180146c9a
lea rdx, [0x180164cd8]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcmp]
test eax, eax
je 0x180146c9a
mov rdx, qword [0x1801a1278]
call fcn.180147168
test al, al
jne 0x180146c9a
mov rax, r14
mov qword [0x1801a1278], rax
jmp 0x180146ca1
mov rax, qword [0x1801a1278]
test rax, rax
jne 0x180147147
mov sil, r14b
lea rbx, [0x180164c98]
cmp qword [0x18019a610], r14
jne 0x180146d99
mov dword [rsp + 0x40], 0x2a
mov byte [rsp + 0x44], 0x69
mov byte [rsp + 0x45], 0x58
mov byte [rsp + 0x46], 0x4f
mov byte [rsp + 0x47], 0x4b
mov byte [rsp + 0x48], 0x5e
mov byte [rsp + 0x49], 0x4f
mov byte [rsp + 0x4a], 0x7e
mov byte [rsp + 0x4b], 0x45
mov byte [rsp + 0x4c], 0x45
mov byte [rsp + 0x4d], 0x46
mov byte [rsp + 0x4e], 0x42
mov byte [rsp + 0x4f], 0x4f
mov byte [rsp + 0x50], 0x46
mov byte [rsp + 0x51], 0x5a
mov byte [rsp + 0x52], 0x19
mov byte [rsp + 0x53], 0x18
mov byte [rsp + 0x54], 0x79
mov byte [rsp + 0x55], 0x44
mov byte [rsp + 0x56], 0x4b
mov byte [rsp + 0x57], 0x5a
mov byte [rsp + 0x58], 0x59
mov byte [rsp + 0x59], 0x42
mov byte [rsp + 0x5a], 0x45
mov byte [rsp + 0x5b], 0x5e
xor eax, eax
mov byte [rsp + 0x5c], al
mov al, byte [rsp + 0x44]
mov rdx, r14
mov al, byte [rsp + rdx + 0x44]
mov ecx, dword [rsp + 0x40]
xor cl, al
mov byte [rsp + rdx + 0x44], cl
inc rdx
cmp rdx, 0x18
jb 0x180146d4e
mov byte [rsp + 0x5c], r14b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [rsp + 0x44]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18019a610], rax
xor edx, edx
lea r8d, [rdx + 0x19]
lea rcx, [rsp + 0x44]
call qword [sym.imp.VCRUNTIME140.dll_memset]
cmp qword [0x18019a5c0], r14
jne 0x180146e3a
mov byte [rsp + 0x2e], 0x53
mov byte [rsp + 0x2f], 0x75
mov byte [rsp + 0x30], 0x6a
mov byte [rsp + 0x31], 0x7b
mov byte [rsp + 0x32], 0x72
mov byte [rsp + 0x33], 0x6b
mov byte [rsp + 0x34], 0x39
mov byte [rsp + 0x35], 0x38
mov byte [rsp + 0x36], 0x4c
mov byte [rsp + 0x37], 0x6f
mov byte [rsp + 0x38], 0x78
mov byte [rsp + 0x39], 0x79
mov byte [rsp + 0x3a], 0x7a
mov byte [rsp + 0x3b], 0x5d
mov byte [rsp + 0x3c], r14b
mov al, byte [rsp + 0x2e]
mov rcx, r14
mov al, byte [rsp + rcx + 0x2e]
sub al, 6
mov byte [rsp + rcx + 0x2e], al
inc rcx
cmp rcx, 0xe
jb 0x180146df8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [rsp + 0x2e]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18019a5c0], rax
xor edx, edx
lea r8d, [rdx + 0xf]
lea rcx, [rsp + 0x2e]
call qword [sym.imp.VCRUNTIME140.dll_memset]
cmp qword [0x18019a630], r14
jne 0x180146ed6
mov byte [rsp + 0x20], 0x57
mov byte [rsp + 0x21], 0x79
mov byte [rsp + 0x22], 0x6e
mov byte [rsp + 0x23], 0x7f
mov byte [rsp + 0x24], 0x76
mov byte [rsp + 0x25], 0x6f
mov byte [rsp + 0x26], 0x3d
mov byte [rsp + 0x27], 0x3c
mov byte [rsp + 0x28], 0x58
mov byte [rsp + 0x29], 0x6f
mov byte [rsp + 0x2a], 0x82
mov byte [rsp + 0x2b], 0x7e
mov byte [rsp + 0x2c], 0x61
mov byte [rsp + 0x2d], r14b
mov al, byte [rsp + 0x20]
mov rdx, r14
mov al, byte [rsp + rdx + 0x20]
sub al, 0xa
mov byte [rsp + rdx + 0x20], al
inc rdx
cmp rdx, 0xd
jb 0x180146e94
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18019a630], rax
xor edx, edx
lea r8d, [rdx + 0xe]
lea rcx, [rsp + 0x20]
call qword [sym.imp.VCRUNTIME140.dll_memset]
mov rbx, qword [0x18019a610]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
mov ecx, 8
call rbx
mov rbx, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x180147147
xor edx, edx
mov r8d, 0x434
lea rcx, [rbp - 0x4c]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp - 0x50], 0x438
mov r8, qword [0x18019a5c0]
lea rdx, [rbp - 0x50]
mov rcx, rbx
call r8
test eax, eax
jne 0x180146f38
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180147147
mov rcx, r12
cmp qword [0x1801a1298], 0x10
cmovae rcx, qword [0x1801a1280]
mov r10, qword [0x1801a1290]
add r10, rcx
mov rax, r12
cmp qword [0x1801a1298], 0x10
cmovae rax, qword [0x1801a1280]
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
cmp rax, r10
jne 0x180146f90
movdqa xmm0, xmmword [0x180165920]
movdqu xmmword [rbp - 0x70], xmm0
mov word [rbp - 0x80], r14w
jmp 0x180146fa6
mov r9, r10
sub r9, rax
mov r8, r10
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.18001e568
nop
mov r15d, 0x1000
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], r14
lea rax, [rbp + 0x1e0]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], r14w
jne 0x180146fc9
lea rdx, [rbp + 0x1e0]
lea rcx, [rsp + 0x60]
call fcn.18000c67c
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x60]
call fcn.18001d9c8
mov dil, al
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x180147033
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, r15
jb 0x18014702e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801470c0
call fcn.180157a14
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r14w
test dil, dil
je 0x18014705c
mov sil, 1
mov rax, qword [rbp - 0x38]
cmp rax, qword [0x1801a1278]
jne 0x1801470c7
mov rax, qword [0x18019a630]
lea rdx, [rbp - 0x50]
mov rcx, rbx
call rax
test eax, eax
jne 0x180146fac
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x1801470ce
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x180147147
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, r15
jb 0x1801470b6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18014710b
call fcn.180157a14
jmp 0x180147147
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov qword [0x1801a1278], rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x180147117
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, r15
jb 0x180147112
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180147112
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180157a14
test sil, sil
jne 0x180147147
mov rcx, r12
cmp qword [0x1801a1298], 0x10
cmovae rcx, qword [0x1801a1280]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x1801a1278], rax
mov r8, rax
mov rdx, r12
call fcn.1800150f8
lea r11, [rsp + 0x4f0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret