Function at 0x1400597c0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x140112718]
xor rax, rsp
mov qword [rbp - 8], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor edx, edx
mov ecx, 0x1fffff
mov r8d, eax
xor r15b, r15b
call qword [sym.imp.KERNEL32.dll_OpenProcess]
cmp byte [reloc.WLDAP32.dll_Ordinal_60], r15b
mov r14, rax
movsd xmm0, qword [str.__QZ_]
movzx ecx, word [0x1400fdfc0]
movsd qword [rbp - 0x20], xmm0
mov word [rbp - 0x18], cx
je 0x140059853
xor byte [rbp - 0x1f], 0x34
xor byte [rbp - 0x1e], 0x35
xor byte [rbp - 0x1d], 0x36
xor byte [rbp - 0x1c], 0x37
xor byte [rbp - 0x1b], 0x38
xor byte [rbp - 0x1a], 0x39
xor byte [rbp - 0x19], 0x3a
xor byte [rbp - 0x18], 0x3b
xor byte [rbp - 0x17], 0x3c
mov byte [rbp - 0x20], WSASetLastError
lea rcx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor r12d, r12d
lea rbx, [0x140112890]
mov esi, r12d
mov rdi, rax
nop dword [rax]
mov rdx, qword [rbx - 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx - 0x18], rax
mov rcx, rdi
mov rdx, qword [rbx - 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx], rax
mov rcx, rdi
mov rdx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
add esi, 3
mov qword [rbx + 0x18], rax
lea rbx, [rbx + 0x48]
cmp esi, 3
jb 0x140059870
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp word [0x1400fde82], r12w
mov rbx, rax
movsd xmm0, qword [str.__QZ_8]
mov ecx, dword [0x1400fde80]
movsd qword [rbp - 0x20], xmm0
mov dword [rbp - 0x18], ecx
je 0x1400598fb
xor word [rbp - 0x1e], 0x34
mov eax, WSASetLastError
xor word [rbp - 0x1c], 0x35
xor word [rbp - 0x1a], 0x36
xor word [rbp - 0x18], 0x37
xor word [rbp - 0x16], 0x38
mov word [rbp - 0x20], ax
lea rdx, [rbp - 0x20]
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
jne 0x140059961
cmp word [0x1400fdeca], r12w
movsd xmm0, qword [str._qz8]
mov eax, dword [0x1400fdec8]
movsd qword [rbp - 0x20], xmm0
mov dword [rbp - 0x18], eax
je 0x14005994f
xor word [rbp - 0x1e], 0x34
mov eax, Ordinal_79
xor word [rbp - 0x1c], 0x35
xor word [rbp - 0x1a], 0x36
xor word [rbp - 0x18], 0x37
xor word [rbp - 0x16], 0x38
mov word [rbp - 0x20], ax
lea rdx, [rbp - 0x20]
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
je 0x1400599d6
mov esi, r12d
lea rdi, [0x140112878]
nop dword [rax + rax]
mov r8, qword [rdi + 8]
lea rax, [rbp - 0x10]
mov rdx, qword [rdi]
mov r9d, 0x40
mov rcx, r14
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rdx, qword [rdi]
mov rcx, r14
mov r9, qword [rdi + 8]
mov r8, rdx
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov r9d, dword [rbp - 0x10]
mov rcx, r14
mov r8, qword [rdi + 8]
mov ebx, eax
mov rdx, qword [rdi]
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test ebx, ebx
je 0x1400599d3
inc esi
add rdi, 0x18
cmp esi, 3
jb 0x140059970
jmp 0x1400599d6
mov r15b, 1
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, r15b
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400c1540
lea r11, [rsp + 0x50]
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