Function at 0x100ba0a0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x2c
mov eax, dword [0x101c3584]
xor eax, esp
mov dword [esp + 0x28], eax
mov edx, dword [esp + 0x30]
xor eax, eax
push ebx
mov ebx, dword [esp + 0x38]
mov byte [esp + 0xc], 0
mov dword [esp + 0xd], eax
mov dword [esp + 0x11], eax
mov dword [esp + 0x15], eax
mov word [esp + 0x19], ax
mov byte [esp + 0x1b], al
mov byte [esp + 0x1c], al
mov dword [esp + 0x1d], eax
mov dword [esp + 0x21], eax
mov dword [esp + 0x25], eax
mov word [esp + 0x29], ax
mov byte [esp + 0x2b], al
cmp edx, eax
je 0x100ba4b8
mov ecx, dword [edx + 4]
cmp ecx, eax
je 0x100ba4b8
cmp dword [ecx], eax
je 0x100ba4b8
cmp ebx, eax
je 0x100ba4b8
cmp dword [esp + 0x3c], 0x10
je 0x100ba12b
mov eax, 0xfffff445
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.1013d581
add esp, 0x2c
ret
mov ecx, dword [ecx]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov ecx, dword [edx + 4]
mov ecx, dword [ecx]
push ebp
push esi
push edi
mov dword [ecx + 0x20], eax
mov edx, dword [edx + 4]
mov eax, dword [edx]
push 0x80
lea edi, [eax + 0x44]
push ebx
push edi
lea esi, [eax + 0x24]
lea ebp, [eax + 0x34]
call fcn.100b4ca0
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x38]
push ecx
push 0xa
push edi
call fcn.100b53c0
mov al, byte [esp + 0x34]
shr al, 7
add esp, 0x1c
test al, al
jne 0x100ba227
lea ecx, [esp + 0x18]
mov edx, esi
lea edi, [esp + 0x19]
xor eax, eax
sub ecx, esi
sub edx, edi
mov dword [esp + 0x10], edx
jmp 0x100ba1a4
mov edx, dword [esp + 0x10]
movzx ebx, byte [esp + eax + 0x19]
lea edi, [edx + eax]
shr bl, 7
lea edi, [esp + edi + 0x19]
movzx edx, byte [edi + ecx]
add dl, dl
or dl, bl
mov byte [edi], dl
movzx edx, byte [esp + eax + 0x19]
movzx ebx, byte [esp + eax + 0x1a]
add dl, dl
shr bl, 7
or dl, bl
mov byte [esi + eax + 1], dl
movzx edx, byte [esp + eax + 0x1b]
movzx ebx, byte [esp + eax + 0x1a]
shr dl, 7
add bl, bl
or dl, bl
mov byte [esi + eax + 2], dl
movzx edx, byte [esp + eax + 0x1b]
movzx ebx, byte [esp + eax + 0x1c]
add dl, dl
shr bl, 7
or dl, bl
mov byte [esi + eax + 3], dl
movzx edx, byte [esp + eax + 0x1d]
movzx ebx, byte [esp + eax + 0x1c]
shr dl, 7
add bl, bl
or dl, bl
mov byte [esi + eax + 4], dl
add eax, 5
cmp eax, 0xf
jl 0x100ba1a0
mov al, byte [esp + eax + 0x18]
add al, al
mov byte [esi + 0xf], al
jmp 0x100ba329
cmp al, 1
jne 0x100ba329
lea ecx, [esp + 0x18]
mov edx, esi
lea edi, [esp + 0x19]
xor eax, eax
sub ecx, esi
sub edx, edi
mov dword [esp + 0x10], edx
jmp 0x100ba254
mov edx, dword [esp + 0x10]
movzx ebx, byte [esp + eax + 0x19]
lea edi, [edx + eax]
shr bl, 7
lea edi, [esp + edi + 0x19]
movzx edx, byte [edi + ecx]
add dl, dl
or dl, bl
mov byte [edi], dl
movzx edx, byte [esp + eax + 0x19]
movzx ebx, byte [esp + eax + 0x1a]
add dl, dl
shr bl, 7
or dl, bl
mov byte [esi + eax + 1], dl
movzx edx, byte [esp + eax + 0x1b]
movzx ebx, byte [esp + eax + 0x1a]
shr dl, 7
add bl, bl
or dl, bl
mov byte [esi + eax + 2], dl
movzx edx, byte [esp + eax + 0x1b]
movzx ebx, byte [esp + eax + 0x1c]
add dl, dl
shr bl, 7
or dl, bl
mov byte [esi + eax + 3], dl
movzx edx, byte [esp + eax + 0x1d]
movzx ebx, byte [esp + eax + 0x1c]
shr dl, 7
add bl, bl
or dl, bl
mov byte [esi + eax + 4], dl
add eax, 5
cmp eax, 0xf
jl 0x100ba250
mov al, byte [esp + eax + 0x18]
add al, al
mov ecx, 0x101bc4e4
mov edi, 0x101bc4e5
mov edx, 0x101bc4e6
mov ebx, 0x101bc4e7
sub ecx, esi
sub edi, esi
sub edx, esi
sub ebx, esi
mov byte [esi + 0xf], al
mov eax, esi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], 4
lea esp, [esp]
movzx ebx, byte [ecx + eax]
xor byte [eax], bl
movzx ebx, byte [edi + eax]
xor byte [eax + 1], bl
movzx ebx, byte [edx + eax]
xor byte [eax + 2], bl
mov ebx, dword [esp + 0x14]
movzx ebx, byte [ebx + eax]
xor byte [eax + 3], bl
add eax, 4
sub dword [esp + 0x10], 1
jne 0x100ba300
mov al, byte [esi]
shr al, 7
test al, al
jne 0x100ba3ca
mov ecx, esi
xor eax, eax
mov edi, ebp
sub ecx, ebp
mov edi, edi
movzx edx, byte [ecx + edi]
movzx ebx, byte [esi + eax + 1]
add dl, dl
shr bl, 7
or dl, bl
mov byte [edi], dl
movzx edx, byte [esi + eax + 1]
movzx ebx, byte [esi + eax + 2]
add dl, dl
shr bl, 7
or dl, bl
mov byte [edi + 1], dl
movzx edx, byte [esi + eax + 3]
movzx ebx, byte [esi + eax + 2]
shr dl, 7
add bl, bl
or dl, bl
mov byte [edi + 2], dl
movzx edx, byte [esi + eax + 3]
movzx ebx, byte [esi + eax + 4]
add dl, dl
shr bl, 7
or dl, bl
mov byte [edi + 3], dl
movzx edx, byte [esi + eax + 5]
movzx ebx, byte [esi + eax + 4]
shr dl, 7
add bl, bl
or dl, bl
mov byte [edi + 4], dl
add eax, 5
add edi, 5
cmp eax, 0xf
jl 0x100ba340
mov al, byte [eax + esi]
pop edi
add al, al
pop esi
mov byte [ebp + 0xf], al
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.1013d581
add esp, 0x2c
ret
cmp al, 1
jne 0x100ba4a3
mov ecx, esi
xor eax, eax
mov edi, ebp
sub ecx, ebp
lea ebx, [ebx]
movzx edx, byte [ecx + edi]
movzx ebx, byte [esi + eax + 1]
add dl, dl
shr bl, 7
or dl, bl
mov byte [edi], dl
movzx edx, byte [esi + eax + 1]
movzx ebx, byte [esi + eax + 2]
add dl, dl
shr bl, 7
or dl, bl
mov byte [edi + 1], dl
movzx edx, byte [esi + eax + 3]
movzx ebx, byte [esi + eax + 2]
shr dl, 7
add bl, bl
or dl, bl
mov byte [edi + 2], dl
movzx edx, byte [esi + eax + 3]
movzx ebx, byte [esi + eax + 4]
add dl, dl
shr bl, 7
or dl, bl
mov byte [edi + 3], dl
movzx edx, byte [esi + eax + 5]
movzx ebx, byte [esi + eax + 4]
shr dl, 7
add bl, bl
or dl, bl
mov byte [edi + 4], dl
add eax, 5
add edi, 5
cmp eax, 0xf
jl 0x100ba3e0
mov al, byte [eax + esi]
add al, al
mov ecx, 0x101bc4e4
mov esi, 0x101bc4e5
mov edi, 0x101bc4e6
mov byte [ebp + 0xf], al
sub ecx, ebp
sub esi, ebp
sub edi, ebp
mov edx, 0x101bc4e7
mov eax, ebp
sub edx, ebp
mov ebp, 4
jmp 0x100ba480
movzx ebx, byte [ecx + eax]
xor byte [eax], bl
movzx ebx, byte [esi + eax]
xor byte [eax + 1], bl
movzx ebx, byte [edi + eax]
xor byte [eax + 2], bl
movzx ebx, byte [edx + eax]
xor byte [eax + 3], bl
add eax, 4
sub ebp, 1
jne 0x100ba480
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.1013d581
add esp, 0x2c
ret
mov ecx, dword [esp + 0x2c]
pop ebx
xor ecx, esp
mov eax, 0xfffff446
call fcn.1013d581
add esp, 0x2c
ret