Function at 0x5359d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x34
call fcn.006499b0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00534a00
add esp, 0xc
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x535a02
mov eax, dword [ebp - 0x2c]
jmp 0x53603e
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.006493a0
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 0x535a98
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 0x535e68
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 0x535aa4
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 0x535adb
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 0x535b13
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 0x535b4b
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 0x535b83
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 0x535bbd
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 0x535c1b
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 0x535c6d
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 0x535ca4
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 0x535cdc
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 0x535d14
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 0x535d4c
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 0x535d86
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 0x535de3
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 0x535a86
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 0x535e68
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 0x535e9f
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 0x535ed7
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 0x535f0f
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 0x535f47
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 0x535f81
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 0x535fdf
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