Function at 0x4125f0
Capabilities:
Check if file exists
Get common file path
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5156b7
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x56f790]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.004b17e0
add esp, 0xc
lea eax, [ebp - 0x21c]
push 1
push 0x19
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x254]
push eax
call fcn.0040ed70
mov ecx, eax
call fcn.0040af70
push dword [ebp - 0x254]
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], 0
push eax
lea esi, [edi + 0x70]
push str._s_s.lnk
push esi
call fcn.0040ecb0
add esp, 0x10
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x412714
push dword [esi]
push str.CIconBubbleWnd::_FindIconAndCreateShow__not_found_link_file__s
call fcn.00441a80
sub esp, 0x20
mov eax, esp
mov dword [ebp - 0x250], esp
mov dword [eax + 0x24], 0
push 1
push 0
mov byte [ebp - 4], 1
push str.bubble_no_lnk
push str.install
call fcn.00410a80
mov ecx, eax
mov byte [ebp - 4], 0
call fcn.00470740
xor esi, esi
mov eax, dword [ebp - 0x254]
or ecx, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x4126f7
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ac4b8
mov esp, ebp
pop ebp
ret
push 0
push dword [ebp - 0x254]
lea eax, [ebp - 0x264]
push eax
call fcn.004380a0
add esp, 0xc
movups xmm0, xmmword [eax]
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x24c]
push eax
movups xmmword [ebp - 0x23c], xmm0
call dword [sym.imp.USER32.dll_CopyRect]
mov esi, dword [sym.imp.WINMM.dll_timeGetTime]
call esi
mov dword [ebp - 0x250], eax
lea eax, [ebp - 0x24c]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x4127cc
call esi
sub eax, dword [ebp - 0x250]
cmp eax, 0x1388
jae 0x412858
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push dword [ebp - 0x254]
lea eax, [ebp - 0x264]
push eax
call fcn.004380a0
add esp, 0xc
movups xmm0, xmmword [eax]
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x24c]
push eax
movups xmmword [ebp - 0x23c], xmm0
call dword [sym.imp.USER32.dll_CopyRect]
lea eax, [ebp - 0x24c]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x412768
movups xmm0, xmmword [ebp - 0x24c]
push 0
lea eax, [ebp - 0x23c]
push eax
movups xmmword [edi + 0x5c], xmm0
push 0
xorps xmm0, xmm0
push 0x30
movups xmmword [ebp - 0x22c], xmm0
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov eax, dword [ebp - 0x234]
xor esi, esi
mov edx, dword [edi + 0x64]
sub eax, edx
cmp eax, 0x121
jle 0x4128b2
mov ecx, dword [edi + 0x60]
lea eax, [edx + 0x121]
mov dword [ebp - 0x22c], edx
mov dword [ebp - 0x224], eax
push esi
push 0xfffffffffffffff1
cmp ecx, 0x89
jle 0x41288c
mov ecx, dword [edi + 0x68]
mov esi, 0x101
mov dword [ebp - 0x220], ecx
lea eax, [ecx - 0x89]
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
jmp 0x4128e2
push dword [ebp - 0x254]
push str.CIconBubbleWnd::_FindIconAndCreateShow__not_found_icon_ui__s
call fcn.00441a80
sub esp, 0x20
mov eax, esp
mov dword [ebp - 0x250], esp
mov dword [eax + 0x24], 0
push 1
push 0
mov byte [ebp - 4], 2
push str.bubble_no_icon
jmp 0x4126bb
lea eax, [ecx + 0x89]
mov dword [ebp - 0x228], ecx
mov dword [ebp - 0x220], eax
mov esi, 0x102
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
jmp 0x4128e2
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x250], esp
mov dword [eax + 0x24], esi
push 1
push 0
push str.bubble_icon_at_right
push str.install
mov byte [ebp - 4], 3
call fcn.00410a80
mov ecx, eax
mov byte [ebp - 4], 0
call fcn.00470740
mov dword [edi + 0x58], esi
test esi, esi
je 0x4126d0
push str.LDSGameSetupIconBubble
call dword [sym.imp.KERNEL32.dll_GlobalFindAtomW]
movzx eax, ax
test ax, ax
je 0x412912
push str.CIconBubbleWnd::WaitInfoAndShow__ATOM_LDSGameSetupIconBubble_exists
call fcn.00441a80
add esp, 4
jmp 0x4126d0
push str.LDSGameSetupIconBubble
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomW]
mov word [edi + 0x6c], ax
call fcn.00438210
push dword [ebp - 0x250]
movaps xmm0, xmmword [0x52d9a0]
lea ecx, [edi + 0x94]
push ecx
push 0x56f040
push section..data
push 0x573e64
mov esi, eax
movups xmmword [ebp - 0x23c], xmm0
call fcn.00403e20
add esp, 0x14
movzx eax, ax
lea ecx, [edi + 0x74]
push 0
push eax
push 0
push 0
push 0x40000000
push 0
lea eax, [ebp - 0x23c]
push eax
push esi
call fcn.00404420
test eax, eax
je 0x4129bd
push 0xfffffffffffffff0
push dword [edi + 0x78]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
and ecx, 0xbfffffff
or ecx, 0xcf0000
cmp eax, ecx
je 0x4129a8
push ecx
push 0xfffffffffffffff0
push dword [edi + 0x78]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 3
push 0
push 0
push 0
push 0
push 1
push dword [edi + 0x78]
call dword [sym.imp.USER32.dll_SetWindowPos]
push dword [ebp - 0x250]
mov esi, dword [edi + 0x78]
lea eax, [edi + 0x20]
push eax
push 0x56f0d0
push section..data
push 0x573e64
call fcn.00403e20
add esp, 0x14
movzx eax, ax
mov ecx, edi
push 0
push eax
push 0
push 0x8080000
push SysReAllocString
push 0
push 0
push esi
call fcn.00404420
push str.CIconBubbleWnd::_FindIconAndCreateShow__SetWindowPos
call fcn.00441a80
mov edx, dword [ebp - 0x220]
add esp, 4
mov esi, dword [ebp - 0x228]
sub edx, esi
mov eax, dword [ebp - 0x224]
mov ecx, dword [ebp - 0x22c]
sub eax, ecx
push 0x10
push edx
push eax
push esi
push ecx
push 1
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
push str.CIconBubbleWnd::_FindIconAndCreateShow__SetWindowPos_done
call fcn.00441a80
add esp, 4
push 4
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x250], esp
mov dword [eax + 0x24], 0
push 1
push 0
push str.bubble_show
push str.install
mov byte [ebp - 4], 4
call fcn.00410a80
mov ecx, eax
mov byte [ebp - 4], 0
call fcn.00470740
mov esi, 1
jmp 0x4126d2