Function at 0x4325a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50c491
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x5555ac]
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
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], 0
test esi, esi
je 0x4328bd
push esi
lea ecx, [ebp - 0x2c]
call fcn.00404030
push esi
mov dword [ebp - 4], 0
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
or edi, 0xffffffff
test eax, eax
je 0x432719
mov eax, dword [ebx + 4]
mov byte [ebp - 4], 1
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x432624
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x43263a
call fcn.00404f90
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x4328db
mov eax, dword [ecx]
call dword [eax + 0xc]
mov dword [ebp - 0x38], 1
lea esi, [eax + 0x10]
mov eax, dword [ebx + 4]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x3c], eax
mov edi, dword [eax - 0xc]
mov dword [ebp - 0x40], edi
lea edx, [edi + 1]
test edx, edx
js 0x4328e5
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x432680
push edx
lea ecx, [ebp - 0x30]
call fcn.00405320
mov esi, dword [ebp - 0x30]
add edi, edi
push edi
push dword [ebp - 0x3c]
push edi
push esi
call fcn.004331f0
lea ecx, [edi + esi]
add esp, 0x10
test ecx, ecx
jne 0x4326a9
call fcn.004ade87
mov dword [eax], 0x16
call fcn.004add60
jmp 0x4326b2
mov ax, word [0x518b08]
mov word [ecx], ax
mov eax, dword [ebp - 0x40]
inc eax
cmp eax, dword [esi - 8]
jg 0x4328e5
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00407b60
or edi, 0xffffffff
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4326f2
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x44]
mov ecx, edx
lea esi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x432700
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.00412fb0
mov eax, dword [ebp - 0x2c]
cmp dword [eax - 0xc], 0
jl 0x43287e
push 0x51b3d0
push eax
call fcn.00493b49
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x2c]
test ecx, ecx
je 0x43287e
sub ecx, eax
sar ecx, 1
cmp ecx, 0xffffffff
je 0x43287e
push 0
push 0
push str.newinstall_start_tray
mov ecx, ebx
call fcn.00432b40
push dword [ebp - 0x2c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43277e
push eax
push eax
push str.newinstall_tray_exe_lose_1
mov ecx, ebx
call fcn.00432b40
jmp 0x43286c
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x30], 0xffffffff
push eax
push 1
push dword [ebp - 0x34]
mov ecx, ebx
push dword [ebp - 0x2c]
call fcn.00432900
call fcn.00404f90
mov ecx, eax
test ecx, ecx
je 0x4328ef
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x34], eax
push dword [ebp - 0x30]
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 3
push str.ex1_d
push eax
call fcn.00407ed0
mov esi, dword [ebp - 0x34]
lea eax, [ebp - 0x28]
add esp, 0xc
mov ecx, ebx
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push 0
push esi
push eax
call fcn.00432b40
mov byte [ebp - 4], 2
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43281a
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x432858
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43284e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4328f9
push edx
push ecx
call fcn.00463a69
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push 0
push 0
push str.newinstall_end_start_tray
mov ecx, ebx
call fcn.00432b40
jmp 0x43289e
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43289e
push 0xffffffffffffffff
push 0
push 0
push 1
push 1
push dword [ebp - 0x34]
push dword [ebp - 0x2c]
call fcn.004449d0
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x4328bd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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.00463a58
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.00404340
push 0x80070057
call fcn.00404340
push 0x80004005
call fcn.00404340
call fcn.004add70
int3