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

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
sub rsp, 0x50
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [0x140046690], rcx
mov ecx, 8
mov qword [rax - 0x20], r14
mov qword [rax - 0x28], r15
mov byte [0x140044a84], 1
mov dword [0x140044a80], 1
call fcn.140019938
mov r15, rax
mov qword [rsp + 0x30], rax
lea rax, fcn.1400042f0
mov rcx, r15
mov qword [r15], rax
mov rdx, qword [fcn.1400042f0]
call rdx
call fcn.140009150
xor r14d, r14d
mov dword [rsp + 0x70], r14d
mov rcx, qword gs:[0x60]
mov rcx, qword [rcx + 0x18]
mov rcx, qword [rcx + 0x10]
nop word [rax + rax]
mov r10, qword [rcx + 0x30]
movsxd rax, dword [r10 + 0x3c]
mov r11d, dword [rax + r10 + 0x88]
add r11, r10
cmp r11, r10
je 0x140013ad7
mov r9d, dword [r11 + 0x18]
test r9d, r9d
je 0x140013ad7
mov ebx, dword [r11 + 0x20]
nop word [rax + rax]
dec r9d
mov r8d, 0x8a65ba10
lea rdx, [rbx + r9*4]
mov eax, dword [rdx + r10]
add rax, r10
movzx edx, byte [rax]
inc rax
test dl, dl
je 0x140013ad2
nop
movsx edx, dl
lea rax, [rax + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rax - 1]
test dl, dl
jne 0x140013ab0
cmp r8d, 0x2120eb10
je 0x140013adc
test r9d, r9d
jne 0x140013a90
mov rcx, qword [rcx]
jmp 0x140013a60
mov ecx, dword [r11 + 0x24]
mov edx, dword [r11 + 0x1c]
add rcx, r10
add rdx, r10
movzx ecx, word [rcx + r9*2]
mov eax, dword [rdx + rcx*4]
add rax, r10
call rax
mov rcx, qword gs:[0x60]
mov rdi, rax
mov rcx, qword [rcx + 0x18]
mov rcx, qword [rcx + 0x10]
nop dword [rax + rax]
mov r10, qword [rcx + 0x30]
movsxd rdx, dword [r10 + 0x3c]
mov r11d, dword [rdx + r10 + 0x88]
add r11, r10
cmp r11, r10
je 0x140013b85
mov r9d, dword [r11 + 0x18]
test r9d, r9d
je 0x140013b85
mov ebx, dword [r11 + 0x20]
nop word [rax + rax]
dec r9d
lea rdx, [rbx + r9*4]
mov r8d, dword [rdx + r10]
mov edx, 0x9965d1ad
add r8, r10
movzx eax, byte [r8]
inc r8
test al, al
je 0x140013b80
nop
movsx eax, al
lea r8, [r8 + 1]
xor eax, edx
imul edx, eax, 0x1000193
movzx eax, byte [r8 - 1]
test al, al
jne 0x140013b60
cmp edx, 0x91028fe8
je 0x140013b8a
test r9d, r9d
jne 0x140013b40
mov rcx, qword [rcx]
jmp 0x140013b10
mov ecx, dword [r11 + 0x24]
mov edx, dword [r11 + 0x1c]
add rcx, r10
add rdx, r10
mov qword [rsp + 0x88], rsi
movzx ecx, word [rcx + r9*2]
mov eax, dword [rdx + rcx*4]
lea rdx, [rsp + 0x70]
add rax, r10
mov rcx, rdi
call rax
mov ecx, dword [rsp + 0x70]
mov r13, rax
mov qword [rsp + 0x28], rax
lea ecx, [rcx*8]
movsxd rcx, ecx
call fcn.14001f580
mov r12, rax
mov qword [rsp + 0x20], rax
mov ebp, r14d
cmp dword [rsp + 0x70], r14d
jle 0x140013c88
mov r15, r13
lea r12, [0x14003d620]
sub r15, rax
mov r14, rax
xor r13d, r13d
nop dword [rax]
mov ecx, 0x28
call fcn.140019938
mov rdx, qword [r15 + r14]
mov qword [rax], r12
test rdx, rdx
je 0x140013c3c
mov rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp word [rdx + rcx*2], r13w
jne 0x140013c20
mov dword [rax + 0x20], ecx
test ecx, ecx
je 0x140013c3c
mov qword [rax + 0x18], rdx
xor r8b, r8b
mov dl, 1
jmp 0x140013c41
xor dl, dl
mov r8b, 1
mov r10d, 8
mov esi, reloc.WS2_32.dll_recv
mov ebx, send
mov rcx, r13
inc ebp
mov rdi, rax
mov r11, rax
mov r9, rax
mov byte [rax + rsi], r8b
mov byte [rax + rbx], dl
mov qword [r10 + rax], rcx
mov qword [r14], rax
add r14, r10
cmp ebp, dword [rsp + 0x70]
jl 0x140013c00
mov r12, qword [rsp + 0x20]
xor r14d, r14d
mov r13, qword [rsp + 0x28]
mov r15, qword [rsp + 0x30]
mov rax, qword [r15]
mov rcx, r15
call qword [rax + reloc.WS2_32.dll_recv]
mov rbp, qword [rsp + 0x80]
mov rcx, r15
test al, al
mov rax, qword [r15]
je 0x140013cb5
mov r8d, dword [rsp + 0x70]
mov rdx, r12
call qword [rax + htons]
mov edi, eax
jmp 0x140013e68
call qword [rax + 0x20]
mov rcx, qword gs:[0x60]
mov rdi, rax
mov rcx, qword [rcx + 0x18]
mov rcx, qword [rcx + 0x10]
nop dword [rax]
mov r10, qword [rcx + 0x30]
movsxd rdx, dword [r10 + 0x3c]
mov r11d, dword [rdx + r10 + 0x88]
add r11, r10
cmp r11, r10
je 0x140013d45
mov r9d, dword [r11 + 0x18]
test r9d, r9d
je 0x140013d45
mov ebx, dword [r11 + 0x20]
nop word [rax + rax]
dec r9d
lea rdx, [rbx + r9*4]
mov r8d, dword [rdx + r10]
mov edx, 0x58fac016
add r8, r10
movzx eax, byte [r8]
inc r8
test al, al
je 0x140013d40
nop
movsx eax, al
lea r8, [r8 + 1]
xor eax, edx
imul edx, eax, 0x1000193
movzx eax, byte [r8 - 1]
test al, al
jne 0x140013d20
cmp edx, 0x64252622
je 0x140013d4a
test r9d, r9d
jne 0x140013d00
mov rcx, qword [rcx]
jmp 0x140013cd0
mov eax, dword [r11 + 0x24]
mov r8, rdi
mov ecx, dword [r11 + 0x1c]
add rax, r10
add rcx, r10
movzx edx, word [rax + r9*2]
mov eax, dword [rcx + rdx*4]
mov edx, 1
add rax, r10
xor ecx, ecx
call rax
mov rsi, rax
test rax, rax
je 0x140013d9a
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x140013d9a
mov r9, qword [r15]
mov rdx, r12
mov r8d, dword [rsp + 0x70]
mov rcx, r15
call qword [r9 + htons]
mov edi, eax
jmp 0x140013db6
mov rax, qword [r15]
mov rdx, r12
mov r8d, dword [rsp + 0x70]
mov rcx, r15
call qword [rax + 0x18]
mov edi, eax
test rsi, rsi
je 0x140013e68
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 r11d, dword [rcx + r10 + 0x88]
add r11, r10
cmp r11, r10
je 0x140013e45
mov r9d, dword [r11 + 0x18]
test r9d, r9d
je 0x140013e45
mov ebx, dword [r11 + 0x20]
nop word [rax + rax]
dec r9d
lea rdx, [rbx + r9*4]
mov r8d, dword [rdx + r10]
mov edx, 0xccb18efd
add r8, r10
movzx ecx, byte [r8]
inc r8
test cl, cl
je 0x140013e40
nop
movsx ecx, cl
lea r8, [r8 + 1]
xor ecx, edx
imul edx, ecx, 0x1000193
movzx ecx, byte [r8 - 1]
test cl, cl
jne 0x140013e20
cmp edx, 0xa2bab30d
je 0x140013e4a
test r9d, r9d
jne 0x140013e00
mov rax, qword [rax]
jmp 0x140013dd0
mov eax, dword [r11 + 0x24]
mov ecx, dword [r11 + 0x1c]
add rax, r10
add rcx, r10
movzx edx, word [rax + r9*2]
mov eax, dword [rcx + rdx*4]
mov rcx, rsi
add rax, r10
call rax
mov rax, qword [r15]
mov edx, 1
mov rcx, r15
call qword [rax + 0x28]
mov eax, dword [rsp + 0x70]
mov r15, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x88]
test eax, eax
jle 0x140013eb2
mov rbx, r12
nop
mov rcx, qword [rbx]
test rcx, rcx
je 0x140013ea6
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov eax, dword [rsp + 0x70]
inc r14d
add rbx, 8
cmp r14d, eax
jl 0x140013e90
mov rax, qword [0x1400487e8]
mov r14, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x78]
test rax, rax
je 0x140013eca
call rax
mov rax, qword [0x1400487e0]
test rax, rax
je 0x140013ed8
call rax
mov rcx, r12
call fcn.14001f0e8
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, edi
add rsp, 0x50
pop r13
pop r12
pop rdi
ret