Function at 0x42afc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x28
mov dword [esp + 0x1c], 0
mov dword [esp + 4], 0x9c9d9a9b
mov word [esp + 8], 0
mov byte [esp + 0xa], 0
mov eax, 0x62eb6a1a
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax - 0x62eb6a16]
mov edx, ecx
and edx, eax
add dl, dl
sub cl, dl
movzx ecx, cl
add ecx, eax
add cl, 0x7e
mov byte [esp + eax - 0x62eb6a16], cl
inc eax
cmp eax, 0x62eb6a21
jne 0x42aff0
mov eax, dword [esp + 4]
mov ecx, dword [0x451b2c]
test ecx, ecx
je 0x42b064
xor edx, edx
mov esi, dword [0x451b30]
nop
nop
nop
cmp dword [esi + edx*8], 0xc85f7986
je 0x42b040
inc edx
cmp ecx, edx
jne 0x42b030
jmp 0x42b064
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x42b064
lea eax, [esp + 0x1c]
push eax
push 0
push 0
push 5
push 4
push dword [0x451b34]
push ecx
call fcn.00442050
add esp, 0x1c
cmp eax, 0xc0000004
jne 0x42b0f0
push dword [esp + 0x1c]
call fcn.0043f6b0
add esp, 4
mov ebp, eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 4], 0x9c9d9a9b
mov word [esp + 8], 0
mov byte [esp + 0xa], 0
mov eax, 0x62eb6a1a
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax - 0x62eb6a16]
mov ebx, edx
and ebx, eax
add bl, bl
sub dl, bl
movzx edx, dl
add edx, eax
add dl, 0x7e
mov byte [esp + eax - 0x62eb6a16], dl
inc eax
cmp eax, 0x62eb6a21
jne 0x42b0a0
mov eax, dword [esp + 4]
mov edx, dword [0x451b2c]
test edx, edx
je 0x42b116
xor esi, esi
mov edi, dword [0x451b30]
nop
nop
nop
cmp dword [edi + esi*8], 0xc85f7986
je 0x42b0f7
inc esi
cmp edx, esi
jne 0x42b0e0
jmp 0x42b116
xor ebx, ebx
jmp 0x42b40b
mov edx, dword [edi + esi*8 + 4]
cmp edx, eax
je 0x42b116
push 0
push ecx
push ebp
push 5
push 4
push dword [0x451b34]
push edx
call fcn.00442050
add esp, 0x1c
xor ebx, ebx
test eax, eax
js 0x42b402
mov esi, dword [ebp]
mov eax, esi
mov ecx, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
lea edx, [ecx + eax]
mov eax, dword [ecx + eax]
dec ebx
mov ecx, edx
test eax, eax
jne 0x42b130
lea eax, [ebx - 1]
and eax, 0x104
neg ebx
mov ecx, ebx
and ecx, 0xfffffefb
imul ecx, eax
mov eax, ebx
and eax, 0x104
or ebx, 0x104
imul ebx, eax
add ebx, ecx
jns 0x42b16d
mov ebx, 0xffffffff
jmp 0x42b16f
add ebx, ebx
push ebx
call fcn.0040cee0
add esp, 4
mov dword [esp], eax
mov ecx, ebp
jmp 0x42b190
add ecx, esi
mov word [eax], 0xa
add eax, 2
mov esi, dword [ecx]
test esi, esi
je 0x42b1b3
mov edx, dword [ecx + esi + 0x3c]
movzx edi, word [edx]
test di, di
je 0x42b180
add edx, 2
nop
mov word [eax], di
add eax, 2
movzx edi, word [edx]
add edx, 2
test di, di
jne 0x42b1a0
jmp 0x42b180
xor ebx, ebx
mov ecx, dword [esp]
cmp eax, ecx
je 0x42b3f9
mov word [eax], 0
movzx edi, word [ecx]
test di, di
je 0x42b21b
mov eax, dword [esp]
add eax, 2
xor ebx, ebx
mov ecx, edi
jmp 0x42b1ec
inc ebx
movzx ecx, word [eax]
add eax, 2
test cx, cx
je 0x42b21b
cmp cx, 0x7f
jbe 0x42b1e0
movzx edx, cx
cmp edx, 0x7ff
ja 0x42b210
mov ecx, ebx
xor ecx, 2
and ebx, 2
lea ebx, [ecx + ebx*2]
jmp 0x42b1e1
cmp cx, 0xffff
je 0x42b1e1
add ebx, 3
jmp 0x42b1e1
mov dword [esp + 0x20], ebp
lea eax, [ebx + 1]
push eax
call fcn.0040cee0
add esp, 4
mov ebp, eax
mov dword [esp + 0x18], eax
test di, di
je 0x42b367
mov ebp, dword [esp + 0x18]
test ebx, ebx
je 0x42b367
mov edx, dword [esp]
mov ecx, ebx
mov ebp, dword [esp + 0x18]
nop
movzx eax, di
lea edi, [edx + 2]
cmp ax, 0x7f
ja 0x42b270
lea esi, [ebp + 1]
mov byte [ebp], al
jmp 0x42b310
cmp eax, 0x7ff
ja 0x42b2a0
cmp ecx, 2
jb 0x42b2a0
mov edx, eax
shr edx, 6
add dl, 0xc0
mov byte [ebp], dl
and al, 0x3f
or al, 0x80
lea esi, [ebp + 2]
mov byte [ebp + 1], al
jmp 0x42b310
mov esi, eax
and esi, 0xfc00
cmp esi, 0xd800
jne 0x42b32a
cmp ecx, 4
jb 0x42b32a
movzx esi, word [edx + 2]
mov dword [esp + 0x24], esi
add edx, 4
shl eax, 0xa
lea edi, [eax + esi]
add edi, 0xfca02400
mov eax, edi
shr eax, 0x12
add al, 0xf0
mov byte [ebp], al
mov eax, edi
shr eax, 0xc
mov esi, eax
xor esi, 0xc0
or eax, 0x3f
and eax, esi
add al, 0x80
mov byte [ebp + 1], al
mov eax, edi
shr eax, 6
and al, 0x3f
or al, 0x80
mov byte [ebp + 2], al
mov eax, dword [esp + 0x24]
and al, 0x3f
or al, 0x80
mov byte [ebp + 3], al
lea esi, [ebp + 4]
mov edi, edx
nop
nop
nop
nop
nop
nop
nop
add ecx, ebp
sub ecx, esi
mov edx, edi
mov ebp, esi
movzx edi, word [edx]
test di, di
je 0x42b367
test ecx, ecx
jne 0x42b250
jmp 0x42b367
movzx edx, si
cmp edx, 0xdc00
jne 0x42b339
mov edx, edi
jmp 0x42b318
cmp ecx, 3
jb 0x42b363
mov edx, eax
shr edx, 0xc
or dl, 0xe0
mov byte [ebp], dl
mov edx, eax
shr edx, 6
and dl, 0x3f
or dl, 0x80
mov byte [ebp + 1], dl
and al, 0x3f
or al, 0x80
lea esi, [ebp + 3]
mov byte [ebp + 2], al
jmp 0x42b310
mov esi, ebp
jmp 0x42b310
mov byte [ebp], 0
mov dword [esp + 4], 0x544f4dac
mov dword [esp + 8], 0x52474657
mov dword [esp + 0xc], 0x41428941
mov word [esp + 0x10], 0xcb7c
mov dword [esp + 0x12], 0
mov byte [esp + 0x16], 0
mov eax, 0xd5
mov ecx, 0x2a
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + eax - 0xd1]
mov edx, ecx
xor edx, eax
and edx, esi
xor edx, eax
add dl, 0xd7
mov byte [esp + eax - 0xd1], dl
inc eax
dec ecx
cmp eax, 0xe8
jne 0x42b3b0
lea eax, [esp + 4]
mov ecx, dword [esp + 0x3c]
push ebx
mov esi, dword [esp + 0x1c]
push esi
push eax
call fcn.0040dc00
mov ebx, eax
push esi
call fcn.0040cef0
add esp, 4
mov ebp, dword [esp + 0x20]
mov ecx, dword [esp]
push ecx
call fcn.0040cef0
add esp, 4
push ebp
call fcn.0043f730
add esp, 4
mov eax, ebx
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret