Function at 0x403a19
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48e16e
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push esi
mov eax, dword [0x4be8a0]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
jne 0x403a61
xor eax, eax
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push dword [ebp + 0xc]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x403a4b
push str.version1.0_encodingutf_16
lea ecx, [esp + 0x18]
call fcn.004027ab
push dword [ebp + 0xc]
lea ecx, [esp + 0x14]
mov dword [esp + 0x7c], ebx
call fcn.004027ab
lea eax, [esp + 0x14]
push eax
push ebx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x84], 1
call fcn.004064ee
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
je 0x403ab5
call fcn.00402844
mov byte [esp + 0x78], 4
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
je 0x403ac7
call fcn.00402844
cmp dword [esp + 0x5c], ebx
sete al
cmp al, bl
sete al
cmp al, bl
jne 0x403ae7
lea ecx, [esp + 0x58]
call fcn.004060fa
mov eax, ebx
jmp 0x403a4d
push str.Plugin_BeforeSetup
lea ecx, [esp + 0x18]
call fcn.004027ab
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x80], 5
call fcn.0040607d
mov byte [esp + 0x78], 7
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
je 0x403b22
call fcn.00402844
cmp dword [esp + 0x50], ebx
mov esi, dword [ebp + 8]
sete al
cmp al, bl
sete al
cmp al, bl
je 0x403b52
cmp dword [esp + 0x4c], ebx
sete al
cmp al, bl
sete al
cmp al, bl
je 0x403b52
lea eax, [esi + 8]
push eax
lea ecx, [esp + 0x4c]
call fcn.00403f64
push str.Plugin_AfterSetup
lea ecx, [esp + 0x18]
call fcn.004027ab
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x80], 8
call fcn.0040607d
mov byte [esp + 0x78], 0xa
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
je 0x403b8d
call fcn.00402844
cmp dword [esp + 0x40], ebx
sete al
cmp al, bl
sete al
cmp al, bl
je 0x403bba
cmp dword [esp + 0x3c], ebx
sete al
cmp al, bl
sete al
cmp al, bl
je 0x403bba
lea eax, [esi + 0x20]
push eax
lea ecx, [esp + 0x3c]
call fcn.00403f64
push str.Plugin_BeforeUninstall
lea ecx, [esp + 0x18]
call fcn.004027ab
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x80], 0xb
call fcn.0040607d
mov byte [esp + 0x78], 0xd
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
je 0x403bf5
call fcn.00402844
cmp dword [esp + 0x30], ebx
sete al
cmp al, bl
sete al
cmp al, bl
je 0x403c22
cmp dword [esp + 0x2c], ebx
sete al
cmp al, bl
sete al
cmp al, bl
je 0x403c22
lea eax, [esi + 0x38]
push eax
lea ecx, [esp + 0x2c]
call fcn.00403f64
push str.Plugin_UninstallPersuade
lea ecx, [esp + 0x18]
call fcn.004027ab
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x80], 0xe
call fcn.0040607d
mov byte [esp + 0x78], 0x10
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
je 0x403c5d
call fcn.00402844
cmp dword [esp + 0x20], ebx
sete al
cmp al, bl
sete al
cmp al, bl
je 0x403c8a
cmp dword [esp + 0x1c], ebx
sete al
cmp al, bl
sete al
cmp al, bl
je 0x403c8a
add esi, 0x50
push esi
lea ecx, [esp + 0x1c]
call fcn.00403f64
lea ecx, [esp + 0x18]
mov byte [esp + 0x78], 0xd
call fcn.004028fc
lea ecx, [esp + 0x28]
mov byte [esp + 0x78], 0xa
call fcn.004028fc
lea ecx, [esp + 0x38]
mov byte [esp + 0x78], 7
call fcn.004028fc
lea ecx, [esp + 0x48]
mov byte [esp + 0x78], 4
call fcn.004028fc
xor ebx, ebx
inc ebx
jmp 0x403ad7