Function at 0x42b500
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x30
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0x282b2a25
mov word [esp + 0x10], 0
xor eax, eax
mov ecx, eax
add cl, 0x37
xor cl, byte [esp + eax + 0xc]
add cl, 0xed
mov byte [esp + eax + 0xc], cl
inc eax
cmp eax, 6
jne 0x42b520
mov eax, dword [esp + 0xc]
mov ecx, dword [0x453040]
test ecx, ecx
je 0x42b584
xor edx, edx
mov esi, dword [0x453044]
nop
nop
nop
nop
cmp dword [esi + edx*8], 0xc85f7986
je 0x42b560
inc edx
cmp ecx, edx
jne 0x42b550
jmp 0x42b584
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x42b584
lea eax, [esp + 8]
push eax
push 0
push 0
push 5
push 4
push dword [0x453048]
push ecx
call fcn.00443090
add esp, 0x1c
xor ebx, ebx
cmp eax, 0xc0000004
jne 0x42b8bb
push dword [esp + 8]
call fcn.004402e0
add esp, 4
mov edi, eax
mov ecx, dword [esp + 8]
mov dword [esp + 0xc], 0x282b2a25
mov word [esp + 0x10], 0
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ebx
add al, 0x37
xor al, byte [esp + ebx + 0xc]
add al, 0xed
mov byte [esp + ebx + 0xc], al
inc ebx
cmp ebx, 6
jne 0x42b5c0
mov eax, dword [esp + 0xc]
mov edx, dword [0x453040]
test edx, edx
je 0x42b623
mov ebx, edi
xor esi, esi
mov edi, dword [0x453044]
nop
nop
nop
nop
cmp dword [edi + esi*8], 0xc85f7986
je 0x42b602
inc esi
cmp edx, esi
jne 0x42b5f0
mov edi, ebx
jmp 0x42b623
mov edx, dword [edi + esi*8 + 4]
cmp edx, eax
mov edi, ebx
je 0x42b623
push 0
push ecx
push edi
push 5
push 4
push dword [0x453048]
push edx
call fcn.00443090
add esp, 0x1c
xor ebx, ebx
test eax, eax
js 0x42b8b2
mov ebp, dword [edi]
xor eax, eax
mov ecx, ebp
mov edx, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
lea esi, [edx + ecx]
mov ecx, dword [edx + ecx]
add eax, 0x208
add ebx, 0x104
mov edx, esi
test ecx, ecx
jne 0x42b640
test ebx, ebx
jns 0x42b660
mov eax, 0xffffffff
push eax
call fcn.0040c710
add esp, 4
mov esi, eax
mov dword [esp], eax
mov dword [esp + 0x20], edi
mov eax, edi
jmp 0x42b692
mov edi, esi
add eax, ebp
lea esi, [edi + 2]
mov word [edi], 0xa
mov ebp, dword [eax]
test ebp, ebp
je 0x42b6c3
mov ecx, dword [eax + ebp + 0x3c]
movzx edx, word [ecx]
test dx, dx
je 0x42b680
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 0x42b6b0
jmp 0x42b682
xor ebx, ebx
mov eax, dword [esp]
cmp esi, eax
je 0x42b8a5
mov word [esi], 0
movzx ecx, word [eax]
test cx, cx
je 0x42b724
xor ebx, ebx
mov eax, dword [esp]
jmp 0x42b6fe
add ebx, edx
movzx ecx, word [eax + 2]
add eax, 2
test cx, cx
je 0x42b724
cmp eax, esi
jae 0x42b724
movzx ebp, cx
cmp ebp, 0x800
mov ecx, 3
sbb ecx, 0
mov edx, 1
cmp ebp, 0x80
jb 0x42b6f0
mov edx, ecx
jmp 0x42b6f0
lea eax, [ebx + 1]
mov dword [esp + 0x24], eax
push eax
call fcn.0040c710
add esp, 4
mov edx, eax
mov dword [esp + 4], eax
test ebx, ebx
jle 0x42b825
mov edx, dword [esp + 4]
cmp dword [esp], esi
jae 0x42b825
mov edx, dword [esp + 4]
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 0x42b825
cmp cx, 0x7f
ja 0x42b790
mov byte [edx], cl
mov ebp, 1
jmp 0x42b810
mov eax, edx
not eax
add eax, dword [esp + 0x24]
movzx ebp, cx
cmp eax, 2
jb 0x42b7d0
cmp ebp, 0x7ff
ja 0x42b7d0
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 0x42b810
mov dword [esp + 0x28], ebp
xor ebp, ebp
cmp eax, 3
jb 0x42b810
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 0x42b825
lea eax, [esi + 2]
cmp esi, edi
mov esi, eax
jb 0x42b770
mov byte [edx], 0
mov dword [esp + 0xc], 0x340f0d2c
mov dword [esp + 0x10], 0x32070637
mov dword [esp + 0x14], 0x102c901
mov word [esp + 0x18], 0x8b1c
mov dword [esp + 0x1a], 0
mov byte [esp + 0x1e], 0
mov eax, 0x25
mov ecx, 0xda
nop
nop
movzx edx, byte [esp + eax - 0x19]
mov esi, eax
or esi, edx
not edx
or edx, ecx
and edx, esi
add dl, 0x47
mov byte [esp + eax - 0x19], dl
inc eax
dec ecx
cmp eax, 0x38
jne 0x42b860
lea eax, [esp + 0xc]
mov ecx, dword [esp + 0x44]
push ebx
mov esi, dword [esp + 8]
push esi
push eax
call fcn.0040d180
mov ebx, eax
push esi
call fcn.0040c720
add esp, 4
mov edi, dword [esp + 0x20]
mov eax, dword [esp]
jmp 0x42b8a9
mov edi, dword [esp + 0x20]
push eax
call fcn.0040c720
add esp, 4
push edi
call fcn.00440350
add esp, 4
mov eax, ebx
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret