Function at 0x40a830
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x68
push ebx
push esi
push edi
mov edi, ecx
mov edx, dword [edi]
mov eax, dword [edi + 4]
cmp eax, dword [edx + 4]
jge 0x40ad5f
push ebp
mov ebp, dword [sym.imp.Qt5Core.dll_public:_class_QByteArray____thiscall_QByteArray::append_class_QByteArray_const__]
nop dword [eax]
lea ecx, [esp + 0x50]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::constructor_void_]
lea ecx, [esp + 0x54]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::constructor_void_]
and dword [esp + 0x58], 0xfffffffc
lea ecx, [esp + 0x64]
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::constructor_void_]
lea ecx, [esp + 0x68]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::constructor_void_]
lea ecx, [esp + 0x6c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::constructor_void_]
lea ecx, [esp + 0x70]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::constructor_void_]
lea eax, [esp + 0x3c]
mov byte [esp + 0x74], 0
push eax
mov ecx, edi
call fcn.0040cbc0
mov esi, eax
lea ecx, [esp + 0x50]
push esi
call dword [sym.imp.Qt5Core.dll_public:_class_QByteArray____thiscall_QByteArray::operator_class_QByteArray__]
lea ecx, [esi + 4]
push ecx
lea ecx, [esp + 0x58]
call dword [sym.imp.Qt5Core.dll_public:_class_QByteArray____thiscall_QByteArray::operator_class_QByteArray__]
mov ecx, dword [esi + 8]
mov edx, dword [esp + 0x58]
xor ecx, edx
and ecx, 1
xor edx, ecx
lea ecx, [esp + 0x40]
mov dword [esp + 0x58], edx
mov eax, dword [esi + 8]
xor eax, edx
and eax, 2
xor edx, eax
mov dword [esp + 0x58], edx
mov eax, dword [esi + 0xc]
mov dword [esp + 0x5c], eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x60], eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea ecx, [esp + 0x3c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea eax, [esp + 0x50]
push str.void
push eax
call dword [sym.imp.Qt5Core.dll_int___cdecl_qstrcmp_class_QByteArray_const___char_const__]
add esp, 8
neg eax
sbb eax, eax
inc eax
test al, al
jne 0x40ad22
mov edx, dword [edi]
mov esi, dword [edi + 4]
cmp esi, dword [edx + 4]
jge 0x40a990
mov eax, dword [edx + 0xc]
lea ecx, [esi + esi*4]
lea eax, [eax + ecx*4]
cmp dword [eax + edx + 4], 1
jne 0x40a990
lea eax, [esi + 1]
mov dword [edi + 4], eax
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0xc]
lea eax, [eax + ecx*4]
push dword [eax + edx - 4]
lea ecx, [esp + 0x24]
push dword [eax + edx - 8]
push ecx
lea ecx, [edx - 0xc]
add ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QByteArray___thiscall_QByteArray::mid_int__int_]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x70]
call dword [sym.imp.Qt5Core.dll_public:_class_QByteArray____thiscall_QByteArray::operator_class_QByteArray__]
lea ecx, [esp + 0x20]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
nop dword [eax]
mov esi, dword [edi]
mov edx, dword [edi + 4]
cmp edx, dword [esi + 4]
jge 0x40a9cb
mov eax, dword [esi + 0xc]
lea ecx, [edx + edx*4]
lea eax, [eax + ecx*4]
cmp dword [eax + esi + 4], 0xc
jne 0x40a9cb
lea eax, [edx + 1]
mov ecx, edi
mov dword [edi + 4], eax
lea eax, [esp + 0x28]
push 0xd
push eax
call fcn.00406d10
push eax
lea ecx, [esp + 0x68]
call ebp
lea ecx, [esp + 0x28]
jmp 0x40a983
mov ebx, dword [esi + 4]
cmp edx, ebx
jge 0x40aa43
mov eax, dword [esi + 0xc]
lea ecx, [edx + edx*4]
lea eax, [eax + ecx*4]
cmp dword [eax + esi + 4], 0x36
je 0x40a9f6
cmp edx, ebx
jge 0x40aa43
mov eax, dword [esi + 0xc]
lea ecx, [edx + edx*4]
lea eax, [eax + ecx*4]
cmp dword [eax + esi + 4], 0x37
jne 0x40aa43
lea eax, [edx + 1]
push 0x20
lea ecx, [esp + 0x68]
mov dword [edi + 4], eax
call dword [sym.imp.Qt5Core.dll_public:_class_QByteArray____thiscall_QByteArray::append_char_]
mov edx, dword [edi]
mov eax, dword [edi + 4]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0xc]
lea eax, [eax + ecx*4]
push dword [eax + edx - 4]
lea ecx, [esp + 0x28]
push dword [eax + edx - 8]
push ecx
lea ecx, [edx - 0xc]
add ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QByteArray___thiscall_QByteArray::mid_int__int_]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x68]
call ebp
lea ecx, [esp + 0x24]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
mov eax, dword [esp + 0x64]
mov byte [esp + 0x13], 0x20
push 0
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x54]
inc ecx
mov ebp, dword [eax + 4]
add ebp, ecx
lea ecx, [esp + 0x1c]
push ebp
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::constructor_int__enum_Qt::Initialization_]
lea ecx, [esp + 0x18]
call dword [sym.imp.Qt5Core.dll_public:_char_const____thiscall_QByteArray::constData_void_const]
mov esi, eax
lea ecx, [esp + 0x50]
mov dword [esp + 0x30], esi
call dword [sym.imp.Qt5Core.dll_public:_char_const____thiscall_QByteArray::constData_void_const]
lea ecx, [esp + 0x50]
mov ebx, eax
call dword [sym.imp.Qt5Core.dll_public:_char_const____thiscall_QByteArray::end_void_const]
xor ecx, ecx
mov edx, eax
sub edx, ebx
cmp ebx, eax
cmova edx, ecx
test edx, edx
je 0x40aaad
nop dword [eax + eax]
mov al, byte [ebx]
lea ebx, [ebx + 1]
mov byte [esi], al
inc ecx
inc esi
cmp ecx, edx
jne 0x40aaa0
mov al, byte [esp + 0x13]
lea ecx, [esp + 0x64]
mov byte [esi], al
inc esi
call dword [sym.imp.Qt5Core.dll_public:_char_const____thiscall_QByteArray::constData_void_const]
lea ecx, [esp + 0x64]
mov ebx, eax
call dword [sym.imp.Qt5Core.dll_public:_char_const____thiscall_QByteArray::end_void_const]
xor ecx, ecx
mov edx, eax
sub edx, ebx
cmp ebx, eax
cmova edx, ecx
test edx, edx
je 0x40aaed
nop dword [eax]
mov al, byte [ebx]
lea ebx, [ebx + 1]
mov byte [esi], al
inc ecx
inc esi
cmp ecx, edx
jne 0x40aae0
sub esi, dword [esp + 0x30]
cmp ebp, esi
je 0x40ab00
push esi
lea ecx, [esp + 0x1c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::resize_int_]
push 0
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.00406ee0
add esp, 0xc
lea ecx, [esp + 0x68]
push eax
call dword [sym.imp.Qt5Core.dll_public:_class_QByteArray____thiscall_QByteArray::operator_class_QByteArray__]
lea ecx, [esp + 0x34]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea ecx, [esp + 0x18]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
push 0x26
lea ecx, [esp + 0x54]
call dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QByteArray::endsWith_char_const]
test al, al
je 0x40ab81
push 0x4193d0
lea ecx, [esp + 0x54]
call dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QByteArray::endsWith_char_const__const]
test al, al
lea ecx, [esp + 0x50]
mov eax, dword [esp + 0x50]
mov eax, dword [eax + 4]
je 0x40ab72
sub eax, 2
push eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.Qt5Core.dll_public:_class_QByteArray___thiscall_QByteArray::left_int_]
jmp 0x40ab90
dec eax
push eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.Qt5Core.dll_public:_class_QByteArray___thiscall_QByteArray::left_int_]
jmp 0x40ab90
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::constructor_class_QByteArray_const__]
mov eax, dword [esp + 0x64]
push 0
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x18]
add ecx, 3
mov ebp, dword [eax + 4]
add ebp, ecx
lea ecx, [esp + 0x20]
push ebp
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::constructor_int__enum_Qt::Initialization_]
lea ecx, [esp + 0x1c]
call dword [sym.imp.Qt5Core.dll_public:_char_const____thiscall_QByteArray::constData_void_const]
mov esi, eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], esi
call dword [sym.imp.Qt5Core.dll_public:_char_const____thiscall_QByteArray::constData_void_const]
lea ecx, [esp + 0x14]
mov ebx, eax
call dword [sym.imp.Qt5Core.dll_public:_char_const____thiscall_QByteArray::end_void_const]
xor ecx, ecx
mov edx, eax
sub edx, ebx
cmp ebx, eax
cmova edx, ecx
test edx, edx
je 0x40abf2
mov al, byte [ebx]
lea ebx, [ebx + 1]
mov byte [esi], al
inc ecx
inc esi
cmp ecx, edx
jne 0x40abe5
mov ecx, 0x419458
mov al, 0x28
sub ecx, esi
nop dword [eax + eax]
mov byte [esi], al
inc esi
mov al, byte [ecx + esi]
test al, al
jne 0x40ac00
lea ecx, [esp + 0x64]
call dword [sym.imp.Qt5Core.dll_public:_char_const____thiscall_QByteArray::constData_void_const]
lea ecx, [esp + 0x64]
mov ebx, eax
call dword [sym.imp.Qt5Core.dll_public:_char_const____thiscall_QByteArray::end_void_const]
xor ecx, ecx
mov edx, eax
sub edx, ebx
cmp ebx, eax
cmova edx, ecx
test edx, edx
je 0x40ac3d
nop
mov al, byte [ebx]
lea ebx, [ebx + 1]
mov byte [esi], al
inc ecx
inc esi
cmp ecx, edx
jne 0x40ac30
sub esi, dword [esp + 0x2c]
cmp ebp, esi
je 0x40ac50
push esi
lea ecx, [esp + 0x20]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::resize_int_]
push 0
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x40]
push eax
call fcn.00406ee0
add esp, 0xc
lea ecx, [esp + 0x70]
push eax
call dword [sym.imp.Qt5Core.dll_public:_class_QByteArray____thiscall_QByteArray::operator_class_QByteArray__]
lea ecx, [esp + 0x38]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea ecx, [esp + 0x1c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea ecx, [esp + 0x14]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
mov esi, dword [edi]
mov edx, dword [edi + 4]
cmp edx, dword [esi + 4]
jge 0x40acb2
mov eax, dword [esi + 0xc]
lea ecx, [edx + edx*4]
lea eax, [eax + ecx*4]
cmp dword [eax + esi + 4], 0x10
jne 0x40acb2
lea eax, [edx + 1]
mov byte [esp + 0x74], 1
mov dword [edi + 4], eax
mov ecx, dword [esp + 0x7c]
lea eax, [esp + 0x50]
push eax
lea ecx, [ecx + 0x24]
call fcn.00403610
push 0x5a
mov ecx, edi
call fcn.0040ec20
lea ecx, [esp + 0x70]
test al, al
je 0x40ad26
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea ecx, [esp + 0x6c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea ecx, [esp + 0x68]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea ecx, [esp + 0x64]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea ecx, [esp + 0x54]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea ecx, [esp + 0x50]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov ebp, dword [sym.imp.Qt5Core.dll_public:_class_QByteArray____thiscall_QByteArray::append_class_QByteArray_const__]
cmp eax, dword [ecx + 4]
jl 0x40a850
jmp 0x40ad5e
lea ecx, [esp + 0x70]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea ecx, [esp + 0x6c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea ecx, [esp + 0x68]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea ecx, [esp + 0x64]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea ecx, [esp + 0x54]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea ecx, [esp + 0x50]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
pop ebp
mov ebx, dword [esp + 0x78]
mov edx, dword [ebx + 0x24]
cmp dword [edx + 4], 0
je 0x40ada1
mov eax, dword [edx + 4]
push str.QPrivateSignal
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0xc]
add edx, 0xfffffff0
lea eax, [eax + ecx*8]
add eax, edx
push eax
call dword [sym.imp.Qt5Core.dll_int___cdecl_qstrcmp_class_QByteArray_const___char_const__]
add esp, 8
neg eax
sbb eax, eax
inc eax
test al, al
je 0x40ada1
lea ecx, [ebx + 0x24]
call fcn.0040e8f0
mov byte [ebx + 0x3d], 1
pop edi
pop esi
pop ebx
add esp, 0x68
ret 4