Function at 0x4625f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
xor edx, edx
push edi
push esi
push ebx
sub esp, 0x2c
mov ebx, dword [esp + 0x40]
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x4c]
mov eax, esi
add eax, dword [ebx + 0x38]
adc edx, dword [ebx + 0x3c]
cmp edx, 0xf
jbe 0x462620
add esp, 0x2c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
jae 0x4626d3
mov dword [ebx + 0x38], eax
mov eax, dword [ebx + 0x16c]
mov dword [ebx + 0x3c], edx
test eax, eax
jne 0x4626f0
mov eax, dword [ebx + 0x168]
test eax, eax
je 0x4626a8
test esi, esi
je 0x462683
mov ebp, dword [esp + 0x48]
jmp 0x462654
test esi, esi
je 0x46267b
movzx ecx, byte [ebx + eax + 0x40]
add ebp, 1
add edi, 1
movzx edx, byte [ebx + eax + 0x10]
sub esi, 1
xor dl, byte [ebp - 1]
xor ecx, edx
mov byte [edi - 1], dl
mov byte [ebx + eax + 0x40], cl
add eax, 1
and eax, 0xf
jne 0x462650
test eax, eax
mov dword [esp + 0x48], ebp
je 0x462696
mov dword [ebx + 0x168], eax
add esp, 0x2c
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [ebx + 0x60]
mov dword [esp + 4], eax
lea eax, [ebx + 0x40]
mov dword [esp], eax
call fcn.00448a20
mov eax, dword [ebx + 0xc]
mov ebp, esi
and ebp, 0xfffffff0
bswap eax
mov dword [esp + 0x18], eax
jne 0x462777
test esi, esi
jne 0x46271b
mov dword [ebx + 0x168], esi
add esp, 0x2c
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret
cmp eax, 0xffffffe0
ja 0x462612
mov dword [ebx + 0x38], eax
mov eax, dword [ebx + 0x16c]
mov dword [ebx + 0x3c], edx
test eax, eax
je 0x46263a
lea eax, [ebx + 0x60]
mov dword [esp + 4], eax
lea eax, [ebx + 0x40]
mov dword [esp], eax
call fcn.00448a20
mov eax, dword [ebx + 0x168]
mov dword [ebx + 0x16c], 0
test eax, eax
je 0x4626a8
jmp 0x462644
mov eax, dword [esp + 0x44]
mov dword [esp], ebx
mov dword [esp + 8], eax
lea eax, [ebx + 0x10]
mov dword [esp + 4], eax
call dword [ebx + 0x170]
mov eax, dword [esp + 0x18]
mov edx, ebx
mov ebp, dword [esp + 0x48]
mov dword [esp + 0x40], ebx
add eax, 1
bswap eax
mov dword [ebx + 0xc], eax
xor eax, eax
nop
lea esi, [esi]
movzx ebx, byte [edx + 0x40]
add edx, 1
movzx ecx, byte [edx + 0xf]
xor cl, byte [ebp + eax]
mov byte [edi + eax], cl
xor ebx, ecx
add eax, 1
mov byte [edx + 0x3f], bl
cmp eax, esi
jne 0x462750
mov ebx, dword [esp + 0x40]
jmp 0x4626c0
mov ecx, dword [esp + 0x44]
mov eax, ebp
sub esi, ebp
mov edx, dword [esp + 0x48]
shr eax, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 4], edi
mov dword [esp], edx
call dword [esp + 0x54]
mov ecx, dword [esp + 0x1c]
add dword [esp + 0x18], ecx
mov eax, dword [esp + 0x18]
add dword [esp + 0x48], ebp
test ecx, ecx
bswap eax
mov dword [ebx + 0xc], eax
je 0x4626bc
lea ecx, [ebx + 0x40]
mov ebp, edi
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x1c]
lea eax, [ebx + 0x60]
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], esi
mov esi, ebp
mov ebp, eax
mov edi, ecx
lea esi, [esi]
xor eax, eax
movzx edx, byte [esi + eax]
xor byte [ebx + eax + 0x40], dl
add eax, 1
cmp eax, 0x10
jne 0x4627e2
mov eax, dword [esp + 0x14]
add esi, 0x10
mov dword [esp + 4], ebp
mov dword [esp], eax
call fcn.00448a20
sub edi, 1
jne 0x4627e0
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x50]
shl eax, 4
add edi, eax
jmp 0x4626bc