Function at 0x54008f
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x188
push ebx
push esi
push edi
push dword [0x6341e0]
mov edi, ecx
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x78], edi
call fcn.00408981
push 1
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0xc0]
push 0xc
push eax
call fcn.004ca5a0
add esp, 0x10
lea ecx, [ebp - 0x5c]
call fcn.00403730
push dword [0x6341ec]
lea ecx, [ebp - 0x44]
call fcn.00408981
push 1
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0xa8]
push 0xc
push eax
call fcn.004ca5a0
add esp, 0x10
lea ecx, [ebp - 0x44]
call fcn.00403730
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0xc0]
xor ebx, ebx
cmp dword [ebp - 0xac], 8
mov dword [ebp - 0xc], ebx
cmovae eax, dword [ebp - 0xc0]
push eax
call esi
test eax, eax
je 0x540161
lea ecx, [ebp - 0x188]
call fcn.004cf8b0
sub esp, 0x18
lea eax, [ebp - 0xc0]
mov ecx, esp
push eax
mov dword [ecx], ebx
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.00407eca
lea ecx, [ebp - 0x188]
call fcn.004d60d0
lea ecx, [ebp - 0x188]
mov dword [ebp - 0xc], 1
call fcn.004cf960
cmp dword [ebp - 0x94], 8
lea eax, [ebp - 0xa8]
mov dword [ebp - 8], ebx
cmovae eax, dword [ebp - 0xa8]
push eax
call esi
test eax, eax
je 0x5401c0
lea ecx, [ebp - 0x188]
call fcn.004cf8b0
sub esp, 0x18
lea eax, [ebp - 0xa8]
mov ecx, esp
push eax
mov dword [ecx], ebx
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.00407eca
lea ecx, [ebp - 0x188]
call fcn.004d60d0
lea ecx, [ebp - 0x188]
mov dword [ebp - 8], 1
call fcn.004cf960
push dword [0x6341e0]
lea eax, [ebp - 0x150]
push 0xf
push 0xe
push eax
lea ecx, [ebp - 1]
call fcn.0053b9b9
push dword [0x6341f4]
lea eax, [ebp - 0x138]
push 0xf
push 0xe
push eax
lea ecx, [ebp - 1]
call fcn.0053b9b9
push dword [0x6341e0]
lea eax, [ebp - 0x108]
push 0xc
push 0xb
push eax
lea ecx, [ebp - 1]
call fcn.0053b9b9
push dword [0x6341ec]
lea eax, [ebp - 0xf0]
push 0xc
push 0xb
push eax
lea ecx, [ebp - 1]
call fcn.0053b9b9
push dword [0x6341f0]
lea eax, [ebp - 0xd8]
push 0xc
push 0xb
push eax
lea ecx, [ebp - 1]
call fcn.0053b9b9
push dword [0x6341e4]
lea ecx, [ebp - 0x5c]
call fcn.00408981
push dword [0x6341d4]
lea ecx, [ebp - 0x44]
call fcn.00408981
lea eax, [ebp - 0x74]
mov ecx, edi
push eax
call fcn.0053f3d6
mov esi, eax
mov ecx, edi
push ebx
lea eax, [ebp - 0x24]
push eax
call fcn.0053f11a
push esi
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x2c]
push ebx
push eax
call fcn.0054e357
add esp, 0x1c
lea ecx, [edi + 0x24]
push eax
call fcn.00530e7a
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x5402a5
call fcn.0052e54c
lea ecx, [ebp - 0x24]
call fcn.00403730
lea ecx, [ebp - 0x74]
call fcn.00403730
lea ecx, [ebp - 0x44]
call fcn.00403730
lea ecx, [ebp - 0x5c]
call fcn.00403730
mov esi, 0x605890
lea ecx, [ebp - 0x24]
push esi
call fcn.00408981
push str.uninst.exe
lea ecx, [ebp - 0x74]
call fcn.00408981
push esi
lea ecx, [ebp - 0x5c]
call fcn.00408981
push dword [0x6341dc]
lea ecx, [ebp - 0x44]
call fcn.00408981
push 1
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x90]
push 0
push eax
call fcn.004ca5a0
lea ecx, [ebp - 0x24]
push ecx
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0x2c]
push 0
push eax
call fcn.0054e357
add esp, 0x2c
lea ecx, [edi + 0x24]
push eax
call fcn.00530e7a
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x540342
call fcn.0052e54c
lea ecx, [ebp - 0x90]
call fcn.00403730
lea ecx, [ebp - 0x44]
call fcn.00403730
lea ecx, [ebp - 0x5c]
call fcn.00403730
lea ecx, [ebp - 0x74]
call fcn.00403730
lea ecx, [ebp - 0x24]
call fcn.00403730
lea ebx, [edi + 0xd4]
mov ecx, ebx
call fcn.00536871
test al, al
jne 0x540388
cmp dword [ebp - 0xc], 0
jne 0x540388
xor esi, esi
jmp 0x54038b
xor esi, esi
inc esi
mov ecx, ebx
call fcn.00536862
test al, al
jne 0x5403a3
cmp dword [ebp - 8], 0
jne 0x5403a3
xor ebx, ebx
mov dword [ebp - 8], ebx
jmp 0x5403bb
xor ebx, ebx
lea ecx, [edi + 0xd4]
inc ebx
mov dword [ebp - 8], ebx
call fcn.00536701
mov byte [ebp - 1], bl
test al, al
je 0x5403bf
mov byte [ebp - 1], 0
lea ecx, [edi + 0xd4]
call fcn.00536832
test al, al
jne 0x540462
mov esi, dword [edi + 0x738]
test esi, esi
je 0x5403fa
test ebx, ebx
je 0x5403fa
lea ecx, [edi + 0xd4]
mov dword [ebp - 8], 1
call fcn.00536701
test al, al
jne 0x5403fe
mov bl, 1
jmp 0x540400
and dword [ebp - 8], 0
xor bl, bl
push 0x60b6b4
lea ecx, [ebp - 0x24]
mov byte [ebp - 1], bl
call fcn.00408981
mov eax, esi
neg eax
sbb eax, eax
add eax, 5
push eax
lea eax, [ebp - 0x24]
push eax
push 2
call fcn.004c8740
add esp, 0xc
lea ecx, [ebp - 0x24]
call fcn.00403730
push 0x60b6f4
lea ecx, [ebp - 0x24]
call fcn.00408981
movzx eax, bl
xor eax, 1
add eax, 4
push eax
lea eax, [ebp - 0x24]
push eax
push 2
call fcn.004c8740
add esp, 0xc
lea ecx, [ebp - 0x24]
call fcn.00403730
jmp 0x540500
mov ecx, edi
call fcn.0053e5dd
cmp eax, 1
je 0x540500
and dword [ebp - 0xc], 0
lea ecx, [ebp - 0x24]
and dword [ebp - 8], 0
push 0x60b6b4
call fcn.00408981
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x24]
push eax
push 2
call fcn.004c7930
add esp, 0x10
lea ecx, [ebp - 0x24]
call fcn.00403730
push 0x60b6f4
lea ecx, [ebp - 0x24]
call fcn.00408981
push 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x24]
push eax
push 2
call fcn.004c7930
add esp, 0x10
lea ecx, [ebp - 0x24]
call fcn.00403730
test esi, esi
je 0x5404e1
push 0
call fcn.00457c53
pop ecx
test al, al
je 0x5404e1
xor esi, esi
inc esi
jmp 0x5404e3
xor esi, esi
test ebx, ebx
je 0x5404fc
push 1
call fcn.00457c53
pop ecx
test al, al
je 0x5404fc
mov dword [ebp - 8], 1
jmp 0x540500
and dword [ebp - 8], 0
mov ecx, edi
call fcn.0053e5dd
cmp eax, 1
jne 0x540543
xor ebx, ebx
lea ecx, [ebp - 0x24]
test esi, esi
push str.cshctt
setne bl
call fcn.00408981
mov eax, ebx
or eax, 2
cmp byte [ebp - 1], 0
cmove eax, ebx
push eax
lea eax, [ebp - 0x24]
push eax
push 1
call fcn.004c8740
add esp, 0xc
lea ecx, [ebp - 0x24]
call fcn.00403730
lea ebx, [edi + 0xd4]
mov ecx, ebx
call fcn.00536701
mov byte [ebp - 1], al
test esi, esi
je 0x540642
push dword [0x6341e4]
lea ecx, [ebp - 0x74]
call fcn.00408981
push dword [0x6341d0]
lea ecx, [ebp - 0x24]
call fcn.00408981
lea eax, [ebp - 0x44]
mov ecx, edi
push eax
call fcn.0053f3d6
mov esi, eax
mov ecx, edi
push 0
lea eax, [ebp - 0x90]
push eax
call fcn.0053f11a
push esi
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x2c]
push 0
push eax
call fcn.0054e357
add esp, 0x1c
lea ecx, [edi + 0x24]
push eax
call fcn.00530e7a
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x5405c8
call fcn.0052e54c
lea ecx, [ebp - 0x90]
call fcn.00403730
lea ecx, [ebp - 0x44]
call fcn.00403730
lea ecx, [ebp - 0x24]
call fcn.00403730
lea ecx, [ebp - 0x74]
call fcn.00403730
push 0x605890
lea ecx, [ebp - 0x24]
call fcn.00408981
lea eax, [ebp - 0x90]
mov ecx, edi
push eax
call fcn.0053f3d6
movzx esi, byte [ebp - 1]
lea ecx, [ebp - 0x24]
push ecx
push eax
lea eax, [ebp - 0x108]
mov dword [ebp - 0xc], esi
push eax
push 0
push esi
push 0x66
push 0x7d6
mov ecx, edi
call fcn.0053d2cd
lea ecx, [ebp - 0x90]
call fcn.00403730
lea ecx, [ebp - 0x24]
call fcn.00403730
mov al, byte [ebp - 1]
jmp 0x540648
movzx ecx, al
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 8], 0
je 0x540805
test al, al
je 0x540729
lea eax, [ebp - 0x90]
mov ecx, ebx
push eax
call fcn.005349c7
lea ecx, [ebp - 0x90]
mov esi, dword [eax + 0x10]
call fcn.00403730
test esi, esi
je 0x540805
push dword [0x6341e8]
lea ecx, [ebp - 0x24]
call fcn.00408981
lea eax, [ebp - 0x5c]
mov ecx, edi
push eax
call fcn.0053de9a
push eax
push 0
lea eax, [ebp - 0x44]
mov ecx, edi
push eax
call fcn.0053f11a
push eax
lea eax, [ebp - 0x24]
mov ecx, ebx
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.005349c7
push eax
lea eax, [ebp - 0xd8]
push eax
push 0
lea ecx, [ebp - 0x78]
call fcn.0053bece
lea ecx, [ebp - 0x74]
call fcn.00403730
lea ecx, [ebp - 0x44]
call fcn.00403730
lea ecx, [ebp - 0x5c]
call fcn.00403730
lea ecx, [ebp - 0x24]
call fcn.00403730
lea eax, [ebp - 0x24]
mov ecx, ebx
push eax
call fcn.005349c7
mov esi, eax
mov ecx, edi
lea eax, [ebp - 0x90]
push eax
call fcn.0053de9a
push esi
push eax
lea eax, [ebp - 0xd8]
mov ecx, edi
push eax
push 0
push dword [ebp - 0xc]
push 0x67
push 0x7d6
call fcn.0053d2cd
lea ecx, [ebp - 0x90]
jmp 0x5407f8
push dword [0x6341e8]
lea ecx, [ebp - 0x44]
call fcn.00408981
push dword [0x6341c8]
lea ecx, [ebp - 0x74]
call fcn.00408981
lea eax, [ebp - 0x120]
mov ecx, edi
push eax
call fcn.0053de9a
mov esi, eax
xor ebx, ebx
push ebx
lea eax, [ebp - 0x5c]
mov ecx, edi
push eax
call fcn.0053f11a
push esi
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0xf0]
push eax
lea eax, [ebp - 0x2c]
push ebx
push eax
call fcn.0054e357
add esp, 0x1c
lea ecx, [edi + 0x24]
push eax
call fcn.00530e7a
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x540796
call fcn.0052e54c
lea ecx, [ebp - 0x5c]
call fcn.00403730
lea ecx, [ebp - 0x120]
call fcn.00403730
lea ecx, [ebp - 0x74]
call fcn.00403730
lea ecx, [ebp - 0x44]
call fcn.00403730
push 0x605890
lea ecx, [ebp - 0x24]
call fcn.00408981
lea eax, [ebp - 0x120]
mov ecx, edi
push eax
call fcn.0053de9a
lea ecx, [ebp - 0x24]
push ecx
push eax
lea eax, [ebp - 0xf0]
mov ecx, edi
push eax
push ebx
push dword [ebp - 0xc]
push 0x67
push 0x7d6
call fcn.0053d2cd
lea ecx, [ebp - 0x120]
call fcn.00403730
lea ecx, [ebp - 0x24]
call fcn.00403730
lea ecx, [ebp - 0xd8]
call fcn.00403730
lea ecx, [ebp - 0xf0]
call fcn.00403730
lea ecx, [ebp - 0x108]
call fcn.00403730
lea ecx, [ebp - 0x138]
call fcn.00403730
lea ecx, [ebp - 0x150]
call fcn.00403730
lea ecx, [ebp - 0xa8]
call fcn.00403730
lea ecx, [ebp - 0xc0]
call fcn.00403730
pop edi
pop esi
pop ebx
leave
ret