Function at 0x180019db8
Capabilities:
Authenticate hmac
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x418]
sub rsp, 0x4f0
mov qword [rbp - 0x58], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rsi, rcx
lea rdi, [rcx + 0x10]
mov rcx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x180019dfa
mov rcx, qword [rdi]
mov edx, 0x5c
call qword [sym.imp.VCRUNTIME140.dll_strrchr]
mov rbx, rax
xor r12d, r12d
test rax, rax
jne 0x180019e1f
mov rbx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x180019e22
mov rbx, qword [rdi]
jmp 0x180019e22
inc rbx
cmp qword [rsi + 8], r12
je 0x180019e6b
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 0x180019e61
lea rdx, [0x180164cd8]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcmp]
test eax, eax
je 0x180019e61
mov rdx, qword [rsi + 8]
call fcn.18001a3c0
test al, al
jne 0x180019e61
mov qword [rsi + 8], r12
cmp qword [rsi + 8], r12
jne 0x18001a39c
mov r15b, r12b
lea rbx, [0x180164c98]
cmp qword [0x180199690], r12
jne 0x18001a006
mov dword [rsp + 0x20], 0x6a
mov eax, dword [rsp + 0x20]
xor al, 0x43
mov byte [rsp + 0x24], al
mov eax, dword [rsp + 0x20]
inc al
xor al, 0x72
mov byte [rsp + 0x25], al
mov eax, dword [rsp + 0x20]
add al, 2
mov cl, 0x65
xor al, cl
mov byte [rsp + 0x26], al
mov eax, dword [rsp + 0x20]
add al, 3
xor al, 0x61
mov byte [rsp + 0x27], al
mov eax, dword [rsp + 0x20]
add al, 4
xor al, 0x74
mov byte [rsp + 0x28], al
mov eax, dword [rsp + 0x20]
add al, 5
xor al, cl
mov byte [rsp + 0x29], al
mov eax, dword [rsp + 0x20]
add al, 6
xor al, 0x54
mov byte [rsp + 0x2a], al
mov eax, dword [rsp + 0x20]
add al, 7
mov dl, 0x6f
xor al, dl
mov byte [rsp + 0x2b], al
mov eax, dword [rsp + 0x20]
add al, 8
xor al, dl
mov byte [rsp + 0x2c], al
mov eax, dword [rsp + 0x20]
add al, 9
xor al, 0x6c
mov byte [rsp + 0x2d], al
mov eax, dword [rsp + 0x20]
add al, 0xa
xor al, 0x68
mov byte [rsp + 0x2e], al
mov eax, dword [rsp + 0x20]
add al, 0xb
xor al, cl
mov byte [rsp + 0x2f], al
mov eax, dword [rsp + 0x20]
add al, 0xc
xor al, 0x6c
mov byte [rsp + 0x30], al
mov eax, dword [rsp + 0x20]
add al, 0xd
xor al, 0x70
mov byte [rsp + 0x31], al
mov eax, dword [rsp + 0x20]
add al, 0xe
xor al, 0x33
mov byte [rsp + 0x32], al
mov eax, dword [rsp + 0x20]
add al, 0xf
xor al, 0x32
mov byte [rsp + 0x33], al
mov eax, dword [rsp + 0x20]
add al, 0x10
xor al, 0x53
mov byte [rsp + 0x34], al
mov eax, dword [rsp + 0x20]
add al, 0x11
xor al, 0x6e
mov byte [rsp + 0x35], al
mov eax, dword [rsp + 0x20]
add al, 0x12
xor al, 0x61
mov byte [rsp + 0x36], al
mov eax, dword [rsp + 0x20]
add al, 0x13
xor al, 0x70
mov byte [rsp + 0x37], al
mov eax, dword [rsp + 0x20]
add al, 0x14
xor al, 0x73
mov byte [rsp + 0x38], al
mov eax, dword [rsp + 0x20]
add al, 0x15
xor al, 0x68
mov byte [rsp + 0x39], al
mov eax, dword [rsp + 0x20]
add al, 0x16
xor al, dl
mov byte [rsp + 0x3a], al
mov eax, dword [rsp + 0x20]
add al, 0x17
xor al, 0x74
mov byte [rsp + 0x3b], al
xor eax, eax
mov byte [rsp + 0x3c], al
mov al, byte [rsp + 0x24]
mov rdx, r12
mov al, byte [rsp + rdx + 0x24]
mov ecx, dword [rsp + 0x20]
add cl, dl
xor cl, al
mov byte [rsp + rdx + 0x24], cl
inc rdx
cmp rdx, 0x18
jb 0x180019fb9
mov byte [rsp + 0x3c], r12b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [rsp + 0x24]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180199690], rax
xor edx, edx
lea r8d, [rdx + 0x19]
lea rcx, [rsp + 0x24]
call qword [sym.imp.VCRUNTIME140.dll_memset]
cmp qword [0x1801996f8], r12
jne 0x18001a0b9
mov dword [rsp + 0x50], 0x64
mov byte [rsp + 0x54], 0x29
mov byte [rsp + 0x55], 0xb
mov byte [rsp + 0x56], r12b
mov byte [rsp + 0x57], 0x11
mov byte [rsp + 0x58], 8
mov byte [rsp + 0x59], 1
mov byte [rsp + 0x5a], 0x57
mov byte [rsp + 0x5b], 0x56
mov byte [rsp + 0x5c], 0x22
mov byte [rsp + 0x5d], 0xd
mov byte [rsp + 0x5e], 0x16
mov byte [rsp + 0x5f], 0x17
mov byte [rsp + 0x60], 0x10
mov byte [rsp + 0x61], 0x33
xor eax, eax
mov byte [rsp + 0x62], al
mov al, byte [rsp + 0x54]
mov rdx, r12
mov al, byte [rsp + rdx + 0x54]
mov ecx, dword [rsp + 0x50]
xor cl, al
mov byte [rsp + rdx + 0x54], cl
inc rdx
cmp rdx, 0xe
jb 0x18001a06e
mov byte [rsp + 0x62], r12b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [rsp + 0x54]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1801996f8], rax
xor edx, edx
lea r8d, [rdx + 0xf]
lea rcx, [rsp + 0x54]
call qword [sym.imp.VCRUNTIME140.dll_memset]
cmp qword [0x180199698], r12
jne 0x18001a155
mov byte [rsp + 0x40], 0x51
mov byte [rsp + 0x41], 0x73
mov byte [rsp + 0x42], 0x68
mov byte [rsp + 0x43], 0x79
mov byte [rsp + 0x44], 0x70
mov byte [rsp + 0x45], 0x69
mov byte [rsp + 0x46], 0x37
mov byte [rsp + 0x47], 0x36
mov byte [rsp + 0x48], 0x52
mov byte [rsp + 0x49], 0x69
mov byte [rsp + 0x4a], 0x7c
mov byte [rsp + 0x4b], 0x78
mov byte [rsp + 0x4c], 0x5b
mov byte [rsp + 0x4d], r12b
mov al, byte [rsp + 0x40]
mov rdx, r12
mov al, byte [rsp + rdx + 0x40]
sub al, 4
mov byte [rsp + rdx + 0x40], al
inc rdx
cmp rdx, 0xd
jb 0x18001a113
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180199698], rax
xor edx, edx
lea r8d, [rdx + 0xe]
lea rcx, [rsp + 0x40]
call qword [sym.imp.VCRUNTIME140.dll_memset]
mov rbx, qword [0x180199690]
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 0x18001a39c
xor edx, edx
mov r8d, 0x434
lea rcx, [rbp - 0x4c]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp - 0x50], 0x438
mov r8, qword [0x1801996f8]
lea rdx, [rbp - 0x50]
mov rcx, rbx
call r8
test eax, eax
jne 0x18001a1b7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18001a39c
mov rcx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x18001a1c4
mov rcx, qword [rdi]
mov r8, qword [rdi + 0x10]
add r8, rcx
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x18001a1d8
mov rdx, qword [rdi]
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x68], xmm1
cmp rdx, r8
jne 0x18001a200
movdqa xmm0, xmmword [0x180165920]
movdqu xmmword [rbp - 0x68], xmm0
mov word [rbp - 0x78], r12w
jmp 0x18001a210
mov r9, r8
sub r9, rdx
lea rcx, [rbp - 0x78]
call fcn.18001e568
nop
mov r13d, 0x1000
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x80], r12
lea rax, [rbp + 0x1e0]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], r12w
jne 0x18001a232
lea rdx, [rbp + 0x1e0]
lea rcx, [rsp + 0x68]
call fcn.18000c67c
lea rdx, [rbp - 0x78]
lea rcx, [rsp + 0x68]
call fcn.18001d9c8
mov r14b, al
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x18001a29b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, r13
jb 0x18001a296
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001a321
call fcn.180157a14
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x80], 7
mov word [rsp + 0x68], r12w
test r14b, r14b
je 0x18001a2c0
mov r15b, 1
mov rax, qword [rbp - 0x38]
cmp rax, qword [rsi + 8]
jne 0x18001a328
mov rax, qword [0x180199698]
lea rdx, [rbp - 0x50]
mov rcx, rbx
call rax
test eax, eax
jne 0x18001a216
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x18001a32c
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x18001a39c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, r13
jb 0x18001a31a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001a369
call fcn.180157a14
jmp 0x18001a39c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov qword [rsi + 8], rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x18001a375
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, r13
jb 0x18001a370
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18001a370
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180157a14
test r15b, r15b
jne 0x18001a39c
mov rcx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x18001a387
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rsi + 8], rax
mov r8, rax
mov rdx, rdi
call fcn.1800150f8
lea r11, [rsp + 0x4f0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret