Function at 0x4038f0
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 0x4c1d74
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x94
mov eax, dword [0x4f238c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 8]
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x9c], eax
xor eax, eax
mov dword [ebp - 0x98], eax
push 0x41
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallSogouExplorer
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], ax
call fcn.00405100
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x74]
push 0xb
xor eax, eax
mov dword [ebp - 0x64], 0
push str.DisplayIcon
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
call fcn.00405100
mov byte [ebp - 4], 1
cmp dword [0x4f5780], 0
mov dword [ebp - 0x94], reloc.WS2_32.dll_accept
jne 0x4039d8
push 0x124
call fcn.004578e1
add esp, 4
mov dword [ebp - 0xa0], eax
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00408200
mov byte [ebp - 4], 1
mov dword [0x4f5780], eax
push 0
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00408610
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x60]
cmp edx, 8
jb 0x403a33
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403a29
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403de4
push edx
push ecx
call fcn.0045757d
add esp, 8
mov edx, dword [ebp - 0x1c]
xor eax, eax
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
test edx, edx
jne 0x403b87
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], 5
cmp dword [0x4f5780], 0
jne 0x403a9f
push 0x124
call fcn.004578e1
add esp, 4
mov dword [ebp - 0xa0], eax
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.00408200
mov dword [0x4f5780], eax
xor eax, eax
mov dword [ebp - 0x94], 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], 7
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.004065a0
test al, al
jne 0x403b17
push 0x100
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x94]
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], 4
mov edx, dword [ebp - 0x30]
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x90], eax
cmp edx, eax
jb 0x403b84
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403b6f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403de9
push edx
push ecx
call fcn.0045757d
mov eax, 8
add esp, 8
mov dword [ebp - 0x90], eax
mov edx, dword [ebp - 0x1c]
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 - 0x90]
lea ecx, [ebp - 0x2c]
or eax, 0x40
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x98], 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 0x403c35
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 0x403c35
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x44]
call fcn.00404bf0
mov ecx, eax
mov eax, dword [ebp - 0x90]
or eax, 1
jmp 0x403c63
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 - 0x90]
lea ecx, [ebp - 0x5c]
or eax, 2
mov esi, dword [ebp - 0x9c]
xor edx, edx
or eax, 4
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, 2
je 0x403cea
mov edx, dword [ebp - 0x48]
and eax, 0xfffffffd
mov dword [ebp - 0x90], eax
cmp edx, 8
jb 0x403cea
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403cda
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403dee
push edx
push ecx
call fcn.0045757d
mov eax, dword [ebp - 0x90]
add esp, 8
test al, 1
je 0x403d3c
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x403d28
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403d1e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403df3
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
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x403d76
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403d6c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403df8
push edx
push ecx
call fcn.0045757d
add esp, 8
mov edx, dword [ebp - 0x78]
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
cmp edx, 8
jb 0x403dc3
mov ecx, dword [ebp - 0x8c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403db9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403dfd
push edx
push ecx
call fcn.0045757d
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
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
int3