Function at 0x422c9f
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x4e9af8
call fcn.00475fe0
sub esp, 0xa0
push ebx
push edi
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x28], edi
cmp dword [edi + 0xc0], ebx
je 0x42300e
lea eax, [ebp - 0x40]
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 - 0x8c]
push esi
push eax
call dword [sym.imp.BasicCtrlDll.dll_void___cdecl_GetLocalComputerGUID_unsigned_char___int_]
mov al, byte [edi + 0x2c2]
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0x2c], al
lea eax, [ebp - 0x10]
mov dword [ebp - 4], ebx
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 0x505778
push eax
call dword [ecx + 0x14]
mov dword [ebp - 0x14], ebx
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 - 0x50], al
jl 0x422d18
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x50]
push edx
push esi
mov ecx, dword [eax]
push 0x505784
push eax
call dword [ecx + 0x24]
mov dword [ebp - 0x20], ebx
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x20]
push edx
push 0x505794
mov ecx, dword [eax]
push eax
mov byte [ebp - 4], 1
call dword [ecx + 0x64]
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x50]
push edx
push esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
mov eax, dword [ebp - 0x20]
lea ecx, [edi + 0x48]
push ecx
push esi
mov edx, dword [eax]
push eax
call dword [edx + 0x24]
mov dword [ebp - 0x1c], ebx
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 2
push eax
push dword [edi + 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 0x505c4c
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 - 0x30]
mov dword [ebp - 0x30], esi
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [edi + 0x48]
push eax
push ebx
push ebx
call fcn.0043f4ec
lea eax, [ebp - 0x60]
push esi
push eax
lea eax, [ebp - 0xac]
push eax
call sub.MSVCRT.dll_memcpy
lea eax, [ebp - 0x40]
push esi
push eax
lea eax, [ebp - 0x9c]
push eax
call sub.MSVCRT.dll_memcpy
mov al, byte [ebp - 0x16]
add esp, 0x2c
xor ecx, ecx
xor al, byte [ebp + ecx - 0xac]
inc ecx
cmp ecx, 0x20
jl 0x422df9
mov byte [ebp - 0x14], al
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x60]
mov ecx, dword [eax]
push edx
push esi
push 0x5057ac
push eax
call dword [ecx + 0x24]
mov eax, dword [ebp - 0x10]
push ebx
push 0x5057b4
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x10]
push ebx
push 0x5057c0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x10]
push ebx
push 0x5057cc
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x10]
push ebx
push 0x5057d8
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x10]
push ebx
push 0x5057e4
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x10]
push ebx
push 0x5057ec
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x40]
push edx
push esi
mov ecx, dword [eax]
push 0x5057f8
push eax
call dword [ecx + 0x24]
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x14]
mov ecx, dword [eax]
push 0x505810
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x2c]
mov ecx, dword [eax]
push 0x505824
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x8c]
push edx
push esi
mov ecx, dword [eax]
push 0x505834
push eax
call dword [ecx + 0x24]
mov eax, dword [edi + 0x3a4]
lea ecx, [edi + 0x3a4]
push ebx
mov esi, dword [eax - 8]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x2c], eax
mov edi, dword [eax]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push esi
push 0x50584c
push dword [ebp - 0x2c]
call dword [edi + 0x24]
push 6
mov esi, str.QQCONFIG_LOGIN_REPORT_DATA
pop ecx
lea edi, [ebp - 0x7c]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x15]
movsw word es:[edi], word [esi]
push edx
lea edx, [ebp - 0x7c]
movsb byte es:[edi], byte [esi]
mov byte [ebp - 0x15], bl
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x70]
cmp byte [ebp - 0x15], 7
jne 0x422f6c
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x14]
push edx
lea edx, [ebp - 0x7c]
mov dword [ebp - 0x14], ebx
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x3c]
mov esi, 0x140
cmp dword [ebp - 0x14], esi
jl 0x422f45
mov esi, 0x385
cmp dword [ebp - 0x14], esi
jle 0x422f42
mov dword [ebp - 0x14], esi
jmp 0x422f45
mov esi, dword [ebp - 0x14]
push esi
call sub.MFC42.DLL_operatornew
mov edi, eax
push esi
push ebx
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 - 0x7c]
push edi
push edx
push eax
call dword [ecx + 0x48]
jmp 0x422f84
mov esi, 0x140
push esi
call sub.MFC42.DLL_operatornew
mov edi, eax
push esi
push ebx
push edi
call sub.MSVCRT.dll_memset
add esp, 0x10
mov eax, dword [ebp - 0x10]
push edi
push esi
push 0x505858
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
push edi
call sub.MFC42.DLL_operatordelete
mov esi, dword [ebp - 0x28]
mov dword [esp], 0xba8
push esi
call fcn.00425bc0
mov eax, dword [ebp - 0x10]
pop ecx
pop ecx
mov dword [ebp - 0x28], eax
mov ecx, dword [esi + 0x70]
mov esi, dword [esi + 0xc0]
push 0x502978
mov edi, dword [esi]
call sub.MFC42.DLL_CCmdTarget::GetInterface
push eax
push dword [ebp - 0x28]
push esi
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
cmp eax, ebx
pop esi
je 0x422fed
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x422ffd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x42300e
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