Function at 0x402a70
Capabilities:
Check if file exists

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c1ccc
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xa8
mov eax, dword [0x4f238c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebx + 8]
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0xac], edi
xor esi, esi
mov dword [ebp - 0xb4], esi
xor eax, eax
push 0x40
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall2345Explorer
mov dword [ebp - 0xb8], edi
mov dword [ebp - 0xa8], esi
mov dword [ebp - 0x94], esi
mov dword [ebp - 0x90], 7
mov word [ebp - 0xa4], ax
call fcn.00405100
mov dword [ebp - 4], esi
lea ecx, [ebp - 0x74]
push 0x4c
xor eax, eax
mov dword [ebp - 0x64], esi
push str.SOFTWAREWow6432NodeMicrosoftWindowsCurrentVersionUninstall2345Explorer
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
call fcn.00405100
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x8c]
push 0xb
xor eax, eax
mov dword [ebp - 0x7c], esi
push str.DisplayIcon
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], ax
call fcn.00405100
mov byte [ebp - 4], 2
mov dword [ebp - 0xac], reloc.WS2_32.dll_accept
cmp dword [0x4f5780], esi
jne 0x402b81
push 0x124
call fcn.004578e1
add esp, 4
mov dword [ebp - 0xb0], eax
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.00408200
mov byte [ebp - 4], 2
mov dword [0x4f5780], eax
push 0
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00408610
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x78]
cmp edx, 8
jb 0x402be2
mov ecx, dword [ebp - 0x8c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402bd8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403174
push edx
push ecx
call fcn.0045757d
add esp, 8
mov edx, dword [ebp - 0x1c]
xor eax, eax
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], ax
test edx, edx
jne 0x402f82
push 0xb
push str.DisplayIcon
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
call fcn.00405100
mov byte [ebp - 4], 6
cmp dword [0x4f5780], 0
jne 0x402c51
push 0x124
call fcn.004578e1
add esp, 4
mov dword [ebp - 0xb0], eax
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.00408200
mov dword [0x4f5780], eax
xor eax, eax
mov dword [ebp - 0xac], reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
push 0x200
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xac]
mov dword [ebp - 0xa8], eax
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.004065a0
test al, al
jne 0x402cc9
push 0x100
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0xac]
call fcn.004065a0
lea ecx, [ebp - 0x2c]
call fcn.00405280
movups xmm0, xmmword [ebp - 0x5c]
mov eax, 8
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [ebp - 0x4c]
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x30]
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0xa8], eax
cmp edx, eax
jb 0x402d36
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402d21
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403179
push edx
push ecx
call fcn.0045757d
mov eax, 8
add esp, 8
mov dword [ebp - 0xa8], eax
mov edx, dword [ebp - 0x1c]
test edx, edx
jne 0x402f82
push 0xb
xor eax, eax
mov dword [ebp - 0x4c], edx
push str.DisplayIcon
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
call fcn.00405100
mov byte [ebp - 4], 0xa
cmp dword [0x4f5780], 0
mov dword [ebp - 0xac], reloc.OLEAUT32.dll_SysReAllocString
jne 0x402d9e
push 0x124
call fcn.004578e1
add esp, 4
mov dword [ebp - 0xb0], eax
mov ecx, eax
mov byte [ebp - 4], 0xb
call fcn.00408200
mov byte [ebp - 4], 0xa
mov dword [0x4f5780], eax
push 0
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00408610
mov esi, eax
lea eax, [ebp - 0x2c]
cmp eax, esi
je 0x402dec
mov ecx, eax
call fcn.00405280
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x1c], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x402e26
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402e1c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40317e
push edx
push ecx
call fcn.0045757d
add esp, 8
xor eax, eax
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
cmp edx, 8
jb 0x402e78
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402e6e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403183
push edx
push ecx
call fcn.0045757d
add esp, 8
mov edx, dword [ebp - 0x1c]
test edx, edx
jne 0x402f82
xor eax, eax
mov dword [edi + 0x10], edx
push eax
mov dword [edi + 0x14], 7
mov ecx, edi
push 0x4e7e9c
mov word [edi], ax
call fcn.00405100
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x402ed9
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402ecf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403188
push edx
push ecx
call fcn.0045757d
add esp, 8
mov edx, dword [ebp - 0x60]
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
cmp edx, 8
jb 0x402f27
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402f1d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40318d
push edx
push ecx
call fcn.0045757d
add esp, 8
mov edx, dword [ebp - 0x90]
xor eax, eax
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
cmp edx, 8
jb 0x402f7b
mov ecx, dword [ebp - 0xa4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402f71
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403192
push edx
push ecx
call fcn.0045757d
add esp, 8
mov eax, edi
jmp 0x403154
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x2c]
push 1
cmovae ecx, dword [ebp - 0x2c]
sub esp, 8
call fcn.00404d20
mov ecx, eax
mov dword [ebp - 0x34], 0
xor eax, eax
mov dword [ebp - 0x30], 7
add esp, 0xc
mov word [ebp - 0x44], ax
cmp dword [ebp - 0x1c], ecx
lea eax, [ebp - 0x2c]
cmovb ecx, dword [ebp - 0x1c]
cmp dword [ebp - 0x18], 8
push ecx
cmovae eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x44]
push eax
call fcn.00405100
mov eax, dword [ebp - 0xa8]
lea ecx, [ebp - 0x2c]
or eax, 0x40
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xb4], eax
call fcn.00405280
cmp dword [ebp - 0x34], 0
movups xmm0, xmmword [ebp - 0x44]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [ebp - 0x34]
movq qword [ebp - 0x1c], xmm0
je 0x403030
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x403030
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x44]
call fcn.00404bf0
mov ecx, eax
mov eax, dword [ebp - 0xa8]
or eax, 2
jmp 0x40305e
xor eax, eax
mov dword [ebp - 0x4c], 0
push eax
push 0x4e7e9c
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
call fcn.00405100
mov eax, dword [ebp - 0xa8]
lea ecx, [ebp - 0x5c]
or eax, 4
mov esi, dword [ebp - 0xb8]
xor edx, edx
or eax, 1
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [ecx]
movups xmmword [esi], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], dx
test al, 4
je 0x4030e5
mov edx, dword [ebp - 0x48]
and eax, 0xfffffffb
mov dword [ebp - 0xa8], eax
cmp edx, 8
jb 0x4030e5
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4030d5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403197
push edx
push ecx
call fcn.0045757d
mov eax, dword [ebp - 0xa8]
add esp, 8
test al, 2
je 0x403137
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x403123
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403119
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40319c
push edx
push ecx
call fcn.0045757d
add esp, 8
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
lea ecx, [ebp - 0x2c]
call fcn.00405280
lea ecx, [ebp - 0x74]
call fcn.00405280
lea ecx, [ebp - 0xa4]
call fcn.00405280
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00457808
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.004a2f99
call fcn.004a2f99
call fcn.004a2f99
call fcn.004a2f99
call fcn.004a2f99
call fcn.004a2f99
call fcn.004a2f99
call fcn.004a2f99
call fcn.004a2f99
int3