Function at 0x42b320
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x20
mov dword [esp + 0x18], 0
mov dword [esp + 4], 0x6c6d6e6f
mov word [esp + 8], 0
mov byte [esp + 0xa], 0
mov eax, 0x7b5d0f9f
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax - 0x7b5d0f9b]
lea edx, [eax - 0x7b5d0f87]
and edx, ecx
add edx, edx
sub ecx, edx
add ecx, eax
mov edx, ecx
xor edx, 0xed
and ecx, 0x12
add ecx, ecx
sub ecx, edx
add cl, 0xee
mov byte [esp + eax - 0x7b5d0f9b], cl
inc eax
cmp eax, 0x7b5d0fa6
jne 0x42b350
mov eax, dword [esp + 4]
mov ecx, dword [0x450d3c]
test ecx, ecx
je 0x42b3d4
xor edx, edx
mov esi, dword [0x450d40]
nop
nop
nop
cmp dword [esi + edx*8], 0xc85f7986
je 0x42b3b0
inc edx
cmp ecx, edx
jne 0x42b3a0
jmp 0x42b3d4
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x42b3d4
lea eax, [esp + 0x18]
push eax
push 0
push 0
push 5
push 4
push dword [0x450d44]
push ecx
call fcn.00441410
add esp, 0x1c
cmp eax, 0xc0000004
jne 0x42b470
push dword [esp + 0x18]
call fcn.0043e6c0
add esp, 4
mov ebp, eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 4], 0x6c6d6e6f
mov word [esp + 8], 0
mov byte [esp + 0xa], 0
mov eax, 0x7b5d0f9f
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax - 0x7b5d0f9b]
lea esi, [eax - 0x7b5d0f87]
and esi, edx
add esi, esi
sub edx, esi
add edx, eax
mov esi, edx
xor esi, 0xed
and edx, 0x12
add edx, edx
sub edx, esi
add dl, 0xee
mov byte [esp + eax - 0x7b5d0f9b], dl
inc eax
cmp eax, 0x7b5d0fa6
jne 0x42b410
mov eax, dword [esp + 4]
mov edx, dword [0x450d3c]
test edx, edx
je 0x42b496
xor esi, esi
mov edi, dword [0x450d40]
nop
nop
nop
cmp dword [edi + esi*8], 0xc85f7986
je 0x42b477
inc esi
cmp edx, esi
jne 0x42b460
jmp 0x42b496
xor ebx, ebx
jmp 0x42b74f
mov edx, dword [edi + esi*8 + 4]
cmp edx, eax
je 0x42b496
push 0
push ecx
push ebp
push 5
push 4
push dword [0x450d44]
push edx
call fcn.00441410
add esp, 0x1c
xor ebx, ebx
test eax, eax
js 0x42b746
mov esi, dword [ebp]
xor eax, eax
mov ecx, esi
mov edx, ebp
nop
nop
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 0x42b4b0
test ebx, ebx
jns 0x42b4d0
mov eax, 0xffffffff
push eax
call fcn.0040ce80
add esp, 4
mov dword [esp], eax
mov ecx, ebp
jmp 0x42b4f0
add ecx, esi
mov word [eax], 0xa
add eax, 2
mov esi, dword [ecx]
test esi, esi
je 0x42b513
mov edx, dword [ecx + esi + 0x3c]
movzx edi, word [edx]
test di, di
je 0x42b4e0
add edx, 2
nop
mov word [eax], di
add eax, 2
movzx edi, word [edx]
add edx, 2
test di, di
jne 0x42b500
jmp 0x42b4e0
xor ebx, ebx
mov ecx, dword [esp]
cmp eax, ecx
je 0x42b73d
mov word [eax], 0
movzx edi, word [ecx]
test di, di
je 0x42b57b
mov eax, dword [esp]
add eax, 2
xor ebx, ebx
mov ecx, edi
jmp 0x42b54c
inc ebx
movzx ecx, word [eax]
add eax, 2
test cx, cx
je 0x42b57b
cmp cx, 0x7f
jbe 0x42b540
movzx edx, cx
cmp edx, 0x7ff
ja 0x42b570
add ebx, 2
jmp 0x42b541
cmp cx, 0xffff
je 0x42b541
add ebx, 3
jmp 0x42b541
mov dword [esp + 0x1c], ebp
lea eax, [ebx + 1]
push eax
call fcn.0040ce80
add esp, 4
mov ebp, eax
mov dword [esp + 0x14], eax
test di, di
je 0x42b6c7
mov ebp, dword [esp + 0x14]
test ebx, ebx
je 0x42b6c7
mov edx, dword [esp]
mov ecx, ebx
mov ebp, dword [esp + 0x14]
nop
movzx eax, di
lea edi, [edx + 2]
cmp ax, 0x7f
ja 0x42b5d0
lea esi, [ebp + 1]
mov byte [ebp], al
jmp 0x42b670
cmp eax, 0x7ff
ja 0x42b600
cmp ecx, 2
jb 0x42b600
mov edx, eax
shr edx, 6
add dl, 0xc0
mov byte [ebp], dl
and al, 0x3f
or al, 0x80
mov byte [ebp + 1], al
lea esi, [ebp + 2]
jmp 0x42b670
mov esi, eax
and esi, 0xfc00
cmp esi, 0xd800
jne 0x42b68a
cmp ecx, 4
jb 0x42b68a
movzx esi, word [edx + 2]
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
and al, 0x3f
or 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 edi, esi
xor edi, 0xc0
mov eax, esi
or eax, 0x3f
and eax, edi
add al, 0x80
lea esi, [ebp + 4]
mov byte [ebp + 3], al
mov edi, edx
nop
nop
nop
nop
nop
nop
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 0x42b6c7
test ecx, ecx
jne 0x42b5b0
jmp 0x42b6c7
movzx edx, si
cmp edx, 0xdc00
jne 0x42b699
mov edx, edi
jmp 0x42b678
cmp ecx, 3
jb 0x42b6c3
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 0x42b670
mov esi, ebp
jmp 0x42b670
mov byte [ebp], 0
mov dword [esp + 4], 0x685d5f78
mov dword [esp + 8], 0x66555a69
mov dword [esp + 0xc], 0x4f521357
mov dword [esp + 0x10], 0xc550
mov eax, 0xa7813db2
movzx ecx, byte [esp + eax + 0x587ec252]
mov edx, ecx
and edx, eax
add dl, dl
sub cl, dl
movzx ecx, cl
add ecx, eax
add cl, 0x86
mov byte [esp + eax + 0x587ec252], cl
inc eax
cmp eax, 0xa7813dc2
jne 0x42b6f0
lea eax, [esp + 4]
mov ecx, dword [esp + 0x34]
push ebx
mov esi, dword [esp + 0x18]
push esi
push eax
call fcn.0040d920
mov ebx, eax
push esi
call fcn.0040ce90
add esp, 4
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esp]
push ecx
call fcn.0040ce90
add esp, 4
push ebp
call fcn.0043e770
add esp, 4
mov eax, ebx
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret