Function at 0x140042510
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 + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rdx, qword [0x14013d6b0]
test rdx, rdx
jne 0x1400426f4
mov rax, qword gs:[0x60]
xor r9d, r9d
mov edi, 0x53b2070f
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov r12, qword [rax]
mov rsi, r12
nop
movups xmm0, xmmword [rsi + 0x58]
movd eax, xmm0
sub ax, 8
test r9d, r9d
je 0x1400425ad
psrldq xmm0, 8
mov edx, 0x811c9dc5
movq rcx, xmm0
movzx eax, ax
shr rax, 1
lea r8, [rcx + rax*2]
cmp rcx, r8
je 0x1400425a4
nop
movsx eax, byte [rcx]
add rcx, 2
xor eax, edx
imul edx, eax, 0x1000193
cmp rcx, r8
jne 0x140042590
cmp edx, r9d
jne 0x1400426d5
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 0x1400426d5
mov r8d, dword [rbx + 0x18]
test r8d, r8d
je 0x1400426d5
mov r14d, dword [rbx + 0x20]
nop dword [rax]
nop word [rax + rax]
dec r8d
mov edx, 0x811c9dc5
lea rax, [r14 + r8*4]
mov ecx, dword [rax + r10]
add rcx, r10
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x140042627
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 0x140042610
cmp edx, edi
je 0x140042635
test r8d, r8d
jne 0x1400425f0
jmp 0x1400426d5
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r8*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov edx, dword [rcx + rdx*4]
add rdx, r10
cmp rdx, rbx
jbe 0x1400426ed
lea rax, [r15 + rbx]
cmp rdx, rax
jae 0x1400426ed
movzx eax, byte [rdx]
mov r9d, 0x811c9dc5
mov dword [rbp + 0x30], r9d
mov ecx, r9d
mov dword [rbp + 0x34], ecx
cmp al, 0x2e
je 0x14004269b
nop dword [rax]
movsx eax, al
inc rdx
xor eax, r9d
imul r9d, eax, 0x1000193
movzx eax, byte [rdx]
cmp al, 0x2e
jne 0x140042680
mov dword [rbp + 0x30], r9d
movzx eax, byte [rdx + 1]
inc rdx
test al, al
je 0x1400426c9
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 0x1400426b0
mov dword [rbp + 0x34], ecx
mov rdi, qword [rbp + 0x30]
mov rsi, qword [r12]
shr rdi, 0x20
mov rax, qword [rsi]
mov rsi, rax
cmp rax, r12
je 0x1400426eb
cmp qword [rax + 0x30], 0
jne 0x140042560
xor edx, edx
mov qword [0x14013d6b0], rdx
cmp byte [0x1400ec099], 0
movsd xmm0, qword [str._BSTU]
movzx eax, word [0x1400ec098]
movsd qword [rbp - 0x50], xmm0
mov word [rbp - 0x48], ax
je 0x14004273d
xor byte [rbp - 0x4f], 0x36
xor byte [rbp - 0x4e], 0x37
xor byte [rbp - 0x4d], 0x38
xor byte [rbp - 0x4c], 0x39
xor byte [rbp - 0x4b], 0x3a
xor byte [rbp - 0x4a], 0x3b
xor byte [rbp - 0x49], 0x3c
xor byte [rbp - 0x48], 0x3d
xor byte [rbp - 0x47], 0x3e
mov byte [rbp - 0x50], WSAGetLastError
lea rcx, [rbp - 0x50]
call rdx
mov r13, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x140042cad
mov r8, qword [0x14013d738]
test r8, r8
jne 0x140042926
mov rcx, qword gs:[0x60]
xor r9d, r9d
mov edi, 0xf8f45725
mov rdx, qword [rcx + 0x18]
mov rcx, qword [rdx + 0x10]
mov r12, qword [rcx]
mov rsi, r12
nop dword [rax]
nop word [rax + rax]
movups xmm0, xmmword [rsi + 0x58]
movd eax, xmm0
sub ax, 8
test r9d, r9d
je 0x1400427dd
psrldq xmm0, 8
mov edx, 0x811c9dc5
movq rcx, xmm0
movzx eax, ax
shr rax, 1
lea r8, [rcx + rax*2]
cmp rcx, r8
je 0x1400427d4
nop
movsx eax, byte [rcx]
add rcx, 2
xor eax, edx
imul edx, eax, 0x1000193
cmp rcx, r8
jne 0x1400427c0
cmp edx, r9d
jne 0x140042906
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 0x140042906
mov r8d, dword [rbx + 0x18]
test r8d, r8d
je 0x140042906
mov r14d, dword [rbx + 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 0x140042857
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 0x140042840
cmp edx, edi
je 0x140042865
test r8d, r8d
jne 0x140042820
jmp 0x140042906
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r8*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov r8d, dword [rcx + rdx*4]
add r8, r10
cmp r8, rbx
jbe 0x14004291f
lea rax, [r15 + rbx]
cmp r8, rax
jae 0x14004291f
movzx eax, byte [r8]
mov r9d, 0x811c9dc5
mov dword [rbp + 0x30], r9d
mov ecx, r9d
mov dword [rbp + 0x34], ecx
cmp al, 0x2e
je 0x1400428cc
nop dword [rax + rax]
movsx eax, al
inc r8
xor eax, r9d
imul r9d, eax, 0x1000193
movzx eax, byte [r8]
cmp al, 0x2e
jne 0x1400428b0
mov dword [rbp + 0x30], r9d
movzx eax, byte [r8 + 1]
inc r8
test al, al
je 0x1400428fa
nop dword [rax + rax]
movsx eax, al
lea r8, [r8 + 1]
xor eax, ecx
imul ecx, eax, 0x1000193
movzx eax, byte [r8]
test al, al
jne 0x1400428e0
mov dword [rbp + 0x34], ecx
mov rdi, qword [rbp + 0x30]
mov rsi, qword [r12]
shr rdi, 0x20
mov rax, qword [rsi]
mov rsi, rax
cmp rax, r12
je 0x14004291c
cmp qword [rax + 0x30], 0
jne 0x140042790
xor r8d, r8d
mov qword [0x14013d738], r8
cmp byte [0x1400ebde1], 0
movups xmm0, xmmword [str.BfMHBuSXP2_7__]
movzx eax, word [0x1400ebde0]
mov word [rbp - 0x18], ax
movups xmmword [rbp - 0x30], xmm0
movsd xmm0, qword [0x1400ebdd8]
movsd qword [rbp - 0x20], xmm0
je 0x140042ad1
xor r9d, r9d
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x140042a8e
movdqa xmm0, xmmword [0x1400f0d80]
lea rcx, [rbp - 0x2c]
movdqa xmm4, xmmword [0x1400f0d10]
movdqa xmm3, xmmword [0x1400f1010]
movdqa xmm5, xmmword [0x1400f0d30]
movdqa xmmword [rbp - 0x40], xmm0
mov edx, dword [rbp - 0x40]
movaps xmmword [rsp + 0x60], xmm6
movdqa xmm6, xmmword [0x1400f0d40]
nop
movd xmm2, r9d
lea eax, [r9 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm4
add r9d, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movd dword [rcx - 0xc], xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r9d, 0x18
jl 0x1400429a0
movaps xmm6, xmmword [rsp + 0x60]
cmp r9d, 0x1a
jge 0x140042ad1
movsxd rax, r9d
lea r10, [rbp - 0x30]
add r10, rax
nop dword [rax + rax]
mov eax, 0x5397829d
lea r10, [r10 + 1]
imul r9d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r9b
inc r9d
sub al, cl
add al, 0x35
xor byte [r10 - 1], al
cmp r9d, 0x1a
jl 0x140042aa0
lea rdx, [rbp - 0x30]
mov rcx, r13
call r8
test rax, rax
je 0x140042cad
cmp qword [0x14013d768], 0
jne 0x140042ca6
mov rax, qword gs:[0x60]
xor r9d, r9d
mov edi, 0x9bc5a608
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov r12, qword [rax]
mov rsi, r12
movups xmm0, xmmword [rsi + 0x58]
movd eax, xmm0
sub ax, 8
test r9d, r9d
je 0x140042b5d
psrldq xmm0, 8
mov edx, 0x811c9dc5
movq rcx, xmm0
movzx eax, ax
shr rax, 1
lea r8, [rcx + rax*2]
cmp rcx, r8
je 0x140042b54
movsx eax, byte [rcx]
add rcx, 2
xor eax, edx
imul edx, eax, 0x1000193
cmp rcx, r8
jne 0x140042b40
cmp edx, r9d
jne 0x140042c86
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 0x140042c86
mov r8d, dword [rbx + 0x18]
test r8d, r8d
je 0x140042c86
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 0x140042bd7
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 0x140042bc0
cmp edx, edi
je 0x140042be5
test r8d, r8d
jne 0x140042ba0
jmp 0x140042c86
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r8*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov r8d, dword [rcx + rdx*4]
add r8, r10
cmp r8, rbx
jbe 0x140042c9f
lea rax, [r15 + rbx]
cmp r8, rax
jae 0x140042c9f
movzx eax, byte [r8]
mov r9d, 0x811c9dc5
mov dword [rbp + 0x30], r9d
mov ecx, r9d
mov dword [rbp + 0x34], ecx
cmp al, 0x2e
je 0x140042c4c
nop dword [rax + rax]
movsx eax, al
inc r8
xor eax, r9d
imul r9d, eax, 0x1000193
movzx eax, byte [r8]
cmp al, 0x2e
jne 0x140042c30
mov dword [rbp + 0x30], r9d
movzx eax, byte [r8 + 1]
inc r8
test al, al
je 0x140042c7a
nop dword [rax + rax]
movsx eax, al
lea r8, [r8 + 1]
xor eax, ecx
imul ecx, eax, 0x1000193
movzx eax, byte [r8]
test al, al
jne 0x140042c60
mov dword [rbp + 0x34], ecx
mov rdi, qword [rbp + 0x30]
mov rsi, qword [r12]
shr rdi, 0x20
mov rax, qword [rsi]
mov rsi, rax
cmp rax, r12
je 0x140042c9c
cmp qword [rax + 0x30], 0
jne 0x140042b11
xor r8d, r8d
mov qword [0x14013d768], r8
mov eax, 1
jmp 0x140042caf
xor eax, eax
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret