Function at 0x101ba070
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3c
call fcn.10010ae0
push esi
push edi
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x30], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x18], ecx
mov edx, dword [eax + 0x14]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x20], ecx
mov edx, dword [eax + 0x1c]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
mov dword [ebp - 8], ecx
mov edx, dword [eax + 0x24]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x10]
xor ecx, ecx
mov edx, dword [ebp + 8]
add eax, dword [edx]
mov edx, dword [edx + 4]
adc edx, ecx
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov edx, dword [ebp + 8]
cmp dword [edx + 0x28], 0
je 0x101ba3c0
mov eax, dword [ebp + 8]
mov ecx, 8
sub ecx, dword [eax + 0x28]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp + 0x10]
cmp edx, dword [ebp - 0x3c]
jae 0x101ba127
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x28]
mov ecx, dword [ebp + 8]
lea edx, [ecx + eax + 0x38]
push edx
call sub.MSVCR90.dll_memcpy
add esp, 0xc
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x28]
add ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
mov dword [edx + 0x28], ecx
jmp 0x101ba6bb
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x28]
mov ecx, dword [ebp + 8]
lea edx, [ecx + eax + 0x38]
push edx
call sub.MSVCR90.dll_memcpy
add esp, 0xc
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp - 0x3c]
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0x3c]
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x38]
cdq
mov esi, eax
mov edi, edx
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 0x39]
cdq
mov cl, 8
call fcn.101c4320
or esi, eax
or edi, edx
mov ecx, dword [ebp + 8]
movzx eax, byte [ecx + 0x3a]
cdq
mov cl, 0x10
call fcn.101c4320
or esi, eax
or edi, edx
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x3b]
cdq
mov cl, 0x18
call fcn.101c4320
or esi, eax
or edi, edx
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 0x3c]
cdq
mov cl, 0x20
call fcn.101c4320
or esi, eax
or edi, edx
mov ecx, dword [ebp + 8]
movzx eax, byte [ecx + 0x3d]
cdq
mov cl, 0x28
call fcn.101c4320
or esi, eax
or edi, edx
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x3e]
cdq
mov cl, 0x30
call fcn.101c4320
or esi, eax
or edi, edx
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 0x3f]
cdq
mov cl, 0x38
call fcn.101c4320
or esi, eax
or edi, edx
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], edi
mov ecx, dword [ebp - 8]
xor ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 4]
xor edx, dword [ebp - 0x34]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0xc], 0
jmp 0x101ba212
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 0x101ba3ae
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 0x101ba221
jmp 0x101ba209
mov edx, dword [ebp - 0x30]
xor edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x2c]
xor eax, dword [ebp - 0x34]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp + 0x10]
and ecx, 7
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp + 0xc]
add edx, dword [ebp + 0x10]
sub edx, dword [ebp - 0x24]
mov dword [ebp - 0x28], edx
jmp 0x101ba3e0
mov eax, dword [ebp + 0xc]
add eax, 8
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [ebp - 0x28]
je 0x101ba659
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
cdq
mov esi, eax
mov edi, edx
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 1]
cdq
mov cl, 8
call fcn.101c4320
or esi, eax
or edi, edx
mov ecx, dword [ebp + 0xc]
movzx eax, byte [ecx + 2]
cdq
mov cl, 0x10
call fcn.101c4320
or esi, eax
or edi, edx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + 3]
cdq
mov cl, 0x18
call fcn.101c4320
or esi, eax
or edi, edx
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 4]
cdq
mov cl, 0x20
call fcn.101c4320
or esi, eax
or edi, edx
mov ecx, dword [ebp + 0xc]
movzx eax, byte [ecx + 5]
cdq
mov cl, 0x28
call fcn.101c4320
or esi, eax
or edi, edx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + 6]
cdq
mov cl, 0x30
call fcn.101c4320
or esi, eax
or edi, edx
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 7]
cdq
mov cl, 0x38
call fcn.101c4320
or esi, eax
or edi, edx
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], edi
mov ecx, dword [ebp - 8]
xor ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 4]
xor edx, dword [ebp - 0x34]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0xc], 0
jmp 0x101ba4a6
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 0x101ba642
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 0x101ba4b5
jmp 0x101ba49d
mov edx, dword [ebp - 0x30]
xor edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x2c]
xor eax, dword [ebp - 0x34]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], eax
jmp 0x101ba3d7
cmp dword [ebp - 0x24], 0
je 0x101ba676
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp + 8]
add eax, 0x38
push eax
call sub.MSVCR90.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x24]
mov dword [ecx + 0x28], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x30]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x2c]
mov dword [eax + 0xc], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x10], ecx
mov edx, dword [ebp - 0x14]
mov dword [eax + 0x14], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x20]
mov dword [eax + 0x18], ecx
mov edx, dword [ebp - 0x1c]
mov dword [eax + 0x1c], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
mov dword [eax + 0x20], ecx
mov edx, dword [ebp - 4]
mov dword [eax + 0x24], edx
pop edi
pop esi
mov esp, ebp
pop ebp
ret