Function at 0x70fd50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3c
call fcn.004d61c0
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]
adc ecx, dword [edx + 4]
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov dword [edx + 4], ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x28], 0
je 0x71009e
mov ecx, dword [ebp + 8]
mov edx, 8
sub edx, dword [ecx + 0x28]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp - 0x3c]
jae 0x70fe05
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x28]
mov edx, dword [ebp + 8]
lea eax, [edx + ecx + 0x38]
push eax
call fcn.004d3550
add esp, 0xc
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x28]
add edx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov dword [eax + 0x28], edx
jmp 0x710399
mov ecx, dword [ebp - 0x3c]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x28]
mov edx, dword [ebp + 8]
lea eax, [edx + ecx + 0x38]
push eax
call fcn.004d3550
add esp, 0xc
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp - 0x3c]
mov dword [ebp + 0x10], ecx
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 0x3c]
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 0x38]
cdq
mov esi, eax
mov edi, edx
mov ecx, dword [ebp + 8]
movzx eax, byte [ecx + 0x39]
cdq
mov cl, 8
call fcn.004dc1f0
or esi, eax
or edi, edx
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x3a]
cdq
mov cl, 0x10
call fcn.004dc1f0
or esi, eax
or edi, edx
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 0x3b]
cdq
mov cl, 0x18
call fcn.004dc1f0
or esi, eax
or edi, edx
mov ecx, dword [ebp + 8]
movzx eax, byte [ecx + 0x3c]
cdq
mov cl, 0x20
call fcn.004dc1f0
or esi, eax
or edi, edx
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x3d]
cdq
mov cl, 0x28
call fcn.004dc1f0
or esi, eax
or edi, edx
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 0x3e]
cdq
mov cl, 0x30
call fcn.004dc1f0
or esi, eax
or edi, edx
mov ecx, dword [ebp + 8]
movzx eax, byte [ecx + 0x3f]
cdq
mov cl, 0x38
call fcn.004dc1f0
or esi, eax
or edi, edx
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], edi
mov edx, dword [ebp - 8]
xor edx, dword [ebp - 0x38]
mov eax, dword [ebp - 4]
xor eax, dword [ebp - 0x34]
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
jmp 0x70fef0
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
cmp eax, dword [edx + 0x30]
jae 0x71008c
mov ecx, dword [ebp - 0x30]
add ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
adc edx, dword [ebp - 0x14]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov cl, 0xd
call fcn.004dc1f0
mov esi, eax
mov edi, edx
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov cl, 0x33
call fcn.004dc0e0
or esi, eax
or edi, edx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], edi
mov eax, dword [ebp - 0x18]
xor eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x14]
xor ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
mov cl, 0x20
call fcn.004dc1f0
mov esi, eax
mov edi, edx
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
mov cl, 0x20
call fcn.004dc0e0
or esi, eax
or edi, edx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], edi
mov edx, dword [ebp - 0x20]
add edx, dword [ebp - 8]
mov eax, dword [ebp - 0x1c]
adc eax, dword [ebp - 4]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov cl, 0x10
call fcn.004dc1f0
mov esi, eax
mov edi, edx
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov cl, 0x30
call fcn.004dc0e0
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 - 0x20]
mov edx, dword [ebp - 4]
xor edx, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x2c]
adc ecx, dword [ebp - 4]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov cl, 0x15
call fcn.004dc1f0
mov esi, eax
mov edi, edx
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov cl, 0x2b
call fcn.004dc0e0
or esi, eax
or edi, edx
mov dword [ebp - 8], esi
mov dword [ebp - 4], edi
mov edx, dword [ebp - 8]
xor edx, dword [ebp - 0x30]
mov eax, dword [ebp - 4]
xor eax, dword [ebp - 0x2c]
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
adc edx, dword [ebp - 0x14]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov cl, 0x11
call fcn.004dc1f0
mov esi, eax
mov edi, edx
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov cl, 0x2f
call fcn.004dc0e0
or esi, eax
or edi, edx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], edi
mov eax, dword [ebp - 0x18]
xor eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
xor ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov cl, 0x20
call fcn.004dc1f0
mov esi, eax
mov edi, edx
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov cl, 0x20
call fcn.004dc0e0
or esi, eax
or edi, edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], edi
xor edx, edx
jne 0x70feff
jmp 0x70fee7
mov eax, dword [ebp - 0x30]
xor eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x2c]
xor ecx, dword [ebp - 0x34]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp + 0x10]
and edx, 7
mov dword [ebp - 0x24], edx
mov eax, dword [ebp + 0xc]
add eax, dword [ebp + 0x10]
sub eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
jmp 0x7100be
mov ecx, dword [ebp + 0xc]
add ecx, 8
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
cmp edx, dword [ebp - 0x28]
je 0x710337
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
cdq
mov esi, eax
mov edi, edx
mov ecx, dword [ebp + 0xc]
movzx eax, byte [ecx + 1]
cdq
mov cl, 8
call fcn.004dc1f0
or esi, eax
or edi, edx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + 2]
cdq
mov cl, 0x10
call fcn.004dc1f0
or esi, eax
or edi, edx
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 3]
cdq
mov cl, 0x18
call fcn.004dc1f0
or esi, eax
or edi, edx
mov ecx, dword [ebp + 0xc]
movzx eax, byte [ecx + 4]
cdq
mov cl, 0x20
call fcn.004dc1f0
or esi, eax
or edi, edx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + 5]
cdq
mov cl, 0x28
call fcn.004dc1f0
or esi, eax
or edi, edx
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 6]
cdq
mov cl, 0x30
call fcn.004dc1f0
or esi, eax
or edi, edx
mov ecx, dword [ebp + 0xc]
movzx eax, byte [ecx + 7]
cdq
mov cl, 0x38
call fcn.004dc1f0
or esi, eax
or edi, edx
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], edi
mov edx, dword [ebp - 8]
xor edx, dword [ebp - 0x38]
mov eax, dword [ebp - 4]
xor eax, dword [ebp - 0x34]
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
jmp 0x710184
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
cmp eax, dword [edx + 0x30]
jae 0x710320
mov ecx, dword [ebp - 0x30]
add ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
adc edx, dword [ebp - 0x14]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov cl, 0xd
call fcn.004dc1f0
mov esi, eax
mov edi, edx
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov cl, 0x33
call fcn.004dc0e0
or esi, eax
or edi, edx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], edi
mov eax, dword [ebp - 0x18]
xor eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x14]
xor ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
mov cl, 0x20
call fcn.004dc1f0
mov esi, eax
mov edi, edx
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
mov cl, 0x20
call fcn.004dc0e0
or esi, eax
or edi, edx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], edi
mov edx, dword [ebp - 0x20]
add edx, dword [ebp - 8]
mov eax, dword [ebp - 0x1c]
adc eax, dword [ebp - 4]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov cl, 0x10
call fcn.004dc1f0
mov esi, eax
mov edi, edx
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov cl, 0x30
call fcn.004dc0e0
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 - 0x20]
mov edx, dword [ebp - 4]
xor edx, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x2c]
adc ecx, dword [ebp - 4]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov cl, 0x15
call fcn.004dc1f0
mov esi, eax
mov edi, edx
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov cl, 0x2b
call fcn.004dc0e0
or esi, eax
or edi, edx
mov dword [ebp - 8], esi
mov dword [ebp - 4], edi
mov edx, dword [ebp - 8]
xor edx, dword [ebp - 0x30]
mov eax, dword [ebp - 4]
xor eax, dword [ebp - 0x2c]
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
adc edx, dword [ebp - 0x14]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov cl, 0x11
call fcn.004dc1f0
mov esi, eax
mov edi, edx
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov cl, 0x2f
call fcn.004dc0e0
or esi, eax
or edi, edx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], edi
mov eax, dword [ebp - 0x18]
xor eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
xor ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov cl, 0x20
call fcn.004dc1f0
mov esi, eax
mov edi, edx
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov cl, 0x20
call fcn.004dc0e0
or esi, eax
or edi, edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], edi
xor edx, edx
jne 0x710193
jmp 0x71017b
mov eax, dword [ebp - 0x30]
xor eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x2c]
xor ecx, dword [ebp - 0x34]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ecx
jmp 0x7100b5
cmp dword [ebp - 0x24], 0
je 0x710354
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x38
push ecx
call fcn.004d3550
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x24]
mov dword [edx + 0x28], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x30]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x2c]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
mov dword [ecx + 0x10], edx
mov eax, dword [ebp - 0x14]
mov dword [ecx + 0x14], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
mov dword [ecx + 0x18], edx
mov eax, dword [ebp - 0x1c]
mov dword [ecx + 0x1c], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov dword [ecx + 0x20], edx
mov eax, dword [ebp - 4]
mov dword [ecx + 0x24], eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret