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, 0xf0
mov rdi, rcx
cmp edx, 1
jne 0x1800121b0
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
cmp byte [0x1800958f4], 0
jne 0x1800121b0
mov qword [rsp + 0x110], r14
lea rax, [rbp + 0x1f]
mov byte [0x1800958f4], 1
mov cl, reloc.WS2_32.dll_ntohs
mov dword [rbp + 0x2c], 0xf000f7b
mov dword [rbp + 0x28], 0x6e6b2164
mov dword [rbp + 0x24], 0x60606722
mov dword [rbp + 0x20], 0x76616061
mov byte [rbp + 0x1f], WSASetLastError
nop word [rax + rax]
xor byte [rax], cl
inc rax
lea rcx, [rbp + 0x2e]
cmp rax, rcx
je 0x180011bd4
movzx ecx, byte [rbp + 0x2f]
jmp 0x180011bc0
mov r14, 0xffffffffffffffff
mov byte [rbp + 0x2e], 1
mov r8, r14
lea rax, [rbp + 0x1f]
inc r8
cmp byte [rax + r8], 0
jne 0x180011be6
lea rdx, [rbp + 0x1f]
lea rcx, [0x180094470]
call fcn.180013ad0
mov ecx, 8
mov dword [0x1800958cc], 0x95
mov word [rbp + 0x49], cx
lea rax, [rbp + 0x37]
mov byte [rbp + 0x47], 0
mov dword [rbp + 0x43], 0x8006b
mov dword [rbp + 0x3f], 0x67007c
mov dword [rbp + 0x3b], 0x6c0065
mov dword [rbp + 0x37], 0x7a0026
nop word [rax + rax]
xor word [rax], cx
add rax, 2
lea rcx, [rbp + 0x47]
cmp rax, rcx
je 0x180011c56
movzx ecx, word [rbp + 0x49]
jmp 0x180011c40
mov byte [rbp + 0x47], 1
lea rax, [rbp + 0x37]
mov rdx, r14
inc rdx
cmp word [rax + rdx*2], 0
jne 0x180011c61
mov rax, qword [reloc.WS2_32.dll_getsockopt]
mov qword [rsp + 0x108], rsi
cmp rdx, rax
ja 0x180011cc4
cmp rax, 8
mov qword [0x1800943f8], rdx
lea rsi, [0x1800943e8]
mov qword [rsp + 0x100], rbx
cmovae rsi, qword [0x1800943e8]
lea rbx, [rdx + rdx]
mov rcx, rsi
lea rdx, [rbp + 0x37]
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
xor eax, eax
mov word [rbx + rsi], ax
mov rbx, qword [rsp + 0x100]
jmp 0x180011cd4
lea r9, [rbp + 0x37]
lea rcx, [0x1800943e8]
call fcn.180008320
mov rax, qword gs:[0x60]
mov rsi, qword [rsp + 0x108]
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 - 0x5a], 0x900093b
lea rax, [rbp - 0x61]
mov cl, 9
mov dword [rbp - 0x5e], 0x3a656c67
mov word [rbp - 0x60], 0x7b6c
mov byte [rbp - 0x61], 0x62
nop dword [rax]
xor byte [rax], cl
inc rax
lea rcx, [rbp - 0x58]
cmp rax, rcx
je 0x180011e04
movzx ecx, byte [rbp - 0x57]
jmp 0x180011df0
mov byte [rbp - 0x58], 1
lea rax, [rbp - 0x11]
mov dword [rbp - 7], 0xc000c3e
mov cl, listen
mov dword [rbp - 0xb], 0x6960654a
mov dword [rbp - 0xf], 0x69786d69
mov word [rbp - 0x11], 0x7e4f
nop dword [rax]
xor byte [rax], cl
inc rax
lea rcx, [rbp - 5]
cmp rax, rcx
je 0x180011e44
movzx ecx, byte [rbp - 4]
jmp 0x180011e30
lea rcx, [rbp - 0x61]
mov byte [rbp - 5], 1
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp - 0x11]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea r8, [0x1800958a8]
lea rdx, [0x180011480]
jmp 0x18001215d
cmp byte [0x1800958a2], 1
jne 0x180011f3f
mov dword [rbp - 0x75], 0x600066a
lea rax, [rbp - 0x79]
mov cl, 6
mov dword [rbp - 0x79], 0x6a627248
nop dword [rax]
nop word [rax + rax]
xor byte [rax], cl
inc rax
lea rcx, [rbp - 0x73]
cmp rax, rcx
je 0x180011eb4
movzx ecx, byte [rbp - 0x72]
jmp 0x180011ea0
mov byte [rbp - 0x73], 1
lea rax, [rbp - 0x31]
mov dword [rbp - 0x28], 0xb000b6e
mov cl, 0xb
mov dword [rbp - 0x2c], 0x67624d6f
mov dword [rbp - 0x30], 0x6a6e597f
mov byte [rbp - 0x31], 0x45
nop word [rax + rax]
xor byte [rax], cl
inc rax
lea rcx, [rbp - 0x26]
cmp rax, rcx
je 0x180011ef4
movzx ecx, byte [rbp - 0x25]
jmp 0x180011ee0
lea rcx, [rbp - 0x79]
mov byte [rbp - 0x26], 1
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp - 0x31]
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 - 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 word [rax + rax]
xor byte [rax], cl
inc rax
lea rcx, [rbp - 0x48]
cmp rax, rcx
je 0x180011f84
movzx ecx, byte [rbp - 0x47]
jmp 0x180011f70
mov byte [rbp - 0x48], 1
lea rax, [rbp - 1]
mov dword [rbp + 9], 0xc000c4d
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 0x180011fc4
movzx ecx, byte [rbp + 0xc]
jmp 0x180011fb0
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, [0x1800958b8]
lea rdx, [0x180010560]
jmp 0x18001215d
cmp byte [0x1800958a0], 1
jne 0x1800120bf
mov dword [rbp - 0x6c], 0x7000735
lea rax, [rbp - 0x71]
mov cl, 7
mov dword [rbp - 0x70], 0x34756274
mov byte [rbp - 0x71], 0x52
nop word [rax + rax]
xor byte [rax], cl
inc rax
lea rcx, [rbp - 0x6a]
cmp rax, rcx
je 0x180012034
movzx ecx, byte [rbp - 0x69]
jmp 0x180012020
mov byte [rbp - 0x6a], 1
lea rax, [rbp - 0x21]
mov dword [rbp - 0x18], 0xb000b7c
mov cl, 0xb
mov dword [rbp - 0x1c], 0x646f6562
mov dword [rbp - 0x20], 0x5c7c6463
mov byte [rbp - 0x21], 0x58
nop word [rax + rax]
xor byte [rax], cl
inc rax
lea rcx, [rbp - 0x16]
cmp rax, rcx
je 0x180012074
movzx ecx, byte [rbp - 0x15]
jmp 0x180012060
lea rcx, [rbp - 0x71]
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, [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 - 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 dword [rax]
xor byte [rax], cl
inc rax
lea rcx, [rbp - 0x38]
cmp rax, rcx
je 0x1800120f4
movzx ecx, byte [rbp - 0x37]
jmp 0x1800120e0
mov byte [rbp - 0x38], 1
lea rax, [rbp + 0xf]
mov dword [rbp + 0x19], 0xc000c5b
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 0x180012134
movzx ecx, byte [rbp + 0x1c]
jmp 0x180012120
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, [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 + 0x110]
mov eax, 1
mov rdi, qword [rsp + 0x118]
add rsp, 0xf0
pop rbp
ret
mov rdi, qword [rsp + 0x118]
mov eax, 1
add rsp, 0xf0
pop rbp
ret