Function at 0x42bf70
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x28
mov dword [esp + 0x20], 0
mov dword [esp], 0x2c2d2e2f
mov word [esp + 4], 0
mov eax, 0xf8a5adb8
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax + 0x75a5248]
xor ecx, eax
mov edx, ecx
and edx, 0x67
xor ecx, 0x67
lea ecx, [ecx + edx*2]
inc cl
mov byte [esp + eax + 0x75a5248], cl
inc eax
cmp eax, 0xf8a5adbe
jne 0x42bfa0
mov eax, dword [esp]
mov ecx, dword [0x451440]
test ecx, ecx
je 0x42c014
xor edx, edx
mov esi, dword [0x451444]
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x9abdb589
je 0x42bff0
inc edx
cmp ecx, edx
jne 0x42bfe0
jmp 0x42c014
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x42c014
lea eax, [esp + 0x20]
push eax
push 0
push 0
push 5
push 4
push ecx
push dword [0x451448]
call fcn.004417a0
add esp, 0x1c
mov dword [esp], 0x8f4e494c
mov byte [esp + 4], 0
xor ecx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, ecx
add dl, 0x72
xor dl, byte [esp + ecx]
add dl, 0xc6
mov byte [esp + ecx], dl
inc ecx
cmp ecx, 5
jne 0x42c030
cmp eax, dword [esp]
jne 0x42c0c0
push dword [esp + 0x20]
call fcn.0043e6f0
add esp, 4
mov ebp, eax
mov ecx, dword [esp + 0x20]
mov dword [esp], 0x2c2d2e2f
mov word [esp + 4], 0
mov eax, 0xf8a5adb8
nop
nop
movzx edx, byte [esp + eax + 0x75a5248]
xor edx, eax
mov esi, edx
and esi, 0x67
xor edx, 0x67
lea edx, [edx + esi*2]
inc dl
mov byte [esp + eax + 0x75a5248], dl
inc eax
cmp eax, 0xf8a5adbe
jne 0x42c070
mov eax, dword [esp]
mov edx, dword [0x451440]
test edx, edx
je 0x42c0e6
xor esi, esi
mov edi, dword [0x451444]
nop
nop
nop
nop
nop
cmp dword [edi + esi*8], 0x9abdb589
je 0x42c0c7
inc esi
cmp edx, esi
jne 0x42c0b0
jmp 0x42c0e6
xor ebx, ebx
jmp 0x42c400
mov edx, dword [edi + esi*8 + 4]
cmp edx, eax
je 0x42c0e6
push 0
push ecx
push ebp
push 5
push 4
push edx
push dword [0x451448]
call fcn.004417a0
add esp, 0x1c
xor ebx, ebx
test eax, eax
js 0x42c3f7
mov esi, dword [ebp]
xor eax, eax
mov ecx, esi
mov edx, ebp
xor ebx, ebx
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 0x42c100
mov dword [esp + 0x1c], ebp
test ebx, ebx
jns 0x42c124
mov eax, 0xffffffff
push eax
call fcn.0040cdd0
add esp, 4
mov ebp, eax
mov ecx, dword [esp + 0x1c]
jmp 0x42c151
add ecx, esi
mov word [ebp], 0xa
add ebp, 2
mov esi, dword [ecx]
test esi, esi
je 0x42c174
mov edx, dword [ecx + esi + 0x3c]
movzx edi, word [edx]
test di, di
je 0x42c140
add edx, 2
mov word [ebp], di
add ebp, 2
movzx edi, word [edx]
add edx, 2
test di, di
jne 0x42c160
jmp 0x42c140
xor edx, edx
cmp ebp, eax
je 0x42c3e8
mov word [ebp], 0
movzx esi, word [eax]
test si, si
je 0x42c1dd
mov edi, eax
add edi, 2
xor edx, edx
mov ecx, esi
jmp 0x42c1ac
inc edx
movzx ecx, word [edi]
add edi, 2
test cx, cx
je 0x42c1dd
cmp cx, 0x7f
jbe 0x42c1a0
mov ebx, edx
movzx edx, cx
cmp edx, 0x7ff
ja 0x42c1d0
mov edx, ebx
add edx, 2
jmp 0x42c1a1
cmp cx, 0xffff
mov edx, ebx
je 0x42c1a1
add edx, 3
jmp 0x42c1a1
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], edx
lea eax, [edx + 1]
push eax
call fcn.0040cdd0
add esp, 4
mov ebp, eax
mov dword [esp + 0x14], eax
test si, si
je 0x42c339
mov ebp, dword [esp + 0x14]
cmp dword [esp + 0x18], 0
je 0x42c339
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
nop
nop
nop
nop
nop
movzx ebx, si
lea esi, [edx + 2]
cmp bx, 0x7f
ja 0x42c240
lea edi, [ebp + 1]
mov byte [ebp], bl
jmp 0x42c2e0
cmp ebx, 0x7ff
ja 0x42c270
cmp ecx, 2
jb 0x42c270
mov edx, ebx
shr edx, 6
or dl, 0xc0
mov byte [ebp], dl
mov edx, ebx
xor edx, 0xc0
or ebx, 0x3f
and ebx, edx
add bl, 0x80
lea edi, [ebp + 2]
mov byte [ebp + 1], bl
jmp 0x42c2e0
mov edi, ebx
and edi, 0xfc00
cmp edi, 0xd800
jne 0x42c2fa
cmp ecx, 4
jb 0x42c2fa
movzx eax, word [edx + 2]
add edx, 4
shl ebx, 0xa
lea esi, [ebx + eax]
add esi, 0xfca02400
mov ebx, esi
shr ebx, 0x12
add bl, 0xf0
mov byte [ebp], bl
mov ebx, esi
shr ebx, 0xc
and bl, 0x3f
or bl, 0x80
mov byte [ebp + 1], bl
mov ebx, esi
shr ebx, 6
and bl, 0x3f
or bl, 0x80
mov byte [ebp + 2], bl
mov bl, 0x3f
sub bl, al
and bl, 0x3f
xor bl, 0xbf
lea edi, [ebp + 4]
mov byte [ebp + 3], bl
mov esi, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
add ecx, ebp
sub ecx, edi
mov edx, esi
mov ebp, edi
movzx esi, word [edx]
test si, si
je 0x42c339
test ecx, ecx
jne 0x42c220
jmp 0x42c339
movzx edx, di
cmp edx, 0xdc00
jne 0x42c309
mov edx, esi
jmp 0x42c2e8
cmp ecx, 3
jb 0x42c335
mov edx, ebx
shr edx, 0xc
or dl, 0xe0
mov byte [ebp], dl
mov edx, ebx
shr edx, 6
and dl, 0x3f
or dl, 0x80
mov byte [ebp + 1], dl
and bl, 0x3f
or bl, 0x80
lea edi, [ebp + 3]
mov byte [ebp + 2], bl
jmp 0x42c2e0
mov edi, ebp
jmp 0x42c2e0
mov byte [ebp], 0
mov dword [esp], 0xd8e597b8
mov dword [esp + 4], 0xdeedead9
mov dword [esp + 8], 0xe7e223ef
mov word [esp + 0xc], 0x7de0
mov dword [esp + 0xe], 0
xor eax, eax
xor ecx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + ecx]
mov edx, ecx
xor edx, 0x10f821a3
mov ebp, eax
and ebp, 0x38
sub ebp, edx
lea edi, [ebp + 0x61]
mov edx, 0x9e
sub edx, ebp
mov ebx, 0x1e
sub ebx, ebp
and ebx, 0x2f
and edi, 0xd0
or edi, ebx
xor edi, 0xd0
or edi, edx
or edx, esi
and edi, esi
not edx
or edx, edi
add dl, 0x4a
mov byte [esp + ecx], dl
inc ecx
add eax, 2
cmp ecx, 0x12
jne 0x42c370
mov eax, esp
mov ecx, dword [esp + 0x3c]
push dword [esp + 0x18]
mov esi, dword [esp + 0x18]
push esi
push eax
call fcn.0040d8f0
mov ebx, eax
push esi
call fcn.0040cde0
add esp, 4
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
jmp 0x42c3ee
xor ebx, ebx
mov ebp, dword [esp + 0x1c]
push eax
call fcn.0040cde0
add esp, 4
push ebp
call fcn.0043e770
add esp, 4
mov eax, ebx
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret