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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
movaps xmmword [rsp + 0x100], xmm6
xor ebx, ebx
mov dword [rbp + 0x40], ebx
movups xmm0, xmmword [str.u_rdiHT_O_R__a__6]
movups xmmword [rsp + 0x30], xmm0
mov eax, dword [0x1400ae0b8]
mov dword [rsp + 0x40], eax
movzx eax, word [0x1400ae0bc]
mov word [rsp + 0x44], ax
movzx eax, byte [0x1400ae0be]
mov byte [rsp + 0x46], al
mov r8d, ebx
mov r14d, dword [reloc.WS2_32.dll_accept]
cmp r14d, 2
jl 0x1400259e5
movdqa xmm5, xmmword [0x1400ae1f0]
movdqa xmm4, xmmword [0x1400ae2d0]
movdqa xmm6, xmmword [0x1400ae220]
movdqa xmm0, xmmword [0x1400ae2a0]
movdqa xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x34]
mov edx, dword [rsp + 0x20]
nop word [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
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
andps xmm2, xmmword [0x1400ae250]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
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
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400ae250]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x10
jl 0x1400258e0
cmp r8d, 0x17
jge 0x140025a20
movsxd rax, r8d
lea r9, [rsp + 0x30]
add r9, rax
mov eax, 0x4ec4ec4f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r8b
sub al, cl
add al, 0x36
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x17
jl 0x1400259f0
lea rax, [rsp + 0x30]
mov rdi, 0xffffffffffffffff
mov rsi, rdi
nop
inc rsi
cmp byte [rax + rsi], bl
jne 0x140025a30
call fcn.14009775c
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rsi
lea r8, [rsp + 0x20]
mov edx, eax
lea rcx, [rbp - 0x38]
call fcn.140001db0
nop
mov esi, Ordinal_26
mov dword [rbp + 0x40], esi
lea rcx, [rbp - 0x38]
call fcn.140002830
test al, al
jne 0x140025e8d
movups xmm0, xmmword [0x1400ae068]
movups xmmword [rsp + 0x48], xmm0
movsd xmm0, qword [0x1400ae078]
movsd qword [rsp + 0x58], xmm0
movzx eax, word [0x1400ae080]
mov word [rsp + 0x60], ax
cmp byte [reloc.WLDAP32.dll_Ordinal_79], 0
je 0x140025c30
mov r8d, ebx
cmp r14d, 2
jl 0x140025bf5
movdqa xmm5, xmmword [0x1400ae1f0]
movdqa xmm4, xmmword [0x1400ae2d0]
movdqa xmm6, xmmword [0x1400ae220]
movdqa xmm0, xmmword [0x1400ae2a0]
movdqa xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x4c]
mov edx, dword [rsp + 0x20]
nop word [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
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
andps xmm2, xmmword [0x1400ae250]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
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
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400ae250]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x18
jl 0x140025af0
cmp r8d, 0x1a
jge 0x140025c30
movsxd rax, r8d
lea r9, [rsp + 0x48]
add r9, rax
mov eax, 0x4ec4ec4f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r8b
sub al, cl
add al, 0x36
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x1a
jl 0x140025c00
lea rax, [rsp + 0x48]
mov rsi, rdi
nop dword [rax + rax]
inc rsi
cmp byte [rax + rsi], 0
jne 0x140025c40
call fcn.14009775c
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rsi
lea r8, [rsp + 0x20]
mov edx, eax
lea rcx, [rbp - 0x58]
call fcn.140001db0
nop
mov esi, 0x7b
mov dword [rbp + 0x40], esi
lea rcx, [rbp - 0x58]
call fcn.140002830
test al, al
jne 0x140025e8d
movups xmm0, xmmword [str.u_rdnSUXRIL]
movups xmmword [rsp + 0x68], xmm0
movsd xmm0, qword [0x1400ae098]
movsd qword [rsp + 0x78], xmm0
movzx eax, word [0x1400ae0a0]
mov word [rbp - 0x80], ax
cmp byte [reloc.WLDAP32.dll_Ordinal_79], 0
je 0x140025e40
mov r8d, ebx
cmp r14d, 2
jl 0x140025e05
movdqa xmm5, xmmword [0x1400ae1f0]
movdqa xmm4, xmmword [0x1400ae2d0]
movdqa xmm6, xmmword [0x1400ae220]
movdqa xmm0, xmmword [0x1400ae2a0]
movdqa xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x6c]
mov edx, dword [rsp + 0x20]
nop word [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
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
andps xmm2, xmmword [0x1400ae250]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
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
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400ae250]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x18
jl 0x140025d00
cmp r8d, 0x1a
jge 0x140025e40
movsxd rax, r8d
lea r9, [rsp + 0x68]
add r9, rax
mov eax, 0x4ec4ec4f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r8b
sub al, cl
add al, 0x36
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x1a
jl 0x140025e10
lea rax, [rsp + 0x68]
inc rdi
cmp byte [rax + rdi], 0
jne 0x140025e45
call fcn.14009775c
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rdi
lea r8, [rsp + 0x20]
mov edx, eax
lea rcx, [rbp - 0x78]
call fcn.140001db0
nop
mov esi, 0x1ff
mov dword [rbp + 0x40], esi
lea rcx, [rbp - 0x78]
call fcn.140002830
test al, al
jne 0x140025e8d
xor dil, dil
jmp 0x140025e90
mov dil, 1
test sil, 4
je 0x140025eed
and esi, 0xfffffffb
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x140025edc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140025ed7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140025ed7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140097c98
movdqa xmm0, xmmword [0x1400ae1d0]
movdqu xmmword [rbp - 0x68], xmm0
mov word [rbp - 0x78], bx
test sil, 2
je 0x140025f4a
and esi, 0xfffffffd
mov rdx, qword [rbp - 0x40]
cmp rdx, 8
jb 0x140025f39
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140025f34
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140025f34
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140097c98
movdqa xmm0, xmmword [0x1400ae1d0]
movdqu xmmword [rbp - 0x48], xmm0
mov word [rbp - 0x58], bx
test sil, 1
je 0x140025f93
mov rdx, qword [rbp - 0x20]
cmp rdx, 8
jb 0x140025f93
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140025f8e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140025f8e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140097c98
test dil, dil
je 0x14002621b
lea rdx, [rbp - 0x18]
call fcn.140026270
mov rdi, rax
movzx eax, byte [rax + 8]
test al, al
je 0x140025fd4
xor byte [rdi], 0x36
xor byte [rdi + 1], 0x37
xor byte [rdi + 2], 0x38
xor byte [rdi + 3], 0x39
xor byte [rdi + 4], 0x3a
xor byte [rdi + 5], 0x3b
xor byte [rdi + 6], 0x3c
xor byte [rdi + 7], 0x3d
xor al, 0x3e
mov byte [rdi + 8], al
lea rdx, [rsp + 0x30]
call fcn.140026240
mov r15, rax
cmp byte [rax + 0x16], 0
je 0x14002615c
cmp r14d, 2
jl 0x140026122
movdqa xmm5, xmmword [0x1400ae1f0]
movdqa xmm4, xmmword [0x1400ae2d0]
movdqa xmm6, xmmword [0x1400ae220]
movdqa xmm0, xmmword [0x1400ae2a0]
movdqa xmmword [rsp + 0x20], xmm0
mov rcx, rax
mov edx, dword [rsp + 0x20]
movd xmm2, ebx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
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
andps xmm2, xmmword [0x1400ae250]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
lea eax, [rbx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
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
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400ae250]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx + 4]
xorps xmm2, xmm0
movd dword [rcx + 4], xmm2
add ebx, 8
lea rcx, [rcx + 8]
cmp ebx, 0x10
jl 0x140026022
cmp ebx, 0x17
jge 0x14002615c
movsxd r8, ebx
add r8, r15
nop dword [rax + rax]
mov eax, 0x4ec4ec4f
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, bl
sub al, cl
add al, 0x36
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0x17
jl 0x140026130
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov esi, dword [rcx + r10 + 0x88]
add rsi, r10
cmp rsi, r10
je 0x1400261e6
mov r9d, dword [rsi + 0x18]
test r9d, r9d
je 0x1400261e6
mov ebx, dword [rsi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
lea rcx, [rbx + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
mov r8d, 0xfe3ca186
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x1400261e1
nop
movsx edx, dl
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx]
lea rcx, [rcx + 1]
test dl, dl
jne 0x1400261c0
cmp r8d, 0xbe52fc29
je 0x1400261eb
test r9d, r9d
jne 0x1400261a0
mov rax, qword [rax]
jmp 0x140026170
mov ecx, dword [rsi + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rsi + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
add rax, r10
mov r9d, reloc.WS2_32.dll_recv
mov r8, rdi
mov rdx, r15
xor ecx, ecx
call rax
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rbx, qword [rsp + 0x150]
movaps xmm6, xmmword [rsp + 0x100]
add rsp, 0x110
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret