Function at 0x41e440
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x50
mov dword [esp + 0x34], 0
mov ecx, dword [0x444434]
test ecx, ecx
je 0x41e47f
mov eax, dword [0x444438]
add eax, 8
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [eax - 8], 0x18dc7455
je 0x41e48b
add eax, 0xc
dec ecx
jne 0x41e470
xor ebx, ebx
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov byte [esp + 0x20], 0
mov dword [esp + 0x1c], 0x900000c2
mov dword [esp + 0x18], 0xd2ff0000
mov dword [esp + 0x14], 0xba00
mov dword [esp + 0x10], 0xb8
mov eax, dword [eax]
mov dword [esp + 0x11], eax
mov eax, dword [0x44443c]
mov dword [esp + 0x16], eax
mov word [esp + 0x1d], 0x10
mov dword [esp + 4], 0
mov dword [esp + 0x3c], 0x10
lea eax, [esp + 0x3c]
lea esi, [esp + 4]
push 0x40
push 0x3000
push eax
push 0
push esi
push 0xffffffffffffffff
call dword [0x444440]
mov eax, dword [esp + 4]
lea edx, [esp + 0x10]
mov edi, eax
mov ecx, 4
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
add eax, 0x10
xor ebx, ebx
lea edx, [esp + 0x20]
mov edi, eax
xor ecx, ecx
xchg esi, edx
rep movsw word es:[edi], word [esi]
xchg esi, edx
mov edi, esi
lea eax, [esp + 0x34]
push eax
push 0
push 0
push 5
call dword [esp + 0x14]
mov esi, eax
mov dword [esp + 0x38], 0
lea eax, [esp + 0x38]
push 0x8000
push eax
push edi
push 0xffffffffffffffff
call dword [0x444444]
cmp esi, 0xc0000004
jne 0x41e481
lea ebx, [esp + 0x3c]
lea eax, [esp + 0x20]
mov dword [esp + 8], eax
mov esi, edi
push dword [esp + 0x34]
call fcn.00431ad0
add esp, 4
mov ecx, dword [0x444434]
test ecx, ecx
je 0x41e59f
mov edx, dword [esp + 0x34]
mov dword [esp + 0xc], edx
mov edx, dword [0x444438]
add edx, 8
lea edi, [esp + 0x10]
nop
nop
nop
cmp dword [edx - 8], 0x18dc7455
je 0x41e5a6
add edx, 0xc
dec ecx
jne 0x41e590
xor ebx, ebx
jmp 0x41e8fe
mov byte [esp + 0x20], 0
mov dword [esp + 0x1c], 0x900000c2
mov dword [esp + 0x18], 0xd2ff0000
mov dword [esp + 0x14], 0xba00
mov dword [esp + 0x10], 0xb8
mov ecx, dword [edx]
mov dword [esp + 0x11], ecx
mov ecx, dword [0x44443c]
mov dword [esp + 0x16], ecx
mov word [esp + 0x1d], 0x10
mov dword [esp + 4], 0
mov dword [esp + 0x3c], 0x10
push 0x40
push 0x3000
push ebx
push 0
push esi
push 0xffffffffffffffff
mov esi, eax
call dword [0x444440]
mov eax, dword [esp + 4]
mov edx, edi
mov edi, eax
mov ecx, 4
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
add eax, 0x10
xor ebx, ebx
mov edi, eax
xor ecx, ecx
mov eax, dword [esp + 8]
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
push 0
push dword [esp + 0x10]
push esi
push 5
call dword [esp + 0x14]
mov edi, eax
mov dword [esp + 0x38], 0
push 0x8000
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0xc]
push eax
push 0xffffffffffffffff
call dword [0x444444]
test edi, edi
js 0x41e745
mov ecx, dword [esi]
xor eax, eax
mov dword [esp + 0xc], esi
mov edx, esi
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 0x41e670
test ebx, ebx
jns 0x41e690
mov eax, 0xffffffff
push eax
call fcn.00431ad0
add esp, 4
mov edi, eax
mov eax, dword [esp + 0xc]
mov edx, dword [eax]
mov dword [esp + 0x30], edi
jmp 0x41e6be
mov word [edi], 0xa
add edi, 2
mov edx, dword [eax]
test edx, edx
je 0x41e6e3
mov ecx, dword [eax + edx + 0x3c]
add eax, edx
movzx edx, word [ecx]
test dx, dx
je 0x41e6b0
add ecx, 2
nop
mov word [edi], dx
add edi, 2
movzx edx, word [ecx]
add ecx, 2
test dx, dx
jne 0x41e6d0
jmp 0x41e6b0
mov eax, dword [esp + 0x30]
cmp edi, eax
je 0x41e81a
mov word [edi], 0
movzx ecx, word [eax]
test cx, cx
je 0x41e821
xor esi, esi
jmp 0x41e714
add edx, esi
mov esi, edx
movzx ecx, word [eax + 2]
add eax, 2
test cx, cx
je 0x41e74c
cmp eax, edi
jae 0x41e74c
mov edx, esi
movzx ebx, cx
xor ecx, ecx
cmp ebx, 0x800
setb byte [esp + 8]
mov esi, 1
cmp ebx, 0x80
jb 0x41e704
movzx ebx, byte [esp + 8]
mov cl, bl
xor ecx, 3
mov esi, ecx
jmp 0x41e704
mov eax, esi
jmp 0x41e8fe
lea eax, [esi + 1]
mov dword [esp + 0x48], eax
push eax
call fcn.00431ad0
add esp, 4
test esi, esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], eax
jle 0x41e83b
lea ecx, [eax + esi]
mov dword [esp + 8], ecx
add dword [esp + 0x48], eax
mov esi, eax
mov edx, dword [esp + 0x30]
jmp 0x41e795
mov byte [esi], cl
mov eax, 1
add edx, 2
add esi, eax
cmp esi, dword [esp + 8]
jae 0x41e83d
cmp edx, edi
jae 0x41e83d
movzx ecx, word [edx]
test cx, cx
je 0x41e83d
cmp cx, 0x7f
jbe 0x41e77f
mov eax, esi
not eax
add eax, dword [esp + 0x48]
cmp eax, 2
jb 0x41e7e0
movzx ebx, cx
cmp ebx, 0x7ff
ja 0x41e7e0
mov eax, ecx
shr eax, 6
add al, 0xc0
mov byte [esi], al
and cl, 0x3f
or cl, 0x80
mov byte [esi + 1], cl
mov eax, 2
jmp 0x41e786
cmp eax, 3
mov eax, 0
jb 0x41e786
movzx ebx, cx
mov eax, ebx
shr eax, 0xc
or al, 0xe0
mov byte [esi], al
shr ebx, 6
mov eax, ebx
not eax
or eax, 0x3f
add eax, ebx
add al, 0x81
mov byte [esi + 1], al
and cl, 0x3f
or cl, 0x80
mov byte [esi + 2], cl
mov eax, 3
jmp 0x41e786
xor ebx, ebx
jmp 0x41e8f1
mov dword [esp + 0x44], 0
push 1
call fcn.00431ad0
add esp, 4
mov esi, eax
mov dword [esp + 0x40], eax
jmp 0x41e83d
mov esi, eax
mov ecx, dword [ebp + 8]
lea edi, [esp + 0x10]
mov byte [esi], 0
mov dword [esp + 0x10], 0xbeb1b396
mov dword [esp + 0x14], 0x809190bd
mov dword [esp + 0x18], 0x9394cf93
mov word [esp + 0x1c], 0x1596
mov dword [esp + 0x1e], 0
mov dword [esp + 0x22], 0
mov dword [esp + 0x26], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0x19
ja 0x41e8d3
nop
mov esi, dword [esp + 4]
mov eax, dword [esp + 4]
movzx edx, byte [esp + eax + 0x10]
lea eax, [esi + edx]
add eax, 0x5e8a66db
add esi, 0x5e8a66db
and esi, edx
add esi, esi
sub eax, esi
mov edx, eax
xor edx, 2
and eax, 2
lea eax, [edx + eax*2]
inc al
mov edx, dword [esp + 4]
mov byte [esp + edx + 0x10], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0x1a
jb 0x41e890
push dword [esp + 0x44]
mov esi, dword [esp + 0x44]
push esi
push edi
call fcn.00409210
mov ebx, eax
push esi
call fcn.00408840
add esp, 4
mov eax, dword [esp + 0x30]
push eax
call fcn.00408840
add esp, 4
mov eax, dword [esp + 0xc]
push eax
call fcn.00431b80
add esp, 4
jmp 0x41e481