Function at 0x101436a0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x20
push ebx
mov ebx, dword [esp + 0x38]
xor ecx, ecx
xor eax, eax
mov cl, byte [ebx]
mov ah, byte [ebx + 1]
inc ebx
or ecx, eax
inc ebx
xor edx, edx
xor eax, eax
push ebp
mov dl, byte [ebx]
mov al, byte [ebx + 1]
shl edx, 0x10
or ecx, edx
inc ebx
shl eax, 0x18
or ecx, eax
inc ebx
xor eax, eax
xor edx, edx
mov al, byte [ebx]
mov dh, byte [ebx + 1]
inc ebx
or eax, edx
inc ebx
xor edx, edx
xor ebp, ebp
push esi
mov dl, byte [ebx]
push edi
shl edx, 0x10
or eax, edx
inc ebx
xor edx, edx
mov dword [esp + 0x18], ecx
mov dl, byte [ebx]
shl edx, 0x18
or eax, edx
inc ebx
mov dword [esp + 0x10], eax
xor eax, eax
mov al, byte [ebx]
inc ebx
xor edx, edx
mov dh, byte [ebx]
or eax, edx
inc ebx
xor edx, edx
mov dl, byte [ebx]
shl edx, 0x10
or eax, edx
inc ebx
xor edx, edx
mov dl, byte [ebx]
shl edx, 0x18
or eax, edx
inc ebx
mov dword [esp + 0x14], eax
xor eax, eax
mov al, byte [ebx]
inc ebx
xor edx, edx
mov dh, byte [ebx]
or eax, edx
inc ebx
xor edx, edx
mov dl, byte [ebx]
shl edx, 0x10
or eax, edx
inc ebx
xor edx, edx
mov dl, byte [ebx]
shl edx, 0x18
or eax, edx
mov edx, dword [esp + 0x40]
add edx, 0xfffffff0
inc ebx
mov dword [esp + 0x44], eax
cmp edx, ebp
jl 0x10143b11
lea eax, [edx + 0x10]
mov edi, dword [esp + 0x3c]
shr eax, 4
mov esi, dword [esp + 0x38]
mov dword [esp + 0x40], eax
neg eax
shl eax, 4
add edx, eax
mov dword [esp + 0x1c], edx
xor eax, eax
xor ecx, ecx
mov al, byte [edi]
mov ch, byte [edi + 1]
inc edi
or eax, ecx
inc edi
xor edx, edx
xor ecx, ecx
mov dl, byte [edi]
mov cl, byte [edi + 1]
shl edx, 0x10
or eax, edx
inc edi
shl ecx, 0x18
or eax, ecx
inc edi
xor edx, edx
xor ecx, ecx
mov dl, byte [edi]
mov ch, byte [edi + 1]
inc edi
mov ebp, edx
or ebp, ecx
inc edi
xor edx, edx
xor ecx, ecx
mov dl, byte [edi]
mov cl, byte [edi + 1]
shl edx, 0x10
or ebp, edx
inc edi
shl ecx, 0x18
or ebp, ecx
inc edi
xor ecx, ecx
xor edx, edx
mov cl, byte [edi]
mov dh, byte [edi + 1]
inc edi
or ecx, edx
inc edi
xor edx, edx
mov dl, byte [edi]
shl edx, 0x10
or ecx, edx
inc edi
xor edx, edx
mov dl, byte [edi]
shl edx, 0x18
or ecx, edx
inc edi
mov dword [esp + 0x3c], ecx
xor ecx, ecx
mov cl, byte [edi]
inc edi
xor edx, edx
mov dh, byte [edi]
or ecx, edx
inc edi
xor edx, edx
mov dl, byte [edi]
shl edx, 0x10
or ecx, edx
inc edi
xor edx, edx
mov dl, byte [edi]
shl edx, 0x18
or ecx, edx
mov edx, dword [esp + 0x18]
xor eax, edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
xor ebp, eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x24], ebp
mov ebp, dword [esp + 0x14]
inc edi
xor eax, ebp
mov dword [esp + 0x28], eax
xor ecx, edx
lea eax, [esp + 0x20]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x34]
push eax
push ecx
call fcn.101412a0
mov eax, dword [esp + 0x28]
add esp, 8
mov byte [esi], al
mov edx, eax
inc esi
mov ecx, eax
shr edx, 8
mov byte [esi], dl
mov edx, eax
inc esi
mov dword [esp + 0x18], ecx
shr edx, 0x10
mov byte [esi], dl
inc esi
shr eax, 0x18
mov byte [esi], al
mov eax, dword [esp + 0x24]
inc esi
mov edx, eax
shr edx, 8
mov byte [esi], al
inc esi
mov dword [esp + 0x10], eax
mov byte [esi], dl
mov edx, eax
inc esi
shr edx, 0x10
mov byte [esi], dl
inc esi
shr eax, 0x18
mov byte [esi], al
mov eax, dword [esp + 0x28]
inc esi
mov edx, eax
shr edx, 8
mov byte [esi], al
inc esi
mov dword [esp + 0x14], eax
mov byte [esi], dl
mov edx, eax
inc esi
shr edx, 0x10
mov byte [esi], dl
inc esi
shr eax, 0x18
mov byte [esi], al
mov eax, dword [esp + 0x2c]
inc esi
mov edx, eax
shr edx, 8
mov byte [esi], al
inc esi
mov dword [esp + 0x44], eax
mov byte [esi], dl
mov edx, eax
inc esi
shr edx, 0x10
mov byte [esi], dl
inc esi
shr eax, 0x18
mov byte [esi], al
mov eax, dword [esp + 0x40]
inc esi
dec eax
mov dword [esp + 0x40], eax
jne 0x1014376c
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x44]
xor ebp, ebp
cmp edx, 0xfffffff0
je 0x10143a9b
lea edi, [edi + edx + 0x10]
mov dword [esp + 0x44], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebp
add edx, 0xf
xor ebp, ebp
cmp edx, 0xf
ja case.default.0x101438fb
jmp dword [edx*4 + 0x10143b20]
dec edi
xor edx, edx
mov dl, byte [edi]
shl edx, 0x18
mov dword [esp + 0x44], edx
mov ebp, dword [esp + 0x44]
dec edi
xor edx, edx
mov dl, byte [edi]
shl edx, 0x10
or ebp, edx
mov dword [esp + 0x44], ebp
mov ebp, dword [esp + 0x44]
dec edi
xor edx, edx
mov dh, byte [edi]
or ebp, edx
mov dword [esp + 0x44], ebp
mov ebp, dword [esp + 0x44]
dec edi
xor edx, edx
mov dl, byte [edi]
or ebp, edx
mov dword [esp + 0x44], ebp
dec edi
xor edx, edx
mov dl, byte [edi]
shl edx, 0x18
mov dword [esp + 0x3c], edx
mov ebp, dword [esp + 0x3c]
dec edi
xor edx, edx
mov dl, byte [edi]
shl edx, 0x10
or ebp, edx
mov dword [esp + 0x3c], ebp
mov ebp, dword [esp + 0x3c]
dec edi
xor edx, edx
mov dh, byte [edi]
or ebp, edx
mov dword [esp + 0x3c], ebp
mov ebp, dword [esp + 0x3c]
dec edi
xor edx, edx
mov dl, byte [edi]
or ebp, edx
mov dword [esp + 0x3c], ebp
dec edi
xor edx, edx
mov dl, byte [edi]
shl edx, 0x18
mov dword [esp + 0x38], edx
mov ebp, dword [esp + 0x38]
dec edi
xor edx, edx
mov dl, byte [edi]
shl edx, 0x10
or ebp, edx
mov dword [esp + 0x38], ebp
mov ebp, dword [esp + 0x38]
dec edi
xor edx, edx
mov dh, byte [edi]
or ebp, edx
mov dword [esp + 0x38], ebp
mov ebp, dword [esp + 0x38]
dec edi
xor edx, edx
mov dl, byte [edi]
or ebp, edx
mov dword [esp + 0x38], ebp
dec edi
xor edx, edx
mov dl, byte [edi]
mov ebp, edx
shl ebp, 0x18
dec edi
xor edx, edx
mov dl, byte [edi]
shl edx, 0x10
or ebp, edx
dec edi
xor edx, edx
mov dh, byte [edi]
or ebp, edx
xor edx, edx
mov dl, byte [edi - 1]
or ebp, edx
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
xor ebp, ecx
mov ecx, dword [esp + 0x38]
xor ecx, edi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x3c]
xor ecx, edx
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x44]
xor ecx, eax
lea eax, [esp + 0x20]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x34]
push eax
push ecx
call fcn.101412a0
mov eax, dword [esp + 0x28]
add esp, 8
mov byte [esi], al
mov edx, eax
inc esi
mov ecx, eax
shr edx, 8
mov byte [esi], dl
mov edx, eax
inc esi
shr edx, 0x10
mov byte [esi], dl
inc esi
shr eax, 0x18
mov byte [esi], al
mov eax, dword [esp + 0x24]
inc esi
mov edx, eax
shr edx, 8
mov byte [esi], al
inc esi
mov dword [esp + 0x10], eax
mov byte [esi], dl
mov edx, eax
inc esi
shr edx, 0x10
mov byte [esi], dl
inc esi
shr eax, 0x18
mov byte [esi], al
mov eax, dword [esp + 0x28]
inc esi
mov edx, eax
shr edx, 8
mov byte [esi], al
inc esi
mov dword [esp + 0x14], eax
mov byte [esi], dl
mov edx, eax
inc esi
shr edx, 0x10
mov byte [esi], dl
inc esi
shr eax, 0x18
mov byte [esi], al
mov eax, dword [esp + 0x2c]
inc esi
mov edx, eax
shr edx, 8
mov byte [esi], al
inc esi
mov dword [esp + 0x44], eax
mov byte [esi], dl
mov edx, eax
inc esi
shr edx, 0x10
shr eax, 0x18
mov byte [esi], dl
mov byte [esi + 1], al
mov eax, dword [esp + 0x44]
sub ebx, 0x10
mov edx, ecx
shr edx, 8
mov byte [ebx], cl
inc ebx
pop edi
pop esi
mov byte [ebx], dl
mov edx, ecx
inc ebx
pop ebp
shr edx, 0x10
mov byte [ebx], dl
inc ebx
shr ecx, 0x18
mov byte [ebx], cl
mov ecx, dword [esp + 4]
inc ebx
mov edx, ecx
shr edx, 8
mov byte [ebx], cl
inc ebx
mov byte [ebx], dl
mov edx, ecx
inc ebx
shr edx, 0x10
mov byte [ebx], dl
inc ebx
shr ecx, 0x18
mov byte [ebx], cl
mov ecx, dword [esp + 8]
inc ebx
mov edx, ecx
shr edx, 8
mov byte [ebx], cl
inc ebx
mov byte [ebx], dl
mov edx, ecx
inc ebx
shr edx, 0x10
mov byte [ebx], dl
inc ebx
shr ecx, 0x18
mov byte [ebx], cl
inc ebx
mov ecx, eax
mov edx, eax
mov byte [ebx], al
inc ebx
shr ecx, 8
mov byte [ebx], cl
inc ebx
shr edx, 0x10
shr eax, 0x18
mov byte [ebx], dl
mov byte [ebx + 1], al
pop ebx
add esp, 0x20
ret
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
jmp 0x101438d4