Function at 0x422341
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x4db4fc
call fcn.00471450
sub esp, 0x9c
push ebx
push edi
mov ebx, ecx
xor edi, edi
cmp dword [ebx + 0xc0], edi
je 0x4226b1
lea eax, [ebp - 0x3c]
push esi
push eax
call dword [sym.imp.BasicCtrlDll.dll_int___cdecl_GetQQExeHash_unsigned_char__]
call dword [sym.imp.BasicCtrlDll.dll_unsigned_char___cdecl_GetOIcqProcessCount_void_]
push 0x10
mov byte [ebp - 0x16], al
pop esi
lea eax, [ebp - 0x88]
push esi
push eax
call dword [sym.imp.BasicCtrlDll.dll_void___cdecl_GetLocalComputerGUID_unsigned_char___int_]
mov al, byte [ebx + 0x2c2]
mov dword [ebp - 0x10], edi
mov byte [ebp - 0x28], al
lea eax, [ebp - 0x10]
mov dword [ebp - 4], edi
push eax
call dword [sym.imp.BasicCtrlDll.dll_void___cdecl_CreateQQData_struct_IQQData___]
mov eax, dword [ebp - 0x10]
add esp, 0x10
mov ecx, dword [eax]
push 0x22
push 0x4f7670
push eax
call dword [ecx + 0x14]
mov dword [ebp - 0x14], edi
call dword [sym.imp.MSVCRT.dll_rand]
mov ecx, dword [ebp - 0x14]
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], esi
mov byte [ebp + ecx - 0x4c], al
jl 0x4223b7
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x4c]
push edx
push esi
mov ecx, dword [eax]
push 0x4f767c
push eax
call dword [ecx + 0x24]
mov dword [ebp - 0x20], edi
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x20]
push edx
push 0x4f768c
mov ecx, dword [eax]
push eax
mov byte [ebp - 4], 1
call dword [ecx + 0x64]
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x4c]
push edx
push esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
mov eax, dword [ebp - 0x20]
lea ecx, [ebx + 0x48]
push ecx
push esi
mov edx, dword [eax]
push eax
call dword [edx + 0x24]
mov dword [ebp - 0x1c], edi
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 2
push eax
push dword [ebx + 0x38]
call dword [sym.imp.BasicCtrlDll.dll_void___cdecl_GetCurrentSysTempData_struct_IQQCore___struct_IQQData___]
pop ecx
pop ecx
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::CString_4
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 3
push eax
push 0x4f7aac
push dword [ebp - 0x1c]
call dword [sym.imp.BasicCtrlDll.dll_long_int___cdecl_GetQQDataBuf_struct_IQQData___char_const___class_CString__]
mov eax, dword [ebp - 0x20]
add esp, 0xc
push dword [ebp - 0x24]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x24]
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], esi
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebx + 0x48]
push eax
push edi
push edi
call fcn.0043b332
lea eax, [ebp - 0x5c]
push esi
push eax
lea eax, [ebp - 0xa8]
push eax
call sub.MSVCRT.dll_memcpy
lea eax, [ebp - 0x3c]
push esi
push eax
lea eax, [ebp - 0x98]
push eax
call sub.MSVCRT.dll_memcpy
mov al, byte [ebp - 0x16]
add esp, 0x2c
xor ecx, ecx
xor al, byte [ebp + ecx - 0xa8]
inc ecx
cmp ecx, 0x20
jl 0x422498
mov byte [ebp - 0x14], al
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x5c]
mov ecx, dword [eax]
push edx
push esi
push 0x4f76a4
push eax
call dword [ecx + 0x24]
mov eax, dword [ebp - 0x10]
push edi
push 0x4f76ac
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x10]
push edi
push 0x4f76b8
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x10]
push edi
push 0x4f76c4
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x10]
push edi
push 0x4f76d0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x10]
push 1
push 0x4f76dc
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x10]
push esi
push 0x4f76e4
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x3c]
push edx
push esi
mov ecx, dword [eax]
push 0x4f76f0
push eax
call dword [ecx + 0x24]
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x14]
mov ecx, dword [eax]
push 0x4f7708
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x28]
mov ecx, dword [eax]
push 0x4f771c
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x88]
push edx
push esi
mov ecx, dword [eax]
push 0x4f772c
push eax
call dword [ecx + 0x24]
mov eax, dword [ebx + 0x3a4]
lea ecx, [ebx + 0x3a4]
push edi
mov esi, dword [eax - 8]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x28], eax
mov edx, dword [eax]
mov dword [ebp - 0x14], edx
call sub.MFC42.DLL_CString::GetBuffer
push eax
mov eax, dword [ebp - 0x14]
push esi
push 0x4f7744
push dword [ebp - 0x28]
call dword [eax + 0x24]
push 6
mov esi, str.QQCONFIG_LOGIN_REPORT_DATA
pop ecx
lea edi, [ebp - 0x78]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x1c]
and byte [ebp - 0x15], 0
movsw word es:[edi], word [esi]
lea edx, [ebp - 0x15]
push edx
lea edx, [ebp - 0x78]
movsb byte es:[edi], byte [esi]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x70]
cmp byte [ebp - 0x15], 7
jne 0x422615
mov eax, dword [ebp - 0x1c]
and dword [ebp - 0x14], 0
lea edx, [ebp - 0x14]
mov ecx, dword [eax]
push edx
lea edx, [ebp - 0x78]
push edx
push eax
call dword [ecx + 0x3c]
mov esi, 0x140
cmp dword [ebp - 0x14], esi
jl 0x4225ed
mov esi, 0x385
cmp dword [ebp - 0x14], esi
jle 0x4225ea
mov dword [ebp - 0x14], esi
jmp 0x4225ed
mov esi, dword [ebp - 0x14]
push esi
call sub.MFC42.DLL_operatornew
mov edi, eax
push esi
push 0
push edi
call sub.MSVCRT.dll_memset
mov eax, dword [ebp - 0x1c]
add esp, 0x10
lea edx, [ebp - 0x14]
mov ecx, dword [eax]
push edx
lea edx, [ebp - 0x78]
push edi
push edx
push eax
call dword [ecx + 0x48]
jmp 0x42262e
mov esi, 0x140
push esi
call sub.MFC42.DLL_operatornew
mov edi, eax
push esi
push 0
push edi
call sub.MSVCRT.dll_memset
add esp, 0x10
mov eax, dword [ebp - 0x10]
push edi
push esi
push 0x4f7750
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
push edi
call sub.MFC42.DLL_operatordelete
mov dword [esp], 0xba8
push ebx
call fcn.0042513b
pop ecx
mov esi, dword [ebp - 0x10]
pop ecx
mov ecx, dword [ebx + 0x70]
mov ebx, dword [ebx + 0xc0]
push 0x4f48f8
mov edi, dword [ebx]
call sub.MFC42.DLL_CCmdTarget::GetInterface
push eax
push esi
push ebx
call dword [edi + 0x24]
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 1
test eax, eax
pop esi
je 0x42268f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
and byte [ebp - 4], 0
test eax, eax
je 0x4226a0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
test eax, eax
je 0x4226b1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret