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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xa0
mov rax, qword [0x1400af040]
xor rax, rsp
mov qword [rbp + 0xf], rax
mov r13, r9
mov r12, rdx
mov r15, rcx
mov r14, qword [0x1400b1380]
test rdx, rdx
je 0x14005a23f
test r14, r14
je 0x14005a23f
movsd xmm0, qword [str._FWXY]
movsd qword [rbp - 0x51], xmm0
movzx eax, word [0x14009c180]
mov word [rbp - 0x49], ax
cmp byte [0x14009c181], 0
je 0x140059ed5
mov byte [rbp - 0x51], WSAGetLastError
xor byte [rbp - 0x50], 0x32
xor byte [rbp - 0x4f], 0x33
xor byte [rbp - 0x4e], 0x34
xor byte [rbp - 0x4d], 0x35
xor byte [rbp - 0x4c], 0x36
xor byte [rbp - 0x4b], 0x37
xor byte [rbp - 0x4a], 0x38
xor byte [rbp - 0x49], 0x39
xor byte [rbp - 0x48], 0x3a
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop word [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 0x140059f66
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x140059f66
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, 0x30af9420
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x140059f61
nop
movsx edx, dl
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx]
lea rcx, [rcx + 1]
test dl, dl
jne 0x140059f40
cmp r8d, 0xab4b4cc1
je 0x140059f6b
test r9d, r9d
jne 0x140059f20
mov rax, qword [rax]
jmp 0x140059ef0
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
lea rcx, [rbp - 0x51]
call rdx
mov rsi, rax
test rax, rax
je 0x14005a23f
movsd xmm0, qword [0x14009c0a8]
movsd qword [rbp - 0x41], xmm0
movzx ecx, word [0x14009c0b0]
mov word [rbp - 0x39], cx
cmp byte [0x14009c0b1], 0
je 0x140059fdd
mov byte [rbp - 0x41], 0x4e
xor byte [rbp - 0x40], 0x32
xor byte [rbp - 0x3f], 0x33
xor byte [rbp - 0x3e], 0x34
xor byte [rbp - 0x3d], 0x35
xor byte [rbp - 0x3c], 0x36
xor byte [rbp - 0x3b], 0x37
xor byte [rbp - 0x3a], 0x38
xor byte [rbp - 0x39], 0x39
xor byte [rbp - 0x38], 0x3a
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x14005a066
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x14005a066
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
lea rcx, [rdi + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
mov r8d, 0xcdbbc43a
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x14005a061
nop
movsx ecx, cl
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx]
lea rdx, [rdx + 1]
test cl, cl
jne 0x14005a040
cmp r8d, 0x893c0952
je 0x14005a06b
test r9d, r9d
jne 0x14005a020
mov rax, qword [rax]
jmp 0x140059ff0
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rbx + 0x24]
add rax, r10
movzx eax, word [rax + r9*2]
mov r8d, dword [rcx + rax*4]
add r8, r10
lea rdx, [rbp - 0x41]
mov rcx, rsi
call r8
mov rbx, rax
test rax, rax
je 0x14005a23f
mov word [rbp - 0x11], 0xb848
mov word [rbp - 7], 0xe0ff
mov qword [rbp - 0xf], r14
mov eax, select
mov rcx, qword gs:[0x58]
mov rdx, qword [rcx]
mov ecx, dword [rax + rdx]
cmp dword [0x1400b1374], ecx
jle 0x14005a1c2
lea rcx, [0x1400b1374]
call fcn.14007ff08
cmp dword [0x1400b1374], 0xffffffff
jne 0x14005a1c2
movsd xmm0, qword [0x14009c0a8]
movsd qword [rbp - 0x61], xmm0
movzx eax, word [0x14009c0b0]
mov word [rbp - 0x59], ax
cmp byte [0x14009c0b1], 0
je 0x14005a12b
mov byte [rbp - 0x61], 0x4e
xor byte [rbp - 0x60], 0x32
xor byte [rbp - 0x5f], 0x33
xor byte [rbp - 0x5e], 0x34
xor byte [rbp - 0x5d], 0x35
xor byte [rbp - 0x5c], 0x36
xor byte [rbp - 0x5b], 0x37
xor byte [rbp - 0x5a], 0x38
xor byte [rbp - 0x59], 0x39
xor byte [rbp - 0x58], 0x3a
xorps xmm0, xmm0
movups xmmword [rbp - 0x31], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x21], xmm1
lea rax, [rbp - 0x61]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x14005a145
lea rdx, [rbp - 0x61]
lea rcx, [rbp - 0x31]
call fcn.14005b270
nop
lea r8, [rbp - 0x31]
mov rdx, qword [0x1400b1078]
mov rcx, r15
call fcn.1400549c0
mov qword [0x1400b12a8], rax
mov rdx, qword [rbp - 0x19]
cmp rdx, 0xf
jbe 0x14005a1b6
inc rdx
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005a1b0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005a1b0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140080290
nop
lea rcx, [0x1400b1374]
call fcn.14007fe9c
mov r8, qword [0x1400b12a8]
test r8, r8
je 0x14005a23f
mov r9d, 0xc
lea rdx, [rbp - 1]
mov rcx, r15
call fcn.140053d30
test al, al
je 0x14005a23f
movzx eax, byte [rbp - 0x11]
cmp byte [rbp - 1], al
jne 0x14005a208
movzx eax, byte [rbp - 0x10]
cmp byte [rbp], al
jne 0x14005a208
movzx eax, byte [rbp - 7]
cmp byte [rbp + 9], al
jne 0x14005a208
movzx eax, byte [rbp - 6]
cmp byte [rbp + 0xa], al
je 0x14005a23f
lea r8, [rbp - 0x11]
mov rdx, qword [0x1400b12a8]
mov rcx, r15
call fcn.140053dd0
test al, al
je 0x14005a23f
mov dl, 1
mov rcx, r13
call rbx
mov byte [r12], al
lea r8, [rbp - 1]
mov rdx, qword [0x1400b12a8]
mov rcx, r15
call fcn.140053dd0
jmp 0x14005a241
xor al, al
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.14007fe40
mov rbx, qword [rsp + 0xf0]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret