Function at 0x560140
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x130
mov edi, dword [eax + 0x88]
mov dword [esp + 0x28], eax
movzx eax, byte [edi + 0x4b]
movdqu xmm3, xmmword [edi + 0x3c]
mov dword [esp + 0x30], edx
movzx edx, byte [edi + 0x4a]
mov dword [esp + 0x2c], ecx
add eax, 1
movups xmmword [esp + 0xd0], xmm3
mov dword [esp + 0x44], eax
shr eax, 8
mov dword [esp + 0x94], 0x10
add eax, edx
movzx edx, byte [edi + 0x49]
mov dword [esp + 0x8c], eax
shr eax, 8
lea esi, [edx + eax]
mov edx, esi
mov dword [esp + 0x88], esi
shr edx, 8
mov eax, edx
movzx edx, byte [edi + 0x48]
lea ecx, [edx + eax]
movzx edx, byte [edi + 0x47]
mov ebx, ecx
mov dword [esp + 0x70], ecx
shr ebx, 8
add edx, ebx
mov dword [esp + 0x60], edx
mov ebx, edx
movzx edx, byte [edi + 0x46]
shr ebx, 8
lea esi, [edx + ebx]
movzx edx, byte [edi + 0x45]
mov eax, esi
mov dword [esp + 0x84], esi
shr eax, 8
lea ecx, [edx + eax]
movzx edx, byte [edi + 0x44]
movzx eax, byte [edi + 0x42]
mov dword [esp + 0x80], ecx
shr ecx, 8
lea ebx, [edx + ecx]
movzx edx, byte [edi + 0x43]
mov dword [esp + 0x5c], ebx
shr ebx, 8
add edx, ebx
mov dword [esp + 0x58], edx
shr edx, 8
add eax, edx
mov dword [esp + 0x54], eax
mov esi, eax
movzx ecx, byte [edi + 0x41]
shr esi, 8
movzx ebx, byte [edi + 0x3f]
add esi, ecx
movzx ecx, byte [edi + 0x40]
mov dword [esp + 0x50], esi
shr esi, 8
lea eax, [ecx + esi]
mov dword [esp + 0x4c], eax
shr eax, 8
add ebx, eax
mov ecx, ebx
movzx ebx, bl
shr ecx, 8
mov dword [esp + 0x40], ebx
mov edx, ecx
movzx ecx, byte [edi + 0x3e]
add ecx, edx
movzx edx, byte [edi + 0x3d]
mov esi, ecx
movzx ecx, cl
shr esi, 8
add edx, esi
mov esi, edx
movzx edx, dl
shr esi, 8
mov dword [esp + 0x38], edx
mov eax, esi
movzx esi, byte [edi + 0x3c]
add esi, eax
movzx eax, byte [edi + 0x4b]
add eax, 1
mov byte [esp + 0x48], al
mov eax, ecx
mov ecx, ebx
movzx ebx, byte [esp + 0x4c]
shl ecx, 8
mov dword [esp + 0x3c], eax
or ecx, eax
mov dword [esp + 0x4c], ebx
shl ecx, 8
or ecx, edx
mov edx, esi
shl ecx, 8
movzx esi, dl
movzx edx, byte [esp + 0x54]
or ecx, esi
mov dword [esp + 0x34], esi
movzx esi, byte [esp + 0x58]
movd xmm0, ecx
mov dword [esp + 0x54], edx
mov eax, esi
mov dword [esp + 0x58], esi
movzx esi, byte [esp + 0x50]
shl eax, 8
or eax, edx
mov dword [esp + 0x50], esi
movzx edx, byte [esp + 0x84]
shl eax, 8
or eax, esi
movzx esi, byte [esp + 0x60]
shl eax, 8
mov ecx, eax
movzx eax, byte [esp + 0x80]
mov dword [esp + 0x60], esi
or ecx, ebx
mov ebx, esi
movzx esi, byte [esp + 0x88]
shl ebx, 8
movd xmm2, ecx
movzx ecx, byte [esp + 0x5c]
or ebx, edx
punpckldq xmm0, xmm2
shl ebx, 8
mov dword [esp + 0x84], ecx
or ebx, eax
shl ebx, 8
or ebx, ecx
movzx ecx, byte [esp + 0x8c]
mov dword [esp + 0x8c], esi
movd xmm1, ebx
movzx ebx, byte [esp + 0x48]
shl ebx, 8
or ebx, ecx
shl ebx, 8
or ebx, esi
movzx esi, byte [esp + 0x70]
shl ebx, 8
or ebx, esi
movd xmm4, ebx
mov ebx, 0x20
punpckldq xmm1, xmm4
punpcklqdq xmm0, xmm1
movups xmmword [esp + 0xe0], xmm0
cmp dword [edi + 0x14], 0x10
movups xmmword [edi + 0x3c], xmm0
je 0x56050d
movzx ebx, byte [esp + 0x44]
add ebx, 1
mov dword [esp + 0x88], ebx
shr ebx, 8
add ecx, ebx
mov ebx, dword [esp + 0x8c]
mov dword [esp + 0x70], ecx
shr ecx, 8
add ebx, ecx
mov ecx, ebx
mov dword [esp + 0x8c], ebx
mov ebx, dword [esp + 0x4c]
shr ecx, 8
add ecx, esi
mov esi, dword [esp + 0x60]
mov dword [esp + 0x80], ecx
shr ecx, 8
add esi, ecx
mov ecx, esi
mov dword [esp + 0x60], esi
shr ecx, 8
add edx, ecx
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x5c], edx
shr edx, 8
add eax, edx
mov dword [esp + 0x48], eax
shr eax, 8
add ecx, eax
mov eax, ecx
mov dword [esp + 0x84], ecx
shr eax, 8
mov edx, eax
mov eax, dword [esp + 0x58]
add eax, edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x58], eax
shr eax, 8
mov ecx, eax
mov eax, dword [esp + 0x54]
add eax, ecx
mov ecx, eax
shr eax, 8
add edx, eax
movzx ecx, cl
mov eax, edx
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x40]
shr eax, 8
add ebx, eax
mov eax, ebx
mov dword [esp + 0x50], ebx
shr eax, 8
add edx, eax
mov eax, edx
mov esi, edx
mov edx, dword [esp + 0x3c]
shr esi, 8
movzx eax, al
add edx, esi
shl eax, 8
mov dword [esp + 0x4c], edx
mov ebx, edx
mov edx, dword [esp + 0x38]
shr ebx, 8
add edx, ebx
mov ebx, edx
shr edx, 8
mov esi, edx
mov edx, dword [esp + 0x34]
movzx ebx, bl
add edx, esi
movzx esi, byte [esp + 0x4c]
mov dword [esp + 0x44], edx
movzx edx, byte [esp + 0x58]
or eax, esi
shl edx, 8
shl eax, 8
or edx, ecx
movzx ecx, byte [esp + 0x54]
or eax, ebx
movzx ebx, byte [esp + 0x44]
shl edx, 8
shl eax, 8
or edx, ecx
movzx ecx, byte [esp + 0x50]
or eax, ebx
movzx ebx, byte [esp + 0x5c]
shl edx, 8
movd xmm0, eax
or edx, ecx
movzx ecx, byte [esp + 0x60]
movd xmm6, edx
shl ecx, 8
punpckldq xmm0, xmm6
or ecx, ebx
movzx ebx, byte [esp + 0x48]
movzx esi, byte [esp + 0x70]
shl ecx, 8
or ecx, ebx
movzx ebx, byte [esp + 0x84]
shl ecx, 8
or ecx, ebx
movzx ebx, byte [esp + 0x88]
movd xmm1, ecx
shl ebx, 8
or ebx, esi
movzx esi, byte [esp + 0x8c]
shl ebx, 8
or ebx, esi
movzx esi, byte [esp + 0x80]
shl ebx, 8
or ebx, esi
movd xmm5, ebx
mov ebx, 0x30
punpckldq xmm1, xmm5
punpcklqdq xmm0, xmm1
movups xmmword [edi + 0x3c], xmm0
movups xmmword [esp + 0xf0], xmm0
lea eax, [esp + 0xd0]
lea esi, [esp + 0x100]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], eax
lea eax, [esp + 0x94]
mov dword [esp + 8], eax
mov dword [esp + 4], esi
mov eax, dword [edi]
mov dword [esp], eax
call fcn.004a2d60
test eax, eax
je 0x560549
cmp dword [esp + 0x94], ebx
je 0x560550
xor eax, eax
jmp 0x560abb
mov ebx, dword [edi + 0x14]
lea eax, [edi + 0x1c]
mov dword [esp + 4], esi
mov dword [esp], eax
mov dword [esp + 8], ebx
mov dword [esp + 0x8c], eax
call sub.msvcrt.dll_memcpy
mov eax, dword [edi + 0x18]
movdqu xmm7, xmmword [esp + ebx + 0x100]
movups xmmword [edi + 0x3c], xmm7
test eax, eax
je 0x560ac3
mov eax, dword [ebp + 0x10]
or eax, dword [ebp + 8]
or eax, dword [esp + 0x30]
je 0x5607e8
pxor xmm0, xmm0
lea esi, [edi + 0x60]
lea eax, [edi + 0x70]
mov dword [esp + 0x98], 0x10
movups xmmword [edi + 0x60], xmm0
movups xmmword [esi + 0x10], xmm0
movups xmmword [esi + 0x20], xmm0
mov dword [esp + 0xa0], 0x10
movdqu xmm0, xmmword [edi + 0x70]
pxor xmm0, xmmword [0x6abb00]
mov dword [esp + 0x88], eax
lea eax, [edi + 0x80]
mov dword [esp + 0x70], eax
movups xmmword [edi + 0x70], xmm0
cmp ebx, 0x10
je 0x56106f
movdqu xmm0, xmmword [edi + 0x80]
mov ebx, 0x30
pxor xmm0, xmmword [0x6abb10]
movups xmmword [edi + 0x80], xmm0
lea eax, [esp + 0xa0]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], esi
mov dword [esp + 8], eax
mov dword [esp + 4], esi
mov eax, dword [edi + 8]
mov dword [esp], eax
call fcn.004a2d60
test eax, eax
je 0x560549
cmp dword [esp + 0xa0], ebx
jne 0x560549
mov ebx, dword [esp + 0x30]
mov eax, dword [ebp + 0x10]
xor ecx, ecx
test ebx, ebx
cmovne ecx, dword [esp + 0x2c]
test eax, eax
je 0x561061
mov eax, dword [ebp + 0x14]
add eax, ecx
mov edx, dword [ebp + 8]
test edx, edx
je 0x5610be
add eax, dword [ebp + 0xc]
bswap eax
mov dword [edi + 0x4c], eax
xor eax, eax
mov edx, dword [esp + 0x30]
mov word [edi + 0x50], ax
movzx eax, byte [edi + 0x14]
mov byte [edi + 0x52], 0
add eax, 0x10
mov dword [edi + 0x5c], 8
mov byte [edi + 0x53], al
mov eax, edi
call fcn.0055fec0
test eax, eax
je 0x560549
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov eax, edi
call fcn.0055fec0
test eax, eax
je 0x560549
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov eax, edi
call fcn.0055fec0
test eax, eax
je 0x560549
mov ecx, 1
mov edx, 0x660d60
mov eax, edi
call fcn.0055fec0
test eax, eax
je 0x560549
mov edx, dword [edi + 0x5c]
test edx, edx
jne 0x5612cc
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [edi]
mov dword [esp], eax
call fcn.004a5990
test eax, eax
je 0x560549
mov dword [esp + 0x10], 0x10
mov eax, dword [edi + 0x14]
lea edx, [esp + 0x98]
mov dword [esp + 8], edx
add eax, esi
mov dword [esp + 4], esi
mov dword [esp + 0xc], eax
mov eax, dword [edi]
mov dword [esp], eax
call fcn.004a2d60
test eax, eax
je 0x560549
cmp dword [esp + 0x98], 0x10
lea edx, [esp + 0x98]
jne 0x560549
mov dword [esp + 0xc], esi
mov esi, dword [esp + 0x88]
mov dword [esp + 0x10], 0x10
mov dword [esp + 8], edx
mov dword [esp + 4], esi
mov eax, dword [edi]
mov dword [esp], eax
call fcn.004a2d60
test eax, eax
je 0x560549
cmp dword [esp + 0x98], 0x10
jne 0x560549
cmp dword [edi + 0x14], 0x10
mov eax, dword [edi]
je 0x5607e8
mov dword [esp + 0xc], esi
mov esi, dword [esp + 0x70]
lea edx, [esp + 0x98]
mov dword [esp + 0x10], 0x10
mov dword [esp + 8], edx
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.004a2d60
test eax, eax
je 0x560549
cmp dword [esp + 0x98], 0x10
jne 0x560549
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x560a40
mov eax, dword [esp + 0x28]
mov esi, dword [eax + 0x80]
mov dword [esp + 0x70], esi
test esi, esi
je 0x560a40
mov eax, dword [edi + 0x14]
lea ecx, [edi + 0x60]
cmp esi, eax
cmova esi, eax
mov dword [esp + 0x88], esi
test esi, esi
je 0x560924
lea edx, [esi - 1]
cmp edx, 0xe
jbe 0x56139f
movdqu xmm0, xmmword [edi + 0x1c]
movdqu xmm7, xmmword [edi + 0x60]
shr esi, 4
pxor xmm0, xmm7
movups xmmword [edi + 0x1c], xmm0
cmp esi, 1
je 0x56085c
movdqu xmm0, xmmword [edi + 0x2c]
movdqu xmm5, xmmword [edi + 0x70]
pxor xmm0, xmm5
movups xmmword [edi + 0x2c], xmm0
mov ebx, dword [esp + 0x88]
mov esi, ebx
and esi, 0xfffffff0
and ebx, 0xf
je 0x560924
mov edx, dword [esp + 0x88]
sub edx, esi
lea ebx, [edx - 1]
mov dword [esp + 0x84], edx
cmp ebx, 2
jbe 0x5608ed
shr edx, 2
lea ebx, [edi + esi + 0x1c]
mov dword [esp + 0x60], edx
lea edx, [edi + esi + 0x60]
movd xmm7, dword [ebx]
movd xmm0, dword [edx]
cmp dword [esp + 0x60], 1
pxor xmm7, xmm0
movd dword [ebx], xmm7
je 0x5608dc
movd xmm0, dword [edx + 4]
movd xmm7, dword [ebx + 4]
cmp dword [esp + 0x60], 2
pxor xmm7, xmm0
movd dword [ebx + 4], xmm7
je 0x5608dc
movd xmm0, dword [edx + 8]
movd xmm7, dword [ebx + 8]
pxor xmm7, xmm0
movd dword [ebx + 8], xmm7
mov ebx, dword [esp + 0x84]
test bl, 3
je 0x560924
and ebx, 0xfffffffc
add esi, ebx
mov ebx, dword [esp + 0x88]
movzx edx, byte [edi + esi + 0x60]
xor byte [edi + esi + 0x1c], dl
lea edx, [esi + 1]
cmp edx, ebx
jae 0x560924
movzx ebx, byte [edi + esi + 0x61]
xor byte [edi + edx + 0x1c], bl
lea edx, [esi + 2]
mov ebx, dword [esp + 0x88]
cmp edx, ebx
jae 0x560924
movzx ebx, byte [edi + esi + 0x62]
xor byte [edi + edx + 0x1c], bl
mov esi, dword [esp + 0x70]
cmp eax, esi
jae 0x560a40
mov edx, esi
mov ebx, 0x10
sub edx, eax
cmp edx, ebx
cmovbe ebx, edx
mov dword [esp + 0x88], ebx
sub ebx, 1
cmp ebx, 2
jbe 0x56095d
mov esi, 0xffffffdb
sub esi, eax
cmp esi, 0xe
ja 0x5611f9
movzx ebx, byte [edi + eax + 0x60]
xor byte [edi + 0x3c], bl
cmp edx, 1
jbe 0x560a40
movzx ebx, byte [ecx + eax + 1]
xor byte [edi + 0x3d], bl
cmp edx, 2
jbe 0x560a40
movzx ebx, byte [ecx + eax + 2]
xor byte [edi + 0x3e], bl
cmp edx, 3
jbe 0x560a40
movzx ebx, byte [ecx + eax + 3]
xor byte [edi + 0x3f], bl
cmp edx, 4
jbe 0x560a40
movzx ebx, byte [ecx + eax + 4]
xor byte [edi + 0x40], bl
cmp edx, 5
jbe 0x560a40
movzx ebx, byte [ecx + eax + 5]
xor byte [edi + 0x41], bl
cmp edx, 6
jbe 0x560a40
movzx ebx, byte [ecx + eax + 6]
xor byte [edi + 0x42], bl
cmp edx, 7
jbe 0x560a40
movzx ebx, byte [ecx + eax + 7]
xor byte [edi + 0x43], bl
cmp edx, 8
jbe 0x560a40
movzx ebx, byte [ecx + eax + 8]
xor byte [edi + 0x44], bl
cmp edx, 9
jbe 0x560a40
movzx ebx, byte [ecx + eax + 9]
xor byte [edi + 0x45], bl
cmp edx, 0xa
jbe 0x560a40
movzx ebx, byte [ecx + eax + 0xa]
xor byte [edi + 0x46], bl
cmp edx, 0xb
jbe 0x560a40
movzx ebx, byte [ecx + eax + 0xb]
xor byte [edi + 0x47], bl
cmp edx, 0xc
jbe 0x560a40
movzx ebx, byte [ecx + eax + 0xc]
xor byte [edi + 0x48], bl
cmp edx, 0xd
jbe 0x560a40
movzx ebx, byte [ecx + eax + 0xd]
xor byte [edi + 0x49], bl
cmp edx, 0xe
jbe 0x560a40
movzx ebx, byte [ecx + eax + 0xe]
xor byte [edi + 0x4a], bl
cmp edx, 0xf
jbe 0x560a40
movzx eax, byte [ecx + eax + 0xf]
xor byte [edi + 0x4b], al
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [edi]
mov dword [esp], eax
call fcn.004a5990
test eax, eax
je 0x560549
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [edi + 4]
mov dword [esp], eax
call fcn.004a5990
test eax, eax
setne al
movzx eax, al
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [edi + 0x3c]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x30]
test eax, eax
je 0x560c63
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x560c63
mov eax, dword [esp + 0x2c]
cmp ebx, eax
mov esi, eax
cmovbe esi, ebx
test esi, esi
je 0x560b41
lea eax, [esi - 1]
cmp eax, 2
jbe 0x560b15
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x8c]
add ecx, 1
sub edx, ecx
cmp edx, 0xe
ja 0x560e1c
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x30]
mov eax, ecx
add ecx, esi
mov esi, ebx
lea esi, cs:[esi]
nop
movzx ebx, byte [edx]
xor byte [eax], bl
add eax, 1
add edx, 1
cmp eax, ecx
jne 0x560b30
mov ebx, esi
mov eax, dword [esp + 0x2c]
cmp ebx, eax
jae 0x56103d
sub eax, ebx
mov edx, 0x10
cmp eax, edx
mov esi, edx
cmovbe esi, eax
lea ecx, [esi - 1]
mov dword [esp + 0x70], ecx
cmp ecx, 2
jbe 0x560b81
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x88]
lea ecx, [ecx + ebx + 1]
sub edx, ecx
cmp edx, 0xe
ja 0x561098
mov esi, dword [esp + 0x30]
movzx edx, byte [esi + ebx]
xor byte [edi + 0x3c], dl
cmp eax, 1
jbe 0x560c63
movzx edx, byte [esi + ebx + 1]
xor byte [edi + 0x3d], dl
cmp eax, 2
jbe 0x560c63
movzx edx, byte [esi + ebx + 2]
xor byte [edi + 0x3e], dl
cmp eax, 3
jbe 0x560c63
movzx edx, byte [esi + ebx + 3]
xor byte [edi + 0x3f], dl
cmp eax, 4
jbe 0x560c63
movzx edx, byte [esi + ebx + 4]
xor byte [edi + 0x40], dl
cmp eax, 5
jbe 0x560c63
movzx edx, byte [esi + ebx + 5]
xor byte [edi + 0x41], dl
cmp eax, 6
jbe 0x560c63
movzx edx, byte [esi + ebx + 6]
xor byte [edi + 0x42], dl
cmp eax, 7
jbe 0x560c63
movzx edx, byte [esi + ebx + 7]
xor byte [edi + 0x43], dl
cmp eax, 8
jbe 0x560c63
movzx edx, byte [esi + ebx + 8]
xor byte [edi + 0x44], dl
cmp eax, 9
jbe 0x560c63
movzx edx, byte [esi + ebx + 9]
xor byte [edi + 0x45], dl
cmp eax, 0xa
jbe 0x560c63
movzx edx, byte [esi + ebx + 0xa]
xor byte [edi + 0x46], dl
cmp eax, 0xb
jbe 0x560c63
movzx edx, byte [esi + ebx + 0xb]
xor byte [edi + 0x47], dl
cmp eax, 0xc
jbe 0x560c63
movzx edx, byte [esi + ebx + 0xc]
xor byte [edi + 0x48], dl
cmp eax, 0xd
jbe 0x560c63
movzx edx, byte [esi + ebx + 0xd]
xor byte [edi + 0x49], dl
cmp eax, 0xe
jbe 0x560c63
movzx edx, byte [esi + ebx + 0xe]
xor byte [edi + 0x4a], dl
cmp eax, 0xf
jbe 0x560c63
movzx eax, byte [esi + ebx + 0xf]
xor byte [edi + 0x4b], al
mov esi, dword [ebp + 8]
test esi, esi
je 0x560a40
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x560a40
cmp ebx, dword [ebp + 0xc]
mov eax, ebx
cmova eax, dword [ebp + 0xc]
test eax, eax
je 0x560cd1
lea edx, [eax - 1]
cmp edx, 2
jbe 0x560ca6
mov esi, dword [ebp + 8]
mov ecx, dword [esp + 0x8c]
add esi, 1
sub ecx, esi
cmp ecx, 0xe
ja 0x560f2b
mov esi, dword [esp + 0x8c]
mov ecx, dword [ebp + 8]
mov edx, esi
add eax, esi
mov esi, ebx
lea esi, cs:[esi]
nop
movzx ebx, byte [ecx]
xor byte [edx], bl
add edx, 1
add ecx, 1
cmp eax, edx
jne 0x560cc0
mov ebx, esi
cmp ebx, dword [ebp + 0xc]
jae 0x560a40
mov eax, dword [ebp + 0xc]
mov edx, 0x10
sub eax, ebx
cmp eax, edx
cmovbe edx, eax
lea ecx, [edx - 1]
mov dword [esp + 0x70], edx
cmp ecx, 2
jbe 0x560d0e
mov esi, dword [ebp + 8]
mov edx, dword [esp + 0x88]
lea esi, [esi + ebx + 1]
sub edx, esi
cmp edx, 0xe
ja 0x561079
mov esi, dword [ebp + 8]
movzx edx, byte [esi + ebx]
xor byte [edi + 0x3c], dl
cmp eax, 1
jbe 0x560a40
movzx edx, byte [esi + ebx + 1]
xor byte [edi + 0x3d], dl
cmp eax, 2
jbe 0x560a40
movzx edx, byte [esi + ebx + 2]
xor byte [edi + 0x3e], dl
cmp eax, 3
jbe 0x560a40
movzx edx, byte [esi + ebx + 3]
xor byte [edi + 0x3f], dl
cmp eax, 4
jbe 0x560a40
movzx edx, byte [esi + ebx + 4]
xor byte [edi + 0x40], dl
cmp eax, 5
jbe 0x560a40
movzx edx, byte [esi + ebx + 5]
xor byte [edi + 0x41], dl
cmp eax, 6
jbe 0x560a40
movzx edx, byte [esi + ebx + 6]
xor byte [edi + 0x42], dl
cmp eax, 7
jbe 0x560a40
movzx edx, byte [esi + ebx + 7]
xor byte [edi + 0x43], dl
cmp eax, 8
jbe 0x560a40
movzx edx, byte [esi + ebx + 8]
xor byte [edi + 0x44], dl
cmp eax, 9
jbe 0x560a40
movzx edx, byte [esi + ebx + 9]
xor byte [edi + 0x45], dl
cmp eax, 0xa
jbe 0x560a40
movzx edx, byte [esi + ebx + 0xa]
xor byte [edi + 0x46], dl
cmp eax, 0xb
jbe 0x560a40
movzx edx, byte [esi + ebx + 0xb]
xor byte [edi + 0x47], dl
cmp eax, 0xc
jbe 0x560a40
movzx edx, byte [esi + ebx + 0xc]
xor byte [edi + 0x48], dl
cmp eax, 0xd
jbe 0x560a40
movzx edx, byte [esi + ebx + 0xd]
xor byte [edi + 0x49], dl
cmp eax, 0xe
jbe 0x560a40
movzx edx, byte [esi + ebx + 0xe]
xor byte [edi + 0x4a], dl
cmp eax, 0xf
jbe 0x560a40
movzx eax, byte [esi + ebx + 0xf]
xor byte [edi + 0x4b], al
jmp 0x560a40
cmp eax, 0xe
jbe 0x5612c1
mov ecx, dword [esp + 0x30]
movdqu xmm0, xmmword [edi + 0x1c]
mov eax, esi
shr eax, 4
movdqu xmm7, xmmword [ecx]
pxor xmm0, xmm7
movups xmmword [esp + 0x70], xmm7
movups xmmword [edi + 0x1c], xmm0
cmp eax, 1
je 0x560e60
movdqu xmm6, xmmword [ecx + 0x10]
movdqu xmm0, xmmword [edi + 0x2c]
pxor xmm0, xmm6
movups xmmword [esp + 0x70], xmm6
movups xmmword [edi + 0x2c], xmm0
mov ecx, esi
and ecx, 0xfffffff0
test esi, 0xf
je 0x560b41
mov eax, esi
sub eax, ecx
mov dword [esp + 0x70], eax
sub eax, 1
cmp eax, 2
jbe 0x560eee
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x30]
shr eax, 2
add edx, ecx
mov dword [esp + 0x60], eax
lea eax, [edi + ecx + 0x1c]
movd xmm0, dword [edx]
movd xmm7, dword [eax]
cmp dword [esp + 0x60], 1
pxor xmm7, xmm0
movd dword [eax], xmm7
je 0x560eda
movd xmm0, dword [edx + 4]
movd xmm7, dword [eax + 4]
cmp dword [esp + 0x60], 2
pxor xmm7, xmm0
movd dword [eax + 4], xmm7
je 0x560eda
movd xmm0, dword [edx + 8]
movd xmm7, dword [eax + 8]
pxor xmm7, xmm0
movd dword [eax + 8], xmm7
mov edx, dword [esp + 0x70]
mov eax, edx
and eax, 0xfffffffc
add ecx, eax
and edx, 3
je 0x560b41
mov edx, dword [esp + 0x30]
movzx eax, byte [edx + ecx]
xor byte [edi + ecx + 0x1c], al
lea eax, [ecx + 1]
cmp eax, esi
jae 0x560b41
movzx edx, byte [edx + ecx + 1]
xor byte [edi + eax + 0x1c], dl
lea eax, [ecx + 2]
cmp eax, esi
jae 0x560b41
mov edx, dword [esp + 0x30]
movzx edx, byte [edx + ecx + 2]
xor byte [edi + eax + 0x1c], dl
jmp 0x560b41
cmp edx, 0xe
jbe 0x5612b6
mov esi, dword [ebp + 8]
movdqu xmm0, xmmword [edi + 0x1c]
mov edx, eax
shr edx, 4
movdqu xmm6, xmmword [esi]
pxor xmm0, xmm6
movups xmmword [esp + 0x70], xmm6
movups xmmword [edi + 0x1c], xmm0
cmp edx, 1
je 0x560f6e
movdqu xmm5, xmmword [esi + 0x10]
movdqu xmm0, xmmword [edi + 0x2c]
pxor xmm0, xmm5
movups xmmword [esp + 0x70], xmm5
movups xmmword [edi + 0x2c], xmm0
mov edx, eax
and edx, 0xfffffff0
test al, 0xf
je 0x560cd1
mov esi, eax
sub esi, edx
lea ecx, [esi - 1]
mov dword [esp + 0x70], esi
cmp ecx, 2
jbe 0x560ff7
mov esi, dword [esp + 0x70]
lea ecx, [edi + edx + 0x1c]
movd xmm7, dword [ecx]
shr esi, 2
mov dword [esp + 0x60], esi
mov esi, dword [ebp + 8]
add esi, edx
cmp dword [esp + 0x60], 1
movd xmm0, dword [esi]
pxor xmm7, xmm0
movd dword [ecx], xmm7
je 0x560fe3
movd xmm0, dword [esi + 4]
movd xmm7, dword [ecx + 4]
cmp dword [esp + 0x60], 2
pxor xmm7, xmm0
movd dword [ecx + 4], xmm7
je 0x560fe3
movd xmm0, dword [esi + 8]
movd xmm7, dword [ecx + 8]
pxor xmm7, xmm0
movd dword [ecx + 8], xmm7
mov esi, dword [esp + 0x70]
mov ecx, esi
and ecx, 0xfffffffc
add edx, ecx
and esi, 3
je 0x560cd1
mov esi, dword [ebp + 8]
movzx ecx, byte [esi + edx]
lea esi, [edx + 1]
xor byte [edi + edx + 0x1c], cl
mov dword [esp + 0x70], esi
cmp esi, eax
jae 0x560cd1
mov esi, dword [ebp + 8]
movzx ecx, byte [esi + edx + 1]
mov esi, dword [esp + 0x70]
xor byte [edi + esi + 0x1c], cl
lea ecx, [edx + 2]
cmp ecx, eax
jae 0x560cd1
mov eax, dword [ebp + 8]
movzx eax, byte [eax + edx + 2]
xor byte [edi + ecx + 0x1c], al
jmp 0x560cd1
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x560a40
mov eax, dword [ebp + 8]
test eax, eax
je 0x560a40
cmp ebx, dword [ebp + 0xc]
mov eax, ebx
cmova eax, dword [ebp + 0xc]
jmp 0x560c86
mov dword [ebp + 0x14], 0
mov eax, ecx
jmp 0x56065c
mov ebx, 0x20
jmp 0x560608
cmp ecx, 0xf
jne 0x5610ca
mov eax, dword [ebp + 8]
movdqu xmm7, xmmword [edi + 0x3c]
movdqu xmm0, xmmword [eax + ebx]
pxor xmm0, xmm7
movups xmmword [edi + 0x3c], xmm0
jmp 0x560a40
cmp dword [esp + 0x70], 0xf
jne 0x56115f
mov ecx, dword [esp + 0x30]
movdqu xmm5, xmmword [edi + 0x3c]
movdqu xmm0, xmmword [ecx + ebx]
pxor xmm0, xmm5
movups xmmword [edi + 0x3c], xmm0
jmp 0x560c63
mov dword [ebp + 0xc], 0
jmp 0x56066a
add ebx, dword [ebp + 8]
movd xmm7, dword [edi + 0x3c]
movd xmm0, dword [ebx]
mov eax, dword [esp + 0x70]
pxor xmm7, xmm0
shr eax, 2
movd dword [edi + 0x3c], xmm7
cmp eax, 1
je 0x561116
movd xmm0, dword [ebx + 4]
movd xmm7, dword [edi + 0x40]
pxor xmm7, xmm0
movd dword [edi + 0x40], xmm7
cmp eax, 3
jne 0x561116
movd xmm0, dword [ebx + 8]
movd xmm7, dword [edi + 0x44]
pxor xmm7, xmm0
movd dword [edi + 0x44], xmm7
mov esi, dword [esp + 0x70]
mov ecx, esi
and ecx, 0xfffffffc
test esi, 3
je 0x560a40
movzx eax, byte [ebx + ecx]
xor byte [edi + ecx + 0x3c], al
lea eax, [ecx + 1]
cmp eax, esi
jae 0x560a40
movzx edx, byte [ecx + ebx + 1]
add ecx, 2
xor byte [edi + eax + 0x3c], dl
cmp ecx, esi
jae 0x560a40
movzx eax, byte [ebx + ecx]
xor byte [edi + ecx + 0x3c], al
jmp 0x560a40
mov edx, dword [esp + 0x30]
movd xmm7, dword [edi + 0x3c]
mov eax, esi
shr eax, 2
add edx, ebx
movd xmm0, dword [edx]
pxor xmm7, xmm0
movd dword [edi + 0x3c], xmm7
cmp eax, 1
je 0x5611ac
movd xmm0, dword [edx + 4]
movd xmm7, dword [edi + 0x40]
pxor xmm7, xmm0
movd dword [edi + 0x40], xmm7
cmp eax, 3
jne 0x5611ac
movd xmm0, dword [edx + 8]
movd xmm7, dword [edi + 0x44]
pxor xmm7, xmm0
movd dword [edi + 0x44], xmm7
mov eax, esi
and eax, 0xfffffffc
test esi, 3
je 0x560c63
movzx ecx, byte [edx + eax]
xor byte [edi + eax + 0x3c], cl
lea ecx, [eax + 1]
mov dword [esp + 0x70], eax
cmp ecx, esi
jae 0x560c63
movzx eax, byte [eax + edx + 1]
xor byte [edi + ecx + 0x3c], al
mov eax, dword [esp + 0x70]
add eax, 2
cmp eax, esi
jae 0x560c63
movzx edx, byte [edx + eax]
xor byte [edi + eax + 0x3c], dl
jmp 0x560c63
cmp ebx, 0xf
jne 0x561216
movdqu xmm0, xmmword [edi + eax + 0x60]
movdqu xmm6, xmmword [edi + 0x3c]
pxor xmm0, xmm6
movups xmmword [edi + 0x3c], xmm0
jmp 0x560a40
lea edx, [edi + eax + 0x60]
movd xmm7, dword [edi + 0x3c]
mov esi, dword [esp + 0x88]
movd xmm0, dword [edx]
shr esi, 2
pxor xmm7, xmm0
movd dword [edi + 0x3c], xmm7
cmp esi, 1
je 0x561266
movd xmm0, dword [edx + 4]
movd xmm7, dword [edi + 0x40]
pxor xmm7, xmm0
movd dword [edi + 0x40], xmm7
cmp esi, 3
jne 0x561266
movd xmm0, dword [edx + 8]
movd xmm7, dword [edi + 0x44]
pxor xmm7, xmm0
movd dword [edi + 0x44], xmm7
mov esi, dword [esp + 0x88]
mov ebx, esi
and ebx, 0xfffffffc
mov edx, ebx
test esi, 3
je 0x560a40
add eax, ecx
movzx ecx, byte [eax + ebx]
xor byte [edi + ebx + 0x3c], cl
lea ecx, [ebx + 1]
cmp ecx, esi
jae 0x560a40
add edx, 2
movzx ebx, byte [eax + ebx + 1]
xor byte [edi + ecx + 0x3c], bl
cmp edx, esi
jae 0x560a40
movzx eax, byte [eax + edx]
xor byte [edi + edx + 0x3c], al
jmp 0x560a40
mov dword [esp + 0x70], eax
xor edx, edx
jmp 0x560f8b
mov dword [esp + 0x70], esi
xor ecx, ecx
jmp 0x560e81
mov eax, 0x10
mov dword [esp + 4], 0
sub eax, edx
lea edx, [edi + edx + 0x4c]
mov dword [esp], edx
mov dword [esp + 8], eax
call sub.msvcrt.dll_memset
cmp dword [edi + 0x14], 0x10
movdqu xmm0, xmmword [edi + 0x4c]
mov edx, 0x20
je 0x561308
movups xmmword [esp + 0xc0], xmm0
mov edx, 0x30
movdqu xmm1, xmmword [edi + 0x60]
mov eax, dword [esp + 0x88]
mov dword [esp + 0x9c], 0x10
pxor xmm1, xmm0
movups xmmword [edi + 0x60], xmm1
movdqu xmm7, xmmword [eax]
pxor xmm0, xmm7
movups xmmword [esp + 0x60], xmm7
movups xmmword [eax], xmm0
cmp edx, 0x30
jne 0x561359
movdqu xmm0, xmmword [esp + 0xc0]
mov eax, dword [esp + 0x70]
movdqu xmm6, xmmword [eax]
pxor xmm0, xmm6
movups xmmword [esp + 0x60], xmm6
movups xmmword [eax], xmm0
lea eax, [esp + 0x9c]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], esi
mov dword [esp + 8], eax
mov dword [esp + 4], esi
mov eax, dword [edi + 8]
mov dword [esp + 0x60], edx
mov dword [esp], eax
call fcn.004a2d60
test eax, eax
je 0x560549
mov edx, dword [esp + 0x60]
cmp dword [esp + 0x9c], edx
je 0x5606eb
xor eax, eax
jmp 0x560abb
xor esi, esi
jmp 0x560871