Function at 0x140090f10
Capabilities:
Access peb ldr_data
Encode data using xor
Get kernel32 base address
Hash data using fnv
Resolve function by fnv-1a hash
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
push rbp
mov rbp, rsp
sub rsp, 0x80
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax - 0x10], r14
mov qword [rax - 0x18], r15
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov r14, qword [rax]
mov rsi, r14
nop dword [rax]
mov r9, qword [rsi + 0x30]
xor ebx, ebx
movsxd rax, dword [r9 + 0x3c]
mov edi, dword [rax + r9 + 0x88]
add rdi, r9
cmp rdi, r9
je 0x140090fc8
mov r8d, dword [rdi + 0x18]
test r8d, r8d
je 0x140090fc8
mov r11d, dword [rdi + 0x20]
nop word [rax + rax]
dec r8d
mov edx, 0x811c9dc5
lea rax, [r11 + r8*4]
mov eax, dword [rax + r9]
add rax, r9
movzx ecx, byte [rax]
inc rax
test cl, cl
je 0x140090fc3
nop dword [rax]
movsx ecx, cl
lea rax, [rax + 1]
xor ecx, edx
imul edx, ecx, 0x1000193
movzx ecx, byte [rax - 1]
test cl, cl
jne 0x140090fa0
cmp edx, 0x53b2070f
je 0x14009137b
test r8d, r8d
jne 0x140090f80
mov rax, qword [rsi]
mov rsi, rax
cmp rax, r14
je 0x140090fdd
cmp qword [rax + 0x30], rbx
jne 0x140090f50
mov r8, rbx
cmp byte [0x1401722b9], bl
movsd xmm0, qword [str._FWXY]
movzx eax, word [0x1401722b8]
movsd qword [rbp - 0x60], xmm0
mov word [rbp - 0x58], ax
je 0x140091028
xor byte [rbp - 0x5f], 0x32
xor byte [rbp - 0x5e], 0x33
xor byte [rbp - 0x5d], 0x34
xor byte [rbp - 0x5c], 0x35
xor byte [rbp - 0x5b], 0x36
xor byte [rbp - 0x5a], 0x37
xor byte [rbp - 0x59], 0x38
xor byte [rbp - 0x58], 0x39
xor byte [rbp - 0x57], 0x3a
mov byte [rbp - 0x60], WSAGetLastError
lea rcx, [rbp - 0x60]
call r8
mov rcx, qword gs:[0x60]
mov r15, rax
mov rdx, qword [rcx + 0x18]
mov rcx, qword [rdx + 0x10]
mov r14, qword [rcx]
mov rsi, r14
nop dword [rax]
mov r9, qword [rsi + 0x30]
movsxd rcx, dword [r9 + 0x3c]
mov edi, dword [rcx + r9 + 0x88]
add rdi, r9
cmp rdi, r9
je 0x1400910c8
mov r8d, dword [rdi + 0x18]
test r8d, r8d
je 0x1400910c8
mov r11d, dword [rdi + 0x20]
nop word [rax + rax]
dec r8d
mov edx, 0x811c9dc5
lea rax, [r11 + r8*4]
mov ecx, dword [rax + r9]
add rcx, r9
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x1400910c3
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 0x1400910a0
cmp edx, 0xf8f45725
je 0x140091398
test r8d, r8d
jne 0x140091080
mov rax, qword [rsi]
mov rsi, rax
cmp rax, r14
je 0x1400910dd
cmp qword [rax + 0x30], rbx
jne 0x140091050
mov r10, rbx
cmp byte [0x140172239], bl
movups xmm0, xmmword [0x140172220]
movzx eax, word [0x140172238]
mov r14, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x98]
movups xmmword [rbp - 0x40], xmm0
mov word [rbp - 0x28], ax
movsd xmm0, qword [0x140172230]
movsd qword [rbp - 0x30], xmm0
je 0x1400912ad
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x140091269
movdqa xmm0, xmmword [0x1401781e0]
lea rcx, [rbp - 0x3c]
movdqa xmm5, xmmword [0x140178040]
movdqa xmm4, xmmword [0x140178320]
movdqa xmmword [rbp - 0x50], xmm0
mov edx, dword [rbp - 0x50]
movaps xmmword [rsp + 0x60], xmm6
movdqa xmm6, xmmword [0x1401780a0]
nop word [rax + rax]
movd xmm2, ebx
lea eax, [rbx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ebx, 8
pmuldq xmm1, xmm4
mov eax, ebx
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1401781b0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401781b0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x18
jl 0x140091160
movaps xmm6, xmmword [rsp + 0x60]
cmp eax, 0x1a
jge 0x1400912ad
movsxd rax, ebx
lea r8, [rbp - 0x40]
add r8, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4d4873ed
lea r8, [r8 + 1]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, bl
inc ebx
sub al, cl
add al, 0x31
xor byte [r8 - 1], al
cmp ebx, 0x1a
jl 0x140091280
lea rdx, [rbp - 0x40]
mov rcx, r15
call r10
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call fcn.14008ff20
mov rdi, qword gs:[0x60]
mov r15, qword [rsp + 0x70]
mov rax, qword [rdi + 0x18]
add rax, 0x10
mov rbx, qword [rax]
cmp rbx, rax
je 0x140091318
test rbx, rbx
je 0x140091318
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp qword [rbx + 0x30], rax
jne 0x140091308
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
mov rcx, qword [rbx + 8]
mov rax, qword [rbx]
mov qword [rcx], rax
mov rax, qword [rdi + 0x18]
mov rbx, qword [rbx]
add rax, 0x10
cmp rbx, rax
jne 0x1400912e0
mov r8, qword gs:[0x60]
mov rdi, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0x90]
mov rax, qword [r8 + 0x18]
add rax, 0x30
mov rdx, qword [rax]
cmp rdx, rax
je 0x140091372
test rdx, rdx
je 0x140091372
cmp qword [rdx + 0x10], 0
je 0x140091362
mov rcx, qword [rdx]
mov rax, qword [rdx + 8]
mov qword [rcx + 8], rax
mov rcx, qword [rdx + 8]
mov rax, qword [rdx]
mov qword [rcx], rax
mov rax, qword [r8 + 0x18]
mov rdx, qword [rdx]
add rax, 0x30
cmp rdx, rax
jne 0x140091341
add rsp, 0x80
pop rbp
ret
mov ecx, dword [rdi + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [rdi + 0x1c]
add rcx, r9
mov r8d, dword [rcx + rdx*4]
add r8, r9
jmp 0x140090fe0
mov ecx, dword [rdi + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [rdi + 0x1c]
add rcx, r9
mov r10d, dword [rcx + rdx*4]
add r10, r9
jmp 0x1400910e0