Function at 0x422cc0
Capabilities:
Check if file exists
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x478981
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x49e280]
xor eax, esp
mov dword [esp + 0x10c], eax
push ebx
push ebp
push esi
mov eax, dword [0x49e280]
xor eax, esp
push eax
lea eax, [esp + 0x120]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x10], ebx
lea esi, [edi + 4]
mov dword [edi], vtable.SocialNetworkApplication.0
mov eax, 7
xor ecx, ecx
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], ebx
mov dword [esp + 0x1c], edi
mov word [esi + 4], cx
mov dword [esp + 0x128], ebx
push 1
xor edx, edx
push 0x488b00
lea ecx, [esp + 0x28]
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], dx
call fcn.00401cd0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x40]
push 0x488b20
push ecx
mov byte [esp + 0x134], 1
call fcn.0041f650
add esp, 0xc
push str.64EF903E_D00A_414C_94A4_FBA368FFCDC9
push eax
lea edx, [esp + 0x108]
push edx
mov byte [esp + 0x134], 2
call fcn.00406d60
add esp, 0xc
mov ebp, 8
cmp dword [esp + 0x54], ebp
jb 0x422d99
mov eax, dword [esp + 0x40]
push eax
call fcn.00457c05
add esp, 4
xor ecx, ecx
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], 0
mov word [esp + 0x40], cx
cmp dword [esp + 0x38], ebp
jb 0x422dc3
mov edx, dword [esp + 0x24]
push edx
call fcn.00457c05
add esp, 4
mov dword [esp + 0x128], 5
xor eax, eax
mov dword [esp + 0xfc], 7
mov dword [esp + 0xf8], 0
mov word [esp + 0xe8], ax
mov byte [esp + 0x128], 7
mov eax, dword [esp + 0x104]
cmp dword [esp + 0x118], ebp
jae 0x422e0d
lea eax, [esp + 0x104]
push 0x20019
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x20]
call fcn.00450600
lea ecx, [esp + 0xe4]
push ecx
push 0x488be0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x130], 8
call fcn.004503b0
test al, al
je 0x422e5b
push 7
push str.sns.exe
lea ecx, [esp + 0xec]
call fcn.004066d0
jmp 0x422f09
call fcn.00449ca0
cmp eax, 1
jg 0x422ecb
cmp dword [edi + 0x18], 0
jne 0x422ecb
push 1
push 0x34
push 0x488c28
lea ecx, [esp + 0x64]
call fcn.0044ac20
add eax, 4
push str.There_is_no_install_info_for_SNS_at:
mov byte [esp + 0x12c], 9
mov ebx, 2
push eax
mov dword [esp + 0x18], ebx
call fcn.00409a00
mov ecx, dword [esp + 0x10c]
add esp, 8
cmp dword [esp + 0x118], ebp
jae 0x422eb6
lea ecx, [esp + 0x104]
push ecx
push eax
call fcn.0044a4e0
push str.__use_default_path_instead
push eax
call fcn.00409a00
add esp, 0x10
mov dword [esp + 0x128], ebp
test bl, 2
je 0x422ee3
lea ecx, [esp + 0x58]
and ebx, 0xfffffffd
call fcn.0044a980
push 0x100
lea edx, [esp + 0xe8]
push 0x100
push edx
call fcn.00423690
add esp, 8
push eax
push str._ProgramFiles_AcerSocial_Network_ServiceSNS.exe
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [esp + 0x128], ebp
test bl, 4
je 0x422f1e
lea ecx, [esp + 0x58]
call fcn.0044a980
mov eax, dword [esp + 0xe8]
cmp dword [esp + 0xfc], ebp
jae 0x422f35
lea eax, [esp + 0xe8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x422f53
push 0xffffffffffffffff
push 0
lea eax, [esp + 0xec]
push eax
mov ecx, esi
call fcn.004018f0
lea ecx, [esp + 0x14]
mov byte [esp + 0x128], 7
call fcn.004501a0
cmp dword [esp + 0xfc], ebp
jb 0x422f7d
mov ecx, dword [esp + 0xe8]
push ecx
call fcn.00457c05
add esp, 4
xor edx, edx
mov dword [esp + 0xfc], 7
mov dword [esp + 0xf8], 0
mov word [esp + 0xe8], dx
cmp dword [esp + 0x118], ebp
jb 0x422fb6
mov eax, dword [esp + 0x104]
push eax
call fcn.00457c05
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x120]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.00457c10
add esp, 0x11c
ret