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

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x3f8]
sub rsp, 0x4f0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r15
lea r15, [0x1402d3028]
mov rcx, r15
cmp qword [0x1402d3040], 0x10
cmovae rcx, qword [0x1402d3028]
mov edx, 0x5c
call qword [sym.imp.VCRUNTIME140.dll_strrchr]
mov rbx, rax
test rax, rax
jne 0x140153f89
mov rbx, r15
cmp qword [0x1402d3040], 0x10
cmovae rbx, qword [0x1402d3028]
jmp 0x140153f8c
inc rbx
cmp qword [0x1402d3020], 0
je 0x140153fef
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 0x140153fdf
lea rdx, [0x140290e68]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcmp]
test eax, eax
je 0x140153fdf
mov rdx, qword [0x1402d3020]
call fcn.140154388
neg al
sbb rcx, rcx
and rcx, qword [0x1402d3020]
mov qword [0x1402d3020], rcx
jmp 0x140153fe6
mov rcx, qword [0x1402d3020]
test rcx, rcx
jne 0x14015436a
xor sil, sil
lea rbx, [0x140290e10]
cmp qword [0x1402d0230], 0
jne 0x1401540de
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 0x140154093
mov byte [rsp + 0x5c], sil
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 [0x1402d0230], rax
xor edx, edx
lea r8d, [rdx + 0x19]
lea rcx, [rsp + 0x44]
call qword [sym.imp.VCRUNTIME140.dll_memset]
cmp qword [0x1402d0100], 0
jne 0x14015417f
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], sil
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 0x14015413d
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 [0x1402d0100], rax
xor edx, edx
lea r8d, [rdx + 0xf]
lea rcx, [rsp + 0x2e]
call qword [sym.imp.VCRUNTIME140.dll_memset]
cmp qword [0x1402d02c0], 0
jne 0x14015421b
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], sil
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 0x1401541d9
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 [0x1402d02c0], rax
xor edx, edx
lea r8d, [rdx + 0xe]
lea rcx, [rsp + 0x20]
call qword [sym.imp.VCRUNTIME140.dll_memset]
mov rbx, qword [0x1402d0230]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
mov ecx, 8
call rbx
mov rdi, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x14015436a
xor edx, edx
mov r8d, 0x434
lea rcx, [rbp - 0x4c]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp - 0x50], 0x438
mov r8, qword [0x1402d0100]
lea rdx, [rbp - 0x50]
mov rcx, rdi
call r8
test eax, eax
jne 0x14015427d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14015436a
mov rcx, r15
cmp qword [0x1402d3040], 0x10
cmovae rcx, qword [0x1402d3028]
mov r8, qword [0x1402d3038]
add r8, rcx
mov rdx, r15
cmp qword [0x1402d3040], 0x10
cmovae rdx, qword [0x1402d3028]
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 0x1401542f4
mov sil, 1
mov rax, qword [rbp - 0x38]
cmp rax, qword [0x1402d3020]
jne 0x14015431f
mov rax, qword [0x1402d02c0]
lea rdx, [rbp - 0x50]
mov rcx, rdi
call rax
test eax, eax
jne 0x1401542b8
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x140154326
lea rcx, [rsp + 0x68]
call fcn.1400ac668
jmp 0x14015436a
mov qword [0x1402d3020], rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0x68]
call fcn.1400ac668
test sil, sil
jne 0x14015436a
mov rcx, r15
cmp qword [0x1402d3040], 0x10
cmovae rcx, qword [0x1402d3028]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x1402d3020], rax
mov r8, rax
mov rdx, r15
call fcn.1400bc1a0
lea r11, [rsp + 0x4f0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r15, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret