Function at 0x4158d0
Capabilities:
Timestomp file

Disassembly:
sub esp, 0xe78
mov eax, dword [0x4527b8]
push ebx
push esi
mov esi, dword [esp + 0xe88]
push edi
xor edi, edi
push esi
mov dword [esp + 0xe84], eax
mov dword [esp + 0x10], edi
xor ebx, ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
call fcn.00410180
add esp, 4
test eax, eax
je 0x41594f
cmp dword [0x466b7c], edi
jne 0x415937
mov eax, dword [0x466b78]
push 0x50030
push eax
push str.DISMOUNT_FIRST
call fcn.00417ce0
mov ecx, dword [0x466b74]
add esp, 4
push eax
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0xe74]
call fcn.0041d4a3
add esp, 0xe78
ret
push esi
push str.CONFIRM_VOL_HEADER_RESTORE
call fcn.00417ce0
add esp, 4
push eax
lea edx, [esp + 0x688]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
mov eax, dword [0x466b78]
mov edx, dword [esp + 0xe94]
add esp, 0xc
push 0x134
push eax
lea ecx, [esp + 0x688]
push ecx
push edx
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 7
je 0x415937
mov eax, dword [0x466b80]
mov edx, dword [esp + 0xe88]
push edi
push eax
lea ecx, [esp + 0x384]
push ecx
push str.OPEN_TITLE
push edx
call fcn.004141f0
add esp, 0x14
test eax, eax
je 0x415937
push str.CONFIRM_HIDVOL_HEADER_RESTORE
call fcn.00410b00
add esp, 4
cmp eax, 6
jne 0x4159db
mov dword [esp + 0x14], 1
lea eax, [esp + 0x37c]
push 0x8000
push eax
call fcn.0041ee3d
add esp, 8
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
jne 0x415a14
pop edi
pop esi
mov eax, 0x6e
pop ebx
mov ecx, dword [esp + 0xe74]
call fcn.0041d4a3
add esp, 0xe78
ret
push ebp
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x78]
push esi
push edx
call fcn.0040de70
mov ebp, dword [esp + 0x2c]
add esp, 0xc
test ebp, ebp
jne 0x415a44
xor eax, eax
mov cl, byte [esp + eax + 0x74]
mov byte [esp + eax + 0x27c], cl
inc eax
test cl, cl
jne 0x415a32
jmp 0x415a96
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [esp + 0x17c]
push str.siantcrypt_lu
push eax
call fcn.0041d3d4
add esp, 0xc
lea ecx, [esp + 0x74]
push ecx
lea edx, [esp + 0x17c]
push edx
push 1
call dword [sym.imp.KERNEL32.dll_DefineDosDeviceA]
test eax, eax
je 0x415ac2
lea eax, [esp + 0x178]
push eax
lea ecx, [esp + 0x280]
push str.._s
push ecx
call fcn.0041d3d4
add esp, 0xc
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
lea edx, [esp + 0x294]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
test ebp, ebp
mov esi, eax
je 0x415b91
cmp esi, 0xffffffff
jne 0x415afa
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [esp + 0x14]
push eax
call fcn.0041eabb
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop ebp
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0xe74]
call fcn.0041d4a3
add esp, 0xe78
ret
mov edi, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push 0
lea ecx, [esp + 0x24]
push ecx
push 0x20
lea edx, [esp + 0x60]
push edx
push 0
push 0
push 0x74004
push esi
call edi
test eax, eax
je 0x415b28
mov edi, dword [esp + 0x5c]
mov ebx, dword [esp + 0x60]
jmp 0x415b7e
push 0
lea eax, [esp + 0x24]
push eax
push 0x18
lea ecx, [esp + 0x40]
push ecx
push 0
push 0
push 0x70000
push esi
call edi
test eax, eax
jne 0x415b53
mov dword [esp + 0x10], 1
jmp 0x415cad
mov eax, dword [esp + 0x40]
mul dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
push 0
push ecx
push edx
push eax
call fcn.0041f0c0
mov ecx, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x38]
push ecx
push edx
push eax
call fcn.0041f0c0
mov edi, eax
mov ebx, edx
mov edx, edi
or edx, ebx
jne 0x415b91
mov dword [esp + 0x10], 8
jmp 0x415cad
cmp esi, 0xffffffff
je 0x415ade
test ebp, ebp
jne 0x415bdc
mov eax, dword [0x4506d4]
test eax, eax
je 0x415bdc
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x2c]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
jne 0x415bd4
push str.GETFILETIME_FAILED_GENERIC
mov dword [esp + 0x20], eax
call fcn.00410a40
add esp, 4
jmp 0x415bdc
mov dword [esp + 0x1c], 1
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
neg eax
sbb eax, eax
push 0
and eax, 0x200
push eax
push ecx
call fcn.0041f3ee
add esp, 0xc
cmp eax, 0xffffffff
jne 0x415c0b
mov dword [esp + 0x10], 0x19
jmp 0x415cad
mov eax, dword [esp + 0x14]
push 0x200
lea edx, [esp + 0x488]
push edx
push eax
call fcn.0041f2cf
add esp, 0xc
cmp eax, 0xffffffff
je 0x415cad
mov eax, dword [esp + 0x18]
test eax, eax
je 0x415c50
push ebp
push ebx
push edi
push esi
call fcn.0040e780
add esp, 0x10
test eax, eax
jne 0x415c6f
mov dword [esp + 0x10], 0xc
jmp 0x415cad
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll__llseek]
mov edi, eax
test edi, edi
mov dword [esp + 0x10], edi
je 0x415c73
mov dword [esp + 0x10], 0xc
jmp 0x415cad
mov edi, dword [esp + 0x10]
push 0x200
lea ecx, [esp + 0x488]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll__lwrite]
cmp eax, 0x200
je 0x415c98
mov dword [esp + 0x10], 0xd
jmp 0x415cad
test edi, edi
jne 0x415cad
push str.VOL_HEADER_RESTORED
mov dword [esp + 0x14], edi
call fcn.00410a00
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x415cfa
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x2c]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
jne 0x415cfa
push 0x30
push 0x43fc00
push str.SETFILETIME_FAILED_PW
call fcn.00417ce0
mov edx, dword [esp + 0xe98]
add esp, 4
push eax
push edx
call dword [sym.imp.USER32.dll_MessageBoxW]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x14]
push eax
call fcn.0041eabb
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [esp + 0xe84]
mov eax, dword [esp + 0x10]
pop ebp
pop edi
pop esi
pop ebx
call fcn.0041d4a3
add esp, 0xe78
ret