Function at 0x101ba6d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x34
call fcn.10010ae0
push esi
push edi
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov cl, 0x38
call fcn.101c4320
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov dword [ebp - 0x30], eax
mov ecx, dword [edx + 0xc]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x18], eax
mov ecx, dword [edx + 0x14]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x20], eax
mov ecx, dword [edx + 0x1c]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x20]
mov dword [ebp - 8], eax
mov ecx, dword [edx + 0x24]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
cmp dword [edx + 0x30], 0
je 0x101ba74a
cmp dword [ebp + 0x10], 0
je 0x101ba74a
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [eax + 0x2c]
je 0x101ba751
xor eax, eax
jmp 0x101baefc
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x28]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
sub ecx, 1
mov dword [ebp - 0x34], ecx
cmp dword [ebp - 0x34], 6
ja case.default.0x101ba770
mov edx, dword [ebp - 0x34]
jmp dword [edx*4 + 0x101baf04]
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 0x3e]
cdq
mov cl, 0x30
call fcn.101c4320
or eax, dword [ebp - 0x28]
or edx, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
mov ecx, dword [ebp + 8]
movzx eax, byte [ecx + 0x3d]
cdq
mov cl, 0x28
call fcn.101c4320
or eax, dword [ebp - 0x28]
or edx, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x3c]
cdq
mov cl, 0x20
call fcn.101c4320
or eax, dword [ebp - 0x28]
or edx, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 0x3b]
cdq
mov cl, 0x18
call fcn.101c4320
or eax, dword [ebp - 0x28]
or edx, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
mov ecx, dword [ebp + 8]
movzx eax, byte [ecx + 0x3a]
cdq
mov cl, 0x10
call fcn.101c4320
or eax, dword [ebp - 0x28]
or edx, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x39]
cdq
mov cl, 8
call fcn.101c4320
or eax, dword [ebp - 0x28]
or edx, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 0x38]
cdq
or eax, dword [ebp - 0x28]
or edx, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
mov ecx, dword [ebp - 8]
xor ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 4]
xor edx, dword [ebp - 0x24]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0xc], 0
jmp 0x101ba851
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
cmp edx, dword [ecx + 0x30]
jae 0x101ba9ed
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
adc ecx, dword [ebp - 0x14]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov cl, 0xd
call fcn.101c4320
mov esi, eax
mov edi, edx
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov cl, 0x33
call fcn.101c4160
or esi, eax
or edi, edx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], edi
mov edx, dword [ebp - 0x18]
xor edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x14]
xor eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
mov cl, 0x20
call fcn.101c4320
mov esi, eax
mov edi, edx
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
mov cl, 0x20
call fcn.101c4160
or esi, eax
or edi, edx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], edi
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x1c]
adc edx, dword [ebp - 4]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov cl, 0x10
call fcn.101c4320
mov esi, eax
mov edi, edx
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov cl, 0x30
call fcn.101c4160
or esi, eax
or edi, edx
mov dword [ebp - 8], esi
mov dword [ebp - 4], edi
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp - 0x1c]
mov dword [ebp - 8], eax
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x30]
add edx, dword [ebp - 8]
mov eax, dword [ebp - 0x2c]
adc eax, dword [ebp - 4]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov cl, 0x15
call fcn.101c4320
mov esi, eax
mov edi, edx
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov cl, 0x2b
call fcn.101c4160
or esi, eax
or edi, edx
mov dword [ebp - 8], esi
mov dword [ebp - 4], edi
mov ecx, dword [ebp - 8]
xor ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 4]
xor edx, dword [ebp - 0x2c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
adc ecx, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov cl, 0x11
call fcn.101c4320
mov esi, eax
mov edi, edx
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov cl, 0x2f
call fcn.101c4160
or esi, eax
or edi, edx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], edi
mov edx, dword [ebp - 0x18]
xor edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
xor eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov cl, 0x20
call fcn.101c4320
mov esi, eax
mov edi, edx
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov cl, 0x20
call fcn.101c4160
or esi, eax
or edi, edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], edi
xor ecx, ecx
jne 0x101ba860
jmp 0x101ba848
mov edx, dword [ebp - 0x30]
xor edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
xor eax, dword [ebp - 0x24]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x2c], 0x10
jne 0x101baa1f
mov edx, dword [ebp - 0x20]
xor edx, 0xee
mov eax, dword [ebp - 0x1c]
xor eax, 0
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], eax
jmp 0x101baa34
mov ecx, dword [ebp - 0x20]
xor ecx, 0xff
mov edx, dword [ebp - 0x1c]
xor edx, 0
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0xc], 0
jmp 0x101baa46
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
cmp edx, dword [ecx + 0x34]
jae 0x101babe2
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
adc ecx, dword [ebp - 0x14]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov cl, 0xd
call fcn.101c4320
mov esi, eax
mov edi, edx
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov cl, 0x33
call fcn.101c4160
or esi, eax
or edi, edx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], edi
mov edx, dword [ebp - 0x18]
xor edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x14]
xor eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
mov cl, 0x20
call fcn.101c4320
mov esi, eax
mov edi, edx
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
mov cl, 0x20
call fcn.101c4160
or esi, eax
or edi, edx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], edi
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x1c]
adc edx, dword [ebp - 4]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov cl, 0x10
call fcn.101c4320
mov esi, eax
mov edi, edx
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov cl, 0x30
call fcn.101c4160
or esi, eax
or edi, edx
mov dword [ebp - 8], esi
mov dword [ebp - 4], edi
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp - 0x1c]
mov dword [ebp - 8], eax
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x30]
add edx, dword [ebp - 8]
mov eax, dword [ebp - 0x2c]
adc eax, dword [ebp - 4]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov cl, 0x15
call fcn.101c4320
mov esi, eax
mov edi, edx
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov cl, 0x2b
call fcn.101c4160
or esi, eax
or edi, edx
mov dword [ebp - 8], esi
mov dword [ebp - 4], edi
mov ecx, dword [ebp - 8]
xor ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 4]
xor edx, dword [ebp - 0x2c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
adc ecx, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov cl, 0x11
call fcn.101c4320
mov esi, eax
mov edi, edx
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov cl, 0x2f
call fcn.101c4160
or esi, eax
or edi, edx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], edi
mov edx, dword [ebp - 0x18]
xor edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
xor eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov cl, 0x20
call fcn.101c4320
mov esi, eax
mov edi, edx
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov cl, 0x20
call fcn.101c4160
or esi, eax
or edi, edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], edi
xor ecx, ecx
jne 0x101baa55
jmp 0x101baa3d
mov edx, dword [ebp - 0x30]
xor edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
xor eax, dword [ebp - 0x14]
xor edx, dword [ebp - 0x20]
xor eax, dword [ebp - 0x1c]
xor edx, dword [ebp - 8]
xor eax, dword [ebp - 4]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp + 0xc]
mov byte [edx], cl
mov eax, dword [ebp - 0x28]
shr eax, 8
mov ecx, dword [ebp + 0xc]
mov byte [ecx + 1], al
mov edx, dword [ebp - 0x28]
shr edx, 0x10
mov eax, dword [ebp + 0xc]
mov byte [eax + 2], dl
mov ecx, dword [ebp - 0x28]
shr ecx, 0x18
mov edx, dword [ebp + 0xc]
mov byte [edx + 3], cl
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov cl, 0x20
call fcn.101c4160
mov ecx, dword [ebp + 0xc]
mov byte [ecx + 4], al
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov cl, 0x20
call fcn.101c4160
shr eax, 8
mov edx, dword [ebp + 0xc]
mov byte [edx + 5], al
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov cl, 0x20
call fcn.101c4160
shr eax, 0x10
mov ecx, dword [ebp + 0xc]
mov byte [ecx + 6], al
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov cl, 0x20
call fcn.101c4160
shr eax, 0x18
mov edx, dword [ebp + 0xc]
mov byte [edx + 7], al
mov eax, dword [ebp + 8]
cmp dword [eax + 0x2c], 8
jne 0x101bac94
mov eax, 1
jmp 0x101baefc
mov ecx, dword [ebp - 0x18]
xor ecx, 0xdd
mov edx, dword [ebp - 0x14]
xor edx, 0
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], 0
jmp 0x101bacbb
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
cmp edx, dword [ecx + 0x34]
jae 0x101bae57
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
adc ecx, dword [ebp - 0x14]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov cl, 0xd
call fcn.101c4320
mov esi, eax
mov edi, edx
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov cl, 0x33
call fcn.101c4160
or esi, eax
or edi, edx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], edi
mov edx, dword [ebp - 0x18]
xor edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x14]
xor eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
mov cl, 0x20
call fcn.101c4320
mov esi, eax
mov edi, edx
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
mov cl, 0x20
call fcn.101c4160
or esi, eax
or edi, edx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], edi
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x1c]
adc edx, dword [ebp - 4]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov cl, 0x10
call fcn.101c4320
mov esi, eax
mov edi, edx
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov cl, 0x30
call fcn.101c4160
or esi, eax
or edi, edx
mov dword [ebp - 8], esi
mov dword [ebp - 4], edi
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp - 0x1c]
mov dword [ebp - 8], eax
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x30]
add edx, dword [ebp - 8]
mov eax, dword [ebp - 0x2c]
adc eax, dword [ebp - 4]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov cl, 0x15
call fcn.101c4320
mov esi, eax
mov edi, edx
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov cl, 0x2b
call fcn.101c4160
or esi, eax
or edi, edx
mov dword [ebp - 8], esi
mov dword [ebp - 4], edi
mov ecx, dword [ebp - 8]
xor ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 4]
xor edx, dword [ebp - 0x2c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
adc ecx, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov cl, 0x11
call fcn.101c4320
mov esi, eax
mov edi, edx
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov cl, 0x2f
call fcn.101c4160
or esi, eax
or edi, edx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], edi
mov edx, dword [ebp - 0x18]
xor edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
xor eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov cl, 0x20
call fcn.101c4320
mov esi, eax
mov edi, edx
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov cl, 0x20
call fcn.101c4160
or esi, eax
or edi, edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], edi
xor ecx, ecx
jne 0x101bacca
jmp 0x101bacb2
mov edx, dword [ebp - 0x30]
xor edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
xor eax, dword [ebp - 0x14]
xor edx, dword [ebp - 0x20]
xor eax, dword [ebp - 0x1c]
xor edx, dword [ebp - 8]
xor eax, dword [ebp - 4]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp + 0xc]
mov byte [edx + 8], cl
mov eax, dword [ebp - 0x28]
shr eax, 8
mov ecx, dword [ebp + 0xc]
mov byte [ecx + 9], al
mov edx, dword [ebp - 0x28]
shr edx, 0x10
mov eax, dword [ebp + 0xc]
mov byte [eax + 0xa], dl
mov ecx, dword [ebp - 0x28]
shr ecx, 0x18
mov edx, dword [ebp + 0xc]
mov byte [edx + 0xb], cl
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov cl, 0x20
call fcn.101c4160
mov ecx, dword [ebp + 0xc]
mov byte [ecx + 0xc], al
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov cl, 0x20
call fcn.101c4160
shr eax, 8
mov edx, dword [ebp + 0xc]
mov byte [edx + 0xd], al
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov cl, 0x20
call fcn.101c4160
shr eax, 0x10
mov ecx, dword [ebp + 0xc]
mov byte [ecx + 0xe], al
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov cl, 0x20
call fcn.101c4160
shr eax, 0x18
mov edx, dword [ebp + 0xc]
mov byte [edx + 0xf], al
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret