Function at 0x10026080
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x30
mov eax, dword [0x1007a00c]
mov ebx, ecx
xor eax, ebp
mov dword [esp + 0x28], eax
cmp byte [ecx + 0x38], 0
je 0x100260b4
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
mov edi, eax
lea eax, [ebx + 0x18]
push eax
call dword [sym.imp.kernel32.dll_AcquireSRWLockExclusive]
mov dword [ebx + 0x30], edi
cmp dword [ebx + 0x3c], 0
je 0x10026233
mov eax, ebx
mov ebx, dword [ebx + 0x50]
mov ecx, dword [eax + 0x54]
mov dword [esp + 8], eax
mov dword [eax + 0x60], ebx
mov dword [eax + 0x64], ecx
mov esi, dword [esp + 8]
mov eax, dword [esi + 0x58]
mov dword [esp + 4], eax
mov edi, dword [esi + 0x5c]
mov edx, edi
lock cmpxchg8b qword [esi + 0x58]
xor eax, dword [esp + 4]
xor edx, edi
or eax, edx
jne 0x100260d4
mov ecx, dword [esp + 8]
xor eax, eax
xor ebx, ebx
mov dword [ecx + 0x6c], eax
mov dword [ecx + 0x68], eax
mov esi, dword [esp + 8]
mov eax, dword [ecx + 0x70]
mov dword [esp + 4], eax
mov edi, dword [ecx + 0x74]
xor ecx, ecx
mov edx, edi
lock cmpxchg8b qword [esi + 0x70]
mov ecx, dword [esp + 8]
xor eax, dword [esp + 4]
xor edx, edi
or eax, edx
jne 0x10026101
xor ebx, ebx
mov edi, ecx
mov dword [ecx + 0x7c], ebx
mov dword [ecx + 0x78], ebx
mov esi, dword [ecx + 0x3c]
mov eax, dword [esi]
mov ecx, dword [eax + 0x1c]
mov dword [esp + 4], ecx
call dword [section..00cfg]
lea eax, [esp + 0xc]
mov ecx, esi
push eax
mov esi, eax
call dword [esp + 8]
mov eax, dword [esi]
test eax, eax
je 0x1002619d
mov dword [eax + 4], ebx
mov dword [eax], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], ebx
mov word [eax + 0x18], 0x100
mov byte [eax + 0x1a], 0
mov dword [eax + 0x28], ebx
mov dword [eax + 0x24], ebx
mov dword [eax + 0x30], ebx
mov dword [eax + 0x2c], ebx
mov eax, dword [eax + 0x38]
test eax, eax
jne 0x10026151
mov edi, dword [esp + 8]
mov ecx, dword [edi + 0x48]
test ecx, ecx
jne 0x100262a5
mov eax, dword [esp + 0xc]
mov dword [esp + 0xc], 0
mov dword [edi + 0x48], eax
mov esi, dword [edi + 0x44]
mov ebx, edi
test esi, esi
je 0x1002625d
lea edi, [esp + 0x10]
push 1
push edi
call sym.mozglue.dll_private:_static_class_mozilla::TimeStamp___cdecl_mozilla::TimeStamp::NowUnfuzzed_bool_
add esp, 8
movsd xmm0, qword [edi + 0x10]
xor ecx, ecx
movsd qword [esi + 0x18], xmm0
movsd xmm0, qword [edi]
movsd xmm1, qword [edi + 8]
movsd qword [esi + 0x10], xmm1
movsd qword [esi + 8], xmm0
mov eax, dword [ebx + 0x44]
mov dword [eax + 4], ecx
mov dword [eax], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov word [eax + 0x18], 0x100
mov byte [eax + 0x1a], 0
mov dword [eax + 0x28], ecx
mov dword [eax + 0x24], ecx
mov dword [eax + 0x30], ecx
mov dword [eax + 0x2c], ecx
mov eax, dword [ebx + 0x44]
movsd xmm0, qword [ebx + 0x50]
movsd qword [eax + 0x28], xmm0
mov eax, dword [ebx + 0x44]
mov ecx, dword [eax + 0x20]
add dword [ebx + 0x50], ecx
adc dword [ebx + 0x54], 0
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov edi, dword [esp + 0xc]
mov dword [esp + 0xc], 0
test edi, edi
jne 0x10026293
cmp byte [ebx + 0x38], 0
je 0x1002624a
mov dword [ebx + 0x30], 0
add ebx, 0x18
push ebx
call dword [sym.imp.kernel32.dll_ReleaseSRWLockExclusive]
mov ecx, dword [esp + 0x28]
xor ecx, ebp
call fcn.10069260
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x10026223
mov ecx, dword [eax + 0x38]
mov dword [eax + 0x38], 0
mov edi, dword [ebx + 0x44]
mov eax, dword [ebx + 0x48]
mov dword [ebx + 0x48], ecx
test edi, edi
mov dword [ebx + 0x44], eax
je 0x10026202
mov ecx, edi
call fcn.10018ed0
push edi
call sym.mozglue.dll__aligned_free
add esp, 4
jmp 0x10026202
mov ecx, edi
call fcn.10018ed0
push edi
call sym.mozglue.dll__aligned_free
add esp, 4
jmp 0x10026233
lea edx, [esp + 0xc]
call fcn.1002c6d0
jmp 0x1002619d