Function at 0x431b05
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ddae2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xe4
lea ecx, [ebp - 0x1c]
call fcn.004017e0
mov dword [ebp - 4], 0
mov dword [ebp - 0xe8], 0xa1
cmp dword [0x4f9478], 0
jg 0x431b59
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004c016c
jmp 0x431e21
mov eax, dword [ebp + 8]
push eax
call fcn.004ab700
add esp, 4
cmp eax, 1
jae 0x431b7e
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004c016c
jmp 0x431e21
lea ecx, [ebp - 0xe0]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0xe0]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xf0], ecx
mov dword [ebp - 0xec], 0
fild qword [ebp - 0xf0]
fild dword [0x4f9478]
fmul qword [0x4e37c0]
fmul qword [0x4e3760]
fdiv qword [0x4e37b8]
fsubp st(1)
call fcn.004ab82c
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0xe0]
push edx
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
mov dword [ebp - 0xe4], 0
push 0x4fc200
mov ecx, dword [ebp + 8]
push ecx
call fcn.004acc45
add esp, 8
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0xcc], 0
je 0x431de3
lea edx, [ebp - 0xe0]
push edx
mov eax, dword [ebp - 0xcc]
push eax
call fcn.004319f3
add esp, 8
test eax, eax
je 0x431de1
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.004c02a9
push 0x4fc204
lea ecx, [ebp - 0x1c]
call fcn.004c04fc
push 0x4fc208
lea ecx, [ebp - 0x1c]
call fcn.00401800
push eax
call fcn.004acc45
add esp, 8
mov dword [ebp - 0xe4], eax
cmp dword [ebp - 0xe4], 0
je 0x431dac
mov dword [ebp - 0xc4], 1
mov edx, dword [ebp - 0xcc]
push edx
mov eax, dword [ebp - 0xe8]
push eax
lea ecx, [ebp - 0xc0]
push ecx
call fcn.004accb7
add esp, 0xc
test eax, eax
je 0x431d9d
lea edx, [ebp - 0xc8]
push edx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0xd0]
push ecx
push 0x4fc20c
lea edx, [ebp - 0xc0]
push edx
call fcn.004ab6c7
add esp, 0x14
cmp eax, 3
jne 0x431d79
mov eax, dword [ebp - 0xe0]
and eax, 0xffff
cmp dword [ebp - 0xd0], eax
jge 0x431cf6
mov dword [ebp - 0xc4], 1
jmp 0x431d79
mov ecx, dword [ebp - 0xe0]
and ecx, 0xffff
cmp dword [ebp - 0xd0], ecx
jle 0x431d16
mov dword [ebp - 0xc4], 0
jmp 0x431d79
mov edx, dword [ebp - 0xde]
and edx, 0xffff
cmp dword [ebp - 0x10], edx
jge 0x431d33
mov dword [ebp - 0xc4], 1
jmp 0x431d79
mov eax, dword [ebp - 0xde]
and eax, 0xffff
cmp dword [ebp - 0x10], eax
jle 0x431d4f
mov dword [ebp - 0xc4], 0
jmp 0x431d79
mov ecx, dword [ebp - 0xda]
and ecx, 0xffff
cmp dword [ebp - 0xc8], ecx
jge 0x431d6f
mov dword [ebp - 0xc4], 1
jmp 0x431d79
mov dword [ebp - 0xc4], 0
cmp dword [ebp - 0xc4], 0
jne 0x431d98
mov edx, dword [ebp - 0xe4]
push edx
lea eax, [ebp - 0xc0]
push eax
call fcn.004ad491
add esp, 8
jmp 0x431c80
mov ecx, dword [ebp - 0xe4]
push ecx
call fcn.004acb97
add esp, 4
mov edx, dword [ebp - 0xcc]
push edx
call fcn.004acb97
add esp, 4
cmp dword [ebp - 0xe4], 0
je 0x431de1
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00401800
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
jmp 0x431e12
push 0x4fc218
mov edx, dword [ebp + 8]
push edx
call fcn.004acc45
add esp, 8
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0xcc], 0
je 0x431e12
mov eax, dword [ebp - 0xcc]
push eax
call fcn.004acb97
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004c016c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret