Function at 0x401410
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x40
mov eax, dword [0x42ac1c]
xor eax, esp
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x44]
push ebp
mov ebp, dword [esp + 0x4c]
push esi
mov esi, dword [esp + 0x58]
push edi
push 0
push 2
push eax
push 0
push 1
mov edi, ecx
call fcn.00401010
cmp dword [edi], 0
mov dword [esp + 0x18], ebp
je 0x40145f
pop edi
pop esi
mov eax, 0xfffffffb
pop ebp
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.0040a1eb
add esp, 0x40
ret 0x10
cmp dword [edi + 8], 0
jne 0x401446
test ebp, ebp
push ebx
je 0x402354
mov ebx, dword [esp + 0x5c]
test ebx, ebx
jle 0x402354
mov eax, ebx
cdq
and edx, 0xf
add eax, edx
mov ecx, eax
mov eax, dword [edi + 4]
sar ecx, 4
sub eax, 0
mov dword [esp + 0x20], ecx
je 0x401b84
sub eax, 1
je 0x4014b4
pop ebx
pop edi
pop esi
or eax, 0xffffffff
pop ebp
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.0040a1eb
add esp, 0x40
ret 0x10
test ecx, ecx
lea eax, [edi + 0xc]
mov dword [esp + 0x28], ecx
jle 0x4018c0
mov ecx, ebp
sub ecx, esi
mov dword [esp + 0x24], ecx
jmp 0x4014d4
mov ecx, dword [esp + 0x24]
mov edx, dword [eax]
xor edx, dword [ebp]
mov ebx, dword [eax + 8]
xor ebx, dword [esi + ecx + 8]
mov ebp, dword [esi + ecx + 4]
xor ebp, dword [eax + 4]
mov ecx, dword [esi + ecx + 0xc]
xor ecx, dword [eax + 0xc]
mov eax, dword [edi + 0x28]
xor eax, ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], ebp
mov dword [esp + 0x48], ecx
mov ecx, dword [edi + 0x20]
xor ecx, edx
mov ebx, eax
shr ebx, 0x10
movzx ebx, bl
mov dword [esp + 0x3c], edx
mov edx, dword [edi + 0x24]
xor edx, ebp
mov ebp, dword [edi + 0x2c]
xor ebp, dword [esp + 0x48]
mov dword [esp + 0x10], eax
mov dword [esp + 0x38], ebp
shr ebp, 0x18
mov ebp, dword [ebp*4 + 0x41ed00]
xor ebp, dword [ebx*4 + 0x41e900]
mov ebx, edx
shr ebx, 8
movzx ebx, bl
xor ebp, dword [ebx*4 + 0x41e500]
movzx ebx, cl
xor ebp, dword [ebx*4 + 0x41e100]
mov ebx, dword [esp + 0x38]
mov dword [esi], ebp
shr ebx, 0x10
shr eax, 8
movzx ebx, bl
mov ebx, dword [ebx*4 + 0x41e900]
movzx ebp, al
xor ebx, dword [ebp*4 + 0x41e500]
mov ebp, ecx
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x41ed00]
movzx ebp, dl
xor ebx, dword [ebp*4 + 0x41e100]
mov ebp, edx
mov dword [esi + 4], ebx
mov ebx, dword [esp + 0x38]
shr ebx, 8
movzx ebx, bl
mov ebx, dword [ebx*4 + 0x41e500]
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x41ed00]
mov eax, ecx
shr eax, 0x10
movzx ebp, al
xor ebx, dword [ebp*4 + 0x41e900]
mov eax, dword [esp + 0x10]
movzx ebp, al
xor ebx, dword [ebp*4 + 0x41e100]
shr eax, 0x18
shr edx, 0x10
mov dword [esi + 8], ebx
mov eax, dword [eax*4 + 0x41ed00]
movzx edx, dl
xor eax, dword [edx*4 + 0x41e900]
movzx edx, byte [esp + 0x38]
shr ecx, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x41e500]
mov dword [esp + 0x18], 1
xor eax, dword [edx*4 + 0x41e100]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x1c]
sub eax, 1
cmp eax, 1
jbe 0x401732
lea ebx, [edi + 0x34]
mov dword [esp + 0x10], ebx
mov eax, dword [ebx + 4]
mov ebp, dword [ebx + 8]
mov ecx, dword [ebx - 4]
xor eax, dword [esi + 8]
xor ebp, dword [esi + 0xc]
mov edx, dword [esi + 4]
xor edx, dword [ebx]
xor ecx, dword [esi]
mov dword [esp + 0x38], ebp
mov ebx, eax
shr ebx, 0x10
movzx ebx, bl
shr ebp, 0x18
mov ebp, dword [ebp*4 + 0x41ed00]
xor ebp, dword [ebx*4 + 0x41e900]
mov ebx, edx
shr ebx, 8
movzx ebx, bl
xor ebp, dword [ebx*4 + 0x41e500]
movzx ebx, cl
xor ebp, dword [ebx*4 + 0x41e100]
mov ebx, dword [esp + 0x38]
mov dword [esi], ebp
shr ebx, 0x10
movzx ebx, bl
mov ebx, dword [ebx*4 + 0x41e900]
mov dword [esp + 0x14], eax
shr eax, 8
movzx ebp, al
xor ebx, dword [ebp*4 + 0x41e500]
mov ebp, ecx
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x41ed00]
movzx ebp, dl
xor ebx, dword [ebp*4 + 0x41e100]
mov ebp, edx
mov dword [esi + 4], ebx
mov ebx, dword [esp + 0x38]
shr ebx, 8
movzx ebx, bl
mov ebx, dword [ebx*4 + 0x41e500]
mov eax, ecx
shr eax, 0x10
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x41ed00]
movzx ebp, al
xor ebx, dword [ebp*4 + 0x41e900]
mov eax, dword [esp + 0x14]
movzx ebp, al
xor ebx, dword [ebp*4 + 0x41e100]
shr eax, 0x18
mov dword [esi + 8], ebx
mov eax, dword [eax*4 + 0x41ed00]
mov ebx, dword [esp + 0x10]
shr edx, 0x10
shr ecx, 8
movzx edx, dl
xor eax, dword [edx*4 + 0x41e900]
movzx edx, byte [esp + 0x38]
movzx ecx, cl
xor eax, dword [ecx*4 + 0x41e500]
add ebx, 0x10
xor eax, dword [edx*4 + 0x41e100]
mov dword [esp + 0x10], ebx
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [edi + 0x1c]
add eax, 1
sub ecx, 1
cmp eax, ecx
mov dword [esp + 0x18], eax
jb 0x401615
mov edx, dword [edi + 0x1c]
shl edx, 4
mov ecx, dword [edx + edi + 0x10]
xor ecx, dword [esi]
mov eax, dword [edx + edi + 0x18]
xor eax, dword [esi + 8]
lea ebp, [edx + edi]
mov edx, dword [ebp + 0x14]
mov ebp, dword [ebp + 0x1c]
xor edx, dword [esi + 4]
xor ebp, dword [esi + 0xc]
movzx ebx, cl
movzx ebx, byte [ebx*4 + 0x41e101]
mov byte [esi], bl
mov ebx, edx
shr ebx, 8
movzx ebx, bl
movzx ebx, byte [ebx*4 + 0x41e101]
mov byte [esi + 1], bl
mov ebx, eax
shr ebx, 0x10
movzx ebx, bl
movzx ebx, byte [ebx*4 + 0x41e101]
mov byte [esi + 2], bl
mov ebx, ebp
shr ebx, 0x18
movzx ebx, byte [ebx*4 + 0x41e101]
mov byte [esi + 3], bl
movzx ebx, dl
movzx ebx, byte [ebx*4 + 0x41e101]
mov byte [esi + 4], bl
mov ebx, eax
shr ebx, 8
movzx ebx, bl
movzx ebx, byte [ebx*4 + 0x41e101]
mov byte [esi + 5], bl
mov ebx, ebp
shr ebx, 0x10
movzx ebx, bl
movzx ebx, byte [ebx*4 + 0x41e101]
mov byte [esi + 6], bl
mov ebx, ecx
shr ebx, 0x18
movzx ebx, byte [ebx*4 + 0x41e101]
mov byte [esi + 7], bl
movzx ebx, al
movzx ebx, byte [ebx*4 + 0x41e101]
mov byte [esi + 8], bl
mov ebx, ebp
shr ebx, 8
movzx ebx, bl
movzx ebx, byte [ebx*4 + 0x41e101]
mov byte [esi + 9], bl
mov ebx, ecx
shr ebx, 0x10
movzx ebx, bl
movzx ebx, byte [ebx*4 + 0x41e101]
mov byte [esi + 0xa], bl
mov ebx, edx
shr ebx, 0x18
movzx ebx, byte [ebx*4 + 0x41e101]
mov byte [esi + 0xb], bl
mov dword [esp + 0x38], ebp
movzx ebx, byte [esp + 0x38]
movzx ebx, byte [ebx*4 + 0x41e101]
shr ecx, 8
movzx ecx, cl
mov byte [esi + 0xc], bl
movzx ecx, byte [ecx*4 + 0x41e101]
shr edx, 0x10
movzx edx, dl
mov byte [esi + 0xd], cl
movzx ecx, byte [edx*4 + 0x41e101]
shr eax, 0x18
mov byte [esi + 0xe], cl
mov dl, byte [eax*4 + 0x41e101]
mov byte [esi + 0xf], dl
mov eax, dword [edi + 0x1c]
add eax, 2
shl eax, 4
mov ecx, dword [eax + edi]
xor dword [esi], ecx
mov edx, dword [edi + 0x1c]
add dword [esp + 0x1c], 0x10
mov ebp, dword [esp + 0x1c]
shl edx, 4
mov eax, dword [edx + edi + 0x24]
xor dword [esi + 4], eax
mov ecx, dword [edi + 0x1c]
shl ecx, 4
mov edx, dword [ecx + edi + 0x28]
xor dword [esi + 8], edx
mov eax, dword [edi + 0x1c]
shl eax, 4
mov ecx, dword [eax + edi + 0x2c]
xor dword [esi + 0xc], ecx
mov ecx, dword [esp + 0x28]
sub ecx, 1
mov eax, esi
add esi, 0x10
test ecx, ecx
mov dword [esp + 0x28], ecx
jg 0x4014d0
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x5c]
shl ecx, 4
mov edx, ecx
sub edx, ebx
mov dword [esp + 0x24], ecx
add edx, 0x10
mov ecx, 0x10
sub ecx, edx
test ecx, ecx
mov dword [esp + 0x18], ecx
jle 0x40191e
mov ebx, eax
sub ebx, ebp
mov dword [esp + 0x14], ebx
lea ebx, [esp + 0x3c]
sub ebx, ebp
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x18]
mov ecx, ebp
mov dword [esp + 0x10], ebx
lea esp, [esp]
mov ebx, dword [esp + 0x14]
mov bl, byte [ebx + ecx]
xor bl, byte [ecx]
mov ebp, dword [esp + 0x20]
mov byte [ecx + ebp], bl
add ecx, 1
sub dword [esp + 0x10], 1
jne 0x401900
mov ecx, dword [esp + 0x18]
cmp ecx, 0x10
jge 0x401945
mov ebp, eax
lea eax, [esp + 0x3c]
sub ebp, eax
jmp 0x401930
lea eax, [ecx + ebp]
mov al, byte [esp + eax + 0x3c]
xor al, dl
mov byte [esp + ecx + 0x3c], al
add ecx, 1
cmp ecx, 0x10
jl 0x401930
mov edx, dword [edi + 0x28]
xor edx, dword [esp + 0x44]
mov ebp, dword [edi + 0x2c]
xor ebp, dword [esp + 0x48]
mov ecx, dword [edi + 0x24]
xor ecx, dword [esp + 0x40]
mov eax, dword [edi + 0x20]
xor eax, dword [esp + 0x3c]
mov dword [esp + 0x38], ebp
mov ebx, edx
shr ebx, 0x10
movzx ebx, bl
shr ebp, 0x18
mov ebp, dword [ebp*4 + 0x41ed00]
xor ebp, dword [ebx*4 + 0x41e900]
mov ebx, ecx
shr ebx, 8
movzx ebx, bl
xor ebp, dword [ebx*4 + 0x41e500]
movzx ebx, al
xor ebp, dword [ebx*4 + 0x41e100]
mov ebx, dword [esp + 0x38]
mov dword [esi], ebp
shr ebx, 0x10
mov dword [esp + 0x14], edx
shr edx, 8
movzx ebx, bl
mov ebx, dword [ebx*4 + 0x41e900]
movzx ebp, dl
xor ebx, dword [ebp*4 + 0x41e500]
mov ebp, eax
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x41ed00]
movzx ebp, cl
xor ebx, dword [ebp*4 + 0x41e100]
mov ebp, ecx
mov dword [esi + 4], ebx
mov ebx, dword [esp + 0x38]
shr ebx, 8
movzx ebx, bl
mov ebx, dword [ebx*4 + 0x41e500]
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x41ed00]
mov edx, eax
shr edx, 0x10
movzx ebp, dl
xor ebx, dword [ebp*4 + 0x41e900]
mov edx, dword [esp + 0x14]
movzx ebp, dl
xor ebx, dword [ebp*4 + 0x41e100]
shr edx, 0x18
shr ecx, 0x10
mov dword [esi + 8], ebx
mov edx, dword [edx*4 + 0x41ed00]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x41e900]
movzx ecx, byte [esp + 0x38]
shr eax, 8
movzx eax, al
xor edx, dword [eax*4 + 0x41e500]
mov dword [esp + 0x10], 1
xor edx, dword [ecx*4 + 0x41e100]
mov dword [esi + 0xc], edx
mov edx, dword [edi + 0x1c]
sub edx, 1
cmp edx, 1
jbe 0x4021d3
lea ebx, [edi + 0x34]
mov dword [esp + 0x18], ebx
mov edx, dword [ebx + 4]
mov ebp, dword [ebx + 8]
mov eax, dword [ebx - 4]
mov ecx, dword [ebx]
xor edx, dword [esi + 8]
xor ebp, dword [esi + 0xc]
xor ecx, dword [esi + 4]
xor eax, dword [esi]
mov dword [esp + 0x38], ebp
mov ebx, edx
shr ebx, 0x10
movzx ebx, bl
shr ebp, 0x18
mov ebp, dword [ebp*4 + 0x41ed00]
xor ebp, dword [ebx*4 + 0x41e900]
mov ebx, ecx
shr ebx, 8
movzx ebx, bl
xor ebp, dword [ebx*4 + 0x41e500]
movzx ebx, al
xor ebp, dword [ebx*4 + 0x41e100]
mov ebx, dword [esp + 0x38]
mov dword [esi], ebp
shr ebx, 0x10
movzx ebx, bl
mov ebx, dword [ebx*4 + 0x41e900]
mov dword [esp + 0x14], edx
shr edx, 8
movzx ebp, dl
xor ebx, dword [ebp*4 + 0x41e500]
mov ebp, eax
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x41ed00]
movzx ebp, cl
xor ebx, dword [ebp*4 + 0x41e100]
mov ebp, ecx
mov dword [esi + 4], ebx
mov ebx, dword [esp + 0x38]
shr ebx, 8
movzx ebx, bl
mov ebx, dword [ebx*4 + 0x41e500]
mov edx, eax
shr edx, 0x10
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x41ed00]
movzx ebp, dl
xor ebx, dword [ebp*4 + 0x41e900]
mov edx, dword [esp + 0x14]
movzx ebp, dl
xor ebx, dword [ebp*4 + 0x41e100]
shr edx, 0x18
mov dword [esi + 8], ebx
mov edx, dword [edx*4 + 0x41ed00]
mov ebx, dword [esp + 0x18]
shr ecx, 0x10
shr eax, 8
movzx ecx, cl
xor edx, dword [ecx*4 + 0x41e900]
movzx ecx, byte [esp + 0x38]
movzx eax, al
xor edx, dword [eax*4 + 0x41e500]
mov eax, dword [esp + 0x10]
xor edx, dword [ecx*4 + 0x41e100]
add eax, 1
mov dword [esi + 0xc], edx
mov edx, dword [edi + 0x1c]
add ebx, 0x10
sub edx, 1
cmp eax, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], ebx
jb 0x401a62
jmp 0x4021d3
test ecx, ecx
mov dword [esp + 0x28], ecx
jle 0x401f65
mov ebx, ebp
sub ebx, esi
mov dword [esp + 0x24], ebx
jmp 0x401ba4
mov ebx, dword [esp + 0x24]
mov ecx, dword [esi + ebx + 4]
mov eax, dword [edi + 0x20]
xor eax, dword [ebp]
mov ebp, dword [esi + ebx + 0xc]
xor ebp, dword [edi + 0x2c]
mov edx, dword [edi + 0x28]
xor edx, dword [esi + ebx + 8]
xor ecx, dword [edi + 0x24]
mov dword [esp + 0x38], ebp
mov ebx, edx
shr ebx, 0x10
movzx ebx, bl
shr ebp, 0x18
mov ebp, dword [ebp*4 + 0x41ed00]
xor ebp, dword [ebx*4 + 0x41e900]
mov ebx, ecx
shr ebx, 8
movzx ebx, bl
xor ebp, dword [ebx*4 + 0x41e500]
movzx ebx, al
xor ebp, dword [ebx*4 + 0x41e100]
mov ebx, dword [esp + 0x38]
mov dword [esi], ebp
shr ebx, 0x10
mov dword [esp + 0x14], edx
shr edx, 8
movzx ebx, bl
mov ebx, dword [ebx*4 + 0x41e900]
movzx ebp, dl
xor ebx, dword [ebp*4 + 0x41e500]
mov ebp, eax
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x41ed00]
movzx ebp, cl
xor ebx, dword [ebp*4 + 0x41e100]
mov ebp, ecx
mov dword [esi + 4], ebx
mov ebx, dword [esp + 0x38]
shr ebx, 8
movzx ebx, bl
mov ebx, dword [ebx*4 + 0x41e500]
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x41ed00]
mov edx, eax
shr edx, 0x10
movzx ebp, dl
xor ebx, dword [ebp*4 + 0x41e900]
mov edx, dword [esp + 0x14]
movzx ebp, dl
xor ebx, dword [ebp*4 + 0x41e100]
shr edx, 0x18
shr ecx, 0x10
mov dword [esi + 8], ebx
mov edx, dword [edx*4 + 0x41ed00]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x41e900]
movzx ecx, byte [esp + 0x38]
shr eax, 8
movzx eax, al
xor edx, dword [eax*4 + 0x41e500]
mov dword [esp + 0x10], 1
xor edx, dword [ecx*4 + 0x41e100]
mov dword [esi + 0xc], edx
mov edx, dword [edi + 0x1c]
sub edx, 1
cmp edx, 1
jbe 0x401ddd
lea ebx, [edi + 0x34]
mov dword [esp + 0x18], ebx
mov eax, dword [ebx + 4]
mov ebp, dword [ebx + 8]
mov ecx, dword [ebx - 4]
mov edx, dword [ebx]
xor eax, dword [esi + 8]
xor ebp, dword [esi + 0xc]
xor edx, dword [esi + 4]
xor ecx, dword [esi]
mov dword [esp + 0x38], ebp
mov ebx, eax
shr ebx, 0x10
movzx ebx, bl
shr ebp, 0x18
mov ebp, dword [ebp*4 + 0x41ed00]
xor ebp, dword [ebx*4 + 0x41e900]
mov ebx, edx
shr ebx, 8
movzx ebx, bl
xor ebp, dword [ebx*4 + 0x41e500]
movzx ebx, cl
xor ebp, dword [ebx*4 + 0x41e100]
mov ebx, dword [esp + 0x38]
mov dword [esi], ebp
shr ebx, 0x10
movzx ebx, bl
mov ebx, dword [ebx*4 + 0x41e900]
mov dword [esp + 0x14], eax
shr eax, 8
movzx ebp, al
xor ebx, dword [ebp*4 + 0x41e500]
mov ebp, ecx
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x41ed00]
movzx ebp, dl
xor ebx, dword [ebp*4 + 0x41e100]
mov ebp, edx
mov dword [esi + 4], ebx
mov ebx, dword [esp + 0x38]
shr ebx, 8
movzx ebx, bl
mov ebx, dword [ebx*4 + 0x41e500]
mov eax, ecx
shr eax, 0x10
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x41ed00]
movzx ebp, al
xor ebx, dword [ebp*4 + 0x41e900]
mov eax, dword [esp + 0x14]
movzx ebp, al
xor ebx, dword [ebp*4 + 0x41e100]
shr eax, 0x18
mov dword [esi + 8], ebx
mov eax, dword [eax*4 + 0x41ed00]
mov ebx, dword [esp + 0x18]
shr edx, 0x10
shr ecx, 8
movzx edx, dl
xor eax, dword [edx*4 + 0x41e900]
movzx edx, byte [esp + 0x38]
movzx ecx, cl
xor eax, dword [ecx*4 + 0x41e500]
add ebx, 0x10
xor eax, dword [edx*4 + 0x41e100]
mov dword [esp + 0x18], ebx
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [edi + 0x1c]
add eax, 1
sub ecx, 1
cmp eax, ecx
mov dword [esp + 0x10], eax
jb 0x401cc0
mov edx, dword [edi + 0x1c]
shl edx, 4
mov eax, dword [edx + edi + 0x10]
xor eax, dword [esi]
mov ecx, dword [edx + edi + 0x14]
xor ecx, dword [esi + 4]
lea ebp, [edx + edi]
mov edx, dword [ebp + 0x18]
mov ebp, dword [ebp + 0x1c]
xor edx, dword [esi + 8]
xor ebp, dword [esi + 0xc]
movzx ebx, al
movzx ebx, byte [ebx*4 + 0x41e101]
mov byte [esi], bl
mov ebx, ecx
shr ebx, 8
movzx ebx, bl
movzx ebx, byte [ebx*4 + 0x41e101]
mov byte [esi + 1], bl
mov ebx, edx
shr ebx, 0x10
movzx ebx, bl
movzx ebx, byte [ebx*4 + 0x41e101]
mov byte [esi + 2], bl
mov ebx, ebp
shr ebx, 0x18
movzx ebx, byte [ebx*4 + 0x41e101]
mov byte [esi + 3], bl
movzx ebx, cl
movzx ebx, byte [ebx*4 + 0x41e101]
mov byte [esi + 4], bl
mov ebx, edx
shr ebx, 8
movzx ebx, bl
movzx ebx, byte [ebx*4 + 0x41e101]
mov byte [esi + 5], bl
mov ebx, ebp
shr ebx, 0x10
movzx ebx, bl
movzx ebx, byte [ebx*4 + 0x41e101]
mov byte [esi + 6], bl
mov ebx, eax
shr ebx, 0x18
movzx ebx, byte [ebx*4 + 0x41e101]
mov byte [esi + 7], bl
movzx ebx, dl
movzx ebx, byte [ebx*4 + 0x41e101]
mov byte [esi + 8], bl
mov ebx, ebp
shr ebx, 8
movzx ebx, bl
movzx ebx, byte [ebx*4 + 0x41e101]
mov byte [esi + 9], bl
mov ebx, eax
shr ebx, 0x10
movzx ebx, bl
movzx ebx, byte [ebx*4 + 0x41e101]
mov byte [esi + 0xa], bl
mov ebx, ecx
shr ebx, 0x18
movzx ebx, byte [ebx*4 + 0x41e101]
mov byte [esi + 0xb], bl
mov dword [esp + 0x38], ebp
movzx ebx, byte [esp + 0x38]
movzx ebx, byte [ebx*4 + 0x41e101]
shr eax, 8
movzx eax, al
mov byte [esi + 0xc], bl
movzx eax, byte [eax*4 + 0x41e101]
shr ecx, 0x10
movzx ecx, cl
mov byte [esi + 0xd], al
movzx eax, byte [ecx*4 + 0x41e101]
shr edx, 0x18
mov byte [esi + 0xe], al
mov cl, byte [edx*4 + 0x41e101]
mov byte [esi + 0xf], cl
mov edx, dword [edi + 0x1c]
add edx, 2
shl edx, 4
mov eax, dword [edx + edi]
xor dword [esi], eax
mov ecx, dword [edi + 0x1c]
add dword [esp + 0x1c], 0x10
mov ebp, dword [esp + 0x1c]
shl ecx, 4
mov edx, dword [ecx + edi + 0x24]
xor dword [esi + 4], edx
mov eax, dword [edi + 0x1c]
shl eax, 4
mov ecx, dword [eax + edi + 0x28]
xor dword [esi + 8], ecx
mov edx, dword [edi + 0x1c]
shl edx, 4
mov eax, dword [edx + edi + 0x2c]
xor dword [esi + 0xc], eax
mov eax, dword [esp + 0x28]
sub eax, 1
add esi, 0x10
test eax, eax
mov dword [esp + 0x28], eax
jg 0x401ba0
mov ecx, dword [esp + 0x20]
shl ecx, 4
mov ebx, ecx
sub ebx, dword [esp + 0x5c]
mov dword [esp + 0x24], ecx
add ebx, 0x10
mov ecx, 0x10
sub ecx, ebx
push ecx
lea edx, [esp + 0x40]
push ebp
push edx
call fcn.0040a290
push ebx
lea eax, [esp + 0x5c]
sub eax, ebx
push ebx
push eax
call fcn.0040a210
mov edx, dword [edi + 0x28]
xor edx, dword [esp + 0x5c]
mov ebp, dword [edi + 0x2c]
xor ebp, dword [esp + 0x60]
mov ecx, dword [edi + 0x24]
xor ecx, dword [esp + 0x58]
mov eax, dword [edi + 0x20]
xor eax, dword [esp + 0x54]
mov dword [esp + 0x50], ebp
mov ebx, edx
shr ebx, 0x10
movzx ebx, bl
shr ebp, 0x18
mov ebp, dword [ebp*4 + 0x41ed00]
xor ebp, dword [ebx*4 + 0x41e900]
mov ebx, ecx
shr ebx, 8
movzx ebx, bl
xor ebp, dword [ebx*4 + 0x41e500]
movzx ebx, al
xor ebp, dword [ebx*4 + 0x41e100]
mov ebx, dword [esp + 0x50]
mov dword [esi], ebp
shr ebx, 0x10
movzx ebx, bl
mov ebx, dword [ebx*4 + 0x41e900]
mov dword [esp + 0x2c], edx
shr edx, 8
movzx ebp, dl
xor ebx, dword [ebp*4 + 0x41e500]
mov ebp, eax
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x41ed00]
movzx ebp, cl
xor ebx, dword [ebp*4 + 0x41e100]
mov ebp, ecx
mov dword [esi + 4], ebx
mov ebx, dword [esp + 0x50]
shr ebx, 8
movzx ebx, bl
mov ebx, dword [ebx*4 + 0x41e500]
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x41ed00]
mov edx, eax
shr edx, 0x10
movzx ebp, dl
xor ebx, dword [ebp*4 + 0x41e900]
mov edx, dword [esp + 0x2c]
movzx ebp, dl
xor ebx, dword [ebp*4 + 0x41e100]
shr ecx, 0x10
shr edx, 0x18
mov dword [esi + 8], ebx
mov edx, dword [edx*4 + 0x41ed00]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x41e900]
movzx ecx, byte [esp + 0x50]
shr eax, 8
movzx eax, al
xor edx, dword [eax*4 + 0x41e500]
add esp, 0x18
xor edx, dword [ecx*4 + 0x41e100]
mov dword [esi + 0xc], edx
mov edx, dword [edi + 0x1c]
sub edx, 1
cmp edx, 1
mov dword [esp + 0x20], 1
jbe 0x4021d3
lea ebx, [edi + 0x34]
mov dword [esp + 0x10], ebx
mov edx, dword [ebx + 4]
mov ebp, dword [ebx + 8]
mov eax, dword [ebx - 4]
mov ecx, dword [ebx]
xor edx, dword [esi + 8]
xor ebp, dword [esi + 0xc]
xor ecx, dword [esi + 4]
xor eax, dword [esi]
mov dword [esp + 0x38], ebp
mov ebx, edx
shr ebx, 0x10
movzx ebx, bl
shr ebp, 0x18
mov ebp, dword [ebp*4 + 0x41ed00]
xor ebp, dword [ebx*4 + 0x41e900]
mov ebx, ecx
shr ebx, 8
movzx ebx, bl
xor ebp, dword [ebx*4 + 0x41e500]
movzx ebx, al
xor ebp, dword [ebx*4 + 0x41e100]
mov ebx, dword [esp + 0x38]
mov dword [esi], ebp
shr ebx, 0x10
movzx ebx, bl
mov ebx, dword [ebx*4 + 0x41e900]
mov dword [esp + 0x14], edx
shr edx, 8
movzx ebp, dl
xor ebx, dword [ebp*4 + 0x41e500]
mov ebp, eax
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x41ed00]
movzx ebp, cl
xor ebx, dword [ebp*4 + 0x41e100]
mov ebp, ecx
mov dword [esi + 4], ebx
mov ebx, dword [esp + 0x38]
shr ebx, 8
movzx ebx, bl
mov ebx, dword [ebx*4 + 0x41e500]
mov edx, eax
shr edx, 0x10
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x41ed00]
movzx ebp, dl
xor ebx, dword [ebp*4 + 0x41e900]
mov edx, dword [esp + 0x14]
movzx ebp, dl
xor ebx, dword [ebp*4 + 0x41e100]
shr edx, 0x18
mov dword [esi + 8], ebx
mov edx, dword [edx*4 + 0x41ed00]
mov ebx, dword [esp + 0x10]
shr ecx, 0x10
shr eax, 8
movzx ecx, cl
xor edx, dword [ecx*4 + 0x41e900]
movzx ecx, byte [esp + 0x38]
movzx eax, al
xor edx, dword [eax*4 + 0x41e500]
mov eax, dword [esp + 0x20]
xor edx, dword [ecx*4 + 0x41e100]
add eax, 1
mov dword [esi + 0xc], edx
mov edx, dword [edi + 0x1c]
add ebx, 0x10
sub edx, 1
cmp eax, edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], ebx
jb 0x4020b6
mov eax, dword [edi + 0x1c]
shl eax, 4
mov ecx, dword [eax + edi + 0x14]
mov edx, dword [eax + edi + 0x18]
lea ebp, [eax + edi]
mov eax, dword [ebp + 0x10]
xor eax, dword [esi]
mov ebp, dword [ebp + 0x1c]
movzx ebx, al
movzx ebx, byte [ebx*4 + 0x41e101]
mov byte [esi], bl
xor ecx, dword [esi + 4]
mov ebx, ecx
shr ebx, 8
movzx ebx, bl
movzx ebx, byte [ebx*4 + 0x41e101]
mov byte [esi + 1], bl
xor edx, dword [esi + 8]
xor ebp, dword [esi + 0xc]
mov ebx, edx
shr ebx, 0x10
movzx ebx, bl
movzx ebx, byte [ebx*4 + 0x41e101]
mov byte [esi + 2], bl
mov ebx, ebp
shr ebx, 0x18
movzx ebx, byte [ebx*4 + 0x41e101]
mov byte [esi + 3], bl
movzx ebx, cl
movzx ebx, byte [ebx*4 + 0x41e101]
mov byte [esi + 4], bl
mov ebx, edx
shr ebx, 8
movzx ebx, bl
movzx ebx, byte [ebx*4 + 0x41e101]
mov byte [esi + 5], bl
mov ebx, ebp
shr ebx, 0x10
movzx ebx, bl
movzx ebx, byte [ebx*4 + 0x41e101]
mov byte [esi + 6], bl
mov ebx, eax
shr ebx, 0x18
movzx ebx, byte [ebx*4 + 0x41e101]
mov byte [esi + 7], bl
movzx ebx, dl
movzx ebx, byte [ebx*4 + 0x41e101]
mov byte [esi + 8], bl
mov ebx, ebp
shr ebx, 8
movzx ebx, bl
movzx ebx, byte [ebx*4 + 0x41e101]
mov byte [esi + 9], bl
mov ebx, eax
shr ebx, 0x10
movzx ebx, bl
movzx ebx, byte [ebx*4 + 0x41e101]
mov byte [esi + 0xa], bl
mov ebx, ecx
shr ebx, 0x18
movzx ebx, byte [ebx*4 + 0x41e101]
mov byte [esi + 0xb], bl
mov dword [esp + 0x38], ebp
movzx ebx, byte [esp + 0x38]
movzx ebx, byte [ebx*4 + 0x41e101]
shr eax, 8
mov byte [esi + 0xc], bl
movzx eax, al
movzx eax, byte [eax*4 + 0x41e101]
shr ecx, 0x10
mov byte [esi + 0xd], al
movzx ecx, cl
movzx eax, byte [ecx*4 + 0x41e101]
shr edx, 0x18
mov byte [esi + 0xe], al
mov cl, byte [edx*4 + 0x41e101]
mov byte [esi + 0xf], cl
mov edx, dword [edi + 0x1c]
add edx, 2
shl edx, 4
mov eax, dword [edx + edi]
xor dword [esi], eax
mov ecx, dword [edi + 0x1c]
shl ecx, 4
mov edx, dword [ecx + edi + 0x24]
xor dword [esi + 4], edx
mov eax, dword [edi + 0x1c]
shl eax, 4
mov ecx, dword [eax + edi + 0x28]
xor dword [esi + 8], ecx
mov edx, dword [edi + 0x1c]
shl edx, 4
mov eax, dword [edx + edi + 0x2c]
xor dword [esi + 0xc], eax
mov eax, dword [esp + 0x24]
pop ebx
pop edi
pop esi
add eax, 0x10
pop ebp
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.0040a1eb
add esp, 0x40
ret 0x10
mov ecx, dword [esp + 0x4c]
pop ebx
pop edi
pop esi
pop ebp
xor ecx, esp
xor eax, eax
call fcn.0040a1eb
add esp, 0x40
ret 0x10