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

Disassembly:
push ebp
lea ebp, [esp - 0x10d0]
mov eax, 0x10d0
call fcn.00425ec0
push 0xffffffffffffffff
push 0x4314b2
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x4490e8]
xor eax, ebp
mov dword [ebp + 0x10cc], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, 0x103
xor ebx, ebx
push esi
lea eax, [ebp + 0xcbd]
mov edi, ecx
push ebx
push eax
mov dword [ebp - 0x20], edi
mov byte [ebp + 0xcbc], bl
call sub.MSVCR90.dll_memset
add esp, 0xc
push ebx
push 0x2b
lea eax, [ebp + 0xcbc]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x41cf8c
push esi
lea eax, [ebp + 0xfc9]
push ebx
push eax
mov dword [edi], 1
mov byte [ebp + 0xfc8], bl
call sub.MSVCR90.dll_memset
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineA]
add esp, 0xc
push str.Thunder_NetworkKanKanPusher
lea eax, [ebp + 0xcbc]
push eax
lea eax, [ebp + 0xfc8]
push eax
call edi
lea eax, [ebp + 0xfc8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x41cf8c
push esi
lea eax, [ebp + 0xec5]
push ebx
push eax
mov byte [ebp + 0xec4], bl
call sub.MSVCR90.dll_memset
add esp, 0xc
push str.pusher.ini
lea eax, [ebp + 0xfc8]
push eax
lea eax, [ebp + 0xec4]
push eax
call edi
lea eax, [ebp + 0xec4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x41cf8c
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x3c]
mov dword [eax], 2
call fcn.0041a377
lea eax, [ebp + 0xec4]
push eax
lea ecx, [ebp + 0x54]
mov dword [ebp - 4], ebx
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
push str.FileVer
lea ecx, [ebp + 0x70]
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea eax, [ebp + 0x54]
push eax
lea ecx, [ebp - 0x3c]
lea edx, [ebp + 0x70]
mov byte [ebp - 4], 2
call fcn.0041c5ff
pop ecx
lea ecx, [ebp + 0x70]
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [ebp + 0x54]
mov byte [ebp - 4], bl
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x30]
push 0x38
cdq
pop ecx
idiv ecx
test eax, eax
je 0x41cf80
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x30]
lea ecx, [ebp - 0x1c]
call fcn.00419eb2
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
jmp 0x41c9a7
lea ecx, [ebp - 0x14]
call fcn.0041881d
push eax
lea ecx, [ebp + 0x54]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.0041881d
add eax, 0x1c
push eax
lea ecx, [ebp + 0x70]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov byte [ebp - 4], 4
cmp dword [ebp + 0x68], ebx
je 0x41c986
cmp dword [ebp + 0x84], ebx
je 0x41c986
push esi
lea eax, [ebp + 0xbb9]
push ebx
push eax
mov byte [ebp + 0xbb8], bl
call sub.MSVCR90.dll_memset
add esp, 0xc
lea ecx, [ebp + 0x54]
call dword [sym.imp.MSVCP90.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
lea eax, [ebp + 0xfc8]
push eax
lea eax, [ebp + 0xbb8]
push eax
call edi
lea eax, [ebp + 0xbb8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x41cb38
lea ecx, [ebp + 0x70]
mov byte [ebp - 4], 3
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [ebp + 0x54]
mov byte [ebp - 4], bl
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [ebp - 0x14]
call fcn.0041884b
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x1c]
call fcn.00419eb2
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x14]
call fcn.0041887c
test al, al
je 0x41c904
push esi
lea eax, [ebp + 0x49d]
push ebx
push eax
mov byte [ebp + 0x49c], bl
call sub.MSVCR90.dll_memset
lea eax, [ebp + 0x49c]
push eax
call fcn.00415d5a
add esp, 0x10
test eax, eax
je 0x41cf80
mov eax, dword [ebp - 0x20]
push esi
mov dword [eax], 3
lea eax, [ebp + 0xab5]
push ebx
push eax
mov byte [ebp + 0xab4], bl
call sub.MSVCR90.dll_memset
lea eax, [ebp + 0xab4]
push eax
call fcn.00415cbb
add esp, 0x10
test al, al
je 0x41cf80
push esi
lea eax, [ebp + 0xdc1]
push ebx
push eax
mov byte [ebp + 0xdc0], bl
call sub.MSVCR90.dll_memset
add esp, 0xc
push str.Thunder_NetworkKanKanPusher
lea eax, [ebp + 0xab4]
push eax
lea eax, [ebp + 0xdc0]
push eax
call edi
push esi
lea eax, [ebp + 0x7a9]
push ebx
push eax
mov byte [ebp + 0x7a8], bl
call sub.MSVCR90.dll_memset
add esp, 0xc
push str.pusher.ini
lea eax, [ebp + 0xdc0]
push eax
lea eax, [ebp + 0x7a8]
push eax
call edi
lea eax, [ebp + 0x7a8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x41cf80
lea ecx, [ebp - 0x54]
call fcn.0041a377
lea eax, [ebp + 0xec4]
push eax
lea ecx, [ebp + 0x54]
mov byte [ebp - 4], 5
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
push str.FileVer
lea ecx, [ebp + 0x70]
mov byte [ebp - 4], 6
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea eax, [ebp + 0x54]
push eax
lea ecx, [ebp - 0x54]
lea edx, [ebp + 0x70]
mov byte [ebp - 4], 7
call fcn.0041c5ff
pop ecx
lea ecx, [ebp + 0x70]
mov byte [ebp - 4], 6
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [ebp + 0x54]
mov byte [ebp - 4], 5
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [ebp - 0x44]
sub eax, dword [ebp - 0x48]
push 0x38
cdq
pop ecx
idiv ecx
test eax, eax
je 0x41cf75
lea eax, [ebp - 0x54]
push eax
push dword [ebp - 0x48]
lea ecx, [ebp - 0x1c]
call fcn.00419eb2
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
push 0x43ef3e
lea ecx, [ebp + 0x38]
mov dword [ebp - 0x10], eax
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov byte [ebp - 4], 8
jmp 0x41cbcf
lea ecx, [ebp + 0x70]
mov byte [ebp - 4], 3
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [ebp + 0x54]
mov byte [ebp - 4], bl
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
jmp 0x41cf80
lea ecx, [ebp - 0x14]
call fcn.0041881d
push eax
lea ecx, [ebp + 0x70]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 9
call fcn.0041881d
add eax, 0x1c
push eax
lea ecx, [ebp + 0x54]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov byte [ebp - 4], 0xa
cmp dword [ebp + 0x84], ebx
je 0x41cbad
cmp dword [ebp + 0x68], ebx
je 0x41cbad
push str.xlue
lea ecx, [ebp + 0x70]
call dword [sym.imp.MSVCP90.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
call dword [sym.imp.MSVCR90.dll__stricmp]
pop ecx
pop ecx
test eax, eax
je 0x41cbf4
lea ecx, [ebp + 0x54]
mov byte [ebp - 4], 9
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [ebp + 0x70]
mov byte [ebp - 4], 8
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [ebp - 0x14]
call fcn.0041884b
lea eax, [ebp - 0x54]
push eax
push dword [ebp - 0x44]
lea ecx, [ebp - 0x1c]
call fcn.00419eb2
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x14]
call fcn.0041887c
test al, al
je 0x41cb56
jmp 0x41cc1b
lea eax, [ebp + 0x54]
push eax
lea ecx, [ebp + 0x38]
call dword [0x434344]
lea ecx, [ebp + 0x54]
mov byte [ebp - 4], 9
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [ebp + 0x70]
mov byte [ebp - 4], 8
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [ebp - 0x6c]
call fcn.0041a3a4
push 0x438204
lea ecx, [ebp + 0x70]
mov byte [ebp - 4], 0xb
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea eax, [ebp + 0x70]
push eax
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0xc
call fcn.0041b7ce
lea ecx, [ebp + 0x70]
mov byte [ebp - 4], 0xb
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push 0x4381f0
lea ecx, [ebp + 0x70]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea eax, [ebp + 0x70]
push eax
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0xd
call fcn.0041b7ce
lea ecx, [ebp + 0x70]
mov byte [ebp - 4], 0xb
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push 0x4381e4
lea ecx, [ebp + 0x70]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea eax, [ebp + 0x70]
push eax
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0xe
call fcn.0041b7ce
lea ecx, [ebp + 0x70]
mov byte [ebp - 4], 0xb
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea eax, [ebp + 0x38]
push eax
lea eax, [ebp + 0x1c]
push str.xlue.
push eax
call dword [sym.imp.MSVCP90.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___char_const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
push esi
lea eax, [ebp + 0x8ad]
push ebx
push eax
mov byte [ebp - 4], 0xf
mov byte [ebp + 0x8ac], bl
call sub.MSVCR90.dll_memset
add esp, 0x18
lea ecx, [ebp + 0x1c]
call dword [sym.imp.MSVCP90.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
lea eax, [ebp + 0xdc0]
push eax
lea eax, [ebp + 0x8ac]
push eax
call edi
push esi
lea eax, [ebp + 0x5a1]
push ebx
push eax
mov byte [ebp + 0x5a0], bl
call sub.MSVCR90.dll_memset
add esp, 0xc
push str.XLUE
lea eax, [ebp + 0xfc8]
push eax
lea eax, [ebp + 0x5a0]
push eax
call edi
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x60]
lea ecx, [ebp - 0x1c]
call fcn.004197c6
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
jmp 0x41cddb
push esi
lea eax, [ebp + 0x6a5]
push ebx
push eax
mov byte [ebp + 0x6a4], bl
call sub.MSVCR90.dll_memset
push esi
lea eax, [ebp + 0x9b1]
push ebx
push eax
mov byte [ebp + 0x9b0], bl
call sub.MSVCR90.dll_memset
add esp, 0x18
lea ecx, [ebp - 0x14]
call fcn.00418768
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
lea eax, [ebp + 0x5a0]
push eax
lea eax, [ebp + 0x6a4]
push eax
call edi
lea ecx, [ebp - 0x14]
call fcn.00418768
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
lea eax, [ebp + 0x8ac]
push eax
lea eax, [ebp + 0x9b0]
push eax
call edi
lea eax, [ebp + 0x6a4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x41cf4f
lea eax, [ebp + 0x9b0]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x41cf4f
lea ecx, [ebp - 0x14]
call fcn.004188ad
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x1c]
call fcn.004197c6
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x14]
call fcn.004188de
test al, al
je 0x41cd3c
mov eax, dword [ebp - 0x20]
mov dword [eax], 4
call fcn.00415f6d
mov esi, eax
neg esi
sbb esi, esi
and esi, 0x100
add esi, 0x20019
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
push esi
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShellIconOverlayIdentifiersAAADesktopTips
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x10
call fcn.0040bcbf
test eax, eax
jne 0x41cf47
push 0x206
mov word [ebp + 0x294], ax
lea eax, [ebp + 0x296]
push ebx
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp + 0x294]
push eax
mov edi, 0x4359b4
push edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x24], 0x104
call fcn.00416997
test eax, eax
jne 0x41cf47
push str.CLSID_
lea ecx, [ebp]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
lea eax, [ebp + 0x294]
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 0x11
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::append_wchar_t_const__]
push str.InprocServer32
lea ecx, [ebp]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::append_wchar_t_const__]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
push esi
lea ecx, [ebp]
mov byte [ebp - 4], 0x12
call dword [sym.imp.MSVCP90.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
push closesocket
lea ecx, [ebp - 0x1c]
call fcn.0040bcbf
test eax, eax
jne 0x41cf32
push 0x206
mov word [ebp + 0x8c], ax
lea eax, [ebp + 0x8e]
push ebx
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp + 0x8c]
push eax
push edi
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x24], 0x104
call fcn.00416997
test eax, eax
jne 0x41cf32
lea eax, [ebp + 0x8c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41cf32
mov eax, dword [ebp - 0x20]
mov dword [eax], 5
lea ecx, [ebp - 0x1c]
call fcn.0040bca4
lea ecx, [ebp]
mov byte [ebp - 4], 0x10
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x14]
call fcn.0040bca4
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 0xb
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 8
call fcn.0041b7a6
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 5
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], bl
call fcn.0041b743
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.0041b743
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x10cc]
xor ecx, ebp
call fcn.00425cba
add ebp, 0x10d0
leave
ret