Function at 0x420290
Capabilities:
Delete file
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x44ea2c
mov eax, dword fs:[0]
push eax
mov eax, 0x3490
call fcn.004485b0
mov eax, dword [0x4612b0]
xor eax, esp
mov dword [esp + 0x3488], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4612b0]
xor eax, esp
push eax
lea eax, [esp + 0x34a4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x34b4]
xor ebx, ebx
push 0xfff
lea ecx, [esp + 0x4a1]
push ebx
push ecx
mov dword [esp + 0x30], eax
mov byte [esp + 0x4a8], bl
call fcn.00440440
add esp, 0xc
lea edx, [esp + 0x49c]
push edx
push 0x1000
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
cmp eax, ebx
je 0x4204fe
cmp eax, 0x1000
ja 0x4204fe
mov ebp, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov edi, dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
lea esi, [esp + 0x49c]
push esi
call ebp
cmp eax, 3
jne 0x4203ee
push 0xfff
lea eax, [esp + 0x24a1]
push ebx
push eax
mov byte [esp + 0x24a8], bl
call fcn.00440440
lea eax, [esp + 0x27]
add esp, 0xc
mov byte [esp + 0x1b], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x420366
sub eax, edx
mov eax, ebx
setne al
sub eax, 1
jne 0x420383
call fcn.00431550
call fcn.00419d50
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, 2
je 0x420398
sub eax, 2
je 0x420398
sub eax, 4
jne 0x4203a4
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
call fcn.0041a8a0
push 0xfff
lea ecx, [esp + 0x14a1]
push ebx
push ecx
mov byte [esp + 0x14a8], bl
call fcn.00440440
add esp, 0xc
push 0x1000
lea edx, [esp + 0x14a0]
push edx
push ebx
push ebx
lea eax, [esp + 0x30]
push eax
push 0x1000
lea ecx, [esp + 0x24b4]
push ecx
push esi
mov dword [esp + 0x40], ebx
call edi
cmp eax, 1
je 0x42045c
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4203f3
sub eax, edx
lea esi, [esi + eax + 1]
call fcn.00430df0
mov eax, esi
mov dword [esp + 0x34ac], 0xffffffff
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x420415
sub eax, edx
je 0x420621
call fcn.00436780
mov ecx, eax
mov eax, 0x151d07eb
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0x61
jle 0x420332
push 0x61
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.00418dd0
call fcn.00418e70
jmp 0x420332
push 0x3ff
lea ecx, [esp + 0xa1]
push ebx
push ecx
mov byte [esp + 0xa8], bl
call fcn.00440440
add esp, 0xc
push ebx
call fcn.0043af41
mov eax, dword [esp + 0x24]
add esp, 4
push 0xa
push 0x400
lea edx, [esp + 0xa4]
push edx
push eax
call fcn.0043b923
add esp, 0x10
call fcn.00436780
mov esi, dword [esp + 0x24]
lea ecx, [esp + 0x9c]
push ecx
lea ecx, [esi + 0x1d8]
mov dword [esp + 0x34b0], 0xffffffff
call fcn.00402cc0
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x1b]
mov dword [esi + 0x1d4], edx
mov byte [esp + 0x1b], bl
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4204e0
sub eax, edx
je 0x42077d
call fcn.00431240
call fcn.00418d00
jmp 0x42077d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x2c]
push eax
sub esp, 0x1c
mov esi, esp
mov dword [esi + 0x18], 0xf
lea edi, [esi + 4]
mov dword [esi + 0x14], ebx
mov byte [edi], bl
mov eax, dword [esi + 0x18]
mov ebp, 0x10
mov dword [esp + 0x40], esp
cmp eax, ebp
jb 0x420532
mov ecx, dword [edi]
jmp 0x420534
mov ecx, edi
cmp ecx, str.0WRUH
ja 0x42056d
cmp eax, ebp
jb 0x420544
mov ecx, dword [edi]
jmp 0x420546
mov ecx, edi
mov edx, dword [esi + 0x14]
add edx, ecx
cmp edx, str.0WRUH
jbe 0x42056d
cmp eax, ebp
jb 0x420559
mov edi, dword [edi]
push 0x25
mov eax, str.0WRUH
sub eax, edi
push eax
push esi
mov ecx, esi
call fcn.00402be0
jmp 0x4205ae
cmp eax, 0x25
jae 0x42057f
mov ecx, dword [esi + 0x14]
push ecx
push 0x25
mov ecx, esi
call fcn.00403340
mov ecx, dword [esi + 0x18]
cmp ecx, ebp
jb 0x42058a
mov eax, dword [edi]
jmp 0x42058c
mov eax, edi
push 0x25
push str.0WRUH
push ecx
push eax
call fcn.00439ca9
add esp, 0x10
mov dword [esi + 0x14], 0x25
cmp dword [esi + 0x18], ebp
jb 0x4205ab
mov edi, dword [edi]
mov byte [edi + 0x25], bl
lea esi, [esp + 0x68]
call fcn.004014e0
mov dword [esp + 0x34b4], ebx
call fcn.00401900
mov byte [esp + 0x34b0], 1
cmp dword [eax + 0x18], ebp
jb 0x4205d5
mov eax, dword [eax + 4]
jmp 0x4205d8
add eax, 4
mov edx, dword [esp + 0x28]
push eax
push 1
push edx
call fcn.0041da70
add esp, 0x10
cmp dword [esp + 0x40], ebp
jb 0x4205fb
mov eax, dword [esp + 0x2c]
push eax
call fcn.00439c49
add esp, 4
lea esi, [esp + 0x44]
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
mov dword [esp + 0x34ac], 0xffffffff
call fcn.004037a0
jmp 0x420626
mov ebp, 0x10
lea ecx, [esp + 0x28]
push ecx
sub esp, 0x1c
mov esi, esp
mov dword [esi + 0x18], 0xf
lea edi, [esi + 4]
mov dword [esi + 0x14], ebx
mov byte [edi], bl
mov eax, dword [esi + 0x18]
mov dword [esp + 0x3c], esp
cmp eax, ebp
jb 0x42064e
mov ecx, dword [edi]
jmp 0x420650
mov ecx, edi
cmp ecx, 0x456f8c
ja 0x420689
cmp eax, ebp
jb 0x420660
mov ecx, dword [edi]
jmp 0x420662
mov ecx, edi
mov edx, dword [esi + 0x14]
add edx, ecx
cmp edx, 0x456f8c
jbe 0x420689
cmp eax, ebp
jb 0x420675
mov edi, dword [edi]
push 0x19
mov eax, 0x456f8c
sub eax, edi
push eax
push esi
mov ecx, esi
call fcn.00402be0
jmp 0x4206ca
cmp eax, 0x19
jae 0x42069b
mov ecx, dword [esi + 0x14]
push ecx
push 0x19
mov ecx, esi
call fcn.00403340
mov ecx, dword [esi + 0x18]
cmp ecx, ebp
jb 0x4206a6
mov eax, dword [edi]
jmp 0x4206a8
mov eax, edi
push 0x19
push 0x456f8c
push ecx
push eax
call fcn.00439ca9
add esp, 0x10
mov dword [esi + 0x14], 0x19
cmp dword [esi + 0x18], ebp
jb 0x4206c7
mov edi, dword [edi]
mov byte [edi + 0x19], bl
lea esi, [esp + 0x64]
call fcn.004014e0
mov ecx, eax
mov dword [esp + 0x34b0], 8
call fcn.00401760
mov byte [esp + 0x34ac], 9
cmp dword [eax + 0x18], ebp
jb 0x4206f7
mov eax, dword [eax + 4]
jmp 0x4206fa
add eax, 4
mov edi, dword [esp + 0x24]
push eax
push 1
push edi
call fcn.0041da70
add esp, 0xc
cmp dword [esp + 0x40], ebp
jb 0x42071d
mov edx, dword [esp + 0x2c]
push edx
call fcn.00439c49
add esp, 4
lea esi, [esp + 0x44]
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
mov dword [esp + 0x34ac], 0xffffffff
call fcn.004037a0
push 0xffffffffffffffff
push ebx
lea eax, [edi + 0x1f8]
push eax
lea ecx, [edi + 0x1d8]
call fcn.00402be0
lea eax, [esp + 0x1b]
mov byte [esp + 0x1b], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x420761
sub eax, edx
je 0x420771
call fcn.00418f40
mov ecx, dword [edi + 0x1f4]
mov dword [edi + 0x1d4], ecx
xor eax, eax
mov ecx, dword [esp + 0x34a4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3488]
xor ecx, esp
call fcn.00439641
add esp, 0x349c
ret 4