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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x513cd0
push eax
mov eax, 0x151c
mov dword fs:[0], esp
call fcn.00512b50
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 [0x560f2c]
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 0x42c80c
mov esi, edi
jmp 0x42c824
cmp dword [0x56197c], ebp
je 0x42c81b
mov esi, 3
jmp 0x42c824
cmp ebx, ebp
je 0x42c824
mov esi, 2
mov eax, dword [esp + 0x153c]
mov ecx, dword [0x5deca4]
push eax
push ecx
call fcn.004995b0
mov edx, dword [0x5d2270]
push eax
push 0x5cda20
push 0x5cd818
push 0x5cd610
push 0x5cd408
push 0x5cd200
push 0x5ccff8
push 0x5ccbe8
push 0x5cc7d8
push edx
push esi
push str.4.0.5.2
call fcn.004993f0
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.004a4ab0
test eax, eax
je 0x42cd16
cmp edi, 0xffffffff
jne 0x42caf3
cmp ebx, ebp
jne 0x42cafb
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 0x5ccff8
call esi
add esp, 4
lea ecx, [esp + 0xc4]
push eax
push 0x5ccff8
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 [0x560f2c]
mov dword [esp + 0x1534], ebp
cmp eax, ebp
mov edi, str.major
jne 0x42c905
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 0x52db60
call esi
add esp, 4
lea ecx, [esp + 0x44]
push eax
push 0x52db60
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 0x5ce038
call esi
add esp, 4
lea ecx, [esp + 0xb4]
push eax
push 0x5ce038
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.004a4ac0
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 0x42ce15
cmp ebx, ebp
je 0x42ce15
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 0x5ccff8
call esi
add esp, 4
lea ecx, [esp + 0x94]
push eax
push 0x5ccff8
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 [0x560f2c]
mov dword [esp + 0x1534], 6
cmp eax, ebp
mov edi, str.major
jne 0x42cb55
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 0x52db60
call esi
add esp, 4
lea ecx, [esp + 0x34]
push eax
push 0x52db60
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 0x560ec0
call esi
add esp, 4
lea ecx, [esp + 0x24]
push eax
push 0x560ec0
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.004a4ac0
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 0x42ce15
push 0x5c6c00
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42cd30
push 0x5c6c00
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, 0x569b30
call fcn.00424730
lea edx, [esp + 0x4e4]
mov ecx, 0x412
push edx
xor eax, eax
mov edi, 0x5c7010
push 0x52e450
push 0x824
push 0x5c7010
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 0x52db60
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov ecx, 0x82
xor eax, eax
mov edi, 0x5c6c00
rep stosd dword es:[edi], eax
lea eax, [esp + 0x2dc]
push eax
push 0x52e450
push 0x104
push 0x5c6c00
call esi
add esp, 0x10
mov ecx, 0x569b30
mov dword [0x56bf94], 1
mov dword [0x56c1d4], 0x1388
call fcn.00424660
mov ecx, dword [esp + 0x152c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1528
ret