Function at 0x10104e40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x34
call fcn.101d14f0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10103e70
add esp, 0xc
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x10104e72
mov eax, dword [ebp - 0x2c]
jmp 0x101054ae
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0x110]
shl edx, 4
add edx, dword [ebp - 0x18]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 4]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x10], ecx
push 0x10
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.101d1c90
add esp, 0xc
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x34]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x28]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x1c]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp - 0x18]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 4]
sub ecx, 0x10
mov dword [ebp - 4], ecx
jmp 0x10104f08
mov edx, dword [ebp - 0x18]
add edx, 0x10
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 4]
sub eax, 0x10
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp - 4]
jae 0x101052d8
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
shr ecx, 8
mov edx, dword [ebp - 0x14]
shl edx, 0x18
or ecx, edx
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x14]
xor eax, dword [ebp - 0x30]
shr eax, 0x10
mov ecx, dword [ebp - 0x14]
xor ecx, dword [ebp - 0x30]
shl ecx, 0x10
or eax, ecx
xor eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
xor edx, edx
jne 0x10104f14
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
shr edx, 8
mov eax, dword [ebp - 0x14]
shl eax, 0x18
or edx, eax
mov dword [ebp - 0x30], edx
mov ecx, dword [ebp - 0x14]
xor ecx, dword [ebp - 0x30]
shr ecx, 0x10
mov edx, dword [ebp - 0x14]
xor edx, dword [ebp - 0x30]
shl edx, 0x10
or ecx, edx
xor ecx, dword [ebp - 0x30]
mov dword [ebp - 0x28], ecx
xor eax, eax
jne 0x10104f4b
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
shr eax, 8
mov ecx, dword [ebp - 0x14]
shl ecx, 0x18
or eax, ecx
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x14]
xor edx, dword [ebp - 0x30]
shr edx, 0x10
mov eax, dword [ebp - 0x14]
xor eax, dword [ebp - 0x30]
shl eax, 0x10
or edx, eax
xor edx, dword [ebp - 0x30]
mov dword [ebp - 0x1c], edx
xor ecx, ecx
jne 0x10104f83
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
shr ecx, 8
mov edx, dword [ebp - 0x14]
shl edx, 0x18
or ecx, edx
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x14]
xor eax, dword [ebp - 0x30]
shr eax, 0x10
mov ecx, dword [ebp - 0x14]
xor ecx, dword [ebp - 0x30]
shl ecx, 0x10
or eax, ecx
xor eax, dword [ebp - 0x30]
mov dword [ebp - 0x10], eax
xor edx, edx
jne 0x10104fbb
mov eax, dword [ebp - 0x28]
xor eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x1c]
xor ecx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x34]
xor edx, dword [ebp - 0x28]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x10]
xor eax, dword [ebp - 0x28]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x1c]
xor ecx, dword [ebp - 0x34]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x28]
xor edx, dword [ebp - 0x1c]
mov dword [ebp - 0x28], edx
xor eax, eax
jne 0x10104ff3
mov ecx, dword [ebp - 0x28]
shl ecx, 8
and ecx, 0xff00ff00
mov edx, dword [ebp - 0x28]
shr edx, 8
and edx, 0xff00ff
xor ecx, edx
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x1c]
shr eax, 0x10
mov ecx, dword [ebp - 0x1c]
shl ecx, 0x10
or eax, ecx
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x10]
shl edx, 0x18
mov eax, dword [ebp - 0x10]
shr eax, 0x18
xor edx, eax
mov ecx, dword [ebp - 0x10]
and ecx, 0xff00
shl ecx, 8
xor edx, ecx
mov eax, dword [ebp - 0x10]
and eax, 0xff0000
shr eax, 8
xor edx, eax
mov dword [ebp - 0x10], edx
xor ecx, ecx
jne 0x1010502d
mov edx, dword [ebp - 0x28]
xor edx, dword [ebp - 0x1c]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x1c]
xor eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x34]
xor ecx, dword [ebp - 0x28]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x10]
xor edx, dword [ebp - 0x28]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x1c]
xor eax, dword [ebp - 0x34]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x28]
xor ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x28], ecx
xor edx, edx
jne 0x1010508b
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
shr eax, 8
mov ecx, dword [ebp - 0x14]
shl ecx, 0x18
or eax, ecx
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x14]
xor edx, dword [ebp - 0x30]
shr edx, 0x10
mov eax, dword [ebp - 0x14]
xor eax, dword [ebp - 0x30]
shl eax, 0x10
or edx, eax
xor edx, dword [ebp - 0x30]
mov dword [ebp - 0x34], edx
xor ecx, ecx
jne 0x101050dd
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
shr ecx, 8
mov edx, dword [ebp - 0x14]
shl edx, 0x18
or ecx, edx
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x14]
xor eax, dword [ebp - 0x30]
shr eax, 0x10
mov ecx, dword [ebp - 0x14]
xor ecx, dword [ebp - 0x30]
shl ecx, 0x10
or eax, ecx
xor eax, dword [ebp - 0x30]
mov dword [ebp - 0x28], eax
xor edx, edx
jne 0x10105114
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
shr edx, 8
mov eax, dword [ebp - 0x14]
shl eax, 0x18
or edx, eax
mov dword [ebp - 0x30], edx
mov ecx, dword [ebp - 0x14]
xor ecx, dword [ebp - 0x30]
shr ecx, 0x10
mov edx, dword [ebp - 0x14]
xor edx, dword [ebp - 0x30]
shl edx, 0x10
or ecx, edx
xor ecx, dword [ebp - 0x30]
mov dword [ebp - 0x1c], ecx
xor eax, eax
jne 0x1010514c
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
shr eax, 8
mov ecx, dword [ebp - 0x14]
shl ecx, 0x18
or eax, ecx
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x14]
xor edx, dword [ebp - 0x30]
shr edx, 0x10
mov eax, dword [ebp - 0x14]
xor eax, dword [ebp - 0x30]
shl eax, 0x10
or edx, eax
xor edx, dword [ebp - 0x30]
mov dword [ebp - 0x10], edx
xor ecx, ecx
jne 0x10105184
mov edx, dword [ebp - 0x28]
xor edx, dword [ebp - 0x1c]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x1c]
xor eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x34]
xor ecx, dword [ebp - 0x28]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x10]
xor edx, dword [ebp - 0x28]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x1c]
xor eax, dword [ebp - 0x34]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x28]
xor ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x28], ecx
xor edx, edx
jne 0x101051bc
mov eax, dword [ebp - 0x28]
shl eax, 8
and eax, 0xff00ff00
mov ecx, dword [ebp - 0x28]
shr ecx, 8
and ecx, 0xff00ff
xor eax, ecx
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x1c]
shr edx, 0x10
mov eax, dword [ebp - 0x1c]
shl eax, 0x10
or edx, eax
mov dword [ebp - 0x1c], edx
mov ecx, dword [ebp - 0x10]
shl ecx, 0x18
mov edx, dword [ebp - 0x10]
shr edx, 0x18
xor ecx, edx
mov eax, dword [ebp - 0x10]
and eax, 0xff00
shl eax, 8
xor ecx, eax
mov edx, dword [ebp - 0x10]
and edx, 0xff0000
shr edx, 8
xor ecx, edx
mov dword [ebp - 0x10], ecx
xor eax, eax
jne 0x101051f6
mov ecx, dword [ebp - 0x28]
xor ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x1c]
xor edx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x34]
xor eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x10]
xor ecx, dword [ebp - 0x28]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x1c]
xor edx, dword [ebp - 0x34]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x28]
xor eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
xor ecx, ecx
jne 0x10105253
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x34]
mov dword [edx], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x28]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0xc], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x24]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x20]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [ecx + 0xc], edx
jmp 0x10104ef6
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
shr edx, 8
mov eax, dword [ebp - 0x14]
shl eax, 0x18
or edx, eax
mov dword [ebp - 0x30], edx
mov ecx, dword [ebp - 0x14]
xor ecx, dword [ebp - 0x30]
shr ecx, 0x10
mov edx, dword [ebp - 0x14]
xor edx, dword [ebp - 0x30]
shl edx, 0x10
or ecx, edx
xor ecx, dword [ebp - 0x30]
mov dword [ebp - 0x34], ecx
xor eax, eax
jne 0x101052d8
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
shr eax, 8
mov ecx, dword [ebp - 0x14]
shl ecx, 0x18
or eax, ecx
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x14]
xor edx, dword [ebp - 0x30]
shr edx, 0x10
mov eax, dword [ebp - 0x14]
xor eax, dword [ebp - 0x30]
shl eax, 0x10
or edx, eax
xor edx, dword [ebp - 0x30]
mov dword [ebp - 0x28], edx
xor ecx, ecx
jne 0x1010530f
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 8]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
shr ecx, 8
mov edx, dword [ebp - 0x14]
shl edx, 0x18
or ecx, edx
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x14]
xor eax, dword [ebp - 0x30]
shr eax, 0x10
mov ecx, dword [ebp - 0x14]
xor ecx, dword [ebp - 0x30]
shl ecx, 0x10
or eax, ecx
xor eax, dword [ebp - 0x30]
mov dword [ebp - 0x1c], eax
xor edx, edx
jne 0x10105347
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
shr edx, 8
mov eax, dword [ebp - 0x14]
shl eax, 0x18
or edx, eax
mov dword [ebp - 0x30], edx
mov ecx, dword [ebp - 0x14]
xor ecx, dword [ebp - 0x30]
shr ecx, 0x10
mov edx, dword [ebp - 0x14]
xor edx, dword [ebp - 0x30]
shl edx, 0x10
or ecx, edx
xor ecx, dword [ebp - 0x30]
mov dword [ebp - 0x10], ecx
xor eax, eax
jne 0x1010537f
mov ecx, dword [ebp - 0x28]
xor ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x1c]
xor edx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x34]
xor eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x10]
xor ecx, dword [ebp - 0x28]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x1c]
xor edx, dword [ebp - 0x34]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x28]
xor eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
xor ecx, ecx
jne 0x101053b7
mov edx, dword [ebp - 0x28]
shl edx, 8
and edx, 0xff00ff00
mov eax, dword [ebp - 0x28]
shr eax, 8
and eax, 0xff00ff
xor edx, eax
mov dword [ebp - 0x28], edx
mov ecx, dword [ebp - 0x1c]
shr ecx, 0x10
mov edx, dword [ebp - 0x1c]
shl edx, 0x10
or ecx, edx
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x10]
shl eax, 0x18
mov ecx, dword [ebp - 0x10]
shr ecx, 0x18
xor eax, ecx
mov edx, dword [ebp - 0x10]
and edx, 0xff00
shl edx, 8
xor eax, edx
mov ecx, dword [ebp - 0x10]
and ecx, 0xff0000
shr ecx, 8
xor eax, ecx
mov dword [ebp - 0x10], eax
xor edx, edx
jne 0x101053f1
mov eax, dword [ebp - 0x28]
xor eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x1c]
xor ecx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x34]
xor edx, dword [ebp - 0x28]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x10]
xor eax, dword [ebp - 0x28]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x1c]
xor ecx, dword [ebp - 0x34]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x28]
xor edx, dword [ebp - 0x1c]
mov dword [ebp - 0x28], edx
xor eax, eax
jne 0x1010544f
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x34]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x28]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x1c]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov dword [ecx + 0xc], edx
xor eax, eax
mov esp, ebp
pop ebp
ret