Function at 0x1400356b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x168
mov rax, qword [rsp + 0x188]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x188]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
add rax, 4
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0x48]
add rax, 0x18
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x48]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x48]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0x38], rax
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x68]
cmp dword [rcx + rax + 0x74], 0
je 0x140035a8a
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x68]
mov eax, dword [rcx + rax + 0x70]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x130]
call fcn.1400144e0
lea rcx, [rsp + 0x78]
mov rdi, rcx
mov rsi, rax
mov ecx, socket
rep movsb byte [rdi], byte [rsi]
cmp dword [rsp + 0x84], 0
je 0x140035a88
mov eax, dword [rsp + 0x84]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov r8d, 0x104
mov rdx, rax
lea rcx, [rsp + 0xd8]
call fcn.1402d2760
nop
lea rcx, [rsp + 0xd8]
call fcn.14000aef0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x140035a0b
mov eax, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x88]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x30], 0
jne 0x140035828
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
jmp 0x140035846
mov rax, qword [rsp + 0x30]
add rax, 8
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x28]
add rax, 8
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x30]
call fcn.140014530
test rax, rax
je 0x140035a09
mov byte [rsp + 0x20], 0
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x70]
call fcn.140008560
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x70]
call fcn.14000abe0
mov qword [rsp + 0x98], rax
jmp 0x14003589c
mov rax, qword [rsp + 0x50]
add rax, 0x10
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x98]
cmp qword [rsp + 0x50], rax
je 0x140035914
lea rax, [rsp + 0xb8]
mov rdi, rax
mov rsi, qword [rsp + 0x50]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0xb8]
cmp qword [rsp + 0x40], rax
jne 0x14003590f
mov rcx, qword [rsp + 0x28]
call fcn.140014530
sub rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0xc0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xa0], rax
lea rdx, [rsp + 0xa0]
mov rcx, qword [rsp + 0x28]
call fcn.1400146d0
mov byte [rsp + 0x20], 1
jmp 0x140035914
jmp 0x14003588e
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140035a04
mov rcx, qword [rsp + 0x30]
call fcn.140014530
mov qword [rsp + 0x58], rax
movabs rax, 0x8000000000000000
mov rcx, qword [rsp + 0x58]
and rcx, rax
mov rax, rcx
test rax, rax
je 0x140035982
mov rax, qword [rsp + 0x58]
and rax, 0xffff
mov rdx, rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xa8], rax
lea rdx, [rsp + 0xa8]
mov rcx, qword [rsp + 0x28]
call fcn.1400146d0
jmp 0x140035a04
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140014440
mov dword [rsp + 0x90], eax
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x58]
lea rax, [rax + rcx + 2]
mov rdx, rax
lea rcx, [rsp + 0x110]
call fcn.1402d25f0
nop
lea rcx, [rsp + 0x110]
call fcn.14000aef0
mov rdx, rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xb0], rax
lea rdx, [rsp + 0xb0]
mov rcx, qword [rsp + 0x28]
call fcn.1400146d0
nop
lea rcx, [rsp + 0x110]
call fcn.1400067e0
jmp 0x14003582a
jmp 0x140035a27
lea rcx, [rsp + 0xd8]
call fcn.14000aef0
mov rdx, rax
lea rcx, [0x14038c508]
call fcn.14000ccf0
mov rax, qword [rsp + 0x60]
add rax, 0x14
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x148]
call fcn.1400144e0
lea rcx, [rsp + 0xf8]
mov rdi, rcx
mov rsi, rax
mov ecx, socket
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x78]
lea rcx, [rsp + 0xf8]
mov rdi, rax
mov rsi, rcx
mov ecx, socket
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0xd8]
call fcn.1400067e0
jmp 0x14003578d
jmp 0x140035a96
lea rcx, [0x14038c520]
call fcn.14000ccf0
add rsp, 0x168
pop rdi
pop rsi
ret