Function at 0x403170
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42bbb8
mov eax, dword fs:[0]
push eax
mov eax, 0x5e64
call fcn.0041a300
mov eax, dword [0x439190]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x2f0c
lea eax, [ebp - 0x2f50]
push 0x43f128
push eax
mov edi, ecx
call fcn.00419be0
push 0x2f0c
lea ecx, [ebp - 0x2f50]
push ecx
lea edx, [ebp - 0x5e70]
push edx
call fcn.00419be0
push 0x2efc
lea eax, [ebp - 0x5e60]
push eax
lea ecx, [ebp - 0x2f40]
push ecx
call fcn.00419be0
xor eax, eax
xor ebx, ebx
mov dword [ebp - 0x1e], eax
mov dword [ebp - 0x1a], eax
mov dword [ebp - 0x16], eax
mov word [ebp - 0x12], ax
add esp, 0x24
lea eax, [ebp - 0x20]
xor edx, edx
push eax
mov word [ebp - 0x20], dx
mov dword [ebp - 0x2f60], ebx
mov dword [ebp - 0x2f5c], ebx
mov dword [ebp - 0x2f58], ebx
mov dword [ebp - 0x2f54], ebx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov esi, dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea eax, [ebp - 0x2f60]
push eax
lea ecx, [ebp - 0x20]
push ecx
mov dword [ebp - 0x2f16], 0x3b0017
call esi
lea edx, [ebp - 0x2f58]
push edx
lea eax, [ebp - 0x2f1e]
push eax
call esi
lea ecx, [ebp - 0x2f60]
push ecx
lea edx, [ebp - 0x2f58]
push edx
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
cmp eax, 0xffffffff
jne 0x403275
cmp dword [ebp - 0x2ef8], 1
je 0x40328c
mov eax, dword [ebp - 0x2f0c]
cmp eax, ebx
jg 0x403419
cmp eax, 0xfffffffe
je 0x403419
cmp dword [ebp - 0x2efc], ebx
je 0x403393
lea esi, [ebp - 0x3c]
call fcn.00407210
lea ecx, [ebp - 0x6b0]
lea esi, [ecx + 1]
lea esp, [esp]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x4032b0
sub ecx, esi
mov esi, dword [eax + 0x10]
mov edi, ecx
mov ecx, esi
cmp esi, edi
jb 0x4032c6
mov ecx, edi
cmp dword [eax + 0x14], 0x10
jb 0x4032d0
mov edx, dword [eax]
jmp 0x4032d2
mov edx, eax
mov eax, ecx
lea ecx, [ebp - 0x6b0]
call fcn.00401cb0
cmp eax, ebx
jne 0x4032f5
cmp esi, edi
jae 0x4032ec
or eax, 0xffffffff
jmp 0x4032f3
xor eax, eax
cmp esi, edi
setne al
cmp eax, ebx
setne bl
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x28], 0x10
jb 0x403311
mov eax, dword [ebp - 0x3c]
push eax
call fcn.0041866f
add esp, 4
mov dword [ebp - 0x28], 0xf
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x3c], 0
test bl, bl
je 0x403419
push str.MIXIN_TITLE_CAPTION_ERROR
push 0x442430
mov edi, 0x43a754
call fcn.004011c0
push str.MIXIN_TITLE_FILE_NO_OPEN
push 0x442430
mov edi, 0x43a738
call fcn.004011c0
mov ecx, dword [0x43a754]
mov esi, 8
add esp, 0x10
cmp dword [0x43a768], esi
jae 0x40336e
mov ecx, 0x43a754
mov eax, dword [0x43a738]
cmp dword [0x43a74c], esi
jae 0x403380
mov eax, 0x43a738
push 0x10
push ecx
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
xor al, al
jmp 0x40341b
mov esi, 8
cmp dword [edi + 0x14], esi
jb 0x40339f
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push str.MIXIN_TITLE_CAPTION_INFO
push 0x442430
mov edi, 0x43a754
call fcn.004011c0
push str.MIXIN_TITLE_INVALID
push 0x442430
mov edi, 0x43a738
call fcn.004011c0
mov ecx, dword [0x43a754]
add esp, 0x10
cmp dword [0x43a768], esi
jae 0x4033e4
mov ecx, 0x43a754
mov eax, dword [0x43a738]
cmp dword [0x43a74c], esi
jae 0x4033f6
mov eax, 0x43a738
push 0x40
push ecx
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [ebp - 0x2f0c]
push ecx
push str.m_ssi.config_data.dwTimes_d
call fcn.00416600
add esp, 8
xor al, al
jmp 0x40341b
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004180c9
mov esp, ebp
pop ebp
ret