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

Disassembly:
push 0xffffffffffffffff
push 0x476f16
mov eax, dword fs:[0]
push eax
sub esp, 0x330
mov eax, dword [0x4a4eb0]
xor eax, esp
mov dword [esp + 0x32c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a4eb0]
xor eax, esp
push eax
lea eax, [esp + 0x344]
mov dword fs:[0], eax
xor ebx, ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 0x114
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
xor edi, edi
mov ebp, 0x20019
call fcn.004062c0
push str.IsWow64Process
push str.kernel32
mov dword [esp + 0x354], ebx
call dword [0x47f0b4]
push eax
call dword [0x47f1d8]
mov esi, eax
cmp esi, ebx
je 0x414a84
lea eax, [esp + 0x1c]
push eax
call dword [0x47f07c]
push eax
call esi
lea ecx, [esp + 0x24]
push ecx
call dword [0x47f0a8]
test eax, eax
je 0x414a9f
cmp dword [esp + 0x28], 6
jne 0x414a9f
mov edi, 1
cmp dword [esp + 0x1c], ebx
je 0x414abc
push str.CDeviceDetect::IsExistWinDevSyncTool
push str._s__kkam__This_is_64bit_OS.
call fcn.00403140
add esp, 8
mov ebp, 0x20119
push str.CDeviceDetect::IsExistWinDevSyncTool
cmp edi, ebx
je 0x414b6a
push str._s__kkam__This_is_vista_or_windows7_OS.
call fcn.00403140
add esp, 8
lea ecx, [esp + 0x14]
cmp dword [esp + 0x1c], ebx
je 0x414ae7
push str.626672CD_BFCF_49A9_AEFE_AB0FED3BFC5B
jmp 0x414aec
push str.904CCF62_818D_4675_BC76_D37EB399F917
call fcn.004053e0
mov edx, dword [esp + 0x14]
push edx
push str.CDeviceDetect::IsExistWinDevSyncTool
push str._s__kkam__WMDC_RegPath_:__s.
call fcn.00403140
mov ecx, dword [esp + 0x20]
add esp, 0xc
lea eax, [esp + 0x20]
push eax
push ebp
push ebx
push ecx
push 0x80000002
call dword [0x47f01c]
cmp eax, ebx
je 0x414b3a
push eax
push str.CDeviceDetect::IsExistWinDevSyncTool
push str._s__kkam__Not_Found_ActiveSync_or_WMDC__d_.
call fcn.00403140
add esp, 0xc
xor esi, esi
jmp 0x414b52
push ebx
push str.CDeviceDetect::IsExistWinDevSyncTool
push str._s__kkam__Found_ActiveSync_or_WMDC__d_.
call fcn.00403140
add esp, 0xc
mov esi, 1
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x414c11
push eax
call dword [0x47f008]
jmp 0x414c11
push str._s__kkam__This_is_XP_OS.
call fcn.00403140
push 0x206
lea eax, [esp + 0x146]
xor edx, edx
push ebx
push eax
mov word [esp + 0x14c], dx
call fcn.004748cc
add esp, 0x14
lea ecx, [esp + 0x138]
push ecx
push ebx
push ebx
push 0x25
push ebx
call dword [0x47f4b0]
push 0x47fd68
lea ecx, [esp + 0x1c]
call fcn.004062c0
lea edx, [esp + 0x138]
push edx
lea eax, [esp + 0x1c]
push str._s_rapi.dll
push eax
mov byte [esp + 0x358], 1
call fcn.00402e50
mov ecx, dword [esp + 0x24]
add esp, 0xc
push ecx
call dword [0x47f4c4]
mov esi, eax
mov eax, dword [esp + 0x18]
neg esi
sbb esi, esi
add eax, 0xfffffff0
neg esi
mov byte [esp + 0x34c], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x414c11
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x34c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414c3c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x344]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x32c]
xor ecx, esp
call fcn.004747ca
add esp, 0x33c
ret