Function at 0x1400357a0
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 0x140035b7a
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 0x140035b78
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.1402d2850
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 0x140035afb
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 0x140035918
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
jmp 0x140035936
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 0x140035af9
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 0x14003598c
mov rax, qword [rsp + 0x50]
add rax, 0x10
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x98]
cmp qword [rsp + 0x50], rax
je 0x140035a04
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 0x1400359ff
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 0x140035a04
jmp 0x14003597e
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140035af4
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 0x140035a72
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 0x140035af4
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.1402d26e0
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 0x14003591a
jmp 0x140035b17
lea rcx, [rsp + 0xd8]
call fcn.14000aef0
mov rdx, rax
lea rcx, [0x14038c568]
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 0x14003587d
jmp 0x140035b86
lea rcx, [0x14038c580]
call fcn.14000ccf0
add rsp, 0x168
pop rdi
pop rsi
ret