Function at 0x6702b940
Capabilities:
Encode data using base64

Disassembly:
push 0xffffffffffffffff
push 0x67154519
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x672699e0]
xor eax, esp
mov dword [esp + 0x54], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x672699e0]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov eax, ecx
mov ebx, dword [esp + 0x7c]
xor ebp, ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], eax
mov eax, dword [eax]
mov ecx, 0x10
mov esi, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
lea edi, [esp + 0x24]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 8]
add ecx, ecx
add ecx, ecx
mov eax, 0x55555556
imul ecx
mov ecx, edx
shr ecx, 0x1f
movsb byte es:[edi], byte [esi]
lea esi, [edx + ecx + 3]
mov dword [esp + 0x74], ebp
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], ebp
cmp esi, ebp
jg 0x6702b9c4
mov dword [ebx], sym.QtCore4.dll_struct_QByteArray::Data_QByteArray::shared_empty
jmp 0x6702b9f8
lea edx, [esi + 0x14]
push edx
call sym.QtCore4.dll_void____cdecl_qMalloc_unsigned_int_
add esp, 4
mov dword [ebx], eax
cmp eax, ebp
jne 0x6702b9db
call sym.QtCore4.dll_void___cdecl_qBadAlloc_void_
mov eax, dword [ebx]
mov dword [eax], ebp
mov eax, dword [ebx]
mov dword [eax + 8], esi
mov ecx, dword [ebx]
mov dword [ecx + 4], esi
mov eax, dword [ebx]
lea edx, [eax + 0x10]
mov dword [eax + 0xc], edx
mov eax, dword [ebx]
mov byte [esi + eax + 0x10], 0
mov ecx, dword [ebx]
mov edx, 1
lock xadd dword [ecx], edx
mov eax, dword [ebx]
mov eax, dword [eax]
mov dword [esp + 0x74], ebp
mov dword [esp + 0x1c], 1
cmp eax, 1
jne 0x6702ba22
mov eax, dword [ebx]
lea ecx, [eax + 0x10]
cmp dword [eax + 0xc], ecx
je 0x6702ba2f
mov edx, dword [ebx]
mov eax, dword [edx + 8]
push eax
mov ecx, ebx
call sym.QtCore4.dll_private:_void___thiscall_QByteArray::realloc_int_
mov ecx, dword [ebx]
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
mov esi, dword [ecx + 0xc]
mov ecx, dword [eax + 8]
test ecx, ecx
jle 0x6702badf
mov edx, dword [eax + 0xc]
movzx eax, byte [edx + ebp]
inc ebp
shl eax, 0x10
cmp ebp, ecx
jne 0x6702ba5e
mov dword [esp + 0x14], 2
jmp 0x6702ba7d
movzx edi, byte [edx + ebp]
shl edi, 8
inc ebp
or eax, edi
cmp ebp, ecx
jne 0x6702ba76
mov dword [esp + 0x14], 1
jmp 0x6702ba7d
movzx ecx, byte [edx + ebp]
or eax, ecx
inc ebp
mov ecx, eax
sar ecx, 0x12
and ecx, 0x3f
mov cl, byte [esp + ecx + 0x24]
mov edx, eax
sar edx, 0xc
mov edi, eax
and edx, 0x3f
mov dl, byte [esp + edx + 0x24]
sar edi, 6
mov byte [esi], cl
mov ecx, dword [esp + 0x14]
and edi, 0x3f
and eax, 0x3f
mov byte [esi + 1], dl
cmp ecx, 1
jle 0x6702bab4
mov byte [esi + 2], 0x3d
jmp 0x6702babb
mov dl, byte [esp + edi + 0x24]
mov byte [esi + 2], dl
add esi, 3
test ecx, ecx
jle 0x6702bac7
mov byte [esi], 0x3d
jmp 0x6702bacd
mov al, byte [esp + eax + 0x24]
mov byte [esi], al
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov ecx, dword [eax + 8]
inc esi
cmp ebp, ecx
jl 0x6702ba45
mov eax, dword [ebx]
mov edx, dword [eax]
cmp edx, 1
jne 0x6702baf2
mov eax, dword [ebx]
lea ecx, [eax + 0x10]
cmp dword [eax + 0xc], ecx
je 0x6702baff
mov edx, dword [ebx]
mov eax, dword [edx + 8]
push eax
mov ecx, ebx
call sym.QtCore4.dll_private:_void___thiscall_QByteArray::realloc_int_
mov eax, dword [ebx]
sub esi, dword [eax + 0xc]
cmp esi, dword [eax + 8]
jge 0x6702bb11
push esi
mov ecx, ebx
call sym.QtCore4.dll_public:_void___thiscall_QByteArray::resize_int_
mov eax, ebx
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.671509a6
add esp, 0x64
ret 4