Function at 0x4130ef
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45239a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x193c
call fcn.00451730
mov dword [ebp - 0x1948], ecx
lea ecx, [ebp - 0x12c8]
call fcn.0043d7b0
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp - 0x12c4]
call fcn.004374f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x12dc]
call fcn.00450010
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x173c]
call fcn.00439680
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x1948]
mov cx, word [eax + 0x684]
push ecx
lea ecx, [ebp - 0x12dc]
call fcn.004502b0
mov dword [ebp - 0x151c], 0x2005
mov dword [ebp - 0x218], 1
push 0
lea edx, [ebp - 0x218]
push edx
push 4
push 0x461c10
push 2
push 0x80000001
lea ecx, [ebp - 0x12c8]
call fcn.0043dc91
cmp dword [ebp - 0x218], 0
je 0x41338d
cmp dword [ebp + 8], 0
jne 0x41338d
mov eax, dword [ebp - 0x1948]
mov cx, word [eax + 0x684]
push ecx
lea ecx, [ebp - 0x12c4]
call fcn.0043754a
mov edx, dword [ebp - 0x1948]
add edx, 0x91c
push edx
lea ecx, [ebp - 0x12c4]
call fcn.00437565
lea ecx, [ebp - 0x12c4]
call sub.MFC42u.DLL_CDialog::DoModal
cmp eax, 1
jne 0x413366
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x12c4]
call fcn.0043759b
lea ecx, [ebp - 0x214]
push ecx
mov edx, dword [ebp - 0x1948]
add edx, 0x91c
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x628]
push eax
lea ecx, [ebp - 0x12c4]
call fcn.004375b9
push 0
push 0
lea ecx, [ebp - 0x1724]
push ecx
push 0
push 1
push 0x1bcb
lea ecx, [ebp - 0x12dc]
call fcn.00450079
lea edx, [ebp - 0x1944]
push edx
lea ecx, [ebp - 0x12c4]
call fcn.004375d9
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x12c4]
call fcn.004375f9
lea ecx, [ebp - 0x173c]
call fcn.004396ff
mov ecx, dword [ebp - 0x1948]
add ecx, 0x91c
push ecx
lea ecx, [ebp - 0x173c]
call fcn.0043984c
cmp eax, 1
jne 0x413323
lea edx, [ebp - 0x628]
push edx
call dword [sym.imp.KERNEL32.dll_GetACP]
push eax
push 4
lea ecx, [ebp - 0x173c]
call fcn.00439ddb
lea eax, [ebp - 0x1724]
push eax
call dword [sym.imp.KERNEL32.dll_GetACP]
push eax
push 0
lea ecx, [ebp - 0x173c]
call fcn.00439ddb
lea ecx, [ebp - 0x1944]
push ecx
call dword [sym.imp.KERNEL32.dll_GetACP]
push eax
push 1
lea ecx, [ebp - 0x173c]
call fcn.00439ddb
lea edx, [ebp - 0x420]
push edx
call dword [sym.imp.KERNEL32.dll_GetACP]
push eax
push 3
lea ecx, [ebp - 0x173c]
call fcn.00439ddb
lea ecx, [ebp - 0x173c]
call fcn.004398e3
lea ecx, [ebp - 0x173c]
call fcn.00439730
push 1
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x1944]
push ecx
lea edx, [ebp - 0x1724]
push edx
lea eax, [ebp - 0x628]
push eax
mov ecx, dword [ebp - 0x1948]
add ecx, 0x91c
push ecx
mov ecx, dword [ebp - 0x1948]
call fcn.004136b6
jmp 0x413388
mov edx, dword [ebp - 0x1948]
add edx, 0x91c
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x1948]
mov word [eax + 0x91c], 0
jmp 0x41358e
mov ecx, dword [ebp - 0x1948]
add ecx, 0x91c
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
sub eax, 1
mov dword [ebp - 0x218], eax
jmp 0x4133ba
mov edx, dword [ebp - 0x218]
sub edx, 1
mov dword [ebp - 0x218], edx
cmp dword [ebp - 0x218], 0
jbe 0x413403
mov eax, dword [ebp - 0x218]
mov ecx, dword [ebp - 0x1948]
xor edx, edx
mov dx, word [ecx + eax*2 + 0x91c]
cmp edx, 0x5c
jne 0x413401
mov eax, dword [ebp - 0x218]
mov ecx, dword [ebp - 0x1948]
lea edx, [ecx + eax*2 + 0x91e]
push edx
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x413403
jmp 0x4133ab
lea ecx, [ebp - 0x628]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
sub eax, 1
mov dword [ebp - 0x218], eax
jmp 0x41342a
mov edx, dword [ebp - 0x218]
sub edx, 1
mov dword [ebp - 0x218], edx
cmp dword [ebp - 0x218], 0
jbe 0x41345c
mov eax, dword [ebp - 0x218]
xor ecx, ecx
mov cx, word [ebp + eax*2 - 0x628]
cmp ecx, 0x2e
jne 0x41345a
mov edx, dword [ebp - 0x218]
mov word [ebp + edx*2 - 0x628], 0
jmp 0x41345c
jmp 0x41341b
push 0
push 0
lea eax, [ebp - 0x1724]
push eax
push 0
push 1
push 0x1bcb
lea ecx, [ebp - 0x12dc]
call fcn.00450079
push 0
push 0
lea ecx, [ebp - 0x1944]
push ecx
push 0
push 1
push 0x24c0
lea ecx, [ebp - 0x12dc]
call fcn.00450079
lea edx, [ebp - 0x1944]
push edx
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea ecx, [ebp - 0x173c]
call fcn.004396ff
mov ecx, dword [ebp - 0x1948]
add ecx, 0x91c
push ecx
lea ecx, [ebp - 0x173c]
call fcn.0043984c
cmp eax, 1
jne 0x41354d
lea edx, [ebp - 0x628]
push edx
call dword [sym.imp.KERNEL32.dll_GetACP]
push eax
push 4
lea ecx, [ebp - 0x173c]
call fcn.00439ddb
lea eax, [ebp - 0x1724]
push eax
call dword [sym.imp.KERNEL32.dll_GetACP]
push eax
push 0
lea ecx, [ebp - 0x173c]
call fcn.00439ddb
lea ecx, [ebp - 0x1944]
push ecx
call dword [sym.imp.KERNEL32.dll_GetACP]
push eax
push 1
lea ecx, [ebp - 0x173c]
call fcn.00439ddb
lea edx, [ebp - 0x420]
push edx
call dword [sym.imp.KERNEL32.dll_GetACP]
push eax
push 3
lea ecx, [ebp - 0x173c]
call fcn.00439ddb
lea ecx, [ebp - 0x173c]
call fcn.004398e3
lea ecx, [ebp - 0x173c]
call fcn.00439730
push 1
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x1944]
push ecx
lea edx, [ebp - 0x1724]
push edx
lea eax, [ebp - 0x628]
push eax
mov ecx, dword [ebp - 0x1948]
add ecx, 0x91c
push ecx
mov ecx, dword [ebp - 0x1948]
call fcn.004136b6
push 1
mov ecx, dword [ebp - 0x1948]
call fcn.00415195
push 0x104
lea edx, [ebp - 0x14e4]
push edx
push 0x37df
call fcn.00404110
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
push 0x461c2c
lea eax, [ebp - 0x150c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ecx, dword [ebp - 0x1948]
cmp dword [ecx + 0x6b0], 0
je 0x413613
lea edx, [ebp - 0x151c]
push edx
mov eax, dword [ebp - 0x1948]
mov ecx, dword [eax + 0x6b0]
call fcn.00426d8c
mov dword [ebp - 0x151c], 0x2002
lea ecx, [ebp - 0x151c]
push ecx
mov edx, dword [ebp - 0x1948]
mov ecx, dword [edx + 0x6b0]
call fcn.00426d8c
mov eax, dword [ebp - 0x1948]
cmp dword [eax + 0x6b4], 0
je 0x41365c
lea ecx, [ebp - 0x151c]
push ecx
mov edx, dword [ebp - 0x1948]
mov ecx, dword [edx + 0x6b4]
call fcn.00426d8c
mov dword [ebp - 0x151c], 0x2002
lea eax, [ebp - 0x151c]
push eax
mov ecx, dword [ebp - 0x1948]
mov ecx, dword [ecx + 0x6b4]
call fcn.00426d8c
mov ecx, dword [ebp - 0x1948]
call fcn.00419ee0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x173c]
call fcn.004396ac
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x12dc]
call fcn.0045004f
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x12c4]
call fcn.00420330
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x12c8]
call fcn.0043d7be
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4