Function at 0x446261
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0x18]
push ebx
push esi
push edi
lea ecx, [eax + 1]
movzx eax, byte [eax]
movzx edx, byte [ecx]
movzx ebx, byte [ecx + 3]
shl eax, 8
or edx, eax
shl ebx, 0x18
movzx eax, byte [ecx + 1]
shl edx, 0x10
shl eax, 8
or edx, eax
movzx eax, byte [ecx + 2]
or edx, eax
cmp dword [ebp + 0x1c], 0
mov dword [ebp + 0x1c], edx
je 0x4464b6
movzx eax, byte [ecx + 4]
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
shl eax, 0x10
or ebx, eax
movzx eax, byte [ecx + 5]
shl eax, 8
or ebx, eax
lea eax, [ecx + 6]
mov dword [ebp - 4], eax
lea ecx, [edi - 8]
movzx eax, byte [eax]
or ebx, eax
mov dword [ebp - 8], ecx
test ecx, ecx
js 0x4463a7
shr edi, 3
imul eax, edi, 0xfffffff8
add ecx, eax
mov dword [ebp - 8], ecx
mov ecx, dword [ebp + 8]
jmp 0x4462e5
mov ecx, dword [ebp + 0x10]
movzx edx, byte [ecx]
movzx eax, byte [ecx + 1]
shl eax, 0x10
shl edx, 0x18
or edx, eax
movzx eax, byte [ecx + 2]
shl eax, 8
or edx, eax
movzx eax, byte [ecx + 3]
add ecx, 4
or edx, eax
mov dword [ebp + 0x10], ecx
mov eax, dword [ebp + 0x10]
push dword [ebp + 0x14]
movzx ecx, byte [ecx]
shl ecx, 0x18
inc eax
mov dword [ebp + 0x10], eax
xor edx, dword [ebp + 0x1c]
mov dword [ebp - 0x1c], edx
movzx eax, byte [eax]
shl eax, 0x10
or ecx, eax
mov eax, dword [ebp + 0x10]
inc eax
mov dword [ebp + 0x10], eax
movzx eax, byte [eax]
shl eax, 8
or ecx, eax
mov eax, dword [ebp + 0x10]
inc eax
mov dword [ebp + 0x10], eax
movzx eax, byte [eax]
or ecx, eax
inc dword [ebp + 0x10]
lea eax, [ebp - 0x1c]
xor ecx, ebx
push eax
mov dword [ebp - 0x18], ecx
call fcn.00446afa
mov edx, dword [ebp - 0x1c]
mov eax, edx
mov ebx, dword [ebp - 0x18]
shr eax, 0x18
mov byte [esi], al
mov eax, edx
shr eax, 0x10
mov byte [esi + 1], al
mov eax, edx
shr eax, 8
mov byte [esi + 2], al
mov eax, ebx
shr eax, 0x18
mov byte [esi + 4], al
mov eax, ebx
shr eax, 0x10
mov byte [esi + 5], al
mov eax, ebx
shr eax, 8
mov byte [esi + 3], dl
mov byte [esi + 6], al
mov byte [esi + 7], bl
add esi, 8
mov dword [ebp + 0x1c], edx
pop ecx
pop ecx
sub edi, 1
jne 0x4462e2
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 8]
jmp 0x4463aa
mov eax, dword [ebp + 8]
cmp ecx, 0xfffffff8
je 0x446472
mov edx, dword [ebp - 8]
add eax, 8
xor edi, edi
add ecx, eax
add edx, 7
mov eax, edi
mov dword [ebp + 0x10], eax
mov dword [ebp - 0x24], edx
cmp edx, 7
ja case.default.0x4463cd
jmp dword [edx*4 + 0x446705]
dec ecx
movzx edi, byte [ecx]
dec ecx
movzx eax, byte [ecx]
shl eax, 8
or edi, eax
dec ecx
movzx eax, byte [ecx]
shl eax, 0x10
or edi, eax
dec ecx
movzx eax, byte [ecx]
shl eax, 0x18
or edi, eax
dec ecx
movzx eax, byte [ecx]
mov dword [ebp + 0x10], eax
dec ecx
movzx eax, byte [ecx]
shl eax, 8
or dword [ebp + 0x10], eax
dec ecx
movzx eax, byte [ecx]
shl eax, 0x10
or dword [ebp + 0x10], eax
movzx eax, byte [ecx - 1]
shl eax, 0x18
or dword [ebp + 0x10], eax
mov eax, dword [ebp + 0x10]
xor eax, dword [ebp + 0x1c]
xor edi, ebx
push dword [ebp + 0x14]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x18], edi
call fcn.00446afa
mov edx, dword [ebp - 0x1c]
mov eax, edx
mov ebx, dword [ebp - 0x18]
shr eax, 0x18
mov byte [esi], al
mov eax, edx
shr eax, 0x10
mov byte [esi + 1], al
mov eax, edx
shr eax, 8
mov byte [esi + 2], al
mov eax, ebx
shr eax, 0x18
mov byte [esi + 4], al
mov eax, ebx
shr eax, 0x10
mov byte [esi + 5], al
mov eax, ebx
pop ecx
shr eax, 8
pop ecx
mov dword [ebp + 0x1c], edx
mov byte [esi + 3], dl
mov byte [esi + 6], al
mov byte [esi + 7], bl
mov edi, dword [ebp - 4]
mov ecx, ebx
add edi, 0xfffffffa
shr ecx, 0x10
mov esi, ebx
mov dword [ebp - 0x20], ecx
shr esi, 0x18
lea eax, [edi + 4]
mov dword [ebp - 0x10], eax
mov eax, ebx
shr eax, 8
mov dword [ebp + 0x10], eax
mov eax, edx
shr eax, 8
mov dword [ebp - 8], eax
mov eax, edx
shr eax, 0x10
mov dword [ebp - 0xc], eax
mov eax, edx
shr eax, 0x18
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x24], eax
jmp 0x4466c3
lea eax, [ecx + 4]
mov edi, dword [ebp + 0xc]
mov ecx, eax
mov dword [ebp - 0x10], eax
mov esi, ecx
mov dword [ebp - 0x24], esi
movzx eax, byte [ecx]
shl eax, 0x10
or ebx, eax
movzx eax, byte [ecx + 1]
shl eax, 8
or ebx, eax
lea eax, [esi + 2]
mov dword [ebp - 4], eax
movzx eax, byte [eax]
or ebx, eax
mov eax, dword [ebp + 0x10]
lea ecx, [eax - 8]
mov dword [ebp - 0xc], ecx
test ecx, ecx
js 0x4465c5
shr eax, 3
mov dword [ebp + 0x10], eax
imul eax, eax, 0xfffffff8
mov dword [ebp - 8], edi
add ecx, eax
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp + 8]
movzx edi, byte [ecx]
movzx eax, byte [ecx + 1]
movzx esi, byte [ecx + 4]
shl eax, 0x10
push dword [ebp + 0x14]
shl edi, 0x18
or edi, eax
shl esi, 0x18
movzx eax, byte [ecx + 2]
shl eax, 8
or edi, eax
movzx eax, byte [ecx + 3]
or edi, eax
movzx eax, byte [ecx + 5]
shl eax, 0x10
or esi, eax
mov dword [ebp - 0x1c], edi
movzx eax, byte [ecx + 6]
shl eax, 8
or esi, eax
movzx eax, byte [ecx + 7]
or esi, eax
add ecx, 8
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x14], ecx
push eax
mov dword [ebp - 0x18], esi
call fcn.00446745
mov edx, dword [ebp - 0x18]
xor edx, ebx
mov ebx, dword [ebp - 8]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, dword [ebp + 0x1c]
mov eax, ecx
shr eax, 0x18
mov byte [ebx], al
mov eax, ecx
shr eax, 0x10
mov byte [ebx + 1], al
mov eax, ecx
shr eax, 8
mov byte [ebx + 2], al
mov eax, edx
shr eax, 0x18
mov byte [ebx + 4], al
mov eax, edx
shr eax, 0x10
mov byte [ebx + 5], al
mov eax, edx
shr eax, 8
mov byte [ebx + 3], cl
mov ecx, dword [ebp - 0x14]
mov byte [ebx + 7], dl
mov edx, edi
mov byte [ebx + 6], al
add ebx, 8
sub dword [ebp + 0x10], 1
mov dword [ebp - 8], ebx
mov ebx, esi
mov dword [ebp + 0x1c], edx
jne 0x446507
mov edi, dword [ebp - 8]
mov esi, ecx
mov ecx, dword [ebp - 0xc]
jmp 0x4465c8
mov esi, dword [ebp + 8]
cmp ecx, 0xfffffff8
je 0x446690
movzx edx, byte [esi]
movzx eax, byte [esi + 1]
movzx ecx, byte [esi + 4]
shl eax, 0x10
push dword [ebp + 0x14]
shl edx, 0x18
or edx, eax
shl ecx, 0x18
movzx eax, byte [esi + 2]
shl eax, 8
or edx, eax
movzx eax, byte [esi + 3]
or edx, eax
movzx eax, byte [esi + 5]
shl eax, 0x10
or ecx, eax
mov dword [ebp - 0x20], edx
movzx eax, byte [esi + 7]
mov dword [ebp + 0x10], ecx
movzx ecx, byte [esi + 6]
shl ecx, 8
or ecx, eax
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp + 0x10]
or eax, ecx
mov dword [ebp + 0x10], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00446745
mov esi, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
xor edx, dword [ebp + 0x1c]
xor eax, ebx
pop ecx
pop ecx
lea ecx, [esi + 8]
mov dword [ebp + 0x1c], eax
add esi, 7
add ecx, edi
cmp esi, 7
ja case.default.0x44664c
jmp dword [esi*4 + 0x446725]
dec ecx
mov byte [ecx], al
dec ecx
shr eax, 8
mov byte [ecx], al
mov eax, dword [ebp + 0x1c]
dec ecx
shr eax, 0x10
mov byte [ecx], al
mov eax, dword [ebp + 0x1c]
dec ecx
shr eax, 0x18
mov byte [ecx], al
dec ecx
mov byte [ecx], dl
dec ecx
mov eax, edx
shr eax, 8
mov byte [ecx], al
dec ecx
mov eax, edx
shr eax, 0x10
mov byte [ecx], al
shr edx, 0x18
mov byte [ecx - 1], dl
mov edx, dword [ebp - 0x20]
mov ebx, dword [ebp + 0x10]
mov dword [ebp + 0x1c], edx
mov edi, dword [ebp - 4]
mov eax, ebx
shr eax, 8
mov ecx, ebx
mov dword [ebp + 0x10], eax
mov esi, ebx
mov eax, edx
shr ecx, 0x10
shr eax, 8
add edi, 0xfffffffa
mov dword [ebp - 8], eax
mov eax, edx
mov dword [ebp - 0x20], ecx
mov ecx, edx
shr eax, 0x10
shr esi, 0x18
shr ecx, 0x18
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], esi
mov esi, edi
push 0xfffffffffffffff9
pop edx
mov byte [ecx + edx], al
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp + 0x1c]
mov ecx, dword [ebp - 0x20]
mov byte [edi], al
mov eax, dword [ebp - 8]
mov byte [edi + 1], al
mov eax, dword [ebp - 0x10]
mov byte [esi + 2], dl
mov edx, dword [ebp - 0x18]
mov byte [esi + 3], dl
mov byte [eax], cl
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp + 0x10]
pop edi
pop esi
mov byte [ecx + 1], al
mov byte [ecx + 2], bl
pop ebx
leave
ret