Function at 0x403e10
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 0x4c1e51
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xa0
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 - 0xa8], edi
xor eax, eax
mov dword [ebp - 0xb0], 0
push 0x3d
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallUCBrowser
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 7
mov word [ebp - 0xa4], ax
call fcn.00405100
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x74]
push 0x45
xor eax, eax
mov dword [ebp - 0x64], 0
push str.SOFTWAREWow6432NodeMicrosoftWindowsCurrentVersionUninstallUC
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
call fcn.00405100
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x8c]
push 0xf
xor eax, eax
mov dword [ebp - 0x7c], 0
push str.InstallLocation
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], ax
call fcn.00405100
mov byte [ebp - 4], 2
cmp dword [0x4f5780], 0
mov dword [ebp - 0xa8], reloc.WS2_32.dll_accept
jne 0x403f28
push 0x124
call fcn.004578e1
add esp, 4
mov dword [ebp - 0xac], 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 - 0xa8]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00408610
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x78]
cmp edx, 8
jb 0x403f89
mov ecx, dword [ebp - 0x8c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403f7f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404593
push edx
push ecx
call fcn.0045757d
add esp, 8
xor eax, eax
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], ax
cmp dword [ebp - 0x34], eax
jne 0x40436b
push 0xf
push str.InstallLocation
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.00405100
mov byte [ebp - 4], 6
cmp dword [0x4f5780], 0
mov dword [ebp - 0xa8], reloc.OLEAUT32.dll_SysReAllocString
jne 0x404004
push 0x124
call fcn.004578e1
add esp, 4
mov dword [ebp - 0xac], eax
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.00408200
mov byte [ebp - 4], 6
mov dword [0x4f5780], eax
push 0
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.00408610
mov esi, eax
lea eax, [ebp - 0x44]
cmp eax, esi
je 0x404055
mov ecx, eax
call fcn.00405280
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x44], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x34], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x48]
cmp edx, 8
jb 0x40408f
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x404085
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404598
push edx
push ecx
call fcn.0045757d
add esp, 8
xor eax, eax
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
cmp edx, 8
jb 0x4040e1
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4040d7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40459d
push edx
push ecx
call fcn.0045757d
add esp, 8
cmp dword [ebp - 0x34], 0
jne 0x404371
push 0xf
xor eax, eax
mov dword [ebp - 0x1c], 0
push str.InstallLocation
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.00405100
mov byte [ebp - 4], 8
cmp dword [0x4f5780], 0
mov dword [ebp - 0xa8], reloc.WS2_32.dll_accept
jne 0x40414c
push 0x124
call fcn.004578e1
add esp, 4
mov dword [ebp - 0xac], eax
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.00408200
mov byte [ebp - 4], 8
mov dword [0x4f5780], eax
push 0
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.00408610
mov esi, eax
lea eax, [ebp - 0x44]
cmp eax, esi
je 0x40419a
mov ecx, eax
call fcn.00405280
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x44], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x34], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x48]
cmp edx, 8
jb 0x4041d4
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4041ca
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4045a2
push edx
push ecx
call fcn.0045757d
add esp, 8
xor eax, eax
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
cmp edx, 8
jb 0x404226
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40421c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4045a7
push edx
push ecx
call fcn.0045757d
add esp, 8
cmp dword [ebp - 0x34], 0
jne 0x404371
push 0xf
xor eax, eax
mov dword [ebp - 0x1c], 0
push str.InstallLocation
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.00405100
mov byte [ebp - 4], 0xa
cmp dword [0x4f5780], 0
mov dword [ebp - 0xa8], reloc.OLEAUT32.dll_SysReAllocString
jne 0x404291
push 0x124
call fcn.004578e1
add esp, 4
mov dword [ebp - 0xac], 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 - 0x2c]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.00408610
mov esi, eax
lea eax, [ebp - 0x44]
cmp eax, esi
je 0x4042df
mov ecx, eax
call fcn.00405280
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x44], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x34], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x48]
cmp edx, 8
jb 0x404319
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40430f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4045ac
push edx
push ecx
call fcn.0045757d
add esp, 8
xor eax, eax
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
cmp edx, 8
jb 0x40436b
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x404361
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4045b1
push edx
push ecx
call fcn.0045757d
add esp, 8
cmp dword [ebp - 0x34], 0
je 0x40439c
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40439c
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x5c]
call fcn.00404bf0
mov ecx, eax
mov eax, 1
jmp 0x4043c6
xor eax, eax
mov dword [ebp - 0x1c], 0
push eax
push 0x4e7e9c
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.00405100
lea ecx, [ebp - 0x2c]
mov eax, 2
mov dword [edi + 0x10], 0
xor edx, edx
mov dword [edi + 0x14], 0
or eax, 4
movups xmm0, xmmword [ecx]
movups xmmword [edi], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], dx
test al, 2
je 0x404447
mov edx, dword [ebp - 0x18]
and eax, 0xfffffffd
mov dword [ebp - 0xa8], eax
cmp edx, 8
jb 0x404447
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x404437
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4045b6
push edx
push ecx
call fcn.0045757d
mov eax, dword [ebp - 0xa8]
add esp, 8
test al, 1
je 0x404499
mov edx, dword [ebp - 0x48]
cmp edx, 8
jb 0x404485
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40447b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4045bb
push edx
push ecx
call fcn.0045757d
add esp, 8
xor eax, eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x4044d3
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4044c9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4045c0
push edx
push ecx
call fcn.0045757d
add esp, 8
mov edx, dword [ebp - 0x60]
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
cmp edx, 8
jb 0x404521
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x404517
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4045c5
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 0x404571
mov ecx, dword [ebp - 0xa4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x404567
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4045ca
push edx
push ecx
call fcn.0045757d
add esp, 8
mov eax, edi
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
call fcn.004a2f99
call fcn.004a2f99
call fcn.004a2f99
int3