Function at 0x42af20
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x20
mov dword [esp + 0x18], 0
mov dword [esp], 0xf4f5f6f7
mov word [esp + 4], 0
xor eax, eax
nop
mov ecx, eax
xor ecx, 0x53
mov edx, eax
or edx, 4
and edx, ecx
mov ecx, eax
xor ecx, 0x2c
lea ecx, [ecx + edx*2]
xor cl, byte [esp + eax]
add cl, 0x24
mov byte [esp + eax], cl
inc eax
cmp eax, 6
jne 0x42af40
mov eax, dword [esp]
mov ecx, dword [0x450b18]
test ecx, ecx
je 0x42afb4
xor edx, edx
mov esi, dword [0x450b1c]
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0xc85f7986
je 0x42af90
inc edx
cmp ecx, edx
jne 0x42af80
jmp 0x42afb4
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x42afb4
lea eax, [esp + 0x18]
push eax
push 0
push 0
push 5
push 4
push dword [0x450b20]
push ecx
call fcn.00441600
add esp, 0x1c
xor ebx, ebx
cmp eax, 0xc0000004
jne 0x42b336
push dword [esp + 0x18]
call fcn.0043e630
add esp, 4
mov ebp, eax
mov ecx, dword [esp + 0x18]
mov dword [esp], 0xf4f5f6f7
mov word [esp + 4], 0
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ebx
xor eax, 0x53
mov edx, ebx
or edx, 4
and edx, eax
mov eax, ebx
xor eax, 0x2c
lea eax, [eax + edx*2]
xor al, byte [esp + ebx]
add al, 0x24
mov byte [esp + ebx], al
inc ebx
cmp ebx, 6
jne 0x42aff0
mov eax, dword [esp]
mov edx, dword [0x450b18]
test edx, edx
je 0x42b05f
xor esi, esi
mov edi, dword [0x450b1c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + esi*8], 0xc85f7986
je 0x42b040
inc esi
cmp edx, esi
jne 0x42b030
jmp 0x42b05f
mov edx, dword [edi + esi*8 + 4]
cmp edx, eax
je 0x42b05f
push 0
push ecx
push ebp
push 5
push 4
push dword [0x450b20]
push edx
call fcn.00441600
add esp, 0x1c
xor ebx, ebx
test eax, eax
js 0x42b32d
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 0x42b080
test ebx, ebx
jns 0x42b0a0
mov eax, 0xffffffff
push eax
call fcn.0040ce70
add esp, 4
mov dword [esp + 0x14], eax
mov ecx, ebp
jmp 0x42b0d0
add ecx, esi
mov word [eax], 0xa
add eax, 2
mov esi, dword [ecx]
test esi, esi
je 0x42b0f3
mov edx, dword [ecx + esi + 0x3c]
movzx edi, word [edx]
test di, di
je 0x42b0c0
add edx, 2
nop
mov word [eax], di
add eax, 2
movzx edi, word [edx]
add edx, 2
test di, di
jne 0x42b0e0
jmp 0x42b0c0
xor ebx, ebx
mov ecx, dword [esp + 0x14]
cmp eax, ecx
je 0x42b324
mov word [eax], 0
movzx edi, word [ecx]
test di, di
je 0x42b15b
mov eax, ecx
add eax, 2
xor ebx, ebx
mov ecx, edi
jmp 0x42b12c
inc ebx
movzx ecx, word [eax]
add eax, 2
test cx, cx
je 0x42b15b
cmp cx, 0x7f
jbe 0x42b120
movzx edx, cx
cmp edx, 0x7ff
ja 0x42b150
add ebx, 2
jmp 0x42b121
cmp cx, 0xffff
je 0x42b121
add ebx, 3
jmp 0x42b121
mov dword [esp + 0x1c], ebp
lea eax, [ebx + 1]
push eax
call fcn.0040ce70
add esp, 4
mov ebp, eax
mov dword [esp + 0x10], eax
test di, di
je 0x42b29f
mov ebp, dword [esp + 0x10]
test ebx, ebx
je 0x42b29f
mov edx, dword [esp + 0x14]
mov esi, ebx
mov ebp, dword [esp + 0x10]
movzx ecx, di
lea edi, [edx + 2]
cmp cx, 0x7f
ja 0x42b1b0
lea eax, [ebp + 1]
mov byte [ebp], cl
jmp 0x42b240
cmp ecx, 0x7ff
ja 0x42b1e0
cmp esi, 2
jb 0x42b1e0
mov eax, ecx
shr eax, 6
add al, 0xc0
mov byte [ebp], al
and cl, 0x3f
or cl, 0x80
lea eax, [ebp + 2]
mov byte [ebp + 1], cl
jmp 0x42b240
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x42b264
cmp esi, 4
jb 0x42b264
movzx edi, word [edx + 2]
add edx, 4
shl ecx, 0xa
lea eax, [ecx + edi]
add eax, 0xfca02400
mov ecx, eax
shr ecx, 0x12
add cl, 0xf0
mov byte [ebp], cl
mov ecx, eax
shr ecx, 0xc
and cl, 0x3f
or cl, 0x80
mov byte [ebp + 1], cl
shr eax, 6
and al, 0x3f
or al, 0x80
mov byte [ebp + 2], al
mov eax, edi
and al, 0x3f
or al, 0x80
mov ecx, eax
lea eax, [ebp + 4]
mov byte [ebp + 3], cl
mov edi, edx
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
not ecx
and ecx, ebp
not ebp
and ebp, eax
sub esi, ebp
add esi, ecx
mov edx, edi
mov ebp, eax
movzx edi, word [edx]
test di, di
je 0x42b29f
test esi, esi
jne 0x42b190
jmp 0x42b29f
movzx eax, ax
cmp eax, 0xdc00
jne 0x42b272
mov edx, edi
jmp 0x42b252
cmp esi, 3
jb 0x42b29b
mov eax, ecx
shr eax, 0xc
or al, 0xe0
mov byte [ebp], al
mov eax, ecx
shr eax, 6
and al, 0x3f
or al, 0x80
mov byte [ebp + 1], al
and cl, 0x3f
or cl, 0x80
lea eax, [ebp + 3]
mov byte [ebp + 2], cl
jmp 0x42b240
mov eax, ebp
jmp 0x42b240
mov byte [ebp], 0
mov dword [esp], 0x549f9dbc
mov dword [esp + 4], 0x52676657
mov dword [esp + 8], 0x61621961
mov dword [esp + 0xc], 0xfb6c
mov eax, 0xeed219fd
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax + 0x112de603]
mov edx, eax
and edx, ecx
add ecx, eax
add edx, edx
mov esi, ecx
sub esi, edx
and ecx, 1
xor esi, 1
lea ecx, [esi + ecx*2]
add cl, 0xe
mov byte [esp + eax + 0x112de603], cl
inc eax
cmp eax, 0xeed21a0d
jne 0x42b2d0
mov eax, esp
mov ecx, dword [esp + 0x34]
push ebx
mov esi, dword [esp + 0x14]
push esi
push eax
call fcn.0040d9d0
mov ebx, eax
push esi
call fcn.0040ce80
add esp, 4
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0040ce80
add esp, 4
push ebp
call fcn.0043e6b0
add esp, 4
mov eax, ebx
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret