Function at 0x423c56
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x4fee0c
call fcn.00484660
sub esp, 0xc0
push ebx
push edi
mov ebx, ecx
xor edi, edi
cmp dword [ebx + 0xc0], edi
je 0x42425f
lea eax, [ebp - 0x60]
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 - 0x1d], al
pop esi
lea eax, [ebp - 0x90]
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 - 0x30], 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 0x51daf0
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 - 0x80], al
jl 0x423ccc
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x80]
push edx
push esi
mov ecx, dword [eax]
push 0x51dafc
push eax
call dword [ecx + 0x24]
mov dword [ebp - 0x2c], edi
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x2c]
push edx
push 0x51db0c
mov ecx, dword [eax]
push eax
mov byte [ebp - 4], 1
call dword [ecx + 0x64]
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x80]
push edx
push esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
mov eax, dword [ebp - 0x2c]
lea ecx, [ebx + 0x48]
push ecx
push esi
mov edx, dword [eax]
push eax
call dword [edx + 0x24]
mov dword [ebp - 0x24], edi
lea eax, [ebp - 0x24]
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 - 0x40]
call sub.MFC42.DLL_CString::CString_5
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 3
push eax
push 0x51e158
push dword [ebp - 0x24]
call dword [sym.imp.BasicCtrlDll.dll_long_int___cdecl_GetQQDataBuf_struct_IQQData___char_const___class_CString__]
mov eax, dword [ebp - 0x2c]
add esp, 0xc
push dword [ebp - 0x40]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x24]
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], esi
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebx + 0x48]
push eax
push edi
push edi
call fcn.0044c6f3
lea eax, [ebp - 0x70]
push esi
push eax
lea eax, [ebp - 0xcc]
push eax
call sub.MSVCRT.dll_memcpy
lea eax, [ebp - 0x60]
push esi
push eax
lea eax, [ebp - 0xbc]
push eax
call sub.MSVCRT.dll_memcpy
mov al, byte [ebp - 0x1d]
add esp, 0x2c
xor ecx, ecx
xor al, byte [ebp + ecx - 0xcc]
inc ecx
cmp ecx, 0x20
jl 0x423dad
mov byte [ebp - 0x28], al
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x70]
mov ecx, dword [eax]
push edx
push esi
push 0x51db24
push eax
call dword [ecx + 0x24]
mov eax, dword [ebp - 0x10]
push edi
push 0x51db2c
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x10]
push edi
push 0x51db38
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x10]
push edi
push 0x51db44
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x10]
push edi
push 0x51db50
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x10]
push edi
push 0x51db5c
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x10]
push edi
push 0x51db64
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x60]
push edx
push esi
mov ecx, dword [eax]
push 0x51db70
push eax
call dword [ecx + 0x24]
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x28]
mov ecx, dword [eax]
push 0x51db88
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x30]
mov ecx, dword [eax]
push 0x51db9c
push eax
call dword [ecx + 0x10]
call sub.MFC42.DLL_AfxGetAppModuleState
mov eax, dword [eax + 4]
mov ecx, dword [ebp - 0x10]
mov ax, word [eax + 0xde]
mov edx, dword [ecx]
push eax
push 0x51dbdc
push ecx
call dword [edx + 0x14]
call sub.MFC42.DLL_AfxGetAppModuleState
mov eax, dword [eax + 4]
mov ecx, dword [ebp - 0x10]
mov eax, dword [eax + 0xe0]
mov edx, dword [ecx]
push eax
push 0x51dbe4
push ecx
call dword [edx + 0x18]
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x90]
push edx
push esi
mov ecx, dword [eax]
push 0x51dbac
push eax
call dword [ecx + 0x24]
call dword [sym.imp.BasicCtrlDll.dll_int___cdecl_CheckCameraStatus_void_]
cmp eax, edi
mov dword [ebp - 0x28], edi
je 0x423ec4
mov dword [ebp - 0x28], 1
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x28]
mov ecx, dword [eax]
push 0x51dbec
push eax
call dword [ecx + 0x18]
mov eax, dword [ebx + 0x590]
and byte [ebp - 0x48], 0
cmp eax, edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x38], edi
je 0x423f52
mov ecx, dword [eax]
lea edx, [ebp - 0x3c]
push edx
push 0x51e01c
push eax
call dword [ecx + 0x30]
mov eax, dword [ebx + 0x590]
lea edx, [ebp - 0x48]
push edx
push 0x51e030
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
mov eax, dword [ebx + 0x590]
lea edx, [ebp - 0x34]
push edx
push 0x51e040
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
mov eax, dword [ebx + 0x590]
lea edx, [ebp - 0x44]
push edx
push 0x51e050
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
mov eax, dword [ebx + 0x590]
lea edx, [ebp - 0x38]
push edx
push 0x51e064
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x3c]
mov ecx, dword [eax]
push 0x51dc08
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x48]
mov ecx, dword [eax]
push 0x51dc18
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x34]
mov ecx, dword [eax]
push 0x51dc24
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x44]
mov ecx, dword [eax]
push 0x51dc30
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x38]
mov ecx, dword [eax]
push 0x51dc40
push eax
call dword [ecx + 0x18]
mov eax, dword [ebx + 0x338]
lea ecx, [ebx + 0x338]
push edi
mov esi, dword [eax - 8]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x30], 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 0x51dbc4
push dword [ebp - 0x30]
call dword [eax + 0x24]
push 6
mov esi, str.QQCONFIG_LOGIN_REPORT_DATA
pop ecx
lea edi, [ebp - 0xac]
rep movsd dword es:[edi], dword [esi]
and byte [ebp - 0x1e], 0
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
call sub.MFC42.DLL_AfxGetAppModuleState
mov eax, dword [eax + 4]
mov ax, word [eax + 0xde]
mov word [ebp - 0x30], ax
call sub.MFC42.DLL_AfxGetAppModuleState
mov eax, dword [eax + 4]
mov edi, 0x140
push edi
mov eax, dword [eax + 0xe0]
mov dword [ebp - 0x4c], eax
call sub.MFC42.DLL_operatornew
push edi
push 0
push eax
mov dword [ebp - 0x14], eax
call sub.MSVCRT.dll_memset
mov eax, dword [ebp - 0x24]
add esp, 0x10
lea edx, [ebp - 0x1e]
mov ecx, dword [eax]
push edx
lea edx, [ebp - 0xac]
push edx
push eax
call dword [ecx + 0x70]
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString_5
lea eax, [ebp - 0x18]
mov esi, dword [sym.imp.BasicCtrlDll.dll_long_int___cdecl_GetQQDataBuf_struct_IQQData___char_const___class_CString__]
push eax
lea eax, [ebp - 0xac]
push eax
mov byte [ebp - 4], 4
push dword [ebp - 0x24]
call esi
add esp, 0xc
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString_5
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 5
push eax
push 0x51e0d8
push dword [ebp - 0x24]
call esi
mov eax, dword [ebp - 0x18]
add esp, 0xc
mov eax, dword [eax - 8]
push 0x17
pop esi
cmp eax, esi
jle 0x4240a8
push esi
push esi
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push dword [ebp - 0x14]
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push esi
jmp 0x4240c4
push eax
push eax
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push dword [ebp - 0x14]
call sub.MSVCRT.dll_memcpy
mov eax, dword [ebp - 0x18]
add esp, 0xc
push dword [eax - 8]
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::ReleaseBuffer
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x30]
lea esi, [eax + 0x17]
call sub.WSOCK32.dll_htons
push dword [ebp - 0x4c]
mov word [esi], ax
inc esi
inc esi
call sub.WSOCK32.dll_htonl
push dword [ebp - 0x28]
mov dword [esi], eax
add esi, 4
call sub.WSOCK32.dll_htonl
mov dword [esi], eax
push dword [ebp - 0x3c]
add esi, 4
call sub.WSOCK32.dll_htons
mov word [esi], ax
mov al, byte [ebp - 0x48]
inc esi
inc esi
mov byte [esi], al
push dword [ebp - 0x34]
inc esi
call sub.WSOCK32.dll_htonl
mov dword [esi], eax
push dword [ebp - 0x44]
add esi, 4
call sub.WSOCK32.dll_htonl
mov dword [esi], eax
mov eax, dword [ebp - 0x38]
add esi, 4
push 0x17
mov dword [esi], eax
mov eax, dword [ebp - 0x1c]
pop esi
mov eax, dword [eax - 8]
cmp eax, esi
jg 0x42415c
jge 0x42415c
push eax
push eax
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::GetBuffer
push eax
mov eax, dword [ebp - 0x14]
add eax, 0x30
push eax
call sub.MSVCRT.dll_memcpy
mov eax, dword [ebp - 0x1c]
add esp, 0xc
push dword [eax - 8]
jmp 0x424177
push esi
push esi
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::GetBuffer
push eax
mov eax, dword [ebp - 0x14]
add eax, 0x30
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push esi
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::ReleaseBuffer
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push edi
push 0x51dbd0
push eax
call dword [ecx + 0x24]
push dword [ebp - 0x14]
call sub.MFC42.DLL_operatordelete
mov dword [esp], 0xba8
push ebx
call fcn.00426e03
pop ecx
pop ecx
push str.D:QQqqBuilder_Platform2006Proj_intBasic_VOBPlatformBasicLogicQQStatLogic.cpp
mov ecx, 0x57c3f0
call sub.MFC42.DLL_CString::operator_2
push 0x51a314
mov ecx, 0x57c3f8
mov dword [0x57c3f4], 0x47f
call sub.MFC42.DLL_CString::operator_2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push str.dologin4_time_u
push str.performancejackzhu
call fcn.00401690
mov ecx, dword [ebx + 0x70]
mov ebx, dword [ebx + 0xc0]
mov esi, dword [ebp - 0x10]
add esp, 0xc
mov edi, dword [ebx]
push 0x51ab48
call sub.MFC42.DLL_CCmdTarget::GetInterface
push eax
push esi
push ebx
call dword [edi + 0x24]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 1
test eax, eax
pop esi
je 0x42423d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x2c]
and byte [ebp - 4], 0
test eax, eax
je 0x42424e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
test eax, eax
je 0x42425f
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