Function at 0x10022ba2
Capabilities:
Delete file

Disassembly:
mov eax, 0x1004a19d
call fcn.100464e0
sub esp, 0x358
mov eax, dword [ebp + 8]
push ebx
push esi
and dword [ebp - 0x1c], 0
mov esi, ecx
push edi
mov dword [esi + 0x18], eax
lea eax, [ebp - 0x34]
push eax
call fcn.10032f68
pop ecx
and byte [ebp - 0x54], 0
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x53]
and dword [ebp - 4], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x10022bec
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push 0x20
push eax
lea eax, [ebp - 0x54]
push eax
call sub.MSVCRT.dll_memcpy
and byte [ebp - 0x158], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x157]
mov dword [ebp - 0x18], 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x158]
push eax
push str.37k_IF__y_d
lea eax, [ebp - 0x54]
push 0x20
push eax
call fcn.1000fd38
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x158]
push dword [ebp - 0x18]
push eax
call fcn.10021367
mov ebx, eax
add esp, 0x2c
test ebx, ebx
mov dword [ebp - 0x20], ebx
jne 0x10022c57
xor esi, esi
jmp 0x10022dcb
push 0x1005d7dc
call fcn.10028fa1
mov edi, eax
pop ecx
neg edi
sbb edi, edi
lea ecx, [ebp - 0x14]
neg edi
call sub.MFC42u.DLL_CString::CString_1
cmp dword [0x100610b4], 0
mov byte [ebp - 4], 1
push ebx
jne 0x10022cad
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::CString_3
mov eax, dword [eax]
push edi
push eax
lea eax, [ebp - 0x14]
push dword [esi + 8]
mov byte [ebp - 4], 2
push str.http:__c.pc.qq.com_fcgi_bin_xmldownurlquery_id_dguid_sdm_dqm1
push eax
call sub.MFC42u.DLL_CString::Format
add esp, 0x14
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
jmp 0x10022cde
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::CString_3
mov eax, dword [eax]
push edi
push eax
lea eax, [ebp - 0x14]
push dword [esi + 8]
mov byte [ebp - 4], 3
push dword [0x100610b4]
push str.http:__c.pc.qq.com_fcgi_bin_busxml_busid_dsupplyid_dguid_sdm0qm1
push eax
call sub.MFC42u.DLL_CString::Format
add esp, 0x18
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::CString
lea eax, [ebp - 0x10]
push eax
call fcn.10015687
pop ecx
lea ebx, [esi + 0x1c]
push eax
mov ecx, ebx
mov byte [ebp - 4], 4
call fcn.100460f4
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call sub.MFC42u.DLL_CString::CString
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
and word [ebp - 0x364], 0
push dword [ebx]
mov ecx, 0x82
xor eax, eax
lea edi, [ebp - 0x362]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x364]
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
pop ecx
lea eax, [ebp - 0x364]
pop ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveBackslashW]
lea eax, [ebp - 0x364]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov al, byte [ebp + 0xb]
sub esp, 0x10
mov edi, esp
mov dword [ebp - 0x24], esp
push 0
mov ecx, edi
mov byte [edi], 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 eax, [ebp - 0x364]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
pop ecx
push eax
lea eax, [ebp - 0x364]
push eax
mov ecx, 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_]
call fcn.10001682
mov ecx, dword [esi + 0x4c]
add esp, 0x10
test ecx, ecx
je 0x10022db2
push dword [ebp + 8]
call fcn.1000a140
push dword [ebp + 0xc]
mov ebx, dword [ebx]
mov ecx, dword [esi + 0x4c]
push ebx
push dword [ebp - 0x14]
call fcn.10009bca
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x20]
call dword [sym.imp.MSVCRT.dll_free]
and byte [ebp - 4], 0
pop ecx
lea ecx, [ebp - 0x14]
call sub.MFC42u.DLL_CString::CString
mov esi, dword [ebp - 0x1c]
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8