Function at 0x140047310
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
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov rdx, qword [0x140203c50]
test rdx, rdx
jne 0x140047504
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 dword [rax]
nop word [rax + rax]
movups xmm0, xmmword [rsi + 0x58]
movd eax, xmm0
movups xmmword [rbp - 0x29], xmm0
sub ax, 8
test r9d, r9d
je 0x1400473bd
mov rcx, qword [rbp - 0x21]
mov edx, 0x811c9dc5
movzx eax, ax
shr rax, 1
lea r8, [rcx + rax*2]
cmp rcx, r8
je 0x1400473b4
nop dword [rax]
movsx eax, byte [rcx]
add rcx, 2
xor eax, edx
imul edx, eax, 0x1000193
cmp rcx, r8
jne 0x1400473a0
cmp edx, r9d
jne 0x1400474e5
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 0x1400474e5
mov r8d, dword [rbx + 0x18]
test r8d, r8d
je 0x1400474e5
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 0x140047437
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 0x140047420
cmp edx, edi
je 0x140047445
test r8d, r8d
jne 0x140047400
jmp 0x1400474e5
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 0x1400474fd
lea rax, [r15 + rbx]
cmp rdx, rax
jae 0x1400474fd
movzx eax, byte [rdx]
mov r9d, 0x811c9dc5
mov dword [rbp + 0x67], r9d
mov ecx, r9d
mov dword [rbp + 0x6b], ecx
cmp al, 0x2e
je 0x1400474ab
nop dword [rax]
movsx eax, al
inc rdx
xor eax, r9d
imul r9d, eax, 0x1000193
movzx eax, byte [rdx]
cmp al, 0x2e
jne 0x140047490
mov dword [rbp + 0x67], r9d
movzx eax, byte [rdx + 1]
inc rdx
test al, al
je 0x1400474d9
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 0x1400474c0
mov dword [rbp + 0x6b], ecx
mov rdi, qword [rbp + 0x67]
mov rsi, qword [r12]
shr rdi, 0x20
mov rax, qword [rsi]
mov rsi, rax
cmp rax, r12
je 0x1400474fb
cmp qword [rax + 0x30], 0
jne 0x140047370
xor edx, edx
mov qword [0x140203c50], rdx
cmp byte [0x1400e0ed9], 0
movsd xmm0, qword [str._BSTU]
movzx eax, word [0x1400e0ed8]
movsd qword [rbp - 0x39], xmm0
mov word [rbp - 0x31], ax
je 0x14004754d
xor byte [rbp - 0x38], 0x36
xor byte [rbp - 0x37], 0x37
xor byte [rbp - 0x36], 0x38
xor byte [rbp - 0x35], 0x39
xor byte [rbp - 0x34], 0x3a
xor byte [rbp - 0x33], 0x3b
xor byte [rbp - 0x32], 0x3c
xor byte [rbp - 0x31], 0x3d
xor byte [rbp - 0x30], 0x3e
mov byte [rbp - 0x39], WSAGetLastError
lea rcx, [rbp - 0x39]
call rdx
mov r13, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x140047b1d
mov r8, qword [0x140203c70]
test r8, r8
jne 0x140047736
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
movups xmmword [rbp - 0x29], xmm0
sub ax, 8
test r9d, r9d
je 0x1400475ed
mov rcx, qword [rbp - 0x21]
mov edx, 0x811c9dc5
movzx eax, ax
shr rax, 1
lea r8, [rcx + rax*2]
cmp rcx, r8
je 0x1400475e4
nop dword [rax]
movsx eax, byte [rcx]
add rcx, 2
xor eax, edx
imul edx, eax, 0x1000193
cmp rcx, r8
jne 0x1400475d0
cmp edx, r9d
jne 0x140047716
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 0x140047716
mov r8d, dword [rbx + 0x18]
test r8d, r8d
je 0x140047716
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 0x140047667
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 0x140047650
cmp edx, edi
je 0x140047675
test r8d, r8d
jne 0x140047630
jmp 0x140047716
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 0x14004772f
lea rax, [r15 + rbx]
cmp r8, rax
jae 0x14004772f
movzx eax, byte [r8]
mov r9d, 0x811c9dc5
mov dword [rbp + 0x67], r9d
mov ecx, r9d
mov dword [rbp + 0x6b], ecx
cmp al, 0x2e
je 0x1400476dc
nop dword [rax + rax]
movsx eax, al
inc r8
xor eax, r9d
imul r9d, eax, 0x1000193
movzx eax, byte [r8]
cmp al, 0x2e
jne 0x1400476c0
mov dword [rbp + 0x67], r9d
movzx eax, byte [r8 + 1]
inc r8
test al, al
je 0x14004770a
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 0x1400476f0
mov dword [rbp + 0x6b], ecx
mov rdi, qword [rbp + 0x67]
mov rsi, qword [r12]
shr rdi, 0x20
mov rax, qword [rsi]
mov rsi, rax
cmp rax, r12
je 0x14004772c
cmp qword [rax + 0x30], 0
jne 0x1400475a0
xor r8d, r8d
mov qword [0x140203c70], r8
cmp byte [0x1400e0e49], 0
movups xmm0, xmmword [str.BfMHBuSXP2_7__]
movzx eax, word [0x1400e0e48]
mov word [rbp - 1], ax
movups xmmword [rbp - 0x19], xmm0
movsd xmm0, qword [0x1400e0e40]
movsd qword [rbp - 9], xmm0
je 0x140047934
xor r9d, r9d
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1400478f4
movdqa xmm0, xmmword [str.5555555555555555]
lea rcx, [rbp - 0x15]
movdqa xmm5, xmmword [0x1400e12f0]
mov eax, 5
movdqa xmm4, xmmword [0x1400e16c0]
movaps xmmword [rsp + 0x80], xmm6
movaps xmmword [rsp + 0x70], xmm7
movdqa xmm7, xmmword [0x1400e1320]
movd xmm6, eax
mov eax, Ordinal_32
movaps xmmword [rsp + 0x60], xmm8
movdqa xmmword [rbp - 0x29], xmm0
mov edx, dword [rbp - 0x29]
movd xmm8, eax
nop dword [rax + rax]
movd xmm2, r9d
lea eax, [r9 + 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 r9d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
pand xmm2, xmmword [0x1400e1360]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
pxor 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, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1400e1360]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
pxor xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r9d, 0x18
jl 0x1400477d0
movaps xmm8, xmmword [rsp + 0x60]
movaps xmm7, xmmword [rsp + 0x70]
movaps xmm6, xmmword [rsp + 0x80]
cmp r9d, 0x1a
jge 0x140047934
movsxd rax, r9d
lea r10, [rbp - 0x19]
add r10, rax
nop
mov eax, 0x8d3dcb09
lea r10, [r10 + 1]
imul r9d
add edx, r9d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, r9b
inc r9d
sub al, cl
add al, 0x35
xor byte [r10 - 1], al
cmp r9d, 0x1a
jl 0x140047900
lea rdx, [rbp - 0x19]
mov rcx, r13
call r8
test rax, rax
je 0x140047b1d
cmp qword [0x140203c78], 0
jne 0x140047b16
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
nop dword [rax]
nop dword [rax + rax]
movups xmm0, xmmword [rsi + 0x58]
movd eax, xmm0
movups xmmword [rbp - 0x29], xmm0
sub ax, 8
test r9d, r9d
je 0x1400479cd
mov rcx, qword [rbp - 0x21]
mov edx, 0x811c9dc5
movzx eax, ax
shr rax, 1
lea r8, [rcx + rax*2]
cmp rcx, r8
je 0x1400479c4
nop dword [rax]
movsx eax, byte [rcx]
add rcx, 2
xor eax, edx
imul edx, eax, 0x1000193
cmp rcx, r8
jne 0x1400479b0
cmp edx, r9d
jne 0x140047af6
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 0x140047af6
mov r8d, dword [rbx + 0x18]
test r8d, r8d
je 0x140047af6
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 0x140047a47
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 0x140047a30
cmp edx, edi
je 0x140047a55
test r8d, r8d
jne 0x140047a10
jmp 0x140047af6
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 0x140047b0f
lea rax, [r15 + rbx]
cmp r8, rax
jae 0x140047b0f
movzx eax, byte [r8]
mov r9d, 0x811c9dc5
mov dword [rbp + 0x67], r9d
mov ecx, r9d
mov dword [rbp + 0x6b], ecx
cmp al, 0x2e
je 0x140047abc
nop dword [rax + rax]
movsx eax, al
inc r8
xor eax, r9d
imul r9d, eax, 0x1000193
movzx eax, byte [r8]
cmp al, 0x2e
jne 0x140047aa0
mov dword [rbp + 0x67], r9d
movzx eax, byte [r8 + 1]
inc r8
test al, al
je 0x140047aea
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 0x140047ad0
mov dword [rbp + 0x6b], ecx
mov rdi, qword [rbp + 0x67]
mov rsi, qword [r12]
shr rdi, 0x20
mov rax, qword [rsi]
mov rsi, rax
cmp rax, r12
je 0x140047b0c
cmp qword [rax + 0x30], 0
jne 0x140047980
xor r8d, r8d
mov qword [0x140203c78], r8
mov eax, 1
jmp 0x140047b1f
xor eax, eax
lea r11, [rsp + 0x90]
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