Function at 0x4089e0
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x466080
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x510
push ebx
push ebp
push esi
mov ebx, ecx
push edi
mov dword [esp + 0x38], ebx
lea ecx, [esp + 0x24]
mov dword [esp + 0x528], 0
call fcn.0043f879
mov esi, dword [esp + 0x530]
push esi
mov ecx, ebx
mov byte [esp + 0x52c], 1
call fcn.00406270
test eax, eax
je 0x408a66
mov eax, dword [esp + 0x538]
push eax
lea ecx, [esp + 0x28]
push ecx
push ecx
lea eax, [esi - 0x10]
mov dword [esp + 0x20], esp
mov edi, esp
push eax
mov dword [esp + 0x28], eax
call fcn.004019b0
add eax, 0x10
add esp, 4
mov ecx, ebx
mov dword [edi], eax
call fcn.00408710
jmp 0x408a96
mov edx, dword [esp + 0x538]
push edx
lea eax, [esp + 0x28]
push eax
push ecx
lea eax, [esi - 0x10]
mov dword [esp + 0x20], esp
mov edi, esp
push eax
mov dword [esp + 0x28], eax
call fcn.004019b0
add eax, 0x10
add esp, 4
mov ecx, ebx
mov dword [edi], eax
call fcn.004083d0
mov ebp, dword [esp + 0x534]
mov ecx, dword [ebp]
mov eax, dword [ecx - 0xc]
test eax, eax
jne 0x408b4a
push eax
lea edx, [esp + 0x424]
push edx
lea eax, [esp + 0x324]
push eax
lea ecx, [esp + 0x2c]
push ecx
push esi
call fcn.00425300
mov eax, dword [ebp]
mov edi, dword [eax - 4]
sub eax, 0x10
mov eax, dword [eax + 8]
mov ecx, 1
sub ecx, edi
sub eax, 0x104
add esp, 0x14
or eax, ecx
jge 0x408af2
push 0x104
mov ecx, ebp
call fcn.00401960
mov eax, dword [ebp]
push 0x46a27c
lea edx, [esp + 0x424]
push edx
lea ecx, [esp + 0x324]
push ecx
lea edx, [esp + 0x2c]
push edx
push eax
call fcn.0042573d
mov ecx, dword [ebp]
add esp, 0x14
test ecx, ecx
jne 0x408b23
xor eax, eax
jmp 0x408b37
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x408b28
sub eax, esi
js 0x408bc3
cmp eax, dword [ecx - 8]
jg 0x408bc3
mov dword [ecx - 0xc], eax
mov ecx, dword [ebp]
mov byte [eax + ecx], 0
test byte [ebx + 0x48], 1
je 0x408c21
mov edx, dword [ebx + 8]
mov esi, dword [ebp]
push 0
push edx
call fcn.00444b8b
push eax
push str.Zip_Files__.zip_.zip
push 0
push esi
push 0x46a27c
push 0
lea ecx, [esp + 0x174]
call fcn.0043bcab
lea ecx, [esp + 0x158]
mov byte [esp + 0x528], 2
call fcn.0043b94e
lea ecx, [esp + 0x158]
mov dword [eax + 0x30], str.ProjectZip
call fcn.0043b952
cmp eax, 1
lea ecx, [esp + 0x158]
je 0x408bcd
mov byte [esp + 0x528], 1
call fcn.0043bbd3
jmp 0x408cac
push 0x80070057
call fcn.00401500
lea eax, [esp + 0x14]
push eax
call fcn.0043be4b
push eax
mov ecx, ebp
mov byte [esp + 0x52c], 3
call fcn.004021e0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x528], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408c0d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x158]
mov byte [esp + 0x528], 1
call fcn.0043bbd3
test byte [ebx + 0x48], 0x20
je 0x408d19
mov eax, dword [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x408d19
call fcn.00441a77
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov eax, dword [ebp]
push eax
lea ecx, [esp + 0x18]
push str.The_file__s_already_exists._n_nAre_you_sure_that_you_want_to_overwrite_it_
push ecx
mov byte [esp + 0x534], 4
call fcn.004038a0
mov esi, dword [esp + 0x20]
mov edx, dword [ebx + 8]
add esp, 0xc
push 4
push 0x46a1a0
push esi
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 7
jne 0x408ced
lea eax, [esi - 0x10]
mov byte [esp + 0x528], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408cac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x24]
mov byte [esp + 0x528], 0
call fcn.0043f8f6
mov eax, dword [esp + 0x18]
mov dword [esp + 0x528], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408ce3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 2
jmp 0x408ed3
mov eax, dword [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [esi - 0x10]
mov byte [esp + 0x528], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408d19
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push 0
push 0
push 0
lea ecx, [esp + 0x48]
call fcn.004143a0
mov byte [esp + 0x528], 5
call fcn.0046012c
mov ecx, dword [eax + 4]
call fcn.0044802a
mov edi, dword [esp + 0x18]
lea eax, [esp + 0x24]
push eax
push ecx
mov dword [esp + 0x1c], esp
mov esi, esp
push edi
mov byte [esp + 0x534], 6
call fcn.004019b0
add esp, 4
lea ecx, [esp + 0x24]
add eax, 0x10
push ecx
mov ecx, ebx
mov dword [esi], eax
call fcn.004065d0
mov edx, dword [esp + 0x1c]
mov eax, dword [ebp]
push 0
push edx
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x534], 7
call fcn.00414270
test al, al
jne 0x408e1c
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x528], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408db9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov byte [esp + 0x528], 5
call fcn.0046012c
mov ecx, dword [eax + 4]
call fcn.0044803f
lea ecx, [esp + 0x3c]
mov byte [esp + 0x528], 1
call fcn.004139c0
lea ecx, [esp + 0x24]
mov byte [esp + 0x528], 0
call fcn.0043f8f6
mov dword [esp + 0x528], 0xffffffff
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x408e12
mov ecx, dword [edi]
mov edx, dword [ecx]
push edi
call dword [edx + 4]
mov eax, 1
jmp 0x408ed3
mov eax, dword [esp + 0x2c]
test eax, eax
mov ebx, eax
jne 0x408ef2
lea ecx, [esp + 0x3c]
call fcn.004137b0
mov eax, dword [esp + 0x38]
test byte [eax + 0x48], 0x40
je 0x408e4e
mov ecx, ebp
call fcn.00401ff0
mov ebp, dword [ebp]
push ebp
push ebp
call fcn.004487e6
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x528], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408e74
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov byte [esp + 0x528], 5
call fcn.0046012c
mov ecx, dword [eax + 4]
call fcn.0044803f
lea ecx, [esp + 0x3c]
mov byte [esp + 0x528], 1
call fcn.004139c0
lea ecx, [esp + 0x24]
mov byte [esp + 0x528], 0
call fcn.0043f8f6
mov eax, dword [esp + 0x18]
mov dword [esp + 0x528], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408ed1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
mov ecx, dword [esp + 0x520]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x51c
ret 0xc
mov eax, dword [esp + 0x2c]
dec ebx
js 0x408fcc
cmp ebx, eax
jge 0x408fcc
mov eax, dword [esp + 0x28]
mov esi, dword [eax + ebx*4]
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
sub esi, 0x10
call dword [edx + 0x10]
mov edx, dword [esi + 0xc]
test edx, edx
lea ecx, [esi + 0xc]
jl 0x408f2e
cmp eax, dword [esi]
jne 0x408f2e
mov eax, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x408f60
mov ecx, dword [esi + 4]
mov edx, dword [eax]
push 1
push ecx
mov ecx, eax
call dword [edx]
test eax, eax
je 0x408fc7
mov edx, dword [esi + 4]
mov dword [eax + 4], edx
mov ecx, dword [esi + 4]
inc ecx
mov edx, ecx
shr ecx, 2
add esi, 0x10
lea edi, [eax + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
add eax, 0x10
mov dword [esp + 0x14], eax
push 0
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x530], 8
call fcn.004139f0
test al, al
jne 0x408f94
mov ecx, dword [esp + 0x538]
mov eax, dword [ecx + 8]
lea edx, [esp + 0x14]
push edx
push eax
call fcn.0043fbca
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x528], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408fba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test ebx, ebx
jne 0x408eee
jmp 0x408e2a
call fcn.00401760
call fcn.0043b75f
int3