Function at 0x424ac0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x28
xor eax, eax
push ebx
mov dword [esp + 5], eax
push ebp
mov ebp, dword [esp + 0x4c]
mov word [esp + 0xd], ax
mov byte [esp + 0xf], al
mov eax, dword [esp + 0x44]
mov ebx, ebp
push esi
shr ebx, 3
test eax, eax
push edi
mov byte [esp + 0x10], 0
je 0x424afe
push 8
push eax
lea ecx, [esp + 0x18]
push 8
push ecx
call fcn.0041a8b0
add esp, 0x10
mov eax, dword [esp + 0x3c]
cmp eax, 1
jne 0x424c5a
mov eax, dword [esp + 0x40]
test eax, eax
mov eax, dword [esp + 0x44]
jne 0x424b5d
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x48]
test eax, eax
mov eax, dword [esp + 0x50]
push edx
push ebp
push eax
push 8
push ecx
jne 0x424b45
call fcn.00424eb0
mov ecx, dword [esp + 0x70]
add esp, 0x14
xor eax, eax
pop edi
mov dword [ecx], ebp
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
call fcn.00425450
mov ecx, dword [esp + 0x70]
add esp, 0x14
xor eax, eax
pop edi
mov dword [ecx], ebp
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
test eax, eax
jne 0x424bdb
mov edx, ebx
dec ebx
test edx, edx
je 0x424e99
mov edi, dword [esp + 0x58]
mov esi, dword [esp + 0x50]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
inc ebx
mov dword [esp + 0x44], ebx
mov ebx, dword [esp + 0x48]
mov edx, dword [esi]
xor edx, eax
mov eax, dword [esi + 4]
xor eax, ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], edx
push ecx
lea edx, [esp + 0x34]
push 8
push edx
push 8
push ebx
mov dword [esp + 0x48], eax
call fcn.00424eb0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x58]
mov dword [edi], eax
mov dword [edi + 4], ecx
add esp, 0x14
add esi, 8
add edi, 8
dec edx
mov dword [esp + 0x44], edx
jne 0x424b85
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
xor eax, eax
mov dword [ecx], ebp
pop ebp
pop ebx
add esp, 0x28
ret
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x58]
cmp ebx, 1
lea edi, [eax + ebp - 8]
lea esi, [ecx + ebp - 8]
jbe 0x424c21
dec ebx
mov edx, dword [esp + 0x48]
push esi
push 8
push edi
push 8
push edx
call fcn.00425450
mov eax, dword [edi - 8]
mov ecx, dword [esi]
sub edi, 8
mov edx, dword [esi + 4]
xor ecx, eax
add esp, 0x14
mov dword [esi], ecx
mov ecx, dword [edi + 4]
xor edx, ecx
mov dword [esi + 4], edx
sub esi, 8
dec ebx
jne 0x424bf1
mov edx, dword [esp + 0x48]
push esi
push 8
push edi
push 8
push edx
call fcn.00425450
mov eax, dword [esp + 0x24]
mov ecx, dword [esi]
xor ecx, eax
mov eax, dword [esi + 4]
mov dword [esi], ecx
mov ecx, dword [esp + 0x28]
add esp, 0x14
xor eax, ecx
mov ecx, dword [esp + 0x5c]
mov dword [esi + 4], eax
pop edi
pop esi
mov dword [ecx], ebp
pop ebp
xor eax, eax
pop ebx
add esp, 0x28
ret
cmp eax, 2
mov eax, dword [esp + 0x48]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
jne 0x424c84
mov esi, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], ecx
jmp 0x424c9c
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x20], ecx
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x24], edx
mov edx, dword [eax + 0x14]
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x40]
mov dword [esp + 0x1c], edx
test eax, eax
mov eax, dword [esp + 0x44]
jne 0x424d44
mov esi, dword [esp + 0x58]
test eax, eax
push esi
push ebp
jne 0x424cff
mov eax, dword [esp + 0x58]
lea ecx, [esp + 0x30]
push eax
push 8
push ecx
call fcn.00424eb0
push esi
push ebp
push esi
lea edx, [esp + 0x40]
push 8
push edx
call fcn.00425450
push esi
push ebp
push esi
lea eax, [esp + 0x4c]
push 8
push eax
call fcn.00424eb0
mov ecx, dword [esp + 0x98]
add esp, 0x3c
xor eax, eax
pop edi
mov dword [ecx], ebp
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
mov ecx, dword [esp + 0x58]
lea edx, [esp + 0x20]
push ecx
push 8
push edx
call fcn.00425450
push esi
push ebp
push esi
lea eax, [esp + 0x40]
push 8
push eax
call fcn.00424eb0
push esi
push ebp
push esi
lea ecx, [esp + 0x5c]
push 8
push ecx
call fcn.00425450
mov ecx, dword [esp + 0x98]
add esp, 0x3c
xor eax, eax
pop edi
mov dword [ecx], ebp
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
test eax, eax
jne 0x424dea
mov edx, ebx
dec ebx
test edx, edx
je 0x424e99
mov edi, dword [esp + 0x58]
mov esi, dword [esp + 0x50]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
inc ebx
mov edx, dword [esi]
xor edx, eax
mov eax, dword [esi + 4]
xor eax, ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], edx
push ecx
lea edx, [esp + 0x34]
mov dword [esp + 0x38], eax
push 8
push edx
lea eax, [esp + 0x34]
push 8
push eax
call fcn.00424eb0
lea ecx, [esp + 0x44]
lea edx, [esp + 0x44]
push ecx
push 8
push edx
lea eax, [esp + 0x40]
push 8
push eax
call fcn.00425450
lea ecx, [esp + 0x38]
lea edx, [esp + 0x58]
push ecx
push 8
push edx
lea eax, [esp + 0x4c]
push 8
push eax
call fcn.00424eb0
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov dword [edi], eax
mov dword [edi + 4], ecx
add esp, 0x3c
add esi, 8
add edi, 8
dec ebx
jne 0x424d68
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
xor eax, eax
mov dword [ecx], ebp
pop ebp
pop ebx
add esp, 0x28
ret
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x58]
cmp ebx, 1
lea edi, [ecx + ebp - 8]
lea esi, [edx + ebp - 8]
jbe 0x424e50
dec ebx
push esi
push 8
push edi
lea eax, [esp + 0x24]
push 8
push eax
call fcn.00425450
push esi
push 8
push esi
lea ecx, [esp + 0x40]
push 8
push ecx
call fcn.00424eb0
push esi
push 8
push esi
lea edx, [esp + 0x5c]
push 8
push edx
call fcn.00425450
mov eax, dword [edi - 8]
mov ecx, dword [esi]
sub edi, 8
mov edx, dword [esi + 4]
xor ecx, eax
add esp, 0x3c
mov dword [esi], ecx
mov ecx, dword [edi + 4]
xor edx, ecx
mov dword [esi + 4], edx
sub esi, 8
dec ebx
jne 0x424e00
push esi
push 8
push edi
lea edx, [esp + 0x24]
push 8
push edx
call fcn.00425450
push esi
push 8
push esi
lea eax, [esp + 0x40]
push 8
push eax
call fcn.00424eb0
push esi
push 8
push esi
lea ecx, [esp + 0x5c]
push 8
push ecx
call fcn.00425450
mov edx, dword [esp + 0x4c]
mov edi, dword [esi]
mov eax, dword [esp + 0x50]
mov ecx, dword [esi + 4]
add esp, 0x3c
xor edi, edx
xor ecx, eax
mov dword [esi], edi
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
xor eax, eax
mov dword [ecx], ebp
pop ebp
pop ebx
add esp, 0x28
ret