Function at 0x10026760
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], esi
test ebx, ebx
jne 0x10026798
push ebx
push ebx
push ebx
push ebx
push 0xffffff37
call sym.NBUidai.dll_NBErrorsSetLastA
mov esi, eax
jmp 0x100269d4
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x100267b5
push edi
push edi
push edi
push edi
push 0xffffff37
call sym.NBUidai.dll_NBErrorsSetLastA
mov esi, eax
jmp 0x100269d3
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x100267cc
push eax
push 0
call fcn.1000a210
test eax, eax
jne 0x10026875
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x100267e3
push eax
push 0
call fcn.1000a210
test eax, eax
jne 0x10026875
lea eax, [ebp - 0x18]
push eax
push dword [ebx + 0x60]
call fcn.1004d490
test eax, eax
jne 0x10026875
cmp dword [ebp - 0x18], esi
jne 0x1002697a
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebx + 0x60]
call fcn.1004b960
test eax, eax
jne 0x10026875
cmp dword [ebp - 0x1c], 0xd2
jb 0x1002696a
mov ebx, dword [ebp - 0x14]
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x20], ebx
push eax
push edi
call fcn.1000b970
test eax, eax
jne 0x10026875
xor edx, edx
cmp dword [ebp + 0xc], edx
jbe 0x10026858
mov ecx, dword [ebp - 0x10]
mov eax, edx
and eax, 7
add ecx, edx
inc edx
mov al, byte [eax + ebx + 0x41]
not al
xor byte [ecx], al
cmp edx, dword [ebp + 0xc]
jb 0x10026840
mov al, byte [ebx]
cmp al, 0x40
ja 0x10026866
mov cl, byte [ebx + 0x49]
cmp cl, 0x80
jbe 0x1002687c
push 0
push 0
push 0
push 0
push 0xffffffffffffff9c
call sym.NBUidai.dll_NBErrorsSetLastA
mov esi, eax
jmp 0x100269d3
cmp byte [ebx + 1], 0
je 0x10026892
cmp dword [ebp + 0x10], esi
je 0x10026892
test al, al
je 0x10026892
mov edx, 1
jmp 0x10026894
xor edx, edx
cmp byte [ebx + 0x4a], 0
je 0x100268aa
cmp dword [ebp + 0x14], esi
je 0x100268aa
test cl, cl
je 0x100268aa
mov edi, 1
jmp 0x100268ac
xor edi, edi
test edx, edx
je 0x100268c7
lea ecx, [ebp - 8]
movzx eax, al
push ecx
push eax
lea eax, [ebx + 1]
push eax
call fcn.1000c5b0
test eax, eax
jne 0x10026875
jmp 0x100268cc
mov eax, 1
test edi, edi
je 0x10026963
movzx edi, byte [ebx + 0x49]
lea eax, [ebp - 4]
push eax
lea eax, [edi + 1]
push eax
call fcn.10009c20
test eax, eax
jne 0x10026875
push edi
lea eax, [ebx + 0x4a]
push eax
push dword [ebp - 4]
push 1
call fcn.10009a80
test eax, eax
jne 0x10026875
xor ebx, ebx
test edi, edi
je 0x10026920
mov eax, ebx
mov ecx, dword [ebp - 4]
xor edx, edx
div dword [ebp + 0xc]
mov eax, dword [ebp - 0x10]
mov al, byte [edx + eax]
not al
xor byte [ecx + ebx], al
inc ebx
cmp ebx, edi
jb 0x10026906
xor edx, edx
test edi, edi
je 0x10026949
mov ebx, dword [ebp - 0x20]
nop dword [eax]
mov ecx, dword [ebp - 4]
mov eax, edx
and eax, 7
mov al, byte [eax + ebx + 0xca]
not al
xor byte [ecx + edx], al
inc edx
cmp edx, edi
jb 0x10026930
lea eax, [ebp - 0xc]
push eax
push edi
push dword [ebp - 4]
call fcn.1000c6b0
test eax, eax
jne 0x10026875
mov dword [ebp - 4], esi
jmp 0x1002697a
test eax, eax
je 0x1002697a
mov ebx, dword [ebp + 8]
push dword [ebx + 0x60]
call fcn.1004a110
test eax, eax
jne 0x10026875
cmp dword [ebp - 8], esi
jne 0x10026990
lea eax, [ebp - 8]
push eax
call fcn.1000cbd0
test eax, eax
jne 0x10026875
cmp dword [ebp - 0xc], esi
jne 0x100269a6
lea eax, [ebp - 0xc]
push eax
call fcn.1000cbd0
test eax, eax
jne 0x10026875
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x100269be
push eax
push dword [ebp - 8]
call fcn.1000a210
test eax, eax
jne 0x10026875
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x100269d3
push eax
push dword [ebp - 0xc]
call fcn.1000a210
test eax, eax
cmovne esi, eax
pop edi
lea eax, [ebp - 8]
push eax
push 0
call fcn.1000a210
lea eax, [ebp - 0xc]
push eax
push 0
call fcn.1000a210
push dword [ebp - 0x14]
call fcn.10009af0
push dword [ebp - 0x10]
call fcn.10009af0
push dword [ebp - 4]
call fcn.10009af0
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10