Function at 0x4072b0
Capabilities:
Get disk information
Timestomp file

Disassembly:
sub esp, 0x720
mov eax, dword [0x45cefc]
xor eax, esp
mov dword [esp + 0x71c], eax
mov eax, dword [esp + 0x738]
push ebx
mov ebx, dword [esp + 0x758]
push ebp
mov ebp, dword [esp + 0x760]
push esi
push edi
push 0x103
mov esi, ecx
mov ecx, dword [esp + 0x770]
lea edx, [esp + 0x41d]
push 0
push edx
mov dword [esp + 0x30], esi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x2c], 0
mov byte [esp + 0x424], 0
call fcn.00422ac0
add esp, 0xc
push 0x103
lea eax, [esp + 0x115]
push 0
push eax
mov byte [esp + 0x11c], 0
call fcn.00422ac0
add esp, 0xc
test ebp, ebp
jne 0x407353
add dword [esp + 0x738], 0xfffffe00
adc dword [esp + 0x73c], 0xffffffff
mov edi, dword [esp + 0x73c]
mov ecx, dword [esp + 0x738]
mov eax, edi
shrd ecx, eax, 9
shr eax, 9
cmp dword [esp + 0x734], 0
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], eax
je 0x4073a6
lea edx, [esp + 0x520]
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x407387
lea esi, [esp + 0x520]
call fcn.00405b40
mov ecx, esi
call fcn.00406f90
push 0x200
lea ecx, [esp + 0x21c]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualLock]
test ebp, ebp
je 0x4073c8
mov eax, dword [esp + 0x738]
mov ecx, edi
jmp 0x4073cc
xor eax, eax
xor ecx, ecx
mov edx, dword [esp + 0x750]
push ecx
push eax
mov eax, dword [esp + 0x754]
push 0
push 0
push edx
mov edx, dword [esp + 0x44]
push 1
push eax
lea ecx, [esp + 0x234]
push ecx
lea ecx, [esp + 0x3c]
call fcn.0040d4d0
mov edi, eax
add esp, 0x20
test edi, edi
mov dword [esp + 0x18], edi
je 0x407448
lea edx, [esp + 0x218]
mov ecx, 0x200
mov esi, ecx
mov eax, edx
mov byte [eax], 0
add eax, 1
sub esi, 1
jne 0x407416
sub ecx, 1
mov byte [edx], 0
add edx, 1
test ecx, ecx
jne 0x407421
push 0x200
lea edx, [esp + 0x21c]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualUnlock]
mov eax, edi
jmp 0x407ac1
mov ecx, dword [esp + 0x24]
xor eax, eax
test ebp, ebp
setne al
push 0
push 0
add eax, 2
push eax
push 0
push 3
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
mov dword [esp + 0x10], edi
jne 0x407489
push ebx
call fcn.00405ab0
add esp, 4
mov esi, 0x64
jmp 0x4076cd
mov esi, dword [esp + 0x744]
test ebp, ebp
mov ebp, dword [esp + 0x740]
jne 0x40754b
mov edi, dword [esp + 0x738]
mov ebx, dword [esp + 0x73c]
add edi, 0x200
adc ebx, 0
cmp dword [esp + 0x758], 0
je 0x40750b
cmp dword [esp + 0x754], 0
je 0x40750b
mov eax, dword [esp + 0x10]
push 0
lea edx, [esp + 0x58]
push edx
push 0
push 0
push 0
push 0
push 0x900c4
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x40750b
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00405ab0
add esp, 4
mov dword [esp + 0x18], 0x64
mov esi, dword [esp + 0x18]
jmp 0x4076c9
mov edx, dword [esp + 0x10]
push 0
push 0
push ebx
push edi
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x407544
mov edi, dword [esp + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x407544
push 0
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
test eax, eax
je 0x4075e2
mov eax, dword [esp + 0x14]
push eax
jmp 0x4074f2
cmp dword [esp + 0x734], 0
jne 0x407598
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x4c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
jne 0x407590
mov ecx, dword [0x471ab4]
mov dword [esp + 0x20], eax
push 0x30
push ecx
mov eax, str.GETFILETIME_FAILED_IMPLANT
call fcn.00407290
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x407598
mov dword [esp + 0x20], 1
mov ecx, ebp
add ecx, 0xffff6000
mov eax, esi
adc eax, 0xffffffff
cmp eax, 0x1ff
ja 0x4075d8
jb 0x4075b6
cmp ecx, 0xffff6000
ja 0x4075d8
mov edx, dword [esp + 0x734]
push edx
push esi
push ebp
mov eax, edi
call fcn.004060d0
add esp, 0xc
test eax, eax
jne 0x4075e2
mov esi, 0xc
jmp 0x4076cd
mov esi, 8
jmp 0x4076cd
mov ecx, dword [esp + 0x10]
push 0x200
lea eax, [esp + 0x21c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll__lwrite]
cmp eax, 0xffffffff
jne 0x407616
mov ebx, dword [esp + 0x14]
push ebx
call fcn.00405ab0
add esp, 4
mov esi, 0x64
jmp 0x4076cd
cmp dword [esp + 0x768], 0
mov ebx, 1
mov dword [esp + 0x3c], 0
je 0x407680
sub ebp, dword [esp + 0x738]
mov eax, dword [esp + 0x1c]
sbb esi, dword [esp + 0x73c]
add ebp, 0xfffffa00
adc esi, 0xffffffff
mov ecx, ebp
mov dword [eax + 0x2e70], ecx
mov edx, esi
mov dword [eax + 0x2e74], edx
mov eax, ecx
and eax, 0x1ff
xor esi, esi
or eax, esi
je 0x40766c
mov esi, 8
jmp 0x4076c9
shrd ecx, edx, 9
shr edx, 9
mov ebx, ecx
mov dword [esp + 0x3c], edx
mov edi, 1
jmp 0x407687
mov edi, dword [esp + 0x754]
mov eax, dword [esp + 0x75c]
sub eax, 0
je 0x4076a5
sub eax, 1
je 0x4077fb
sub eax, 1
jne 0x407502
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push edi
push edx
mov edx, dword [esp + 0x44]
push eax
push ecx
mov ecx, dword [esp + 0x2c]
push edx
push ebx
call fcn.00407ae0
add esp, 0x18
mov esi, eax
mov ebx, dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [esp + 0x218]
mov ecx, 0x200
mov ebp, eax
mov edi, ecx
mov eax, edx
mov byte [eax], 0
add eax, 1
sub edi, 1
jne 0x4076e5
sub ecx, 1
mov byte [edx], 0
add edx, 1
test ecx, ecx
jne 0x4076f0
push 0x200
lea eax, [esp + 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualUnlock]
mov edi, dword [esp + 0x1c]
call fcn.00408e50
cmp dword [esp + 0x10], 0xffffffff
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
je 0x4077c6
cmp dword [esp + 0x734], 0
jne 0x407762
cmp dword [esp + 0x768], 0
jne 0x407762
test esi, esi
je 0x407762
mov ecx, dword [esp + 0x10]
push 0
push 0
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
test eax, eax
jne 0x407762
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
cmp dword [esp + 0x20], 0
je 0x4077bb
lea ecx, [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x4c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
jne 0x4077bb
push str.SETFILETIME_FAILED_IMPLANT
push str.____hs___
push 0x474260
call edi
mov edx, dword [0x471ab4]
add esp, 0xc
push 0x30
push edx
push 0x474260
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [esp + 0x418], 0
je 0x4077e5
mov ecx, dword [esp + 0x24]
push ecx
lea edx, [esp + 0x41c]
push edx
push 7
call dword [sym.imp.KERNEL32.dll_DefineDosDeviceA]
test esi, esi
je 0x407887
push ebp
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, esi
jmp 0x407ac1
cmp dword [esp + 0x2c], 0
ja 0x40780b
mov eax, dword [esp + 0x28]
cmp eax, 0xffffffff
jbe 0x407815
mov esi, 8
jmp 0x4076c9
mov edx, dword [esp + 0x760]
mov ecx, dword [0x455dd0]
mov dword [esp + 0x6c], eax
mov eax, dword [str.NO_NAME]
mov dword [esp + 0x88], edx
mov dx, word [0x455dd4]
mov dword [esp + 0x60], eax
mov al, byte [0x455dd6]
lea esi, [esp + 0x60]
mov dword [esp + 0x64], ecx
mov word [esp + 0x68], dx
mov byte [esp + 0x6a], al
call fcn.0040c260
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x10]
shl ecx, 9
mov dword [edx], ecx
mov ecx, dword [esp + 0x3c]
push edi
push eax
push ecx
mov ecx, dword [esp + 0x28]
push ebx
mov edx, esi
call fcn.0040c6a0
add esp, 0x10
jmp 0x4076c7
cmp dword [esp + 0x75c], 2
jne 0x407abf
call fcn.00406560
push 0x60
mov esi, eax
xor ebp, ebp
lea eax, [esp + 0xb4]
push ebp
push eax
call fcn.00422ac0
add esp, 0xc
cmp esi, 0xffffffff
jne 0x407910
push str.NO_FREE_DRIVES
push str.____hs___
push 0x474260
call edi
mov ecx, dword [0x471ab4]
mov esi, dword [sym.imp.USER32.dll_MessageBoxW]
add esp, 0xc
push 0x10
push ecx
push 0x474260
push ebx
call esi
push str.FORMAT_NTFS_STOP
push str.____hs___
push 0x474260
call edi
mov edx, dword [0x471ab4]
add esp, 0xc
push 0x10
push edx
push 0x474260
push ebx
call esi
mov eax, 0x22
jmp 0x407ac1
mov edi, dword [esp + 0x24]
mov eax, edi
mov dword [esp + 0xb0], ebp
mov dword [esp + 0xb4], ebp
mov dword [esp + 0xb8], ebp
mov dword [esp + 0xbc], 1
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x407940
sub eax, edx
add eax, 0xfffffff1
push eax
lea eax, [esp + 0x114]
push edi
push eax
call fcn.00423ee0
lea eax, [esp + 0x11c]
add esp, 0xc
add eax, 0xffffffff
lea ebx, [ebx]
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x407970
mov ecx, dword [str.xxxxxx_lenovo]
mov edx, dword [0x455e0c]
mov dword [eax], ecx
mov ecx, dword [0x455e10]
mov dword [eax + 4], edx
mov dx, word [0x455e14]
mov dword [eax + 8], ecx
mov cl, byte [0x455e16]
mov word [eax + 0xc], dx
mov byte [eax + 0xe], cl
lea ecx, [esp + 0x110]
call fcn.00406c90
test eax, eax
jne 0x4079dd
lea edx, [esp + 0xb0]
push edx
mov edx, dword [esp + 0x34]
push 1
push ebp
push esi
push ebx
lea ecx, [esp + 0x124]
call fcn.00406720
add esp, 0x14
cmp eax, 1
jge 0x407a1a
mov eax, dword [0x471ab4]
push 0x10
push eax
mov eax, str.CANT_MOUNT_VOLUME
call fcn.00407290
mov esi, dword [sym.imp.USER32.dll_MessageBoxW]
push eax
push ebx
call esi
mov ecx, dword [0x471ab4]
push 0x10
push ecx
mov eax, str.FORMAT_NTFS_STOP
call fcn.00407290
push eax
push ebx
call esi
mov eax, 0x24
jmp 0x407ac1
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
jne 0x407a41
call fcn.00406dd0
test eax, eax
je 0x407a41
mov edx, dword [esp + 0x760]
push edx
push esi
push ebx
call fcn.0040b0c0
add esp, 0xc
jmp 0x407a52
mov eax, dword [esp + 0x760]
push eax
push esi
call fcn.00407dc0
add esp, 8
cmp eax, 1
push esi
push ebx
je 0x407a96
xor eax, eax
call fcn.00406b40
add esp, 8
test eax, eax
jne 0x407a82
mov ecx, dword [0x471ab4]
push 0x10
push ecx
mov eax, str.CANT_DISMOUNT_VOLUME
call fcn.00407290
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
push str.FORMAT_NTFS_FAILED
call fcn.004071b0
add esp, 4
mov eax, 0x64
jmp 0x407ac1
xor eax, eax
call fcn.00406b40
add esp, 8
test eax, eax
jne 0x407abf
mov edx, dword [0x471ab4]
push 0x10
push edx
mov eax, str.CANT_DISMOUNT_VOLUME
call fcn.00407290
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
mov ecx, dword [esp + 0x72c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004231f4
add esp, 0x720
ret