Function at 0x140171a74
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 [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rsi, rcx
lea rdi, [rcx + 0x18]
mov rcx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x140171ab3
mov rcx, qword [rdi]
mov edx, 0x5c
call qword [sym.imp.VCRUNTIME140.dll_strrchr]
mov rbx, rax
test rax, rax
jne 0x140171ad5
mov rbx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x140171ad8
mov rbx, qword [rdi]
jmp 0x140171ad8
inc rbx
cmp qword [rsi + 0x10], 0
je 0x140171b24
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 0x140171b19
lea rdx, [0x140290e68]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcmp]
test eax, eax
je 0x140171b19
mov rdx, qword [rsi + 0x10]
call fcn.140171ea0
test al, al
jne 0x140171b19
and qword [rsi + 0x10], 0
cmp qword [rsi + 0x10], 0
jne 0x140171e81
xor r15b, r15b
lea rbx, [0x140290e10]
cmp qword [0x1402d0710], 0
jne 0x140171c13
mov dword [rsp + 0x40], 0x50
mov byte [rsp + 0x44], 0x13
mov byte [rsp + 0x45], 0x22
mov byte [rsp + 0x46], 0x35
mov byte [rsp + 0x47], 0x31
mov byte [rsp + 0x48], 0x24
mov byte [rsp + 0x49], 0x35
mov byte [rsp + 0x4a], 4
mov byte [rsp + 0x4b], 0x3f
mov byte [rsp + 0x4c], 0x3f
mov byte [rsp + 0x4d], 0x3c
mov byte [rsp + 0x4e], 0x38
mov byte [rsp + 0x4f], 0x35
mov byte [rsp + 0x50], 0x3c
mov byte [rsp + 0x51], 0x20
mov byte [rsp + 0x52], 0x63
mov byte [rsp + 0x53], 0x62
mov byte [rsp + 0x54], 3
mov byte [rsp + 0x55], 0x3e
mov byte [rsp + 0x56], 0x31
mov byte [rsp + 0x57], 0x20
mov byte [rsp + 0x58], 0x23
mov byte [rsp + 0x59], 0x38
mov byte [rsp + 0x5a], 0x3f
mov byte [rsp + 0x5b], 0x24
xor eax, eax
mov byte [rsp + 0x5c], al
mov al, byte [rsp + 0x44]
xor edx, edx
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 0x140171bc8
mov byte [rsp + 0x5c], r15b
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 [0x1402d0710], rax
xor edx, edx
lea r8d, [rdx + 0x19]
lea rcx, [rsp + 0x44]
call qword [sym.imp.VCRUNTIME140.dll_memset]
cmp qword [0x1402d0728], 0
jne 0x140171cb4
mov byte [rsp + 0x2e], 0x58
mov byte [rsp + 0x2f], 0x7a
mov byte [rsp + 0x30], 0x6f
mov byte [rsp + 0x31], 0x80
mov byte [rsp + 0x32], 0x77
mov byte [rsp + 0x33], 0x70
mov byte [rsp + 0x34], 0x3e
mov byte [rsp + 0x35], 0x3d
mov byte [rsp + 0x36], 0x51
mov byte [rsp + 0x37], 0x74
mov byte [rsp + 0x38], 0x7d
mov byte [rsp + 0x39], 0x7e
mov byte [rsp + 0x3a], 0x7f
mov byte [rsp + 0x3b], 0x62
mov byte [rsp + 0x3c], r15b
mov al, byte [rsp + 0x2e]
xor ecx, ecx
mov al, byte [rsp + rcx + 0x2e]
sub al, 0xb
mov byte [rsp + rcx + 0x2e], al
inc rcx
cmp rcx, 0xe
jb 0x140171c72
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 [0x1402d0728], rax
xor edx, edx
lea r8d, [rdx + 0xf]
lea rcx, [rsp + 0x2e]
call qword [sym.imp.VCRUNTIME140.dll_memset]
cmp qword [0x1402d0748], 0
jne 0x140171d50
mov byte [rsp + 0x20], 0x58
mov byte [rsp + 0x21], 0x7a
mov byte [rsp + 0x22], 0x6f
mov byte [rsp + 0x23], 0x80
mov byte [rsp + 0x24], 0x77
mov byte [rsp + 0x25], 0x70
mov byte [rsp + 0x26], 0x3e
mov byte [rsp + 0x27], 0x3d
mov byte [rsp + 0x28], 0x59
mov byte [rsp + 0x29], 0x70
mov byte [rsp + 0x2a], 0x83
mov byte [rsp + 0x2b], 0x7f
mov byte [rsp + 0x2c], 0x62
mov byte [rsp + 0x2d], r15b
mov al, byte [rsp + 0x20]
xor edx, edx
mov al, byte [rsp + rdx + 0x20]
sub al, 0xb
mov byte [rsp + rdx + 0x20], al
inc rdx
cmp rdx, 0xd
jb 0x140171d0e
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 [0x1402d0748], rax
xor edx, edx
lea r8d, [rdx + 0xe]
lea rcx, [rsp + 0x20]
call qword [sym.imp.VCRUNTIME140.dll_memset]
mov rbx, qword [0x1402d0710]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
mov ecx, 8
call rbx
mov r14, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x140171e81
xor edx, edx
mov r8d, 0x434
lea rcx, [rbp - 0x4c]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp - 0x50], 0x438
mov r8, qword [0x1402d0728]
lea rdx, [rbp - 0x50]
mov rcx, r14
call r8
test eax, eax
jne 0x140171db2
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140171e81
mov rcx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x140171dbf
mov rcx, qword [rdi]
mov r8, qword [rdi + 0x10]
add r8, rcx
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x140171dd3
mov rdx, qword [rdi]
lea rcx, [rsp + 0x68]
call fcn.1400c42a4
nop
lea rdx, [rbp + 0x1e0]
lea rcx, [rbp - 0x78]
call fcn.1400ac71c
lea rdx, [rsp + 0x68]
mov rcx, rax
call fcn.1400c5238
mov bl, al
lea rcx, [rbp - 0x78]
call fcn.1400ac668
test bl, bl
je 0x140171e17
mov r15b, 1
mov rax, qword [rbp - 0x38]
cmp rax, qword [rsi + 0x10]
jne 0x140171e42
mov rax, qword [0x1402d0748]
lea rdx, [rbp - 0x50]
mov rcx, r14
call rax
test eax, eax
jne 0x140171dde
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x140171e46
lea rcx, [rsp + 0x68]
call fcn.1400ac668
jmp 0x140171e81
mov qword [rsi + 0x10], rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0x68]
call fcn.1400ac668
test r15b, r15b
jne 0x140171e81
mov rcx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x140171e6c
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rsi + 0x10], rax
mov r8, rax
mov rdx, rdi
call fcn.1400bc1a0
lea r11, [rsp + 0x4f0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret