Function at 0x401280
Capabilities:
Check if file exists
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x421226
mov eax, dword fs:[0]
push eax
sub esp, 0x480
mov eax, dword [0x42715c]
xor eax, esp
mov dword [esp + 0x47c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x42715c]
xor eax, esp
push eax
lea eax, [esp + 0x494]
mov dword fs:[0], eax
mov eax, dword [0x4285ec]
mov edx, dword [eax + 0xc]
mov ebp, dword [esp + 0x4a4]
mov ecx, 9
mov esi, str.Microsoft.VC90.CRT
lea edi, [esp + 0x258]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x4285ec
movsw word es:[edi], word [esi]
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
lea eax, [esp + 0x258]
mov dword [esp + 0x49c], 0
mov ecx, dword [ebp + 0x100]
push eax
push ecx
push 0x424768
lea edi, [esp + 0x24]
call fcn.00401f40
mov esi, dword [esp + 0x24]
add esp, 0xc
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x401348
lea eax, [esi - 0x10]
mov dword [esp + 0x49c], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x4015a0
push 0x20a
lea ecx, [esp + 0x284]
push 0
push ecx
call fcn.0040ff60
add esp, 0xc
push 0x104
lea esi, [esp + 0x284]
mov ebx, str.InstallDir
mov ecx, str.Softwareduowanyy
call fcn.0040aa90
mov edx, dword [0x4285ec]
mov eax, dword [edx + 0xc]
add esp, 4
mov ecx, 0x4285ec
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x258]
push ecx
mov edx, esi
push edx
push str._s_s
lea edi, [esp + 0x28]
mov byte [esp + 0x4a8], 1
call fcn.00401f40
mov esi, dword [esp + 0x28]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0xc
push esi
call ebx
cmp eax, 1
jne 0x4013e3
mov eax, dword [ebp + 0x100]
push eax
push esi
call fcn.00409330
add esp, 8
cmp eax, 1
je 0x40155d
lea ecx, [esp + 0x280]
push 0x5c
push ecx
call fcn.0040e976
add esp, 8
test eax, eax
je 0x4013fe
xor edx, edx
mov word [eax], dx
lea eax, [esp + 0x280]
push 0x5c
push eax
call fcn.0040e976
add esp, 8
test eax, eax
je 0x40141a
xor ecx, ecx
mov word [eax + 2], cx
lea edx, [esp + 0x258]
push edx
lea eax, [esp + 0x284]
push eax
push str._s_s
lea edi, [esp + 0x28]
call fcn.00401f40
mov esi, dword [esp + 0x28]
add esp, 0xc
push esi
call ebx
cmp eax, 1
jne 0x401460
mov eax, dword [ebp + 0x100]
push eax
push esi
call fcn.00409330
add esp, 8
cmp eax, 1
je 0x40155d
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea ecx, [esp + 0x28]
mov edi, eax
push ecx
push edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x30], 0x22c
call sub.KERNEL32.dll_Process32FirstW
mov ebx, dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [esp + 0x24], eax
cmp dword [esp + 0x24], 0
je 0x4014f5
mov edx, dword [esp + 0x30]
push edx
push 0
push 0x1000
call ebx
mov esi, eax
test esi, esi
je 0x4014e6
push str.YY.exe
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4014e6
push 0x20a
push eax
lea ecx, [esp + 0x288]
push ecx
call fcn.0040ff60
add esp, 0xc
lea edi, [esp + 0x280]
call fcn.0040ad40
mov edi, dword [esp + 0x20]
cmp eax, 1
je 0x4014f5
lea edx, [esp + 0x28]
push edx
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x40148c
test edi, edi
je 0x401500
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x280]
push 0x5c
push eax
call fcn.0040e976
add esp, 8
test eax, eax
je 0x40151c
xor ecx, ecx
mov word [eax + 2], cx
lea edx, [esp + 0x258]
push edx
lea eax, [esp + 0x284]
push eax
push str._s_s
lea edi, [esp + 0x28]
call fcn.00401f40
mov esi, dword [esp + 0x28]
add esp, 0xc
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x40155d
mov eax, dword [ebp + 0x100]
push eax
push esi
call fcn.00409330
add esp, 8
lea eax, [esi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x49c], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401581
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x49c], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4015ac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x494]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x47c]
xor ecx, esp
call fcn.0040e967
add esp, 0x48c
ret 4