Function at 0x4424e0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x47c
mov eax, dword [0x5b0c20]
xor eax, esp
mov dword [esp + 0x478], eax
mov eax, dword [esp + 0x480]
push edi
push eax
lea ecx, [esp + 0x440]
push str..PhysicalDrive_d
push ecx
call fcn.00525f70
add esp, 0xc
push 0
push 0x80
push 3
push 0
push 3
push 0xc0000000
lea edx, [esp + 0x454]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x442551
xor eax, eax
pop edi
mov ecx, dword [esp + 0x478]
xor ecx, esp
call fcn.00524d83
add esp, 0x47c
ret
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push esi
push 0
lea eax, [esp + 0x10]
push eax
push 0x18
lea ecx, [esp + 0x20]
push ecx
push 0
push 0
push 0x70000
push edi
call ebx
mov esi, eax
test esi, esi
je 0x44278a
push ebp
mov ebp, dword [esp + 0x2c]
push 0
lea edx, [esp + 0x14]
push edx
push 0x100
lea eax, [esp + 0x54]
push eax
push 0
push 0
push 0x7400c
push edi
call ebx
mov esi, eax
test esi, esi
je 0x442789
push 0x1000
call fcn.00401bb0
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
je 0x442789
push 0
lea ecx, [esp + 0x14]
push ecx
push ebp
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [esp + 0x30], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0
lea edx, [esp + 0x14]
push edx
push 0
push 0
push 0x18
mov dword [esp + 0x48], eax
lea eax, [esp + 0x44]
push eax
push 0x7c058
push edi
call ebx
mov esi, eax
test esi, esi
je 0x44276f
cmp dword [esp + 0x48], 1
jb 0x44277c
cmp dword [esp + 0x54], 0
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x4c], ecx
jg 0x44277c
jl 0x442633
cmp dword [esp + 0x50], 0
ja 0x44277c
mov ebp, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
imul edx, ebp
mov ecx, dword [esp + 0x18]
imul edx, eax
mov esi, ebp
imul esi, eax
mov eax, dword [esp + 0x1c]
push eax
push ecx
push 0
push edx
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], 0
call fcn.005269a0
sub eax, esi
sbb edx, dword [esp + 0x54]
mov dword [esp + 0x58], eax
xor eax, eax
push eax
mov dword [esp + 0x60], edx
lea edx, [esp + 0x14]
push edx
push eax
push eax
push 0x100
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe0], eax
lea eax, [esp + 0x5c]
push eax
push 0x7c010
push edi
mov dword [esp + 0x80], ebp
mov byte [esp + 0x88], 0xb
mov byte [esp + 0x89], 1
mov byte [esp + 0x8a], 1
mov byte [esp + 0x8b], 1
mov dword [esp + 0x68], 4
call ebx
mov esi, eax
test esi, esi
jne 0x442777
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x44277c
mov esi, 1
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00401bc0
add esp, 4
pop ebp
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x484]
mov eax, esi
pop esi
pop ebx
pop edi
xor ecx, esp
call fcn.00524d83
add esp, 0x47c
ret