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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0x100
mov rax, qword [0x1800fd258]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov dword [rbp - 0x71], 0x848393a4
mov dword [rbp - 0x6d], 0xc7be8b8b
mov dword [rbp - 0x69], 0x9e848ca5
mov word [rbp - 0x65], 0x100
xor ebx, ebx
mov ecx, ebx
nop dword [rax]
lea eax, [rcx - 0x20]
xor byte [rbp + rcx - 0x71], al
inc rcx
cmp rcx, 0xc
jb 0x18005d590
mov byte [rbp - 0x64], bl
xorps xmm0, xmm0
movups xmmword [rbp - 0x21], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x11], xmm1
lea rax, [rbp - 0x71]
mov rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp byte [rax + r8], bl
jne 0x18005d5c0
lea rdx, [rbp - 0x71]
lea rcx, [rbp - 0x21]
call fcn.180043de0
nop
lea rax, [rbp - 1]
mov qword [rbp - 0x41], rax
mov dword [rbp - 0x71], 0x8681888c
mov dword [rbp - 0x6d], 0x83968a
mov byte [rbp - 0x69], 1
mov rcx, rbx
nop dword [rax]
nop dword [rax + rax]
lea eax, [rcx - 0x20]
xor byte [rbp + rcx - 0x71], al
inc rcx
cmp rcx, 7
jb 0x18005d600
mov byte [rbp - 0x69], 0
xorps xmm0, xmm0
movups xmmword [rbp - 1], xmm0
mov qword [rbp + 0xf], rbx
mov qword [rbp + 0x17], rbx
lea rax, [rbp - 0x71]
mov r8, rdi
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x18005d630
lea rdx, [rbp - 0x71]
lea rcx, [rbp - 1]
call fcn.180043de0
nop
movdqa xmm0, xmmword [0x1800c7a00]
movdqu xmmword [rbp - 0x39], xmm0
mov byte [rbp - 0x29], 1
mov rcx, rbx
nop dword [rax]
lea eax, [rcx - 0x20]
xor byte [rbp + rcx - 0x39], al
inc rcx
cmp rcx, 0xf
jb 0x18005d660
mov byte [rbp - 0x29], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], rbx
mov qword [rbp - 0x79], rbx
lea rax, [rbp - 0x39]
mov r8, rdi
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x18005d690
lea rdx, [rbp - 0x39]
lea rcx, [rsp + 0x28]
call fcn.180043de0
nop
lea r8, [rbp - 1]
lea rdx, [rsp + 0x28]
lea rcx, [rbp + 0x1f]
call fcn.18005dd80
nop
lea rcx, [0x1800ff560]
call fcn.180004ba0
lea rdx, [rbp + 0x1f]
lea rcx, [rbp - 0x61]
call fcn.18000a710
mov rdx, rax
lea rcx, [0x1800ff560]
call fcn.180006d20
cmp byte [0x1800ff798], 0
jne 0x18005d7fc
xorps xmm0, xmm0
movups xmmword [rbp - 0x61], xmm0
mov qword [rbp - 0x51], rbx
mov rdi, qword [0x1800ff7b0]
lea rsi, [0x1800ff7a0]
cmp qword [0x1800ff7b8], 0x10
cmovae rsi, qword [0x1800ff7a0]
movabs rbx, 0x7fffffffffffffff
cmp rdi, rbx
ja 0x18005dcd5
mov eax, reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x49], rax
cmp rdi, 0x10
jae 0x18005d749
mov qword [rbp - 0x51], rdi
movups xmm0, xmmword [rsi]
movups xmmword [rbp - 0x61], xmm0
jmp 0x18005d790
mov rax, rdi
or rax, 0xf
cmp rax, rbx
ja 0x18005d764
mov rbx, rax
mov ecx, reloc.WLDAP32.dll_Ordinal_22
cmp rax, rcx
cmovb rbx, rcx
lea rdx, [rbx + 1]
lea rcx, [rbp - 0x61]
call fcn.18000b490
mov qword [rbp - 0x61], rax
mov qword [rbp - 0x51], rdi
mov qword [rbp - 0x49], rbx
lea r8, [rdi + 1]
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rbp - 0x49]
lea r8, [rbp - 0x21]
cmp qword [rbp - 9], 0x10
cmovae r8, qword [rbp - 0x21]
lea rdx, [rbp - 0x61]
cmp rax, 0x10
cmovae rdx, qword [rbp - 0x61]
xor ecx, ecx
lea r9d, [rcx + 0x10]
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rdx, qword [rbp - 0x49]
cmp rdx, 0x10
jb 0x18005db9a
inc rdx
mov rcx, qword [rbp - 0x61]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005db95
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005db95
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov byte [0x1800ff016], 1
mov rdx, qword [0x1800ffc58]
test rdx, rdx
jne 0x18005d8c7
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov r15, qword [rax]
mov r11, r15
nop word [rax + rax]
mov r9, qword [r11 + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov esi, dword [rax + r9 + 0x88]
add rsi, r9
cmp rsi, r9
je 0x18005d8a7
mov r8d, dword [rsi + 0x18]
test r8d, r8d
je 0x18005d8a7
mov r14d, dword [rsi + 0x20]
nop word [rax + rax]
dec r8d
lea rax, [r14 + r8*4]
mov ecx, dword [rax + r9]
add rcx, r9
mov edx, 0x811c9dc5
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x18005d8a2
nop dword [rax]
movsx eax, al
xor eax, edx
imul edx, eax, 0x1000193
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
test al, al
jne 0x18005d880
cmp edx, 0xe463da3c
je 0x18005d96a
test r8d, r8d
jne 0x18005d860
mov rax, qword [r11]
mov r11, rax
cmp rax, r15
je 0x18005d8bd
cmp qword [rax + 0x30], 0
jne 0x18005d830
mov rdx, rbx
mov qword [0x1800ffc58], rdx
movdqa xmm0, xmmword [0x1800c7a90]
movdqu xmmword [rbp - 0x61], xmm0
mov dword [rbp - 0x51], 0x9c91dc83
mov dword [rbp - 0x4d], 0x93d89086
mov dword [rbp - 0x49], 0x1009594
mov rcx, rbx
nop dword [rax]
lea eax, [rcx - 0x20]
xor byte [rbp + rcx - 0x61], al
inc rcx
cmp rcx, 0x1a
jb 0x18005d8f0
mov byte [rbp - 0x46], 0
lea rcx, [rbp - 0x61]
call rdx
mov rcx, rax
test rax, rax
jne 0x18005d986
lea r8, [rbp - 0x21]
cmp qword [rbp - 9], 0x10
cmovae r8, qword [rbp - 0x21]
movdqa xmm0, xmmword [0x1800c7b80]
movdqu xmmword [rbp - 0x61], xmm0
mov dword [rbp - 0x51], 0x92819494
mov dword [rbp - 0x4d], 0x9b978080
mov dword [rbp - 0x49], 0x9f9b8391
mov word [rbp - 0x45], __WSAFDIsSet
mov byte [rbp - 0x43], 1
nop dword [rax]
lea eax, [rbx - 0x20]
xor byte [rbp + rbx - 0x61], al
inc rbx
cmp rbx, 0x1d
jb 0x18005d950
mov byte [rbp - 0x43], 0
lea rdx, [rbp - 0x61]
jmp 0x18005d9d8
mov ecx, dword [rsi + 0x1c]
add rcx, r9
mov eax, dword [rsi + 0x24]
add rax, r9
movzx eax, word [rax + r8*2]
mov edx, dword [rcx + rax*4]
add rdx, r9
jmp 0x18005d8c0
add rcx, qword [0x1800fd0c8]
mov qword [0x1800ff0a0], rcx
jne 0x18005d9ed
lea r8, [rbp - 0x21]
cmp qword [rbp - 9], 0x10
cmovae r8, qword [rbp - 0x21]
mov dword [rbp - 0x71], 0x91c28e8e
mov dword [rbp - 0x6d], 0x92899681
mov dword [rbp - 0x69], 0x8f8a9a
mov byte [rbp - 0x65], 1
nop dword [rax]
lea eax, [rbx - 0x20]
xor byte [rbp + rbx - 0x71], al
inc rbx
cmp rbx, 0xb
jb 0x18005d9c0
mov byte [rbp - 0x65], 0
lea rdx, [rbp - 0x71]
mov r9d, reloc.WS2_32.dll_recv
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor bl, bl
jmp 0x18005dc1c
mov dword [rbp - 0x41], 0xd0d1d3d1
mov dword [rbp - 0x3d], 0x100ddd4
mov rcx, rbx
nop
lea eax, [rcx - 0x20]
xor byte [rbp + rcx - 0x41], al
inc rcx
cmp rcx, 6
jb 0x18005da00
mov byte [rbp - 0x3a], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x61], xmm0
mov qword [rbp - 0x51], rbx
mov qword [rbp - 0x49], rbx
lea rax, [rbp - 0x41]
inc rdi
cmp byte [rax + rdi], 0
jne 0x18005da27
mov r8, rdi
lea rdx, [rbp - 0x41]
lea rcx, [rbp - 0x61]
call fcn.180043de0
lea r8, [rbp - 0x61]
lea rdx, [rbp - 0x39]
lea rcx, [0x1800ff560]
call fcn.180007ba0
nop
lea r9, [rsp + 0x20]
mov r8, qword [rbp - 0x31]
mov rdx, qword [rbp - 0x39]
lea rcx, [rbp - 1]
call fcn.18004efc0
nop
lea rdx, [rbp - 1]
cmp qword [rbp + 0x17], 0x10
cmovae rdx, qword [rbp - 1]
mov r8, qword [rbp + 0xf]
lea rcx, [0x1800fd0d8]
call fcn.18000b310
cmp byte [0x1800ff798], 0
jne 0x18005db9e
lea rdx, [0x1800ff7a0]
lea rcx, [rbp - 0x61]
call fcn.18000a710
lea r8, [rbp - 0x21]
cmp qword [rbp - 9], 0x10
cmovae r8, qword [rbp - 0x21]
lea rdx, [rbp - 0x61]
cmp qword [rbp - 0x49], 0x10
cmovae rdx, qword [rbp - 0x61]
xor ecx, ecx
lea r9d, [rcx + 0x10]
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rdx, qword [rbp - 0x49]
cmp rdx, 0x10
jb 0x18005db0d
inc rdx
mov rcx, qword [rbp - 0x61]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005db08
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005db08
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b593c
movdqa xmm0, xmmword [0x1800c65d0]
movdqu xmmword [rbp - 0x51], xmm0
mov byte [rbp - 0x61], 0
mov rdx, qword [rbp + 0x17]
cmp rdx, 0x10
jb 0x18005db5d
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005db57
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005db57
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b593c
nop
mov rcx, qword [rbp - 0x39]
test rcx, rcx
je 0x18005db9a
mov rdx, qword [rbp - 0x29]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005db95
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005db95
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b593c
xor bl, bl
jmp 0x18005dc1c
mov rdx, qword [rbp + 0x17]
cmp rdx, 0x10
jb 0x18005dbdd
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005dbd7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005dbd7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b593c
nop
mov rcx, qword [rbp - 0x39]
test rcx, rcx
je 0x18005dc1a
mov rdx, qword [rbp - 0x29]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005dc15
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005dc15
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b593c
mov bl, 1
mov rdx, qword [rbp + 0x37]
cmp rdx, 0x10
jb 0x18005dc5a
inc rdx
mov rcx, qword [rbp + 0x1f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005dc55
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005dc55
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b593c
movdqa xmm0, xmmword [0x1800c65d0]
movdqu xmmword [rbp + 0x2f], xmm0
mov byte [rbp + 0x1f], 0
mov rdx, qword [rbp - 9]
cmp rdx, 0x10
jb 0x18005dca9
inc rdx
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005dca4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005dca4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b593c
movzx eax, bl
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.1800b5ef0
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.1800030f0
nop
int3