Function at 0x42b8c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x30
mov dword [esp + 0x20], 0
mov dword [esp + 8], 0xf8fbfafd
mov word [esp + 0xc], 0
mov byte [esp + 0xe], 0
mov eax, 0xab
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax - 0xa3]
mov esi, eax
and esi, edx
lea ecx, [eax - 0x85ad00]
or ecx, edx
xor ecx, esi
mov edx, ecx
xor edx, 0x57
and ecx, 0x28
add ecx, ecx
sub ecx, edx
mov byte [esp + eax - 0xa3], cl
inc eax
cmp eax, 0xb2
jne 0x42b8f0
mov eax, dword [esp + 8]
mov ecx, dword [0x452e1c]
test ecx, ecx
je 0x42b974
xor edx, edx
mov esi, dword [0x452e20]
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0xc85f7986
je 0x42b950
inc edx
cmp ecx, edx
jne 0x42b940
jmp 0x42b974
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x42b974
lea eax, [esp + 0x20]
push eax
push 0
push 0
push 5
push 4
push dword [0x452e24]
push ecx
call fcn.00443a10
add esp, 0x1c
cmp eax, 0xc0000004
jne 0x42ba5e
push dword [esp + 0x20]
call fcn.00440940
add esp, 4
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 8], 0xf8fbfafd
mov word [esp + 0xc], 0
mov byte [esp + 0xe], 0
mov eax, 0xab
nop
nop
nop
nop
movzx esi, byte [esp + eax - 0xa3]
mov edi, eax
and edi, esi
lea edx, [eax - 0x85ad00]
or edx, esi
xor edx, edi
mov esi, edx
xor esi, 0x57
and edx, 0x28
add edx, edx
sub edx, esi
mov byte [esp + eax - 0xa3], dl
inc eax
cmp eax, 0xb2
jne 0x42b9b0
mov eax, dword [esp + 8]
mov edx, dword [0x452e1c]
test edx, edx
je 0x42ba0e
xor esi, esi
mov edi, dword [0x452e20]
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + esi*8], 0xc85f7986
je 0x42ba65
inc esi
cmp edx, esi
jne 0x42ba00
mov edi, dword [esp + 4]
xor ebx, ebx
test eax, eax
js 0x42bced
mov ebp, dword [edi]
mov eax, ebp
mov ecx, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
lea edx, [ecx + eax]
mov esi, ebx
and esi, 1
xor ebx, 1
lea ebx, [ebx + esi*2]
mov eax, dword [ecx + eax]
mov ecx, edx
test eax, eax
jne 0x42ba30
lea eax, [ebx*4]
mov ecx, ebx
shl ecx, 8
add ecx, eax
jns 0x42ba8a
mov eax, 0xffffffff
jmp 0x42ba92
xor ebx, ebx
jmp 0x42bcf6
mov edx, dword [edi + esi*8 + 4]
cmp edx, eax
mov edi, dword [esp + 4]
je 0x42ba12
push 0
push ecx
push edi
push 5
push 4
push dword [0x452e24]
push edx
call fcn.00443a10
add esp, 0x1c
jmp 0x42ba12
mov eax, ebx
shl eax, 9
lea eax, [eax + ebx*8]
push eax
call fcn.0040cb60
add esp, 4
mov esi, eax
mov dword [esp], eax
mov eax, edi
jmp 0x42bac2
mov edi, esi
add eax, ebp
lea esi, [edi + 2]
mov word [edi], 0xa
mov ebp, dword [eax]
test ebp, ebp
je 0x42baf3
mov ecx, dword [eax + ebp + 0x3c]
movzx edx, word [ecx]
test dx, dx
je 0x42bab0
add ecx, 2
mov edi, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [edi], dx
add edi, 2
movzx edx, word [ecx]
add ecx, 2
test dx, dx
jne 0x42bae0
jmp 0x42bab2
xor ebx, ebx
mov eax, dword [esp]
cmp esi, eax
je 0x42bce0
mov word [esi], 0
movzx ecx, word [eax]
test cx, cx
je 0x42bb54
xor ebx, ebx
mov eax, dword [esp]
jmp 0x42bb2e
add ebx, edx
movzx ecx, word [eax + 2]
add eax, 2
test cx, cx
je 0x42bb54
cmp eax, esi
jae 0x42bb54
movzx ebp, cx
cmp ebp, 0x800
mov ecx, 3
sbb ecx, 0
mov edx, 1
cmp ebp, 0x80
jb 0x42bb20
mov edx, ecx
jmp 0x42bb20
lea eax, [ebx + 1]
mov dword [esp + 0x24], eax
push eax
call fcn.0040cb60
add esp, 4
mov edx, eax
mov dword [esp + 0x1c], eax
test ebx, ebx
jle 0x42bc55
mov edx, dword [esp + 0x1c]
cmp dword [esp], esi
jae 0x42bc55
mov edx, dword [esp + 0x1c]
lea eax, [edx + ebx]
mov dword [esp + 0x2c], eax
add dword [esp + 0x24], edx
mov esi, dword [esp]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, word [esi]
test cx, cx
je 0x42bc55
cmp cx, 0x7f
ja 0x42bbc0
mov byte [edx], cl
mov ebp, 1
jmp 0x42bc40
mov eax, edx
not eax
add eax, dword [esp + 0x24]
movzx ebp, cx
cmp eax, 2
jb 0x42bc00
cmp ebp, 0x7ff
ja 0x42bc00
mov eax, ecx
shr eax, 6
add al, 0xc0
mov byte [edx], al
and cl, 0x3f
or cl, 0x80
mov byte [edx + 1], cl
mov ebp, 2
jmp 0x42bc40
mov dword [esp + 0x28], ebp
xor ebp, ebp
cmp eax, 3
jb 0x42bc40
mov ebp, dword [esp + 0x28]
mov eax, ebp
shr eax, 0xc
or al, 0xe0
mov byte [edx], al
mov eax, ebp
shr eax, 6
and al, 0x3f
or al, 0x80
mov byte [edx + 1], al
and cl, 0x3f
or cl, 0x80
mov byte [edx + 2], cl
mov ebp, 3
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
add edx, ebp
cmp edx, dword [esp + 0x2c]
jae 0x42bc55
lea eax, [esi + 2]
cmp esi, edi
mov esi, eax
jb 0x42bba0
mov byte [edx], 0
mov dword [esp + 8], 0x1d1330
mov dword [esp + 0xc], 0x2151601
mov dword [esp + 0x10], 0xf30e470b
mov word [esp + 0x14], 0x7d08
mov dword [esp + 0x16], 0
mov word [esp + 0x1a], 0
mov eax, 0x68
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax - 0x60]
lea edx, [eax - 0x671fac00]
mov esi, eax
and esi, ecx
or edx, ecx
lea ecx, [edx + edx]
not ecx
add ecx, edx
or ecx, esi
mov dl, 0xf7
sub dl, cl
mov byte [esp + eax - 0x60], dl
inc eax
cmp eax, 0x7c
jne 0x42bc90
lea eax, [esp + 8]
mov ecx, dword [esp + 0x44]
push ebx
mov esi, dword [esp + 0x20]
push esi
push eax
call fcn.0040d690
mov ebx, eax
push esi
call fcn.0040cb70
add esp, 4
mov edi, dword [esp + 4]
mov eax, dword [esp]
jmp 0x42bce4
mov edi, dword [esp + 4]
push eax
call fcn.0040cb70
add esp, 4
push edi
call fcn.004409c0
add esp, 4
mov eax, ebx
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret