Function at 0x14005bd70
Capabilities:
Access peb ldr_data
Encode data using xor
Generate random numbers using a mersenne twister
Get ntdll base address
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x1360]
mov eax, 0x1460
call fcn.140200060
sub rsp, rax
movaps xmmword [rsp + 0x1450], xmm6
movaps xmmword [rsp + 0x1440], xmm7
mov rax, qword [0x14025a0c0]
xor rax, rsp
mov qword [rbp + 0x1330], rax
mov r15, rdx
mov r14, rcx
mov dword [rsp + 0x50], 0
movups xmm0, xmmword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZ]
movups xmmword [rsp + 0x30], xmm0
movsd xmm0, qword [0x140235b88]
movsd qword [rsp + 0x40], xmm0
movzx eax, word [0x140235b90]
mov word [rsp + 0x48], ax
movzx eax, byte [0x140235b92]
mov byte [rsp + 0x4a], al
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], 0
mov qword [rbp - 0x68], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x80], 0
mov dword [rsp + 0x50], 1
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rbp + 0x1324], 0xffffffff
mov dword [rbp - 0x5c], eax
mov edx, 1
nop dword [rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rbp + rdx*4 - 0x5c], eax
inc rdx
cmp rdx, 0x270
jb 0x14005be30
mov dword [rbp - 0x60], 0x270
mov edi, 5
mov esi, 0x80000000
movzx ebx, byte [rsp + 0x24]
lea rcx, [rbp - 0x60]
call fcn.1400b46a0
mov ecx, eax
imul rax, rcx, 0x1b
cmp eax, 0x15
ja 0x14005be94
nop dword [rax]
lea rcx, [rbp - 0x60]
call fcn.1400b46a0
mov ecx, eax
imul rax, rcx, 0x1b
cmp eax, 0x16
jb 0x14005be80
shr rax, 0x20
sub rax, rsi
xor rax, 0xffffffff80000000
movzx r9d, byte [rsp + rax + 0x30]
mov rcx, qword [rbp - 0x70]
mov rdx, qword [rbp - 0x68]
cmp rcx, rdx
jae 0x14005bed4
lea rax, [rcx + 1]
mov qword [rbp - 0x70], rax
lea rax, [rbp - 0x80]
cmp rdx, 0xf
cmova rax, qword [rbp - 0x80]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14005bee6
movzx r8d, bl
mov edx, 1
lea rcx, [rbp - 0x80]
call fcn.1400b23a0
sub rdi, 1
jne 0x14005be65
mov eax, dword [0x140236938]
mov dword [rsp + 0x20], eax
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov edi, dword [rcx + r10 + 0x88]
add rdi, r10
cmp rdi, r10
je 0x14005bf86
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x14005bf86
mov ebx, dword [rdi + 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, 0x6547414f
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x14005bf81
nop
movsx edx, dl
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx]
lea rcx, [rcx + 1]
test dl, dl
jne 0x14005bf60
cmp r8d, 0x415309ae
je 0x14005bf8b
test r9d, r9d
jne 0x14005bf40
mov rax, qword [rax]
jmp 0x14005bf10
mov ecx, dword [rdi + 0x1c]
add rcx, r10
mov eax, dword [rdi + 0x24]
add rax, r10
movzx eax, word [rax + r9*2]
mov r11d, dword [rcx + rax*4]
add r11, r10
xor r8d, r8d
movdqa xmm7, xmmword [0x14023e800]
mov esi, dword [reloc.WS2_32.dll_accept]
cmp esi, 2
jl 0x14005c02e
movdqa xmm3, xmmword [0x14023e780]
movdqa xmm2, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x14023eca0]
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x14023eca0]
shufps xmm2, xmm0, 0xdd
paddd xmm2, xmm3
psrad xmm2, 5
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [str.9999]
psubd xmm3, xmm0
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmmword [0x14023e850]
movd xmm0, dword [rsp + 0x20]
xorps xmm3, xmm0
movd dword [rsp + 0x20], xmm3
jmp 0x14005c072
lea r9, [rsp + 0x20]
nop dword [rax]
nop word [rax + rax]
mov eax, 0x1f7047dd
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x39
movzx eax, r8b
sub al, cl
add al, 0x30
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 4
jl 0x14005c040
lea rcx, [rsp + 0x20]
call r11
movups xmm0, xmmword [0x1402364a0]
movups xmmword [rsp + 0x30], xmm0
movsd xmm0, qword [0x1402364b0]
movsd qword [rsp + 0x40], xmm0
movzx eax, byte [0x1402364b8]
mov byte [rsp + 0x48], al
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov edi, dword [rcx + r10 + 0x88]
add rdi, r10
cmp rdi, r10
je 0x14005c126
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x14005c126
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
lea rcx, [rbx + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
mov r8d, 0x4e20fe73
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x14005c121
nop
movsx ecx, cl
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx]
lea rdx, [rdx + 1]
test cl, cl
jne 0x14005c100
cmp r8d, 0xdc5e867c
je 0x14005c12b
test r9d, r9d
jne 0x14005c0e0
mov rax, qword [rax]
jmp 0x14005c0b0
mov ecx, dword [rdi + 0x1c]
add rcx, r10
mov eax, dword [rdi + 0x24]
add rax, r10
movzx eax, word [rax + r9*2]
mov r11d, dword [rcx + rax*4]
add r11, r10
xor r8d, r8d
cmp esi, 2
jl 0x14005c3c1
movdqa xmm4, xmmword [0x14023eca0]
movdqa xmm5, xmmword [str.9999]
movdqa xmm6, xmmword [0x14023e850]
movdqa xmm2, xmmword [0x14023e780]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm6
movd xmm0, dword [0x1402364a0]
xorps xmm2, xmm0
movd dword [rsp + 0x30], xmm2
movdqa xmm2, xmmword [0x14023e7a0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm6
movd xmm0, dword [rsp + 0x34]
xorps xmm2, xmm0
movd dword [rsp + 0x34], xmm2
movdqa xmm3, xmmword [0x14023e7b0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm3, xmm0
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm6
movd xmm0, dword [rsp + 0x38]
xorps xmm3, xmm0
movd dword [rsp + 0x38], xmm3
movdqa xmm2, xmmword [0x14023e7c0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm6
movd xmm0, dword [rsp + 0x3c]
xorps xmm2, xmm0
movd dword [rsp + 0x3c], xmm2
movdqa xmm3, xmmword [0x14023e7d0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm3, xmm0
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm6
movd xmm0, dword [rsp + 0x40]
xorps xmm3, xmm0
movd dword [rsp + 0x40], xmm3
movdqa xmm2, xmmword [0x14023e7e0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm6
movd xmm0, dword [rsp + 0x44]
xorps xmm2, xmm0
movd dword [rsp + 0x44], xmm2
mov r8d, Ordinal_26
mov eax, r8d
lea r9, [rsp + 0x30]
add r9, rax
nop dword [rax]
mov eax, 0x8fb823ef
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
movzx eax, r8b
sub al, cl
add al, 0x30
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x19
jl 0x14005c3d0
lea rcx, [rsp + 0x30]
call r11
movups xmm0, xmmword [0x14023beb0]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [0x14023bec0]
movups xmmword [rsp + 0x68], xmm1
movzx eax, word [0x14023bed0]
mov word [rsp + 0x78], ax
movzx eax, byte [0x14023bed2]
mov byte [rsp + 0x7a], al
xor r8d, r8d
cmp esi, 2
jl 0x14005c56f
movdqa xmm4, xmmword [0x14023e780]
movdqa xmm3, xmmword [0x14023eca0]
movdqa xmm5, xmmword [str.9999]
movdqa xmm0, xmmword [0x14023e850]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x5c]
mov edx, dword [rsp + 0x30]
nop word [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
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 xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
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, 0x20
jl 0x14005c480
cmp r8d, 0x23
jge 0x14005c5b3
movsxd rax, r8d
lea r9, [rsp + 0x58]
add r9, rax
nop word [rax + rax]
mov eax, 0x8fb823ef
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
movzx eax, r8b
sub al, cl
add al, 0x30
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x23
jl 0x14005c580
lea rdx, [rsp + 0x58]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400b1020
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 0xf
cmova rdx, qword [rbp - 0x80]
mov r8, qword [rbp - 0x70]
mov rcx, rax
call fcn.1400b3130
lea rdx, [0x1400b1200]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 0xf
cmova rdx, qword [rbp - 0x80]
mov r8, r15
mov rcx, r14
call fcn.1400595f0
mov qword [rbp - 0x70], 0
lea rax, [rbp - 0x80]
cmp qword [rbp - 0x68], 0xf
cmova rax, qword [rbp - 0x80]
mov byte [rax], 0
lea rcx, [rbp - 0x80]
call fcn.1400b02e0
mov rcx, qword [rbp + 0x1330]
xor rcx, rsp
call fcn.1401ff5f0
lea r11, [rsp + 0x1460]
mov rbx, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret