Function at 0x431b72
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dd9b2
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 [0x4f9468], 0
jg 0x431bc6
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004c003c
jmp 0x431e8e
mov eax, dword [ebp + 8]
push eax
call fcn.004ab5d0
add esp, 4
cmp eax, 1
jae 0x431beb
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004c003c
jmp 0x431e8e
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 [0x4f9468]
fmul qword [0x4e37b8]
fmul qword [0x4e3758]
fdiv qword [0x4e37b0]
fsubp st(1)
call fcn.004ab6fc
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 0x4fbea8
mov ecx, dword [ebp + 8]
push ecx
call fcn.004acb15
add esp, 8
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0xcc], 0
je 0x431e50
lea edx, [ebp - 0xe0]
push edx
mov eax, dword [ebp - 0xcc]
push eax
call fcn.00431a60
add esp, 8
test eax, eax
je 0x431e4e
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.004c0179
push 0x4fbeac
lea ecx, [ebp - 0x1c]
call fcn.004c03cc
push 0x4fbeb0
lea ecx, [ebp - 0x1c]
call fcn.00401800
push eax
call fcn.004acb15
add esp, 8
mov dword [ebp - 0xe4], eax
cmp dword [ebp - 0xe4], 0
je 0x431e19
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.004acb87
add esp, 0xc
test eax, eax
je 0x431e0a
lea edx, [ebp - 0xc8]
push edx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0xd0]
push ecx
push 0x4fbeb4
lea edx, [ebp - 0xc0]
push edx
call fcn.004ab597
add esp, 0x14
cmp eax, 3
jne 0x431de6
mov eax, dword [ebp - 0xe0]
and eax, 0xffff
cmp dword [ebp - 0xd0], eax
jge 0x431d63
mov dword [ebp - 0xc4], 1
jmp 0x431de6
mov ecx, dword [ebp - 0xe0]
and ecx, 0xffff
cmp dword [ebp - 0xd0], ecx
jle 0x431d83
mov dword [ebp - 0xc4], 0
jmp 0x431de6
mov edx, dword [ebp - 0xde]
and edx, 0xffff
cmp dword [ebp - 0x10], edx
jge 0x431da0
mov dword [ebp - 0xc4], 1
jmp 0x431de6
mov eax, dword [ebp - 0xde]
and eax, 0xffff
cmp dword [ebp - 0x10], eax
jle 0x431dbc
mov dword [ebp - 0xc4], 0
jmp 0x431de6
mov ecx, dword [ebp - 0xda]
and ecx, 0xffff
cmp dword [ebp - 0xc8], ecx
jge 0x431ddc
mov dword [ebp - 0xc4], 1
jmp 0x431de6
mov dword [ebp - 0xc4], 0
cmp dword [ebp - 0xc4], 0
jne 0x431e05
mov edx, dword [ebp - 0xe4]
push edx
lea eax, [ebp - 0xc0]
push eax
call fcn.004ad361
add esp, 8
jmp 0x431ced
mov ecx, dword [ebp - 0xe4]
push ecx
call fcn.004aca67
add esp, 4
mov edx, dword [ebp - 0xcc]
push edx
call fcn.004aca67
add esp, 4
cmp dword [ebp - 0xe4], 0
je 0x431e4e
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 0x431e7f
push 0x4fbec0
mov edx, dword [ebp + 8]
push edx
call fcn.004acb15
add esp, 8
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0xcc], 0
je 0x431e7f
mov eax, dword [ebp - 0xcc]
push eax
call fcn.004aca67
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004c003c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret