Function at 0x403d70
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x442a38
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x45b7b0]
xor eax, esp
mov dword [esp + 0x274], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45b7b0]
xor eax, esp
push eax
lea eax, [esp + 0x28c]
mov dword fs:[0], eax
mov ebx, ecx
push 1
push str.SOFTWAREAlexa_Toolbar
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x40]
xor edi, edi
call fcn.0040d3a0
push edi
lea ecx, [esp + 0x28]
mov dword [esp + 0x298], edi
call fcn.0040d8e0
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x298], 1
call fcn.0040d520
cmp eax, edi
je 0x403e1e
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x38]
call fcn.0040d520
push 0x447f3b
push 0x447f3b
lea edx, [esp + 0x7c]
push edx
lea ecx, [esp + 0x40]
call fcn.0040d5b0
lea ecx, [esp + 0x74]
call fcn.0040d700
lea ecx, [esp + 0x34]
call fcn.0040d440
push 1
push str.SOFTWAREAlexa_Toolbar
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x60]
call fcn.0040d3a0
push 0x104
lea eax, [esp + 0x188]
push eax
push edi
mov byte [esp + 0x2a0], 2
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x184]
push ecx
push str.SouFunWebClient_by_TianChunFeng
lea ecx, [esp + 0x5c]
call fcn.0040d470
lea ecx, [esp + 0x54]
call fcn.0040d440
push 0xff
lea edx, [esp + 0x88]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
jne 0x403ed0
push str.errormsggetwindowsdirectory_error.
lea ecx, [esp + 0x18]
call fcn.00401900
mov eax, dword [esp + 0x14]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x24], esp
mov esi, esp
push eax
mov byte [esp + 0x29c], 3
call fcn.004014e0
add eax, 0x10
add esp, 4
mov ecx, ebx
mov dword [esi], eax
call fcn.00403650
mov eax, dword [esp + 0x14]
jmp 0x40404f
lea ecx, [esp + 0x84]
push ecx
lea ecx, [esp + 0x20]
call fcn.00401900
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
push eax
mov byte [esp + 0x298], 4
call fcn.004014e0
add eax, 0x10
add esp, 4
mov dword [esp + 0x18], eax
push 0x14
push str.SYSTEM32ALXRES.DLL
lea ecx, [esp + 0x20]
mov byte [esp + 0x29c], 5
call fcn.004017d0
push 0x447fa4
push 0x447fa0
lea ecx, [esp + 0x20]
call fcn.00402cf0
mov edx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push edx
call esi
xor ecx, ecx
cmp eax, 0xffffffff
mov eax, dword [esp + 0x1c]
setne cl
add eax, 0xfffffff0
push eax
mov edi, ecx
call fcn.004014e0
add eax, 0x10
add esp, 4
mov dword [esp + 0x20], eax
push 0x15
mov bl, 6
push str.SYSTEM32SHDOCVW.DLL
lea ecx, [esp + 0x28]
mov byte [esp + 0x29c], bl
call fcn.004017d0
push 0x447fa4
push 0x447fa0
lea ecx, [esp + 0x20]
call fcn.00402cf0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
push eax
call fcn.004014e0
add eax, 0x10
add esp, 4
mov dword [esp + 0x14], eax
push 0x14
push str.SYSTEM32ALXTB1.DLL
lea ecx, [esp + 0x1c]
mov byte [esp + 0x29c], 7
call fcn.004017d0
push 0x447fa4
push 0x447fa0
lea ecx, [esp + 0x1c]
call fcn.00402cf0
mov ebp, dword [esp + 0x18]
push ebp
call esi
mov eax, dword [esp + 0x14]
xor edx, edx
test edi, edi
setne dl
add eax, 0xfffffff0
mov byte [esp + 0x294], bl
lea ecx, [eax + 0xc]
mov edi, edx
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403ffe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x294], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404026
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebp, 0xfffffff0
mov byte [esp + 0x294], 4
lea ecx, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40404b
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x294], 2
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404073
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x294], 1
call fcn.0040d420
lea ecx, [esp + 0x24]
mov byte [esp + 0x294], 0
call fcn.0040d700
lea ecx, [esp + 0x34]
mov dword [esp + 0x294], 0xffffffff
call fcn.0040d420
mov eax, edi
mov ecx, dword [esp + 0x28c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x274]
xor ecx, esp
call fcn.0042c4bf
add esp, 0x284
ret