Function at 0x40c900
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x81c
mov eax, dword [0x41e038]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x41e5e0], 8
mov eax, dword [0x41e5cc]
push ebx
push esi
push edi
jae 0x40c929
mov eax, 0x41e5cc
push eax
lea eax, [ebp - 0x744]
call fcn.004081d0
mov esi, 0x10
add esp, 4
cmp dword [eax + 0x14], esi
jb 0x40c944
mov eax, dword [eax]
mov ecx, eax
call fcn.00416f80
mov ebx, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
mov edi, eax
mov dword [ebp - 0x7bc], edi
cmp dword [ebp - 0x730], esi
jb 0x40c96d
mov eax, dword [ebp - 0x744]
push eax
call ebx
add esp, 4
test edi, edi
jne 0x40ca01
xor ecx, ecx
push 0x2b
mov eax, 0x402110
lea esi, [ebp - 0x744]
mov dword [ebp - 0x730], 7
mov dword [ebp - 0x734], edi
mov word [ebp - 0x744], cx
call fcn.004088c0
push edi
push 0x41e5cc
or eax, 0xffffffff
call fcn.00408c70
mov eax, dword [ebp - 0x744]
mov esi, 8
cmp dword [ebp - 0x730], esi
jae 0x40c9c7
lea eax, [ebp - 0x744]
push 0x40010
push 0x401968
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp dword [ebp - 0x730], esi
jb 0x40c9ee
mov edx, dword [ebp - 0x744]
push edx
call ebx
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041b4f6
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x728]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [ebp - 0x728]
push ecx
push 0
push 0x402168
mov edx, ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov edi, dword [sym.imp.MSVCR100.dll__wcsicmp]
mov ebx, dword [sym.imp.MSVCR100.dll_wcschr]
jmp 0x40ca40
mov edx, dword [ebp - 0x7bc]
lea eax, [ebp - 0x520]
lea esi, [ebp - 0x818]
call fcn.00417410
test eax, eax
jne 0x40cbbe
lea eax, [ebp - 0x520]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40ca68
push 0x104
sub eax, edx
lea ecx, [ebp - 0x210]
push ecx
inc eax
push eax
lea edx, [ebp - 0x520]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x210]
push 0x5c
push eax
call ebx
add esp, 8
test eax, eax
je 0x40cabc
lea edx, [ebp - 0x210]
mov ecx, 0x2f
push 0x5c
push edx
mov word [eax], cx
call ebx
add esp, 8
test eax, eax
jne 0x40caa2
lea eax, [ebp - 0x210]
push 0x2f
push eax
call dword [sym.imp.MSVCR100.dll_wcsrchr]
mov esi, eax
add esp, 8
test esi, esi
jne 0x40cadc
lea esi, [ebp - 0x210]
jmp 0x40cadf
add esi, 2
push 0x402170
push esi
call edi
add esp, 8
test eax, eax
je 0x40cb6b
push 0x402188
push esi
call edi
add esp, 8
test eax, eax
je 0x40cb6b
push 0x4021a8
push esi
call edi
add esp, 8
test eax, eax
je 0x40cb1b
push 0x4021c0
push esi
call edi
add esp, 8
test eax, eax
jne 0x40cb56
lea ecx, [ebp - 0x7bc]
push ecx
lea edi, [ebp - 0x728]
call fcn.0040d8f0
add esp, 4
test al, al
je 0x40c9ee
push 0x10
push 0
push 0
push 0
mov edx, edi
push edx
push 0
call dword [sym.imp.USER32.dll_LoadImageW]
mov edi, dword [sym.imp.MSVCR100.dll__wcsicmp]
mov dword [0x41e530], eax
mov esi, dword [ebp - 0x7bc]
call fcn.00417510
test eax, eax
je 0x40ca40
jmp 0x40cbbe
lea eax, [ebp - 0x7bc]
push eax
lea edi, [ebp - 0x728]
call fcn.0040d8f0
add esp, 4
test al, al
je 0x40c9ee
lea eax, [ebp - 0x210]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40cb91
sub eax, edx
sar eax, 1
mov ecx, eax
mov eax, esi
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x40cba7
sub eax, esi
sar eax, 1
sub ecx, eax
mov dword [0x41e570], ecx
lea ecx, [ebp - 0x728]
call fcn.0040de10
test al, al
jne 0x40cc75
mov esi, dword [ebp - 0x7bc]
call fcn.00416f90
xor ecx, ecx
push 0x1a
mov eax, 0x4021e0
lea esi, [ebp - 0x744]
mov dword [ebp - 0x730], 7
mov dword [ebp - 0x734], 0
mov word [ebp - 0x744], cx
call fcn.004088c0
push 0
push 0x41e5cc
or eax, 0xffffffff
call fcn.00408c70
mov eax, dword [ebp - 0x744]
mov esi, 8
cmp dword [ebp - 0x730], esi
jae 0x40cc33
lea eax, [ebp - 0x744]
push 0x40010
push 0x401968
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp dword [ebp - 0x730], esi
jb 0x40c9ee
mov edx, dword [ebp - 0x744]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041b4f6
mov esp, ebp
pop ebp
ret
mov edi, dword [0x41e570]
xor esi, esi
xor eax, eax
push esi
mov word [ebp - 0x7b4], ax
lea edi, [ebp + edi*2 - 0x210]
push 0x41e604
or eax, 0xffffffff
lea ecx, [ebp - 0x7b4]
mov byte [ebp - 0x7b5], 0
mov dword [ebp - 0x7c4], edi
mov dword [ebp - 0x7a0], 7
mov dword [ebp - 0x7a4], esi
call fcn.00408480
xor ecx, ecx
push esi
mov word [ebp - 0x798], cx
push 0x41e63c
or eax, 0xffffffff
lea ecx, [ebp - 0x798]
mov dword [ebp - 0x784], 7
mov dword [ebp - 0x788], esi
call fcn.00408480
push esi
xor edx, edx
push 0x41e63c
or eax, 0xffffffff
lea ecx, [ebp - 0x77c]
mov dword [ebp - 0x768], 7
mov dword [ebp - 0x76c], esi
mov word [ebp - 0x77c], dx
call fcn.00408480
push 7
mov eax, 0x40160c
lea ecx, [ebp - 0x7b4]
call fcn.00408790
push 7
mov eax, 0x402218
lea ecx, [ebp - 0x798]
call fcn.00408790
push 8
mov eax, 0x402228
lea ecx, [ebp - 0x77c]
call fcn.00408790
mov esi, dword [ebp - 0x7bc]
call fcn.004174b0
jmp 0x40cd66
mov edi, dword [ebp - 0x7c4]
mov edx, dword [ebp - 0x7bc]
lea eax, [ebp - 0x520]
lea esi, [ebp - 0x818]
call fcn.00417410
test eax, eax
jne 0x40d6ee
lea eax, [ebp - 0x520]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40cd90
push 0x104
sub eax, edx
lea ecx, [ebp - 0x210]
push ecx
inc eax
push eax
lea edx, [ebp - 0x520]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x210]
push 0x5c
push eax
call ebx
add esp, 8
test eax, eax
je 0x40cdea
lea ebx, [ebx]
lea edx, [ebp - 0x210]
mov ecx, 0x2f
push 0x5c
push edx
mov word [eax], cx
call ebx
add esp, 8
test eax, eax
jne 0x40cdd0
mov esi, dword [sym.imp.MSVCR100.dll__wcsnicmp]
push 6
push 0x40223c
push edi
call esi
add esp, 0xc
test eax, eax
jne 0x40d099
push 0x2f
lea esi, [edi + 0xc]
push esi
call ebx
add esp, 8
test eax, eax
je 0x40d6db
xor ecx, ecx
xor edx, edx
mov word [eax], cx
mov eax, esi
mov word [ebp - 0x744], dx
mov dword [ebp - 0x730], 7
mov dword [ebp - 0x734], ecx
lea edx, [eax + 2]
jmp 0x40ce40
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40ce40
sub eax, edx
sar eax, 1
push eax
lea eax, [edi + 0xc]
lea esi, [ebp - 0x744]
call fcn.004088c0
xor eax, eax
mov word [ebp - 0x760], ax
mov eax, edi
mov dword [ebp - 0x74c], 7
mov dword [ebp - 0x750], 0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40ce80
sub eax, edx
sar eax, 1
push eax
mov eax, edi
lea esi, [ebp - 0x760]
call fcn.004088c0
push 1
mov eax, 0x40224c
mov ecx, esi
call fcn.00408790
mov ecx, dword [ebp - 0x750]
mov esi, dword [ebp - 0x7bc]
mov dword [ebp - 0x7c0], ecx
call fcn.00417510
test eax, eax
jne 0x40cf98
lea ebx, [ebx]
mov esi, dword [ebp - 0x7bc]
call fcn.00417510
mov edx, dword [ebp - 0x7bc]
lea eax, [ebp - 0x520]
lea esi, [ebp - 0x818]
call fcn.00417410
lea eax, [ebp - 0x520]
lea edx, [eax + 1]
jmp 0x40cf00
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40cf00
push 0x104
sub eax, edx
lea edx, [ebp - 0x210]
push edx
inc eax
push eax
lea eax, [ebp - 0x520]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea ecx, [ebp - 0x210]
push 0x5c
push ecx
call ebx
add esp, 8
test eax, eax
je 0x40cf5a
lea ebx, [ebx]
mov edx, 0x2f
mov word [eax], dx
lea eax, [ebp - 0x210]
push 0x5c
push eax
call ebx
add esp, 8
test eax, eax
jne 0x40cf40
cmp dword [ebp - 0x74c], 8
mov eax, dword [ebp - 0x760]
jae 0x40cf6f
lea eax, [ebp - 0x760]
mov ecx, dword [ebp - 0x7c0]
push ecx
push eax
push edi
call dword [sym.imp.MSVCR100.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x40cf98
mov esi, dword [ebp - 0x7bc]
call fcn.00417510
test eax, eax
je 0x40ced0
cmp dword [ebp - 0x730], 8
mov eax, dword [ebp - 0x744]
jae 0x40cfad
lea eax, [ebp - 0x744]
push 0x40179c
push eax
call dword [sym.imp.MSVCR100.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x40d03e
cmp dword [0x41e6a0], 0
je 0x40cfda
push 3
mov eax, 0x402250
mov ecx, 0x41e690
call fcn.00408790
push 0
lea edx, [ebp - 0x744]
push edx
or eax, 0xffffffff
mov esi, 0x41e690
call fcn.00408c70
push 0
push 0x41e620
or eax, 0xffffffff
lea esi, [ebp - 0x744]
call fcn.004119a0
cmp dword [ebp - 0x730], 8
mov eax, dword [ebp - 0x744]
jae 0x40d016
mov eax, esi
push 0
push eax
call dword [sym.imp.MSVCR100.dll__waccess]
add esp, 8
test eax, eax
jne 0x40d03e
push 1
mov eax, 0x401a14
mov ecx, 0x41e690
call fcn.00408790
mov byte [ebp - 0x7b5], 1
mov esi, 8
cmp dword [ebp - 0x74c], esi
jb 0x40d05b
mov eax, dword [ebp - 0x760]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x74c], 7
mov dword [ebp - 0x750], 0
mov word [ebp - 0x760], cx
cmp dword [ebp - 0x730], esi
jb 0x40d6db
mov edx, dword [ebp - 0x744]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
jmp 0x40d6db
push 7
push 0x402258
push edi
call esi
add esp, 0xc
test eax, eax
jne 0x40d327
push 0x2f
lea esi, [edi + 0xe]
push esi
call ebx
add esp, 8
test eax, eax
je 0x40d6db
xor ecx, ecx
xor edx, edx
mov word [eax], cx
mov eax, esi
mov word [ebp - 0x760], dx
mov dword [ebp - 0x74c], 7
mov dword [ebp - 0x750], ecx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40d0e4
sub eax, edx
sar eax, 1
push eax
lea eax, [edi + 0xe]
lea esi, [ebp - 0x760]
call fcn.004088c0
xor eax, eax
mov word [ebp - 0x744], ax
mov eax, edi
mov dword [ebp - 0x730], 7
mov dword [ebp - 0x734], 0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40d124
sub eax, edx
sar eax, 1
push eax
mov eax, dword [ebp - 0x7c4]
lea esi, [ebp - 0x744]
call fcn.004088c0
push 1
mov eax, 0x40224c
mov ecx, esi
call fcn.00408790
mov esi, dword [ebp - 0x7bc]
mov edi, dword [ebp - 0x734]
call fcn.00417510
test eax, eax
jne 0x40d228
lea esp, [esp]
mov edx, dword [ebp - 0x7bc]
lea eax, [ebp - 0x520]
lea esi, [ebp - 0x818]
call fcn.00417410
lea eax, [ebp - 0x520]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40d190
push 0x104
sub eax, edx
lea ecx, [ebp - 0x210]
push ecx
inc eax
push eax
lea edx, [ebp - 0x520]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x210]
push 0x5c
push eax
call ebx
add esp, 8
test eax, eax
je 0x40d1ea
lea ebx, [ebx]
lea edx, [ebp - 0x210]
mov ecx, 0x2f
push 0x5c
push edx
mov word [eax], cx
call ebx
add esp, 8
test eax, eax
jne 0x40d1d0
cmp dword [ebp - 0x730], 8
mov eax, dword [ebp - 0x744]
jae 0x40d1ff
lea eax, [ebp - 0x744]
push edi
push eax
mov eax, dword [ebp - 0x7c4]
push eax
call dword [sym.imp.MSVCR100.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x40d228
mov esi, dword [ebp - 0x7bc]
call fcn.00417510
test eax, eax
je 0x40d170
cmp dword [ebp - 0x74c], 8
mov eax, dword [ebp - 0x760]
jae 0x40d23d
lea eax, [ebp - 0x760]
push 0x40179c
push eax
call dword [sym.imp.MSVCR100.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x40d2cc
cmp dword [0x41e6bc], 0
je 0x40d268
push 0x41e6ac
mov eax, 0x402250
call fcn.00408300
push 0
lea ecx, [ebp - 0x760]
push ecx
or eax, 0xffffffff
mov esi, 0x41e6ac
call fcn.00408c70
push 0
lea edx, [ebp - 0x7b4]
push edx
or eax, 0xffffffff
lea esi, [ebp - 0x760]
call fcn.004119a0
cmp dword [ebp - 0x74c], 8
mov eax, dword [ebp - 0x760]
jae 0x40d2a6
mov eax, esi
push 0
push eax
call dword [sym.imp.MSVCR100.dll__waccess]
add esp, 8
test eax, eax
jne 0x40d2cc
push 0x41e6ac
mov eax, 0x401a14
call fcn.00408300
mov byte [ebp - 0x7b5], 1
mov esi, 8
cmp dword [ebp - 0x730], esi
jb 0x40d2e9
mov eax, dword [ebp - 0x744]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x730], 7
mov dword [ebp - 0x734], 0
mov word [ebp - 0x744], cx
cmp dword [ebp - 0x74c], esi
jb 0x40d6db
mov edx, dword [ebp - 0x760]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
jmp 0x40d6db
push 7
push 0x402268
push edi
call esi
add esp, 0xc
test eax, eax
jne 0x40d57d
push 0x2f
lea esi, [edi + 0xe]
push esi
call ebx
add esp, 8
test eax, eax
je 0x40d6db
xor ecx, ecx
mov word [eax], cx
mov eax, esi
lea ecx, [ebp - 0x744]
call fcn.00408290
mov eax, edi
lea ecx, [ebp - 0x760]
call fcn.00408290
push 1
mov eax, 0x40224c
lea ecx, [ebp - 0x760]
call fcn.00408790
mov edx, dword [ebp - 0x750]
mov esi, dword [ebp - 0x7bc]
mov dword [ebp - 0x7c0], edx
call fcn.00417510
test eax, eax
jne 0x40d458
nop
mov edx, dword [ebp - 0x7bc]
lea eax, [ebp - 0x520]
lea esi, [ebp - 0x818]
call fcn.00417410
lea eax, [ebp - 0x520]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40d3c0
push 0x104
sub eax, edx
lea ecx, [ebp - 0x210]
push ecx
inc eax
push eax
lea edx, [ebp - 0x520]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x210]
push 0x5c
push eax
call ebx
add esp, 8
test eax, eax
je 0x40d41a
lea ebx, [ebx]
lea edx, [ebp - 0x210]
mov ecx, 0x2f
push 0x5c
push edx
mov word [eax], cx
call ebx
add esp, 8
test eax, eax
jne 0x40d400
cmp dword [ebp - 0x74c], 8
mov eax, dword [ebp - 0x760]
jae 0x40d42f
lea eax, [ebp - 0x760]
mov ecx, dword [ebp - 0x7c0]
push ecx
push eax
push edi
call dword [sym.imp.MSVCR100.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x40d458
mov esi, dword [ebp - 0x7bc]
call fcn.00417510
test eax, eax
je 0x40d3a0
cmp dword [ebp - 0x730], 8
mov eax, dword [ebp - 0x744]
jae 0x40d46d
lea eax, [ebp - 0x744]
push 0x40179c
push eax
call dword [sym.imp.MSVCR100.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x40d522
cmp dword [ebp - 0x730], 8
mov esi, dword [ebp - 0x744]
jae 0x40d499
lea esi, [ebp - 0x744]
call fcn.0040eb70
test al, al
jne 0x40d522
cmp dword [0x41e668], 0
je 0x40d4be
push 0x41e658
mov eax, 0x402250
call fcn.00408300
push 0
lea edx, [ebp - 0x744]
push edx
or eax, 0xffffffff
mov esi, 0x41e658
call fcn.00408c70
push 0
lea eax, [ebp - 0x798]
push eax
or eax, 0xffffffff
lea esi, [ebp - 0x744]
call fcn.004119a0
cmp dword [ebp - 0x730], 8
mov eax, dword [ebp - 0x744]
jae 0x40d4fc
mov eax, esi
push 0
push eax
call dword [sym.imp.MSVCR100.dll__waccess]
add esp, 8
test eax, eax
jne 0x40d522
push 0x41e658
mov eax, 0x401a14
call fcn.00408300
mov byte [ebp - 0x7b5], 1
mov esi, 8
cmp dword [ebp - 0x74c], esi
jb 0x40d53f
mov ecx, dword [ebp - 0x760]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor edx, edx
mov dword [ebp - 0x74c], 7
mov dword [ebp - 0x750], 0
mov word [ebp - 0x760], dx
cmp dword [ebp - 0x730], esi
jb 0x40d6db
mov eax, dword [ebp - 0x744]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
jmp 0x40d6db
push 6
push 0x402278
push edi
call esi
add esp, 0xc
test eax, eax
jne 0x40d5ec
cmp word [edi + 0xc], ax
lea esi, [edi + 0xc]
je 0x40d5e6
lea eax, [edi + 0x1c]
push 0x2f
push eax
call ebx
add esp, 8
test eax, eax
jne 0x40d5e6
push 0x2e
push esi
call ebx
push 0x402288
push eax
call dword [sym.imp.MSVCR100.dll__wcsicmp]
add esp, 0x10
test eax, eax
jne 0x40d5e6
cmp dword [0x41e6d8], eax
je 0x40d5d5
push 0x41e6c8
mov eax, 0x402250
call fcn.00408300
push 0x41e6c8
mov eax, esi
call fcn.00408300
jmp 0x40d6db
mov esi, dword [sym.imp.MSVCR100.dll__wcsnicmp]
push 0xe
push 0x402294
push edi
call esi
add esp, 0xc
test eax, eax
jne 0x40d6db
cmp word [edi + 0x1c], ax
lea esi, [edi + 0x1c]
je 0x40d6db
push 0x2f
push esi
call ebx
add esp, 8
test eax, eax
jne 0x40d6db
push 0x2e
push esi
call ebx
push 0x4022b4
push eax
call dword [sym.imp.MSVCR100.dll__wcsicmp]
add esp, 0x10
test eax, eax
jne 0x40d6db
call fcn.0040ea00
test al, al
jne 0x40d6db
cmp dword [0x41e684], 0
je 0x40d65f
push 0x41e674
mov eax, 0x402250
call fcn.00408300
mov eax, esi
lea ecx, [ebp - 0x744]
call fcn.00408290
push 0
lea ecx, [ebp - 0x744]
push ecx
or eax, 0xffffffff
mov esi, 0x41e674
call fcn.00408c70
push 0
lea edx, [ebp - 0x77c]
push edx
or eax, 0xffffffff
lea esi, [ebp - 0x744]
call fcn.004119a0
cmp dword [ebp - 0x730], 8
mov eax, dword [ebp - 0x744]
jae 0x40d6aa
mov eax, esi
push 0
push eax
call dword [sym.imp.MSVCR100.dll__waccess]
add esp, 8
test eax, eax
jne 0x40d6d0
push 0x41e674
mov eax, 0x401a14
mov byte [ebp - 0x7b5], 1
call fcn.00408300
lea esi, [ebp - 0x744]
call fcn.00412770
mov esi, dword [ebp - 0x7bc]
call fcn.00417510
test eax, eax
je 0x40cd60
mov esi, dword [ebp - 0x7bc]
mov ebx, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
mov edi, 8
call fcn.00416f90
lea eax, [ebp - 0x728]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [0x41e6a0], 0
jne 0x40d7d9
cmp dword [0x41e6bc], 0
jne 0x40d7d9
cmp dword [0x41e6d8], 0
jne 0x40d7d9
cmp dword [0x41e668], 0
jne 0x40d7d9
cmp dword [0x41e684], 0
jne 0x40d7d9
mov eax, 0x402300
lea ecx, [ebp - 0x744]
call fcn.00408290
push 0
push 0x41e5cc
or eax, 0xffffffff
lea esi, [ebp - 0x744]
call fcn.00408c70
mov eax, dword [ebp - 0x744]
cmp dword [ebp - 0x730], edi
jae 0x40d787
mov eax, esi
push 0x40010
push 0x401968
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
lea esi, [ebp - 0x744]
call fcn.00412770
lea esi, [ebp - 0x77c]
call fcn.00412770
lea esi, [ebp - 0x798]
call fcn.00412770
lea esi, [ebp - 0x7b4]
call fcn.00412770
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041b4f6
mov esp, ebp
pop ebp
ret
cmp byte [ebp - 0x7b5], 0
je 0x40d863
lea ecx, [ebp - 0x754]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx edx, word [ebp - 0x748]
movzx eax, word [ebp - 0x74a]
movzx ecx, word [ebp - 0x74c]
push edx
movzx edx, word [ebp - 0x74e]
push eax
movzx eax, word [ebp - 0x752]
push ecx
movzx ecx, word [ebp - 0x754]
push edx
push eax
push ecx
lea edx, [ebp - 0x210]
push 0x4022c0
push edx
or edx, 0xffffffff
call fcn.0040aa80
lea eax, [ebp - 0x210]
add esp, 0x20
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40d843
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x210]
mov esi, 0x41e5e8
call fcn.004088c0
cmp dword [ebp - 0x768], edi
jb 0x40d877
mov eax, dword [ebp - 0x77c]
push eax
call ebx
add esp, 4
xor ecx, ecx
mov esi, 7
mov dword [ebp - 0x768], esi
mov dword [ebp - 0x76c], 0
mov word [ebp - 0x77c], cx
cmp dword [ebp - 0x784], edi
jb 0x40d8a9
mov edx, dword [ebp - 0x798]
push edx
call ebx
add esp, 4
xor eax, eax
mov dword [ebp - 0x784], esi
mov dword [ebp - 0x788], 0
mov word [ebp - 0x798], ax
cmp dword [ebp - 0x7a0], edi
jb 0x40d8d6
mov ecx, dword [ebp - 0x7b4]
push ecx
call ebx
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.0041b4f6
mov esp, ebp
pop ebp
ret