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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4f4cf0
push eax
mov eax, 0x151c
mov dword fs:[0], esp
call fcn.004f3f00
push ebx
push ebp
push esi
push edi
xor ebp, ebp
mov ecx, 0x411
xor eax, eax
lea edi, [esp + 0x4e6]
mov word [esp + 0x4e4], bp
mov esi, dword [0x53ae04]
rep stosd dword es:[edi], eax
mov ebx, dword [esp + 0x1540]
stosw word es:[edi], ax
mov edi, dword [esp + 0x1544]
cmp edi, 0xffffffff
je 0x4275fc
mov esi, edi
jmp 0x427614
cmp dword [0x53b854], ebp
je 0x42760b
mov esi, 3
jmp 0x427614
cmp ebx, ebp
je 0x427614
mov esi, 2
mov eax, dword [esp + 0x153c]
mov ecx, dword [0x5b8af4]
push eax
push ecx
call fcn.0048bda0
mov edx, dword [0x5ac100]
push eax
push 0x5a78e8
push 0x5a76e0
push 0x5a74d8
push 0x5a72d0
push 0x5a70c8
push 0x5a6ec0
push 0x5a6ab0
push 0x5a66a0
push edx
push esi
push str.3.9.3.1
call fcn.0048bbe0
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
push eax
push str.http:__pvstat.qihoo.com_dimana.gif__pdt360sebq_dim_kpid__guid__ver_dim_v360se___s___sm_dmts_diname_sifver_simod_simodver_sicode_sioff_sios_siie_smid_slaid_dtc_d
lea eax, [esp + 0x524]
push 0x823
push eax
call esi
add esp, 0x48
call fcn.00496d70
test eax, eax
je 0x427b06
cmp edi, 0xffffffff
jne 0x4278e3
cmp ebx, ebp
jne 0x4278eb
mov cl, byte [esp + 0x13]
push ebp
mov byte [esp + 0xc8], cl
lea ecx, [esp + 0xc8]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov esi, dword [sym.imp.MSVCRT.dll_wcslen]
push 0x5a6ec0
call esi
add esp, 4
lea ecx, [esp + 0xc4]
push eax
push 0x5a6ec0
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_unsigned_short_int_const___unsigned_int_]
mov eax, dword [0x53ae04]
mov dword [esp + 0x1534], ebp
cmp eax, ebp
mov edi, str.major
jne 0x4276f5
mov edi, str.minor
mov dl, byte [esp + 0x13]
push ebp
lea ecx, [esp + 0x68]
mov byte [esp + 0x68], dl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push edi
call esi
add esp, 4
lea ecx, [esp + 0x64]
push eax
push edi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_unsigned_short_int_const___unsigned_int_]
mov al, byte [esp + 0x13]
push ebp
lea ecx, [esp + 0xa8]
mov byte [esp + 0x1538], 1
mov byte [esp + 0xa8], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push str.crash_unhandled
call esi
add esp, 4
lea ecx, [esp + 0xa4]
push eax
push str.crash_unhandled
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_unsigned_short_int_const___unsigned_int_]
mov cl, byte [esp + 0x13]
push ebp
mov byte [esp + 0x48], cl
lea ecx, [esp + 0x48]
mov byte [esp + 0x1538], 2
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push 0x50b884
call esi
add esp, 4
lea ecx, [esp + 0x44]
push eax
push 0x50b884
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_unsigned_short_int_const___unsigned_int_]
mov dl, byte [esp + 0x13]
push ebp
lea ecx, [esp + 0xb8]
mov byte [esp + 0x1538], 3
mov byte [esp + 0xb8], dl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push 0x5a7f00
call esi
add esp, 4
lea ecx, [esp + 0xb4]
push eax
push 0x5a7f00
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_unsigned_short_int_const___unsigned_int_]
mov al, byte [esp + 0x13]
mov bl, 4
push ebp
lea ecx, [esp + 0x88]
mov byte [esp + 0x1538], bl
mov byte [esp + 0x88], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
lea ecx, [esp + 0x4e4]
push ecx
call esi
add esp, 4
lea edx, [esp + 0x4e4]
lea ecx, [esp + 0x84]
push eax
push edx
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_unsigned_short_int_const___unsigned_int_]
mov byte [esp + 0x1534], 5
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [esp + 0xcc]
lea ecx, [esp + 0x6c]
push eax
push ecx
lea edx, [esp + 0xb4]
lea eax, [esp + 0x54]
push edx
lea ecx, [esp + 0xc8]
push eax
lea edx, [esp + 0x9c]
push ecx
push edx
call fcn.00496d80
add esp, 0x20
lea ecx, [esp + 0x84]
mov byte [esp + 0x1534], bl
push 1
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push 1
lea ecx, [esp + 0xb8]
mov byte [esp + 0x1538], 3
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push 1
lea ecx, [esp + 0x48]
mov byte [esp + 0x1538], 2
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push 1
lea ecx, [esp + 0xa8]
mov byte [esp + 0x1538], 1
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push 1
lea ecx, [esp + 0x68]
mov byte [esp + 0x1538], 0
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push 1
lea ecx, [esp + 0xc8]
mov dword [esp + 0x1538], 0xffffffff
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
jmp 0x427c05
cmp ebx, ebp
je 0x427c05
mov al, byte [esp + 0x13]
push ebp
lea ecx, [esp + 0x98]
mov byte [esp + 0x98], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov esi, dword [sym.imp.MSVCRT.dll_wcslen]
push 0x5a6ec0
call esi
add esp, 4
lea ecx, [esp + 0x94]
push eax
push 0x5a6ec0
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_unsigned_short_int_const___unsigned_int_]
mov eax, dword [0x53ae04]
mov dword [esp + 0x1534], 6
cmp eax, ebp
mov edi, str.major
jne 0x427945
mov edi, str.minor
mov cl, byte [esp + 0x13]
push ebp
mov byte [esp + 0x78], cl
lea ecx, [esp + 0x78]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push edi
call esi
add esp, 4
lea ecx, [esp + 0x74]
push eax
push edi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_unsigned_short_int_const___unsigned_int_]
mov dl, byte [esp + 0x13]
push ebp
lea ecx, [esp + 0x58]
mov byte [esp + 0x1538], 7
mov byte [esp + 0x58], dl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push str.crash_threaderr
call esi
add esp, 4
lea ecx, [esp + 0x54]
push eax
push str.crash_threaderr
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_unsigned_short_int_const___unsigned_int_]
mov al, byte [esp + 0x13]
push ebp
lea ecx, [esp + 0x38]
mov byte [esp + 0x1538], 8
mov byte [esp + 0x38], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push 0x50b884
call esi
add esp, 4
lea ecx, [esp + 0x34]
push eax
push 0x50b884
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_unsigned_short_int_const___unsigned_int_]
mov cl, byte [esp + 0x13]
push ebp
mov byte [esp + 0x28], cl
lea ecx, [esp + 0x28]
mov byte [esp + 0x1538], 9
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push 0x53ada0
call esi
add esp, 4
lea ecx, [esp + 0x24]
push eax
push 0x53ada0
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_unsigned_short_int_const___unsigned_int_]
mov dl, byte [esp + 0x13]
mov bl, 0xa
push ebp
lea ecx, [esp + 0x18]
mov byte [esp + 0x1538], bl
mov byte [esp + 0x18], dl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
lea eax, [esp + 0x4e4]
push eax
call esi
add esp, 4
lea ecx, [esp + 0x4e4]
push eax
push ecx
lea ecx, [esp + 0x1c]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_unsigned_short_int_const___unsigned_int_]
mov byte [esp + 0x1534], 0xb
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea edx, [esp + 0x9c]
lea eax, [esp + 0x7c]
push edx
push eax
lea ecx, [esp + 0x64]
lea edx, [esp + 0x44]
push ecx
lea eax, [esp + 0x38]
push edx
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.00496d80
add esp, 0x20
lea ecx, [esp + 0x14]
mov byte [esp + 0x1534], bl
push 1
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push 1
lea ecx, [esp + 0x28]
mov byte [esp + 0x1538], 9
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push 1
lea ecx, [esp + 0x38]
mov byte [esp + 0x1538], 8
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push 1
lea ecx, [esp + 0x58]
mov byte [esp + 0x1538], 7
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push 1
lea ecx, [esp + 0x78]
mov byte [esp + 0x1538], 6
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push 1
lea ecx, [esp + 0x98]
mov dword [esp + 0x1538], 0xffffffff
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
jmp 0x427c05
push 0x5a0ac8
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x427b20
push 0x5a0ac8
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, 0x5439f8
call fcn.0041f5c0
lea edx, [esp + 0x4e4]
mov ecx, 0x412
push edx
xor eax, eax
mov edi, 0x5a0ed8
push 0x50c180
push 0x824
push 0x5a0ed8
rep stosd dword es:[edi], eax
call esi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe6]
mov word [esp + 0xe4], bp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x2ee]
mov word [esp + 0x2ec], bp
rep stosd dword es:[edi], eax
add esp, 0x10
stosw word es:[edi], ax
lea eax, [esp + 0xd4]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [esp + 0x2dc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea edx, [esp + 0xdc]
push 0x50b884
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov ecx, 0x82
xor eax, eax
mov edi, 0x5a0ac8
rep stosd dword es:[edi], eax
lea eax, [esp + 0x2dc]
push eax
push 0x50c180
push 0x104
push 0x5a0ac8
call esi
add esp, 0x10
mov ecx, 0x5439f8
mov dword [0x545e5c], 1
mov dword [0x54609c], 0x1388
call fcn.0041f4f0
mov ecx, dword [esp + 0x152c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1528
ret