Function at 0x688f50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x34
call fcn.004d28e0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00687f60
add esp, 0xc
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x688f82
mov eax, dword [ebp - 0x2c]
jmp 0x6895be
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.004cfb70
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 0x689018
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 0x6893e8
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 0x689024
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 0x68905b
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 0x689093
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 0x6890cb
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 0x689103
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 0x68913d
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 0x68919b
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 0x6891ed
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 0x689224
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 0x68925c
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 0x689294
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 0x6892cc
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 0x689306
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 0x689363
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 0x689006
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 0x6893e8
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 0x68941f
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 0x689457
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 0x68948f
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 0x6894c7
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 0x689501
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 0x68955f
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