Function at 0x1ffb5cb0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0xac
push ebx
mov eax, dword [eax]
push esi
test eax, eax
push edi
push ebp
je 0x1ffb5cca
push eax
call sub.LTKRN13N.dll_Ordinal_283
mov eax, dword [esp + 0xc4]
mov edi, dword [esp + 0xcc]
and edi, 1
mov dword [eax], 0
jne 0x1ffb5d9c
lea esi, [esp + 0x14]
push 0x50
lea eax, [esp + 0x6c]
mov ebp, dword [esp + 0xc4]
push eax
push ebp
call dword [ebp]
add esp, 0xc
test eax, eax
jge 0x1ffb5d0b
mov eax, 0xfffffff9
jmp 0x1ffb5d4f
xor ecx, ecx
lea ebx, [esp + 0x68]
mov byte [esp + eax + 0x68], cl
cmp byte [esp + 0x68], 0x20
jl 0x1ffb5d28
mov dl, byte [ebx]
inc ebx
mov byte [esi], dl
inc esi
inc ecx
cmp byte [ebx], 0x20
jge 0x1ffb5d1c
mov byte [esi], 0
cmp byte [ebx], 0
je 0x1ffb5d3c
cmp byte [ebx], 0x20
jge 0x1ffb5d3c
inc ebx
inc ecx
cmp byte [ebx], 0
jne 0x1ffb5d30
sub eax, ecx
push 1
neg eax
push eax
push ebp
call dword [ebp + 8]
add esp, 0xc
mov eax, 1
cmp eax, 1
jne 0x1ffb5eef
lea eax, [esp + 0x10]
push 0xa
lea ecx, [esp + 0x18]
push eax
push ecx
call fcn.1ffd7d60
lea ecx, [esp + 0x20]
add esp, 0xc
cmp dword [esp + 0x10], ecx
je 0x1ffb5d8d
mov ecx, dword [esp + 0x10]
cmp byte [ecx], 0
jne 0x1ffb5d8d
mov dword [esp + 0xd0], eax
mov eax, 1
jmp 0x1ffb5d92
mov eax, 0xfffffff9
cmp eax, 1
je 0x1ffb5da3
jmp 0x1ffb5eef
mov ebp, dword [esp + 0xc0]
mov eax, dword [esp + 0xd0]
inc eax
push eax
call sub.LTKRN13N.dll_Ordinal_282
mov dword [esp + 0x10], eax
test eax, eax
jne 0x1ffb5dc3
mov eax, 0xffffffff
jmp 0x1ffb5eef
mov eax, dword [esp + 0xd0]
test edi, edi
je 0x1ffb5df2
mov ecx, dword [esp + 0x10]
push eax
push ecx
push ebp
call dword [ebp]
sub eax, dword [esp + 0xdc]
add esp, 0xc
cmp eax, 1
sbb esi, esi
and esi, 8
sub esi, 7
jmp 0x1ffb5e8b
lea esi, [esp + 0x14]
xor edi, edi
mov dword [esp + 0x68], eax
cmp eax, edi
mov ebx, dword [esp + 0x10]
mov byte [esp + 0x14], 0
je 0x1ffb5e86
cmp byte [esi], 0
jne 0x1ffb5e25
lea eax, [esp + 0x14]
push eax
push ebp
call fcn.1ffae940
add esp, 8
cmp eax, 1
jne 0x1ffb5e9e
lea esi, [esp + 0x14]
mov al, byte [edi + 0x1ffe4e18]
mov cl, byte [esi]
sub cl, 0x20
lea edx, [edi*4]
and al, cl
mov ecx, dword [edx + 0x1ffe4e20]
test ecx, ecx
jge 0x1ffb5e49
neg cl
shr al, cl
jmp 0x1ffb5e4b
shl al, cl
cmp dword [edx + 0x1ffe4e38], 0
je 0x1ffb5e58
mov byte [ebx], al
jmp 0x1ffb5e5a
or byte [ebx], al
cmp dword [edx + 0x1ffe4e68], 0
je 0x1ffb5e68
inc ebx
dec dword [esp + 0x68]
cmp dword [edx + 0x1ffe4e50], 0
je 0x1ffb5e72
inc esi
lea eax, [edi + 1]
mov ecx, 6
cdq
idiv ecx
cmp dword [esp + 0x68], 0
mov edi, edx
jne 0x1ffb5e09
mov esi, 1
cmp esi, 1
je 0x1ffb5ea2
mov ecx, dword [esp + 0x10]
push ecx
call sub.LTKRN13N.dll_Ordinal_283
mov eax, esi
jmp 0x1ffb5eef
mov esi, eax
jmp 0x1ffb5e8b
cmp dword [esp + 0xc8], 0
je 0x1ffb5ed2
mov eax, dword [esp + 0xd0]
mov ecx, dword [esp + 0x10]
mov dl, 0x55
test eax, eax
je 0x1ffb5ed2
test ecx, ecx
je 0x1ffb5ed2
test eax, eax
je 0x1ffb5ed2
mov bl, byte [ecx]
inc ecx
xor dl, bl
dec eax
mov byte [ecx - 1], dl
mov dl, bl
jne 0x1ffb5ec5
mov eax, dword [esp + 0xd0]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc4]
mov byte [eax + ecx], 0
mov eax, 1
mov dword [edx], ecx
pop ebp
pop edi
pop esi
pop ebx
add esp, 0xac
ret 0x14