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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x50da50
push eax
mov eax, 0x151c
mov dword fs:[0], esp
call fcn.0050c9c0
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 [0x55996c]
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 0x42a66c
mov esi, edi
jmp 0x42a684
cmp dword [0x55a3bc], ebp
je 0x42a67b
mov esi, 3
jmp 0x42a684
cmp ebx, ebp
je 0x42a684
mov esi, 2
mov eax, dword [esp + 0x153c]
mov ecx, dword [0x5d76ac]
push eax
push ecx
call fcn.00496d50
mov edx, dword [0x5cac78]
push eax
push 0x5c6438
push 0x5c6230
push 0x5c6028
push 0x5c5e20
push 0x5c5c18
push 0x5c5a10
push 0x5c5600
push 0x5c51f0
push edx
push esi
push str.4.0.3.6
call fcn.00496b90
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.004a21d0
test eax, eax
je 0x42ab76
cmp edi, 0xffffffff
jne 0x42a953
cmp ebx, ebp
jne 0x42a95b
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 0x5c5a10
call esi
add esp, 4
lea ecx, [esp + 0xc4]
push eax
push 0x5c5a10
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 [0x55996c]
mov dword [esp + 0x1534], ebp
cmp eax, ebp
mov edi, str.major
jne 0x42a765
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 0x527b40
call esi
add esp, 4
lea ecx, [esp + 0x44]
push eax
push 0x527b40
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 0x5c6a50
call esi
add esp, 4
lea ecx, [esp + 0xb4]
push eax
push 0x5c6a50
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.004a21e0
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 0x42ac75
cmp ebx, ebp
je 0x42ac75
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 0x5c5a10
call esi
add esp, 4
lea ecx, [esp + 0x94]
push eax
push 0x5c5a10
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 [0x55996c]
mov dword [esp + 0x1534], 6
cmp eax, ebp
mov edi, str.major
jne 0x42a9b5
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 0x527b40
call esi
add esp, 4
lea ecx, [esp + 0x34]
push eax
push 0x527b40
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 0x559900
call esi
add esp, 4
lea ecx, [esp + 0x24]
push eax
push 0x559900
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.004a21e0
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 0x42ac75
push 0x5bf618
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42ab90
push 0x5bf618
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, 0x562548
call fcn.00422590
lea edx, [esp + 0x4e4]
mov ecx, 0x412
push edx
xor eax, eax
mov edi, 0x5bfa28
push 0x528430
push 0x824
push 0x5bfa28
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 0x527b40
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov ecx, 0x82
xor eax, eax
mov edi, 0x5bf618
rep stosd dword es:[edi], eax
lea eax, [esp + 0x2dc]
push eax
push 0x528430
push 0x104
push 0x5bf618
call esi
add esp, 0x10
mov ecx, 0x562548
mov dword [0x5649ac], 1
mov dword [0x564bec], 0x1388
call fcn.004224c0
mov ecx, dword [esp + 0x152c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1528
ret