Function at 0x180011b50
Capabilities:
Contain obfuscated stackstrings
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xe0
mov rdi, rcx
cmp edx, 1
jne 0x1800121b0
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
cmp byte [0x1800958f4], 0
jne 0x1800121b0
mov qword [rsp + 0x100], r14
lea rax, [rbp + 0x2f]
mov byte [0x1800958f4], 1
mov cl, reloc.WS2_32.dll_ntohs
mov dword [rbp + 0x3c], 0xf000f7b
mov dword [rbp + 0x38], 0x6e6b2164
mov dword [rbp + 0x34], 0x60606722
mov dword [rbp + 0x30], 0x76616061
mov byte [rbp + 0x2f], WSASetLastError
nop word [rax + rax]
xor byte [rax], cl
inc rax
lea rcx, [rbp + 0x3e]
cmp rax, rcx
je 0x180011bd4
movzx ecx, byte [rbp + 0x3f]
jmp 0x180011bc0
mov r14, 0xffffffffffffffff
mov byte [rbp + 0x3e], 1
mov r8, r14
lea rax, [rbp + 0x2f]
inc r8
cmp byte [rax + r8], 0
jne 0x180011be6
lea rdx, [rbp + 0x2f]
lea rcx, [0x180094470]
call fcn.180013ad0
mov eax, Ordinal_46
mov dword [0x1800958cc], 0x99
mov ecx, 5
mov word [rbp + 0x47], ax
lea rax, [rbp + 0x47]
mov byte [0x1800958a2], 1
mov byte [rbp + 0x51], 0
mov word [rbp + 0x53], cx
mov dword [rbp + 0x4d], 0x5006e
mov dword [rbp + 0x49], 0x640075
nop dword [rax]
xor word [rax], cx
add rax, 2
lea rcx, [rbp + 0x51]
cmp rax, rcx
je 0x180011c56
movzx ecx, word [rbp + 0x53]
jmp 0x180011c40
mov byte [rbp + 0x51], 1
lea rax, [rbp + 0x47]
mov rdx, r14
inc rdx
cmp word [rax + rdx*2], 0
jne 0x180011c61
mov rax, qword [reloc.WS2_32.dll_getsockopt]
mov qword [rsp + 0xf8], rsi
cmp rdx, rax
ja 0x180011cc4
cmp rax, 8
mov qword [0x1800943f8], rdx
lea rsi, [0x1800943e8]
mov qword [rsp + 0xf0], rbx
cmovae rsi, qword [0x1800943e8]
lea rbx, [rdx + rdx]
mov rcx, rsi
lea rdx, [rbp + 0x47]
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
xor eax, eax
mov word [rbx + rsi], ax
mov rbx, qword [rsp + 0xf0]
jmp 0x180011cd4
lea r9, [rbp + 0x47]
lea rcx, [0x1800943e8]
call fcn.180008320
mov rax, qword gs:[0x60]
mov rsi, qword [rsp + 0xf8]
mov rcx, qword [rax + 0x18]
mov r8, qword [rcx + 0x18]
mov rax, r8
mov rcx, qword [rax + 0x30]
test rcx, rcx
je 0x180011d17
lea rdx, [rax + 8]
cmp rcx, rdi
jne 0x180011d0f
mov rcx, qword [rax]
mov rax, qword [rdx]
mov qword [rax], rcx
mov qword [rcx + 8], rax
mov rax, qword [rdx]
cmp rax, r8
jne 0x180011cf0
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov r8, qword [rcx + 0x28]
mov rax, r8
nop dword [rax + rax]
mov rcx, qword [rax + 0x20]
test rcx, rcx
je 0x180011d57
lea rdx, [rax + 8]
cmp rcx, rdi
jne 0x180011d4f
mov rcx, qword [rax]
mov rax, qword [rdx]
mov qword [rax], rcx
mov qword [rcx + 8], rax
mov rax, qword [rdx]
cmp rax, r8
jne 0x180011d30
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov r8, qword [rcx + 0x38]
mov rax, r8
nop dword [rax + rax]
mov rcx, qword [rax + 0x10]
test rcx, rcx
je 0x180011d97
lea rdx, [rax + 8]
cmp rcx, rdi
jne 0x180011d8f
mov rcx, qword [rax]
mov rax, qword [rdx]
mov qword [rax], rcx
mov qword [rcx + 8], rax
mov rax, qword [rdx]
cmp rax, r8
jne 0x180011d70
lea rcx, str._______________________________________________________________n
call fcn.180020ac0
mov rax, qword [0x180095930]
xor ecx, ecx
mov qword [0x1800958c0], rdi
mov dword [rax], ecx
mov word [rax + 4], cx
mov byte [rax + 6], cl
call fcn.18001bc40
cmp byte [0x1800958a5], 1
jne 0x180011e72
mov dword [rbp - 0x4a], 0x900093b
lea rax, [rbp - 0x51]
mov cl, 9
mov dword [rbp - 0x4e], 0x3a656c67
mov word [rbp - 0x50], 0x7b6c
mov byte [rbp - 0x51], 0x62
nop dword [rax]
xor byte [rax], cl
inc rax
lea rcx, [rbp - 0x48]
cmp rax, rcx
je 0x180011e04
movzx ecx, byte [rbp - 0x47]
jmp 0x180011df0
mov byte [rbp - 0x48], 1
lea rax, [rbp - 1]
mov dword [rbp + 9], 0xc000c3e
mov cl, listen
mov dword [rbp + 5], 0x6960654a
mov dword [rbp + 1], 0x69786d69
mov word [rbp - 1], 0x7e4f
nop dword [rax]
xor byte [rax], cl
inc rax
lea rcx, [rbp + 0xb]
cmp rax, rcx
je 0x180011e44
movzx ecx, byte [rbp + 0xc]
jmp 0x180011e30
lea rcx, [rbp - 0x51]
mov byte [rbp + 0xb], 1
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp - 1]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea r8, [0x1800958a8]
lea rdx, [0x180011480]
jmp 0x18001215d
cmp byte [0x1800958a2], 1
jne 0x180011f3f
mov dword [rbp - 0x65], 0x600066a
lea rax, [rbp - 0x69]
mov cl, 6
mov dword [rbp - 0x69], 0x6a627248
nop dword [rax]
nop word [rax + rax]
xor byte [rax], cl
inc rax
lea rcx, [rbp - 0x63]
cmp rax, rcx
je 0x180011eb4
movzx ecx, byte [rbp - 0x62]
jmp 0x180011ea0
mov byte [rbp - 0x63], 1
lea rax, [rbp - 0x21]
mov dword [rbp - 0x18], 0xb000b6e
mov cl, 0xb
mov dword [rbp - 0x1c], 0x67624d6f
mov dword [rbp - 0x20], 0x6a6e597f
mov byte [rbp - 0x21], 0x45
nop word [rax + rax]
xor byte [rax], cl
inc rax
lea rcx, [rbp - 0x16]
cmp rax, rcx
je 0x180011ef4
movzx ecx, byte [rbp - 0x15]
jmp 0x180011ee0
lea rcx, [rbp - 0x69]
mov byte [rbp - 0x16], 1
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp - 0x21]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
lea r8, [0x1800958b0]
lea rdx, [0x180010f10]
cmove rax, r14
mov rcx, rax
mov qword [0x180095900], rax
call fcn.18001bcd0
mov rcx, qword [0x180095900]
jmp 0x18001217a
cmp byte [0x1800958a3], 1
jne 0x180011ff2
mov dword [rbp - 0x3a], 0x900093b
lea rax, [rbp - 0x41]
mov cl, 9
mov dword [rbp - 0x3e], 0x3a656c67
mov word [rbp - 0x40], 0x7b6c
mov byte [rbp - 0x41], 0x62
nop word [rax + rax]
xor byte [rax], cl
inc rax
lea rcx, [rbp - 0x38]
cmp rax, rcx
je 0x180011f84
movzx ecx, byte [rbp - 0x37]
jmp 0x180011f70
mov byte [rbp - 0x38], 1
lea rax, [rbp + 0xf]
mov dword [rbp + 0x19], 0xc000c4d
mov cl, listen
mov dword [rbp + 0x15], 0x6960654a
mov dword [rbp + 0x11], 0x69786d69
mov word [rbp + 0xf], 0x7e4f
nop dword [rax]
xor byte [rax], cl
inc rax
lea rcx, [rbp + 0x1b]
cmp rax, rcx
je 0x180011fc4
movzx ecx, byte [rbp + 0x1c]
jmp 0x180011fb0
lea rcx, [rbp - 0x41]
mov byte [rbp + 0x1b], 1
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp + 0xf]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea r8, [0x1800958b8]
lea rdx, [0x180010560]
jmp 0x18001215d
cmp byte [0x1800958a0], 1
jne 0x1800120bf
mov dword [rbp - 0x5c], 0x7000735
lea rax, [rbp - 0x61]
mov cl, 7
mov dword [rbp - 0x60], 0x34756274
mov byte [rbp - 0x61], 0x52
nop word [rax + rax]
xor byte [rax], cl
inc rax
lea rcx, [rbp - 0x5a]
cmp rax, rcx
je 0x180012034
movzx ecx, byte [rbp - 0x59]
jmp 0x180012020
mov byte [rbp - 0x5a], 1
lea rax, [rbp - 0x11]
mov dword [rbp - 8], 0xb000b7c
mov cl, 0xb
mov dword [rbp - 0xc], 0x646f6562
mov dword [rbp - 0x10], 0x5c7c6463
mov byte [rbp - 0x11], 0x58
nop word [rax + rax]
xor byte [rax], cl
inc rax
lea rcx, [rbp - 6]
cmp rax, rcx
je 0x180012074
movzx ecx, byte [rbp - 5]
jmp 0x180012060
lea rcx, [rbp - 0x61]
mov byte [rbp - 6], 1
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp - 0x11]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
lea r8, [0x180095898]
lea rdx, [0x180011970]
cmove rax, r14
mov rcx, rax
mov qword [0x1800958f8], rax
call fcn.18001bcd0
mov rcx, qword [0x1800958f8]
jmp 0x18001217a
mov dword [rbp - 0x2a], 0x900093b
lea rax, [rbp - 0x31]
mov cl, 9
mov dword [rbp - 0x2e], 0x3a656c67
mov word [rbp - 0x30], 0x7b6c
mov byte [rbp - 0x31], 0x62
nop dword [rax]
xor byte [rax], cl
inc rax
lea rcx, [rbp - 0x28]
cmp rax, rcx
je 0x1800120f4
movzx ecx, byte [rbp - 0x27]
jmp 0x1800120e0
mov byte [rbp - 0x28], 1
lea rax, [rbp + 0x1f]
mov dword [rbp + 0x29], 0xc000c5b
mov cl, listen
mov dword [rbp + 0x25], 0x6960654a
mov dword [rbp + 0x21], 0x69786d69
mov word [rbp + 0x1f], 0x7e4f
nop dword [rax]
xor byte [rax], cl
inc rax
lea rcx, [rbp + 0x2b]
cmp rax, rcx
je 0x180012134
movzx ecx, byte [rbp + 0x2c]
jmp 0x180012120
lea rcx, [rbp - 0x31]
mov byte [rbp + 0x2b], 1
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp + 0x1f]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea r8, [0x180095890]
lea rdx, [0x1800109f0]
test rax, rax
cmove rax, r14
mov rcx, rax
mov qword [0x180095908], rax
call fcn.18001bcd0
mov rcx, qword [0x180095908]
mov edx, 1
call fcn.18001bfc0
mov edx, eax
lea rcx, str.hook_p_n
call fcn.180009980
mov r14, qword [rsp + 0x100]
mov eax, 1
mov rdi, qword [rsp + 0x108]
add rsp, 0xe0
pop rbp
ret
mov rdi, qword [rsp + 0x108]
mov eax, 1
add rsp, 0xe0
pop rbp
ret