Function at 0x432db0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50cd91
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x55758c]
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 0x4330cd
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 0x432f29
mov eax, dword [ebx + 4]
mov byte [ebp - 4], 1
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x432e34
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x432e4a
call fcn.00404f90
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x4330eb
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 0x4330f5
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x432e90
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.00433a00
lea ecx, [edi + esi]
add esp, 0x10
test ecx, ecx
jne 0x432eb9
call fcn.004ae6a7
mov dword [eax], 0x16
call fcn.004ae580
jmp 0x432ec2
mov ax, word [0x519b10]
mov word [ecx], ax
mov eax, dword [ebp - 0x40]
inc eax
cmp eax, dword [esi - 8]
jg 0x4330f5
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 0x432f02
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 0x432f10
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.00413550
mov eax, dword [ebp - 0x2c]
cmp dword [eax - 0xc], 0
jl 0x43308e
push 0x51c4e0
push eax
call fcn.00494369
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x2c]
test ecx, ecx
je 0x43308e
sub ecx, eax
sar ecx, 1
cmp ecx, 0xffffffff
je 0x43308e
push 0
push 0
push str.newinstall_start_tray
mov ecx, ebx
call fcn.00433350
push dword [ebp - 0x2c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x432f8e
push eax
push eax
push str.newinstall_tray_exe_lose_1
mov ecx, ebx
call fcn.00433350
jmp 0x43307c
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.00433110
call fcn.00404f90
mov ecx, eax
test ecx, ecx
je 0x4330ff
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.00433350
mov byte [ebp - 4], 2
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43302a
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 0x433068
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43305e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x433109
push edx
push ecx
call fcn.00464289
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.00433350
jmp 0x4330ae
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4330ae
push 0xffffffffffffffff
push 0
push 0
push 1
push 1
push dword [ebp - 0x34]
push dword [ebp - 0x2c]
call fcn.004451f0
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 0x4330cd
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.00464278
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.00404340
push 0x80070057
call fcn.00404340
push 0x80004005
call fcn.00404340
call fcn.004ae590
int3