Function at 0x42bcf0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x24
mov dword [esp + 0x1c], 0
mov dword [esp + 8], 0xe8ebeae5
mov word [esp + 0xc], 0
mov byte [esp + 0xe], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0xa7
xor cl, byte [esp + eax + 8]
add cl, 0xbd
mov byte [esp + eax + 8], cl
inc eax
cmp eax, 7
jne 0x42bd20
mov eax, dword [esp + 8]
mov ecx, dword [0x45316c]
test ecx, ecx
je 0x42bd84
xor edx, edx
mov esi, dword [0x453170]
nop
nop
nop
nop
cmp dword [esi + edx*8], 0xc85f7986
je 0x42bd60
inc edx
cmp ecx, edx
jne 0x42bd50
jmp 0x42bd84
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x42bd84
lea eax, [esp + 0x1c]
push eax
push 0
push 0
push 5
push 4
push dword [0x453174]
push ecx
call fcn.004421f0
add esp, 0x1c
xor ebx, ebx
cmp eax, 0xc0000004
jne 0x42c12c
push dword [esp + 0x1c]
call fcn.0043f350
add esp, 4
mov ebp, eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 8], 0xe8ebeae5
mov word [esp + 0xc], 0
mov byte [esp + 0xe], 0
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ebx
add al, 0xa7
xor al, byte [esp + ebx + 8]
add al, 0xbd
mov byte [esp + ebx + 8], al
inc ebx
cmp ebx, 7
jne 0x42bdc0
mov eax, dword [esp + 8]
mov edx, dword [0x45316c]
test edx, edx
je 0x42be1f
xor esi, esi
mov edi, dword [0x453170]
nop
nop
nop
nop
nop
nop
cmp dword [edi + esi*8], 0xc85f7986
je 0x42be00
inc esi
cmp edx, esi
jne 0x42bdf0
jmp 0x42be1f
mov edx, dword [edi + esi*8 + 4]
cmp edx, eax
je 0x42be1f
push 0
push ecx
push ebp
push 5
push 4
push dword [0x453174]
push edx
call fcn.004421f0
add esp, 0x1c
xor ebx, ebx
test eax, eax
js 0x42c123
mov esi, dword [ebp]
xor eax, eax
mov ecx, esi
mov edx, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
lea edi, [edx + ecx]
mov ecx, dword [edx + ecx]
add eax, 0x208
add ebx, 0x104
mov edx, edi
test ecx, ecx
jne 0x42be40
test ebx, ebx
jns 0x42be60
mov eax, 0xffffffff
push eax
call fcn.0040c730
add esp, 4
mov dword [esp + 4], eax
mov ecx, ebp
jmp 0x42be90
add ecx, esi
mov word [eax], 0xa
add eax, 2
mov esi, dword [ecx]
test esi, esi
je 0x42beb3
mov edx, dword [ecx + esi + 0x3c]
movzx edi, word [edx]
test di, di
je 0x42be80
add edx, 2
nop
mov word [eax], di
add eax, 2
movzx edi, word [edx]
add edx, 2
test di, di
jne 0x42bea0
jmp 0x42be80
xor ebx, ebx
mov ecx, dword [esp + 4]
cmp eax, ecx
je 0x42c11a
mov word [eax], 0
movzx esi, word [ecx]
test si, si
je 0x42bf1b
mov eax, ecx
add eax, 2
xor ebx, ebx
mov ecx, esi
jmp 0x42beec
inc ebx
movzx ecx, word [eax]
add eax, 2
test cx, cx
je 0x42bf1b
cmp cx, 0x7f
jbe 0x42bee0
movzx edx, cx
cmp edx, 0x7ff
ja 0x42bf10
add ebx, 2
jmp 0x42bee1
cmp cx, 0xffff
je 0x42bee1
add ebx, 3
jmp 0x42bee1
mov dword [esp + 0x20], ebp
mov ebp, ebx
xor ebp, 1
mov edi, ebx
and edi, 1
lea eax, [edi*2]
add eax, ebp
push eax
call fcn.0040c730
add esp, 4
mov dword [esp], eax
test si, si
je 0x42c078
lea ebp, [ebp + edi*2 - 1]
mov eax, dword [esp]
test ebp, ebp
je 0x42c078
mov edx, dword [esp + 4]
mov eax, dword [esp]
nop
nop
nop
movzx ecx, si
lea esi, [edx + 2]
cmp cx, 0x7f
ja 0x42bf80
lea edi, [eax + 1]
mov byte [eax], cl
jmp 0x42c020
cmp ecx, 0x7ff
ja 0x42bfb0
cmp ebp, 2
jb 0x42bfb0
mov edx, ecx
shr edx, 6
add dl, 0xc0
mov byte [eax], dl
and cl, 0x3f
or cl, 0x80
lea edi, [eax + 2]
mov byte [eax + 1], cl
jmp 0x42c020
mov edi, ecx
and edi, 0xfc00
cmp edi, 0xd800
jne 0x42c03a
cmp ebp, 4
jb 0x42c03a
movzx esi, word [edx + 2]
shl ecx, 0xa
lea edi, [ecx + esi]
add edi, 0xfca02400
mov ecx, edi
shr ecx, 0x12
add cl, 0xf0
mov byte [eax], cl
mov ecx, edi
shr ecx, 0xc
and cl, 0x3f
or cl, 0x80
mov byte [eax + 1], cl
mov ecx, edi
shr ecx, 6
and cl, 0x3f
or cl, 0x80
mov byte [eax + 2], cl
mov cl, 0x3f
mov edi, eax
mov eax, esi
sub cl, al
mov eax, edi
and cl, 0x3f
xor cl, 0xbf
mov byte [edi + 3], cl
add edi, 4
add edx, 4
mov esi, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
add ebp, eax
sub ebp, edi
mov edx, esi
mov eax, edi
movzx esi, word [edx]
test si, si
je 0x42c078
test ebp, ebp
jne 0x42bf60
jmp 0x42c078
movzx edx, di
cmp edx, 0xdc00
jne 0x42c049
mov edx, esi
jmp 0x42c028
cmp ebp, 3
jb 0x42c074
mov edx, ecx
shr edx, 0xc
or dl, 0xe0
mov byte [eax], dl
mov edx, ecx
shr edx, 6
and dl, 0x3f
or dl, 0x80
mov byte [eax + 1], dl
and cl, 0x3f
or cl, 0x80
lea edi, [eax + 3]
mov byte [eax + 2], cl
jmp 0x42c020
mov edi, eax
jmp 0x42c020
mov byte [eax], 0
mov dword [esp + 8], 0x10e5e300
mov dword [esp + 0xc], 0xf2fdfef1
mov dword [esp + 0x10], 0xe3e63ffb
mov dword [esp + 0x14], 0x65e8
mov byte [esp + 0x18], 0
xor eax, eax
xor ecx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + ecx + 8]
mov esi, eax
and esi, 0x18
mov edi, ecx
xor edi, 0x3c063ec
add edi, esi
not edx
mov esi, edi
or esi, edx
and edx, edi
lea edi, [esi + esi]
not edi
add edi, esi
or edi, edx
add edi, 0xed3e0c63
mov edx, edi
and edx, 1
xor edi, 1
lea edx, [edi + edx*2]
mov byte [esp + ecx + 8], dl
inc ecx
add eax, 2
cmp ecx, 0x11
jne 0x42c0b0
lea eax, [esp + 8]
mov ecx, dword [esp + 0x38]
push ebx
mov esi, dword [esp + 4]
push esi
push eax
call fcn.0040d350
mov ebx, eax
push esi
call fcn.0040c740
add esp, 4
mov ebp, dword [esp + 0x20]
mov ecx, dword [esp + 4]
push ecx
call fcn.0040c740
add esp, 4
push ebp
call fcn.0043f400
add esp, 4
mov eax, ebx
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret