Function at 0x468a2c9
Capabilities:
Encode data using xor

Disassembly:
cmp dword [ecx], 0xffffffff
je 0x468a3c0
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x38
mov ebx, ecx
push 0x1006c792
push dword [0x46b7ed0]
call fcn.046abc60
add esp, 8
lea ecx, [esp + 0x10]
push 8
push 2
push ecx
push dword [ebx]
call eax
test eax, eax
jle 0x468a3c5
movzx eax, byte [esp + 0x11]
mov ecx, eax
xor ecx, 0x80
or eax, 0x7f
and eax, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 0
cmp eax, 0x7f
je 0x468a409
cmp eax, 0x7e
jne 0x468a49c
mov word [esp], 0
push 0x1006c792
push dword [0x46b7ed0]
call fcn.046abc60
add esp, 8
mov ecx, esp
push 8
push 2
push ecx
push dword [ebx]
call eax
test eax, eax
setg dl
jg 0x468a399
cmp dword [ebx], 0xffffffff
je 0x468a399
push 0xea8d1240
push dword [0x46b7ed0]
mov esi, edx
call fcn.046abc60
add esp, 8
push 2
push dword [ebx]
call eax
push 0xa3d60213
push dword [0x46b7ed0]
call fcn.046abc60
add esp, 8
push dword [ebx]
call eax
mov edx, esi
mov dword [ebx], 0xffffffff
movzx eax, word [esp]
rol ax, 8
movzx eax, ax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 0
cmp byte [esp + 0x11], 0
jns 0x468a671
jmp 0x468a4a9
xor eax, eax
ret 4
cmp dword [ebx], 0xffffffff
je 0x468a67b
push 0xea8d1240
push dword [0x46b7ed0]
call fcn.046abc60
add esp, 8
push 2
push dword [ebx]
call eax
push 0xa3d60213
push dword [0x46b7ed0]
call fcn.046abc60
add esp, 8
push dword [ebx]
call eax
mov dword [ebx], 0xffffffff
jmp 0x468a67b
mov dword [esp + 4], 0
mov dword [esp], 0
push 0x1006c792
push dword [0x46b7ed0]
call fcn.046abc60
add esp, 8
mov ecx, esp
push 8
push 8
push ecx
push dword [ebx]
call eax
test eax, eax
setg dl
jg 0x468a47c
cmp dword [ebx], 0xffffffff
je 0x468a47c
push 0xea8d1240
push dword [0x46b7ed0]
mov esi, edx
call fcn.046abc60
add esp, 8
push 2
push dword [ebx]
call eax
push 0xa3d60213
push dword [0x46b7ed0]
call fcn.046abc60
add esp, 8
push dword [ebx]
call eax
mov edx, esi
mov dword [ebx], 0xffffffff
mov eax, dword [esp]
mov ecx, dword [esp + 4]
bswap ecx
bswap eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
cmp byte [esp + 0x11], 0
jns 0x468a671
jmp 0x468a4a9
xor edx, edx
cmp byte [esp + 0x11], 0
jns 0x468a671
lea esi, [esp + 0x20]
push 0x1006c792
push dword [0x46b7ed0]
mov edi, edx
call fcn.046abc60
add esp, 8
push 8
push 4
push esi
push dword [ebx]
call eax
mov edx, edi
mov cl, 1
test eax, eax
jle 0x468a634
test dl, dl
je 0x468a67b
mov dword [esp + 0x2c], ecx
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
push esi
call fcn.046782d0
add esp, 4
mov dword [esp + 0x24], eax
or edi, esi
mov dword [esp + 0x28], ebx
je 0x468a5ac
xor edi, edi
xor ebx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [esp + 0x30], ebx
sub esi, edi
cmp esi, 0xffff
jl 0x468a523
mov esi, 0xffff
mov ebx, dword [esp + 0x24]
add ebx, edi
push 0x1006c792
push dword [0x46b7ed0]
call fcn.046abc60
add esp, 8
push 8
push esi
push ebx
mov esi, dword [esp + 0x34]
push dword [esi]
call eax
test eax, eax
mov ebx, dword [esp + 0x30]
jle 0x468a571
mov ecx, edi
and ecx, eax
mov edx, ecx
shr edx, 0x1f
add ecx, ecx
xor edi, eax
add edi, ecx
adc ebx, edx
mov esi, dword [esp + 0x18]
cmp edi, esi
mov eax, ebx
sbb eax, dword [esp + 0x1c]
jb 0x468a510
jmp 0x468a5ac
cmp dword [esi], 0xffffffff
je 0x468a5ac
push 0xea8d1240
push dword [0x46b7ed0]
call fcn.046abc60
add esp, 8
push 2
push dword [esi]
call eax
push 0xa3d60213
push dword [0x46b7ed0]
call fcn.046abc60
add esp, 8
push dword [esi]
call eax
mov dword [esi], 0xffffffff
mov eax, dword [esp + 0x18]
or eax, dword [esp + 0x1c]
setne al
mov ecx, dword [esp + 0x2c]
and cl, al
cmp cl, 1
jne 0x468a5f3
xor eax, eax
xor ecx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, dword [esp + 0x24]
mov esi, eax
and esi, 3
movzx ebx, byte [esp + esi + 0x20]
xor byte [edx + eax], bl
add eax, 1
adc ecx, 0
cmp eax, dword [esp + 0x18]
mov edx, ecx
sbb edx, dword [esp + 0x1c]
jb 0x468a5d0
mov esi, dword [ebp + 8]
mov ecx, dword [esp + 0x28]
cmp byte [ecx + 5], 0
lea edx, [esp + 0x10]
mov eax, esp
je 0x468a60f
push edx
push eax
call fcn.0468b9f0
jmp 0x468a616
push edx
push eax
call fcn.0468b870
mov eax, dword [esp + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 8]
mov dword [esi + 8], eax
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov dword [esi + 4], ecx
mov dword [esi], eax
mov al, 1
jmp 0x468a67d
cmp dword [ebx], 0xffffffff
je 0x468a671
push 0xea8d1240
push dword [0x46b7ed0]
call fcn.046abc60
add esp, 8
push 2
push dword [ebx]
call eax
push 0xa3d60213
push dword [0x46b7ed0]
call fcn.046abc60
add esp, 8
push dword [ebx]
call eax
mov edx, edi
mov dword [ebx], 0xffffffff
xor ecx, ecx
test dl, dl
jne 0x468a4df
xor eax, eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4