Function at 0x403330
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41e6db
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x42f034]
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
lea ecx, [ebp + 0x20]
mov dword [ebp - 4], 1
call fcn.00404600
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp + 0x20]
push eax
call fcn.00401640
call fcn.004065d0
add esp, 0x18
mov dword [ebp - 0x14], 7
xor eax, eax
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
lea ecx, [ebp - 0x28]
push 0xffffffffffffffff
push eax
lea eax, [ebp + 0x20]
push eax
call fcn.00401640
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00404600
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov byte [ebp - 4], 1
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
setne bl
cmp dword [ebp - 0x14], 8
jb 0x4033f7
push dword [ebp - 0x28]
call edi
add esp, 4
test bl, bl
jne 0x403427
cmp dword [ebp + 0x34], 8
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
push eax
push str._AutoUpdate__ERR:Unzip_fail_dir___s__not_exist_
push 1
push 0x1e
push 0x4221f0
push 0x421fe4
call fcn.00412eb0
add esp, 0x18
jmp 0x403665
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push 0
cmovae eax, dword [ebp + 8]
push eax
call fcn.00410490
mov esi, eax
add esp, 8
mov dword [ebp - 0x25c], esi
test esi, esi
jne 0x403477
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
push str._AutoUpdate__ERR:OpenZip_fail____s
push 1
push 0x24
push 0x422280
push 0x42204c
call fcn.00412eb0
add esp, 0x18
xor bl, bl
jmp 0x403665
push 0x22c
lea eax, [ebp - 0x254]
mov dword [ebp - 0x258], 0
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x258]
push eax
push 0xffffffffffffffff
push esi
call fcn.004104b0
mov eax, dword [ebp - 0x258]
add esp, 0xc
xor ebx, ebx
mov dword [ebp - 0x260], eax
test eax, eax
jle 0x403663
nop
push 0x230
lea eax, [ebp - 0x258]
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x258]
push eax
push ebx
push esi
call fcn.004104b0
add esp, 0xc
lea ecx, [ebp - 0x254]
cmp dword [ebp + 0x34], 8
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
push ecx
push eax
lea eax, [ebp - 0x28]
push 0x42213c
push eax
call fcn.00405e80
add esp, 0x10
mov byte [ebp - 4], 3
test byte [ebp - 0x4c], 0x10
je 0x40355c
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp - 0x28]
push eax
call fcn.00401640
call fcn.004065d0
add esp, 0x18
mov byte [ebp - 4], 1
cmp dword [ebp - 0x14], 8
jb 0x403656
push dword [ebp - 0x28]
call edi
add esp, 4
jmp 0x403656
mov esi, dword [ebp - 0x2c]
test esi, esi
jne 0x4035bf
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x264], esp
push 0x4222c8
call fcn.00401ad0
sub esp, 0x18
mov byte [ebp - 4], 4
mov ecx, esp
xor eax, eax
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], esi
push eax
mov word [ecx], ax
lea eax, [ebp - 0x28]
push eax
call fcn.00401640
mov byte [ebp - 4], 3
call fcn.00406560
add esp, 0x30
test eax, eax
je 0x40363e
push eax
call dword [sym.imp.MSVCR120.dll_fclose]
add esp, 4
jmp 0x40363e
push esi
call dword [sym.imp.MSVCR120.dll_malloc]
add esp, 4
mov edi, eax
push esi
test edi, edi
je 0x40361d
push edi
push ebx
push dword [ebp - 0x25c]
call fcn.004105b0
add esp, 0x10
test eax, eax
jne 0x403611
mov esi, dword [ebp - 0x2c]
sub esp, 0x18
mov ecx, esp
push 0xffffffffffffffff
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 7
push eax
mov word [ecx], ax
lea eax, [ebp - 0x28]
push eax
call fcn.00401640
mov edx, esi
mov ecx, edi
call fcn.00406c70
add esp, 0x18
push edi
call dword [sym.imp.MSVCR120.dll_free]
add esp, 4
jmp 0x403638
push str._AutoUpdate__malloc:_d_bytes_fail2
push 1
push 0x4c
push str..._srcAutoUpdateService_stdafx.cpp
push str.Unzip
call fcn.00412b20
add esp, 0x18
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
mov byte [ebp - 4], 1
cmp dword [ebp - 0x14], 8
jb 0x403650
push dword [ebp - 0x28]
call edi
add esp, 4
mov esi, dword [ebp - 0x25c]
inc ebx
cmp ebx, dword [ebp - 0x260]
jl 0x4034c0
mov bl, 1
cmp dword [ebp + 0x1c], 8
jb 0x403673
push dword [ebp + 8]
call edi
add esp, 4
xor eax, eax
mov dword [ebp + 0x1c], 7
cmp dword [ebp + 0x34], 8
mov dword [ebp + 0x18], 0
mov word [ebp + 8], ax
jb 0x403695
push dword [ebp + 0x20]
call edi
add esp, 4
mov al, bl
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.0041d982
mov esp, ebp
pop ebp
ret