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

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov r8, qword [0x14013ffa0]
mov qword [rax + 0x10], rbx
xor ebx, ebx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax - 0x10], r12
mov qword [rax - 0x18], r13
mov r13d, 0xf652bc95
mov qword [rax - 0x20], r14
mov qword [rax - 0x28], r15
test r8, r8
jne 0x1400804ed
mov rax, qword gs:[0x60]
mov r14d, ebx
mov r11d, r13d
mov rcx, qword [rax + 0x18]
mov r12, qword [rcx + 0x10]
mov rdi, r12
nop dword [rax]
movups xmm0, xmmword [rdi + 0x58]
movd eax, xmm0
sub ax, 8
test r14d, r14d
je 0x14008040d
psrldq xmm0, 8
mov edx, 0x811c9dc5
movq rcx, xmm0
movzx eax, ax
shr rax, 1
lea r8, [rcx + rax*2]
cmp rcx, r8
je 0x140080404
nop
movsx eax, byte [rcx]
add rcx, 2
xor eax, edx
imul edx, eax, 0x1000193
cmp rcx, r8
jne 0x1400803f0
cmp edx, r14d
jne 0x1400804d4
mov r9, qword [rdi + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov rcx, qword [rax + r9 + 0x88]
mov r15, rcx
mov r10d, ecx
shr r15, 0x20
add r10, r9
cmp r10, r9
je 0x1400804d4
mov r8d, dword [r10 + 0x18]
test r8d, r8d
je 0x1400804d4
mov esi, dword [r10 + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r8d
mov edx, 0x811c9dc5
lea rax, [rsi + r8*4]
mov ecx, dword [rax + r9]
add rcx, r9
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x140080487
nop dword [rax]
movsx eax, al
lea rcx, [rcx + 1]
xor eax, edx
imul edx, eax, 0x1000193
movzx eax, byte [rcx - 1]
test al, al
jne 0x140080470
cmp edx, r11d
je 0x140080493
test r8d, r8d
jne 0x140080450
jmp 0x1400804d4
mov eax, dword [r10 + 0x24]
mov ecx, dword [r10 + 0x1c]
add rax, r9
add rcx, r9
movzx eax, word [rax + r8*2]
mov r8d, dword [rcx + rax*4]
add r8, r9
cmp r8, r10
jbe 0x1400804e6
lea rax, [r10 + r15]
cmp r8, rax
jae 0x1400804e6
mov r14d, 0x811c9dc5
mov rdi, r12
mov dword [rbp + 0x67], r14d
mov dword [rbp + 0x6b], r14d
mov r11, qword [rbp + 0x67]
shr r11, 0x20
mov rax, qword [rdi]
mov rdi, rax
cmp rax, r12
jne 0x1400803c0
mov r8, rbx
mov qword [0x14013ffa0], r8
xor edx, edx
lea rcx, str.Window
call r8
test rax, rax
je 0x140080503
call fcn.14006bed0
mov r9, qword [0x14013ffa0]
test r9, r9
jne 0x14008065d
mov rax, qword gs:[0x60]
mov r14d, ebx
mov r9d, r13d
mov rcx, qword [rax + 0x18]
mov r12, qword [rcx + 0x10]
mov rdi, r12
nop dword [rax]
movups xmm0, xmmword [rdi + 0x58]
movd eax, xmm0
sub ax, 8
test r14d, r14d
je 0x14008057d
psrldq xmm0, 8
mov edx, 0x811c9dc5
movq rcx, xmm0
movzx eax, ax
shr rax, 1
lea r8, [rcx + rax*2]
cmp rcx, r8
je 0x140080574
nop
movsx eax, byte [rcx]
add rcx, 2
xor eax, edx
imul edx, eax, 0x1000193
cmp rcx, r8
jne 0x140080560
cmp edx, r14d
jne 0x140080644
mov r10, qword [rdi + 0x30]
movsxd rax, dword [r10 + 0x3c]
mov rcx, qword [rax + r10 + 0x88]
mov r15, rcx
mov r11d, ecx
shr r15, 0x20
add r11, r10
cmp r11, r10
je 0x140080644
mov r8d, dword [r11 + 0x18]
test r8d, r8d
je 0x140080644
mov esi, dword [r11 + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r8d
mov edx, 0x811c9dc5
lea rax, [rsi + r8*4]
mov ecx, dword [rax + r10]
add rcx, r10
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x1400805f7
nop dword [rax]
movsx eax, al
lea rcx, [rcx + 1]
xor eax, edx
imul edx, eax, 0x1000193
movzx eax, byte [rcx - 1]
test al, al
jne 0x1400805e0
cmp edx, r9d
je 0x140080603
test r8d, r8d
jne 0x1400805c0
jmp 0x140080644
mov eax, dword [r11 + 0x24]
mov ecx, dword [r11 + 0x1c]
add rax, r10
add rcx, r10
movzx eax, word [rax + r8*2]
mov r9d, dword [rcx + rax*4]
add r9, r10
cmp r9, r11
jbe 0x140080656
lea rax, [r11 + r15]
cmp r9, rax
jae 0x140080656
mov r14d, 0x811c9dc5
mov rdi, r12
mov dword [rbp + 0x67], r14d
mov dword [rbp + 0x6b], r14d
mov r9, qword [rbp + 0x67]
shr r9, 0x20
mov rax, qword [rdi]
mov rdi, rax
cmp rax, r12
jne 0x140080530
xor r9d, r9d
mov qword [0x14013ffa0], r9
mov byte [rbp - 0x29], 0x90
xor r12d, r12d
mov byte [rbp - 0x28], __WSAFDIsSet
movabs rbx, 0x4e2126758c1b44c7
mov byte [rbp - 0x27], 0x82
mov r11, rbx
mov byte [rbp - 0x26], Ordinal_143
mov r10d, r12d
mov byte [rbp - 0x25], 0x85
lea edi, [r12 + 0xf]
mov byte [rbp - 0x24], __WSAFDIsSet
mov byte [rbp - 0x23], 0x91
mov byte [rbp - 0x22], 0x8a
mov byte [rbp - 0x21], 0xca
movzx eax, byte [rbp - 0x29]
lea rax, [rbp - 0x29]
sub r11, rax
nop dword [rax]
nop dword [rax + rax]
mov rcx, r10
lea rdx, [rbp - 0x29]
add rdx, r10
and ecx, edi
cmp rcx, rdi
mov rax, rbx
cmovae rcx, rdi
movsx r8, byte [rdx]
add dl, r11b
shl cl, 2
shr rax, cl
and al, dil
xor al, dl
xor al, r8b
mov byte [rbp + r10 - 0x29], al
inc r10
cmp r10, 9
jb 0x1400806b0
xor edx, edx
lea rcx, [rbp - 0x29]
call r9
test rax, rax
je 0x1400806fc
call fcn.14006bed0
mov r9, qword [0x14013ffa0]
test r9, r9
jne 0x14008086d
mov rax, qword gs:[0x60]
mov r14d, r12d
mov r9d, r13d
mov rcx, qword [rax + 0x18]
mov r12, qword [rcx + 0x10]
mov rdi, r12
nop word [rax + rax]
movups xmm0, xmmword [rdi + 0x58]
movd eax, xmm0
sub ax, 8
test r14d, r14d
je 0x14008077d
psrldq xmm0, 8
mov edx, 0x811c9dc5
movq rcx, xmm0
movzx eax, ax
shr rax, 1
lea r8, [rcx + rax*2]
cmp rcx, r8
je 0x140080774
nop
movsx eax, byte [rcx]
add rcx, 2
xor eax, edx
imul edx, eax, 0x1000193
cmp rcx, r8
jne 0x140080760
cmp edx, r14d
jne 0x14008084c
mov r10, qword [rdi + 0x30]
movsxd rax, dword [r10 + 0x3c]
mov rcx, qword [rax + r10 + 0x88]
mov r15, rcx
mov r11d, ecx
shr r15, 0x20
add r11, r10
cmp r11, r10
je 0x14008084c
mov r8d, dword [r11 + 0x18]
test r8d, r8d
je 0x14008084c
mov esi, dword [r11 + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r8d
mov edx, 0x811c9dc5
lea rax, [rsi + r8*4]
mov ecx, dword [rax + r10]
add rcx, r10
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x1400807f7
nop dword [rax]
movsx eax, al
lea rcx, [rcx + 1]
xor eax, edx
imul edx, eax, 0x1000193
movzx eax, byte [rcx - 1]
test al, al
jne 0x1400807e0
cmp edx, r9d
je 0x140080803
test r8d, r8d
jne 0x1400807c0
jmp 0x14008084c
mov eax, dword [r11 + 0x24]
mov ecx, dword [r11 + 0x1c]
add rax, r10
add rcx, r10
movzx eax, word [rax + r8*2]
mov r9d, dword [rcx + rax*4]
add r9, r10
cmp r9, r11
jbe 0x140080a13
lea rax, [r11 + r15]
cmp r9, rax
jae 0x140080a13
mov r14d, 0x811c9dc5
mov rdi, r12
mov dword [rbp + 0x67], r14d
mov dword [rbp + 0x6b], r14d
mov r9, qword [rbp + 0x67]
shr r9, 0x20
mov rax, qword [rdi]
mov rdi, rax
cmp rax, r12
jne 0x140080730
xor r12d, r12d
mov r9d, r12d
mov qword [0x14013ffa0], r9
mov edi, reloc.WS2_32.dll_ntohs
mov byte [rbp - 9], reloc.WS2_32.dll_sendto
movabs rbx, 0x7dcffe6e391e647f
mov byte [rbp - 8], 0xe5
mov r11, rbx
mov byte [rbp - 7], 0xe2
mov r10, r12
mov byte [rbp - 6], 0xf2
mov byte [rbp - 5], 0xe4
mov byte [rbp - 4], 0xe0
mov byte [rbp - 3], 0xfb
mov byte [rbp - 2], Ordinal_200
mov byte [rbp - 1], 0xe5
mov byte [rbp], 0xef
mov byte [rbp + 1], 0xf4
mov byte [rbp + 2], 0xf6
mov byte [rbp + 3], 0x84
movzx eax, byte [rbp - 9]
lea rax, [rbp - 9]
sub r11, rax
nop dword [rax]
mov rcx, r10
lea rdx, [rbp - 9]
add rdx, r10
and ecx, 0xf
cmp rcx, 0xf
mov rax, rbx
cmovae rcx, rdi
movsx r8, byte [rdx]
add dl, r11b
shl cl, 2
shr rax, cl
and al, 0xf
xor al, dl
xor al, r8b
mov byte [rbp + r10 - 9], al
inc r10
cmp r10, 0xd
jb 0x1400808c0
xor edx, edx
lea rcx, [rbp - 9]
call r9
test rax, rax
je 0x14008090d
call fcn.14006bed0
mov r9, qword [0x14013ffa0]
test r9, r9
jne 0x140080a85
mov rax, qword gs:[0x60]
mov r14d, r12d
mov r9d, r13d
mov rcx, qword [rax + 0x18]
mov r12, qword [rcx + 0x10]
mov rsi, r12
nop word [rax + rax]
movups xmm0, xmmword [rsi + 0x58]
movd eax, xmm0
sub ax, 8
test r14d, r14d
je 0x14008098d
psrldq xmm0, 8
mov edx, 0x811c9dc5
movq rcx, xmm0
movzx eax, ax
shr rax, 1
lea r8, [rcx + rax*2]
cmp rcx, r8
je 0x140080984
nop
movsx eax, byte [rcx]
add rcx, 2
xor eax, edx
imul edx, eax, 0x1000193
cmp rcx, r8
jne 0x140080970
cmp edx, r14d
jne 0x140080a64
mov r10, qword [rsi + 0x30]
movsxd rax, dword [r10 + 0x3c]
mov rcx, qword [rax + r10 + 0x88]
mov r15, rcx
mov r11d, ecx
shr r15, 0x20
add r11, r10
cmp r11, r10
je 0x140080a64
mov r8d, dword [r11 + 0x18]
test r8d, r8d
je 0x140080a64
mov edi, dword [r11 + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r8d
mov edx, 0x811c9dc5
lea rax, [r10 + r8*4]
mov ecx, dword [rax + rdi]
add rcx, r10
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x140080a07
nop dword [rax]
movsx eax, al
lea rcx, [rcx + 1]
xor eax, edx
imul edx, eax, 0x1000193
movzx eax, byte [rcx - 1]
test al, al
jne 0x1400809f0
cmp edx, r9d
je 0x140080a1b
test r8d, r8d
jne 0x1400809d0
jmp 0x140080a64
xor r12d, r12d
jmp 0x140080861
mov eax, dword [r11 + 0x24]
mov ecx, dword [r11 + 0x1c]
add rax, r10
add rcx, r10
movzx eax, word [rax + r8*2]
mov r9d, dword [rcx + rax*4]
add r9, r10
cmp r9, r11
jbe 0x140080c23
lea rax, [r11 + r15]
cmp r9, rax
jae 0x140080c23
mov r14d, 0x811c9dc5
mov rsi, r12
mov dword [rbp + 0x67], r14d
mov dword [rbp + 0x6b], r14d
mov r9, qword [rbp + 0x67]
shr r9, 0x20
mov rax, qword [rsi]
mov rsi, rax
cmp rax, r12
jne 0x140080940
xor r12d, r12d
mov r9d, r12d
mov qword [0x14013ffa0], r9
mov edi, reloc.WS2_32.dll_ntohs
mov byte [rbp + 7], Ordinal_41
mov r11, rbx
mov byte [rbp + 8], reloc.WLDAP32.dll_Ordinal_211
mov r10, r12
mov byte [rbp + 9], 0xd5
mov byte [rbp + 0xa], 0xc9
mov byte [rbp + 0xb], 0xec
mov byte [rbp + 0xc], 0xec
mov byte [rbp + 0xd], 0xe2
mov byte [rbp + 0xe], 0xc3
mov byte [rbp + 0xf], 0xfb
mov byte [rbp + 0x10], 0xef
mov byte [rbp + 0x11], 0xea
mov byte [rbp + 0x12], 0xe0
mov byte [rbp + 0x13], 0x84
movzx eax, byte [rbp + 7]
lea rax, [rbp + 7]
sub r11, rax
nop word [rax + rax]
mov rcx, r10
lea rdx, [rbp + 7]
add rdx, r10
and ecx, 0xf
cmp rcx, 0xf
mov rax, rbx
cmovae rcx, rdi
movsx r8, byte [rdx]
add dl, r11b
shl cl, 2
shr rax, cl
and al, 0xf
xor al, dl
xor al, r8b
mov byte [rbp + r10 + 7], al
inc r10
cmp r10, 0xd
jb 0x140080ad0
xor edx, edx
lea rcx, [rbp + 7]
call r9
test rax, rax
je 0x140080b1d
call fcn.14006bed0
mov r9, qword [0x14013ffa0]
test r9, r9
jne 0x140080c87
mov rax, qword gs:[0x60]
mov esi, r12d
mov rcx, qword [rax + 0x18]
mov r15, qword [rcx + 0x10]
mov rbx, r15
nop dword [rax]
nop dword [rax + rax]
movups xmm0, xmmword [rbx + 0x58]
movd eax, xmm0
sub ax, 8
test esi, esi
je 0x140080b9c
psrldq xmm0, 8
mov edx, 0x811c9dc5
movq rcx, xmm0
movzx eax, ax
shr rax, 1
lea r8, [rcx + rax*2]
cmp rcx, r8
je 0x140080b94
nop
movsx eax, byte [rcx]
add rcx, 2
xor eax, edx
imul edx, eax, 0x1000193
cmp rcx, r8
jne 0x140080b80
cmp edx, esi
jne 0x140080c69
mov r10, qword [rbx + 0x30]
movsxd rax, dword [r10 + 0x3c]
mov rcx, qword [rax + r10 + 0x88]
mov r14, rcx
mov r11d, ecx
shr r14, 0x20
add r11, r10
cmp r11, r10
je 0x140080c69
mov r8d, dword [r11 + 0x18]
test r8d, r8d
je 0x140080c69
mov edi, dword [r11 + 0x20]
nop dword [rax]
nop word [rax + rax]
dec r8d
mov edx, 0x811c9dc5
lea rax, [r10 + r8*4]
mov ecx, dword [rax + rdi]
add rcx, r10
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x140080c17
nop dword [rax]
movsx eax, al
lea rcx, [rcx + 1]
xor eax, edx
imul edx, eax, 0x1000193
movzx eax, byte [rcx - 1]
test al, al
jne 0x140080c00
cmp edx, r13d
je 0x140080c2b
test r8d, r8d
jne 0x140080be0
jmp 0x140080c69
xor r12d, r12d
jmp 0x140080a79
mov eax, dword [r11 + 0x24]
mov ecx, dword [r11 + 0x1c]
add rax, r10
add rcx, r10
movzx eax, word [rax + r8*2]
mov r9d, dword [rcx + rax*4]
add r9, r10
cmp r9, r11
jbe 0x140080c7b
lea rax, [r14 + r11]
cmp r9, rax
jae 0x140080c7b
mov esi, 0x811c9dc5
mov rbx, r15
mov dword [rbp + 0x67], esi
mov dword [rbp + 0x6b], esi
mov r13, qword [rbp + 0x67]
shr r13, 0x20
mov rax, qword [rbx]
mov rbx, rax
cmp rax, r15
jne 0x140080b50
mov r9, r12
mov qword [0x14013ffa0], r9
mov edi, reloc.WS2_32.dll_ntohs
mov r15, qword [rsp + 0x80]
movabs rbx, 0x7854a0dc22d85197
mov r14, qword [rsp + 0x88]
mov r11, rbx
mov r13, qword [rsp + 0x90]
mov r10, r12
mov rsi, qword [rsp + 0xc0]
mov byte [rbp + 0x17], 0xc2
mov byte [rbp + 0x18], 0xf4
mov byte [rbp + 0x19], 0xeb
mov byte [rbp + 0x1a], 0xf0
mov byte [rbp + 0x1b], 0xe6
mov byte [rbp + 0x1c], 0xe3
mov byte [rbp + 0x1d], 0xfc
mov byte [rbp + 0x1e], 0xf9
mov byte [rbp + 0x1f], 0xb3
mov byte [rbp + 0x20], 0xe0
mov byte [rbp + 0x21], 0xce
mov byte [rbp + 0x22], Ordinal_200
mov byte [rbp + 0x23], 0xce
mov byte [rbp + 0x24], 0xd5
mov byte [rbp + 0x25], 0xc2
mov byte [rbp + 0x26], reloc.WLDAP32.dll_Ordinal_211
mov byte [rbp + 0x27], 0xa0
movzx eax, byte [rbp + 0x17]
lea rax, [rbp + 0x17]
sub r11, rax
nop word [rax + rax]
mov rcx, r10
lea rdx, [rbp + 0x17]
add rdx, r10
and ecx, 0xf
cmp rcx, 0xf
mov rax, rbx
cmovae rcx, rdi
movsx r8, byte [rdx]
add dl, r11b
shl cl, 2
shr rax, cl
and al, 0xf
xor al, dl
xor al, r8b
mov byte [rbp + r10 + 0x17], al
inc r10
cmp r10, 0x11
jb 0x140080d10
mov rbx, qword [rsp + 0xb8]
movabs r11, 0x875ef4e21df6fb85
mov byte [rbp - 0x19], Ordinal_217
mov r10, r11
mov byte [rbp - 0x18], 0xea
mov byte [rbp - 0x17], 0xef
mov byte [rbp - 0x16], Ordinal_211
mov byte [rbp - 0x15], 0xe6
mov byte [rbp - 0x14], 0xeb
mov byte [rbp - 0x13], 0xe2
mov byte [rbp - 0x12], 0xe2
mov byte [rbp - 0x11], 0xf8
mov byte [rbp - 0x10], 0x80
movzx eax, byte [rbp - 0x19]
lea rax, [rbp - 0x19]
sub r10, rax
mov rcx, r12
lea rdx, [rbp - 0x19]
add rdx, r12
and ecx, 0xf
cmp rcx, 0xf
mov rax, r11
cmovae rcx, rdi
movzx r8d, byte [rdx]
add dl, r10b
shl cl, 2
shr rax, cl
and al, 0xf
xor al, dl
xor al, r8b
mov byte [rbp + r12 - 0x19], al
inc r12
cmp r12, 0xa
jb 0x140080d92
mov r12, qword [rsp + 0x98]
lea rdx, [rbp + 0x17]
mov rdi, qword [rsp + 0xc8]
lea rcx, [rbp - 0x19]
call r9
test rax, rax
je 0x140080df1
call fcn.14006bed0
add rsp, 0xa0
pop rbp
ret