Function at 0x42b2d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x30
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0x4c4d4a4b
mov word [esp + 0x18], 0
mov eax, 0x72
mov ecx, 0x8d
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + eax - 0x5e]
mov edx, eax
xor edx, ecx
and edx, esi
xor edx, ecx
mov bl, 0xc5
sub bl, dl
mov byte [esp + eax - 0x5e], bl
inc eax
dec ecx
cmp eax, 0x78
jne 0x42b300
mov eax, dword [esp + 0x14]
mov ecx, dword [0x452df4]
test ecx, ecx
je 0x42b374
xor edx, edx
mov esi, dword [0x452df8]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0xc85f7986
je 0x42b350
inc edx
cmp ecx, edx
jne 0x42b340
jmp 0x42b374
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x42b374
lea eax, [esp + 0x10]
push eax
push 0
push 0
push 5
push 4
push dword [0x452dfc]
push ecx
call fcn.00442cc0
add esp, 0x1c
cmp eax, 0xc0000004
jne 0x42b400
push dword [esp + 0x10]
call fcn.0043fba0
add esp, 4
mov dword [esp + 4], eax
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x14], 0x4c4d4a4b
mov word [esp + 0x18], 0
mov eax, 0x72
mov edx, 0x8d
nop
nop
nop
nop
movzx esi, byte [esp + eax - 0x5e]
mov ebx, eax
xor ebx, edx
and ebx, esi
xor ebx, edx
mov cl, 0xc5
sub cl, bl
mov byte [esp + eax - 0x5e], cl
inc eax
dec edx
cmp eax, 0x78
jne 0x42b3b0
mov eax, dword [esp + 0x14]
mov edx, dword [0x452df4]
test edx, edx
je 0x42b429
xor esi, esi
mov edi, dword [0x452df8]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + esi*8], 0xc85f7986
je 0x42b407
inc esi
cmp edx, esi
jne 0x42b3f0
jmp 0x42b429
xor ebx, ebx
jmp 0x42b76f
mov edx, dword [edi + esi*8 + 4]
cmp edx, eax
je 0x42b429
push 0
push ebp
push dword [esp + 0xc]
push 5
push 4
push dword [0x452dfc]
push edx
call fcn.00442cc0
add esp, 0x1c
xor ebx, ebx
test eax, eax
js 0x42b762
mov ebp, dword [esp + 4]
mov esi, dword [ebp]
xor eax, eax
mov ecx, esi
mov edx, ebp
lea edi, [edx + ecx]
mov ecx, dword [edx + ecx]
add eax, 0x208
add ebx, 0x104
mov edx, edi
test ecx, ecx
jne 0x42b440
test ebx, ebx
jns 0x42b460
mov eax, 0xffffffff
push eax
call fcn.0040c7f0
add esp, 4
mov dword [esp], eax
mov ecx, ebp
jmp 0x42b480
add ecx, esi
mov word [eax], 0xa
add eax, 2
mov esi, dword [ecx]
test esi, esi
je 0x42b4a3
mov edx, dword [ecx + esi + 0x3c]
movzx edi, word [edx]
test di, di
je 0x42b470
add edx, 2
nop
mov word [eax], di
add eax, 2
movzx edi, word [edx]
add edx, 2
test di, di
jne 0x42b490
jmp 0x42b470
xor ebx, ebx
mov ecx, dword [esp]
cmp eax, ecx
je 0x42b757
mov word [eax], 0
movzx esi, word [ecx]
test si, si
je 0x42b50b
mov eax, dword [esp]
add eax, 2
xor ebx, ebx
mov ecx, esi
jmp 0x42b4dc
inc ebx
movzx ecx, word [eax]
add eax, 2
test cx, cx
je 0x42b50b
cmp cx, 0x7f
jbe 0x42b4d0
movzx edx, cx
cmp edx, 0x7ff
ja 0x42b500
add ebx, 2
jmp 0x42b4d1
cmp cx, 0xffff
je 0x42b4d1
add ebx, 3
jmp 0x42b4d1
lea eax, [ebx + 1]
push eax
call fcn.0040c7f0
add esp, 4
mov dword [esp + 0xc], eax
mov ecx, eax
test si, si
je 0x42b68e
mov ecx, dword [esp + 0xc]
test ebx, ebx
je 0x42b68e
mov edx, dword [esp]
mov ebp, ebx
mov ecx, dword [esp + 0xc]
nop
nop
nop
nop
nop
movzx eax, si
lea esi, [edx + 2]
cmp ax, 0x7f
ja 0x42b560
lea edi, [ecx + 1]
mov byte [ecx], al
jmp 0x42b620
cmp eax, 0x7ff
ja 0x42b590
cmp ebp, 2
jb 0x42b590
mov edx, eax
shr edx, 6
add dl, 0xc0
mov byte [ecx], dl
and al, 0x3f
or al, 0x80
lea edi, [ecx + 2]
mov byte [ecx + 1], al
jmp 0x42b620
mov dword [esp + 8], ecx
mov edi, eax
and edi, 0xfc00
cmp edi, 0xd800
jne 0x42b63a
cmp ebp, 4
jb 0x42b63a
movzx edi, word [edx + 2]
mov dword [esp + 0x2c], edi
add edx, 4
shl eax, 0xa
mov esi, edi
not esi
and esi, 0xdc00
and edi, 0x23ff
sub edi, esi
lea ecx, [eax + edi]
add ecx, 0xfca00000
mov dword [esp + 0x28], ecx
lea ecx, [eax + edi]
add ecx, 0xfca10000
mov eax, ecx
shr eax, 0x12
add al, 0xf0
mov esi, dword [esp + 8]
mov byte [esi], al
shr ecx, 0xc
and cl, 0x3f
or cl, 0x80
mov byte [esi + 1], cl
mov ecx, esi
mov eax, dword [esp + 0x28]
shr eax, 6
and al, 0x3f
or al, 0x80
mov byte [esi + 2], al
mov eax, dword [esp + 0x2c]
and al, 0x3f
or al, 0x80
lea edi, [esi + 4]
mov byte [esi + 3], al
mov esi, edx
add ebp, ecx
sub ebp, edi
mov edx, esi
mov ecx, edi
movzx esi, word [edx]
test si, si
je 0x42b68e
test ebp, ebp
jne 0x42b540
jmp 0x42b68e
movzx ecx, di
cmp ecx, 0xdc00
jne 0x42b64d
mov edx, esi
mov ecx, dword [esp + 8]
jmp 0x42b628
cmp ebp, 3
jb 0x42b686
mov ecx, eax
shr ecx, 0xc
or cl, 0xe0
mov edi, dword [esp + 8]
mov byte [edi], cl
mov edx, eax
shr edx, 6
mov ecx, edx
xor ecx, 0xc0
or edx, 0x3f
and edx, ecx
mov ecx, edi
add dl, 0x80
mov byte [edi + 1], dl
and al, 0x3f
or al, 0x80
mov byte [edi + 2], al
add edi, 3
jmp 0x42b620
mov ecx, dword [esp + 8]
mov edi, ecx
jmp 0x42b620
mov byte [ecx], 0
mov dword [esp + 0x14], 0x5c6b6db4
mov dword [esp + 0x18], 0x666b6a63
mov dword [esp + 0x1c], 0x79662169
mov word [esp + 0x20], 0xf764
mov dword [esp + 0x22], 0
mov word [esp + 0x26], 0
mov eax, 0x101ee7ff
mov ecx, 0x2fe11800
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + eax - 0x101ee7eb]
lea edx, [eax - 0x101ee000]
lea edi, [ecx - 0x2fe11000]
xor esi, 0x3608dbbc
and edi, 0xbbc
xor edi, 0x99e9cfff
or edi, eax
and edx, 0x443
xor edx, 0xbfe9dfff
or edx, ecx
and edx, edi
not edx
mov edi, esi
and edi, edx
add edi, edi
sub edx, edi
add edx, esi
mov esi, edx
and esi, 4
xor edx, 4
lea edx, [edx + esi*2]
inc dl
mov byte [esp + eax - 0x101ee7eb], dl
inc eax
dec ecx
cmp eax, 0x101ee813
jne 0x42b6d0
lea eax, [esp + 0x14]
mov ecx, dword [esp + 0x44]
push ebx
mov esi, dword [esp + 0x10]
push esi
push eax
call fcn.0040d630
mov ebx, eax
push esi
call fcn.0040c800
add esp, 4
mov ebp, dword [esp + 4]
mov ecx, dword [esp]
push ecx
call fcn.0040c800
add esp, 4
jmp 0x42b766
mov ebp, dword [esp + 4]
push ebp
call fcn.0043fc00
add esp, 4
mov eax, ebx
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret