Function at 0x140059240
Capabilities:
Access peb ldr_data
Encode data using xor
Execute command
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xf0
mov rax, qword [0x140133f00]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rsi, rcx
mov qword [rbp + 0x3f], rcx
movdqa xmm0, xmmword [0x1400f5050]
movdqu xmmword [rbp - 0x21], xmm0
mov word [rbp - 0x11], 0x84
mov byte [rbp - 0xf], 1
movdqa xmm0, xmmword [0x1400f51a0]
movdqu xmmword [rbp - 0x51], xmm0
movdqa xmm1, xmmword [0x1400f5280]
movdqu xmmword [rbp - 0x41], xmm1
mov dword [rbp - 0x31], 0xcbd7c5c4
mov dword [rbp - 0x2d], 0x9d9a9d9a
mov dword [rbp - 0x29], 0xaea8dcdb
mov word [rbp - 0x25], 0xe2
mov byte [rbp - 0x23], 1
xor ecx, ecx
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x6a]
xor byte [rbp + rcx - 0x51], al
inc rcx
cmp rcx, 0x2d
jb 0x1400592d0
mov byte [rbp - 0x23], 0
lea rax, [rbp - 0x51]
mov rcx, 0xffffffffffffffff
nop
inc rcx
cmp byte [rax + rcx], 0
jne 0x1400592f0
mov rdx, qword [rsi + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rdx
cmp rax, rcx
jb 0x1400595cc
mov rax, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x140059320
mov rax, qword [rsi]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r9, [rbp - 0x51]
mov r8, rsi
movzx edx, byte [rbp - 0x59]
lea rcx, [rbp + 0x1f]
call fcn.14004f0d0
nop
cmp byte [rbp - 0xf], 0
je 0x140059364
xor ecx, ecx
nop dword [rax]
lea eax, [rcx - 0x6a]
xor byte [rbp + rcx - 0x21], al
inc rcx
cmp rcx, 0x11
jb 0x140059350
mov byte [rbp - 0xf], 0
lea r9, [rbp - 0x59]
lea r8, [rbp - 0x10]
lea rdx, [rbp - 0x21]
lea rcx, [rbp - 0x51]
call fcn.140046990
nop
lea r8, [rbp + 0x1f]
cmp qword [rbp + 0x37], 0x10
cmovae r8, qword [rbp + 0x1f]
mov r9, qword [rbp + 0x2f]
xor edx, edx
lea rcx, [rbp - 0x51]
call fcn.14005d9b0
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 7], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 9], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 7], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rbp - 0x39]
cmp rdx, 0x10
jb 0x140059406
inc rdx
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140059401
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140059401
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ee7c8
lea rcx, [rbp - 9]
cmp qword [rbp + 0xf], 0x10
cmovae rcx, qword [rbp - 9]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rdx, qword [rbp + 0xf]
cmp rdx, 0x10
jb 0x140059458
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140059453
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140059453
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ee7c8
movdqa xmm0, xmmword [0x14011e980]
movdqu xmmword [rbp + 7], xmm0
mov byte [rbp - 9], 0
mov rdx, qword [rbp + 0x37]
cmp rdx, 0x10
jb 0x1400594a7
inc rdx
mov rcx, qword [rbp + 0x1f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400594a2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400594a2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ee7c8
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x140059536
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x140059536
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
lea rcx, [rdi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
mov r8d, 0x6fb4eb9d
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x140059531
nop
movsx edx, dl
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx]
lea rcx, [rcx + 1]
test dl, dl
jne 0x140059510
cmp r8d, 0x93c04cd
je 0x14005953b
test r9d, r9d
jne 0x1400594f0
mov rax, qword [rax]
jmp 0x1400594c0
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rbx + 0x24]
add rax, r10
movzx eax, word [rax + r9*2]
mov edx, dword [rcx + rax*4]
add rdx, r10
xor ecx, ecx
call rdx
nop
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x14005958d
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x140059588
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400595c5
mov rcx, r8
call fcn.1400ee7c8
mov qword [rsi + 0x10], 0
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rsi], 0
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1400eec50
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140041a10
nop
int3