Function at 0x426df0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x38
mov dword [esp + 0x14], 0
mov dword [esp + 4], 0x585b5a45
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 3
ja 0x426e4e
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 4]
add eax, 0xd38f
xor eax, ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
add al, 0x35
mov ecx, dword [esp]
mov byte [esp + ecx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 4
jb 0x426e20
mov eax, dword [esp + 4]
mov ecx, dword [0x44e374]
test ecx, ecx
je 0x426ea4
xor edx, edx
mov esi, dword [0x44e378]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0xcecd21fd
je 0x426e80
inc edx
cmp ecx, edx
jne 0x426e70
jmp 0x426ea4
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x426ea4
lea eax, [esp + 0x14]
push eax
push 0
push 0
push 5
push 4
push dword [0x44e37c]
push ecx
call fcn.0043e4b0
add esp, 0x1c
cmp eax, 0xc0000004
jne 0x426f40
push dword [esp + 0x14]
call fcn.0043b530
add esp, 4
mov ebp, eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 4], 0x585b5a45
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 3
ja 0x426f0e
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 4]
add eax, 0xd38f
xor eax, edx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
add al, 0x35
mov edx, dword [esp]
mov byte [esp + edx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 4
jb 0x426ee0
mov eax, dword [esp + 4]
mov edx, dword [0x44e374]
test edx, edx
je 0x426f66
xor esi, esi
mov edi, dword [0x44e378]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + esi*8], 0xcecd21fd
je 0x426f47
inc esi
cmp edx, esi
jne 0x426f30
jmp 0x426f66
xor ebx, ebx
jmp 0x427250
mov edx, dword [edi + esi*8 + 4]
cmp edx, eax
je 0x426f66
push 0
push ecx
push ebp
push 5
push 4
push dword [0x44e37c]
push edx
call fcn.0043e4b0
add esp, 0x1c
xor ebx, ebx
test eax, eax
js 0x427247
mov edi, dword [ebp]
mov eax, edi
mov ecx, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
lea edx, [ecx + eax]
mov eax, dword [ecx + eax]
inc ebx
mov ecx, edx
test eax, eax
jne 0x426f80
mov eax, ebx
or eax, 0x104
mov ecx, ebx
and ecx, 0x104
imul eax, ecx
xor ecx, 0x104
and ebx, 0xfffffefb
imul ebx, ecx
add ebx, eax
mov dword [esp + 0x10], ebp
jns 0x426fbd
mov ebx, 0xffffffff
jmp 0x426fbf
add ebx, ebx
push ebx
call fcn.0040c470
add esp, 4
mov ebp, eax
mov dword [esp + 8], eax
mov eax, dword [esp + 0x10]
jmp 0x426ff2
mov esi, ebp
add eax, edi
lea ebp, [esi + 2]
mov word [esi], 0xa
mov edi, dword [eax]
test edi, edi
je 0x427023
mov ecx, dword [eax + edi + 0x3c]
movzx edx, word [ecx]
test dx, dx
je 0x426fe0
add ecx, 2
mov esi, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [esi], dx
add esi, 2
movzx edx, word [ecx]
add ecx, 2
test dx, dx
jne 0x427010
jmp 0x426fe2
xor ebx, ebx
mov eax, dword [esp + 8]
cmp ebp, eax
je 0x42723a
mov word [ebp], 0
movzx ecx, word [eax]
test cx, cx
je 0x427084
xor ebx, ebx
mov eax, dword [esp + 8]
jmp 0x42705e
add ebx, edx
movzx ecx, word [eax + 2]
add eax, 2
test cx, cx
je 0x427084
cmp eax, ebp
jae 0x427084
movzx edi, cx
cmp edi, 0x800
mov ecx, 3
sbb ecx, 0
mov edx, 1
cmp edi, 0x80
jb 0x427050
mov edx, ecx
jmp 0x427050
lea eax, [ebx + 1]
mov dword [esp + 0x18], eax
push eax
call fcn.0040c470
add esp, 4
mov edx, eax
mov dword [esp + 0xc], eax
test ebx, ebx
jle 0x427185
mov edx, dword [esp + 0xc]
cmp dword [esp + 8], ebp
jae 0x427185
mov edx, dword [esp + 0xc]
lea eax, [edx + ebx]
mov dword [esp + 0x34], eax
add dword [esp + 0x18], edx
mov ebp, dword [esp + 8]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, word [ebp]
test cx, cx
je 0x427185
cmp cx, 0x7f
ja 0x4270f0
mov byte [edx], cl
mov edi, 1
jmp 0x427170
mov eax, edx
not eax
add eax, dword [esp + 0x18]
movzx edi, cx
cmp eax, 2
jb 0x427130
cmp edi, 0x7ff
ja 0x427130
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 edi, 2
jmp 0x427170
mov dword [esp + 0x30], edi
xor edi, edi
cmp eax, 3
jb 0x427170
mov edi, dword [esp + 0x30]
mov eax, edi
shr eax, 0xc
or al, 0xe0
mov byte [edx], al
mov eax, edi
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 edi, 3
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
add edx, edi
cmp edx, dword [esp + 0x34]
jae 0x427185
lea eax, [ebp + 2]
cmp ebp, esi
mov ebp, eax
jb 0x4270d0
mov byte [edx], 0
mov dword [esp + 0x1c], 0x504543a0
mov dword [esp + 0x20], 0x524d4e51
mov dword [esp + 0x24], 0x43468f4b
mov word [esp + 0x28], 0xc578
mov dword [esp + 0x2a], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0x11
ja 0x427211
mov ecx, dword [esp + 4]
mov eax, dword [esp + 4]
movzx eax, byte [esp + eax + 0x1c]
mov edx, ecx
not edx
or edx, 0x19875954
add edx, ecx
xor ecx, 0x19875954
lea esi, [ecx + edx*2]
lea ecx, [ecx + edx*2]
add ecx, 2
lea edx, [eax + esi]
add edx, 2
and ecx, eax
add ecx, ecx
sub edx, ecx
mov dword [esp], edx
mov eax, dword [esp]
add al, 0x5c
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x1c], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0x12
jb 0x4271c0
lea eax, [esp + 0x1c]
mov ecx, dword [esp + 0x4c]
push ebx
mov esi, dword [esp + 0x10]
push esi
push eax
call fcn.0040d040
mov ebx, eax
push esi
call fcn.0040c480
add esp, 4
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 8]
jmp 0x42723e
mov ebp, dword [esp + 0x10]
push eax
call fcn.0040c480
add esp, 4
push ebp
call fcn.0043b5c0
add esp, 4
mov eax, ebx
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret