Function at 0x441840
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov edx, dword [esp + 0x28]
mov ebp, dword [esp + 0x24]
mov ebx, dword [esp + 0x30]
mov ecx, ebx
add ecx, ebp
adc edx, 0
xor eax, eax
mov esi, 0xfffffffe
cmp esi, ecx
mov ecx, 0
sbb ecx, edx
mov esi, dword [esp + 0x2c]
jb 0x4418b9
mov ecx, ebx
shr ecx, 2
mov edx, ebp
mov edi, esi
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
mov ecx, ebx
xor ecx, 3
mov edx, ebx
or edx, 0xfffffffc
and edx, ecx
add esi, edx
add edx, ebp
mov ecx, ebx
shr ecx, 1
and ecx, 1
mov ebp, edx
mov edi, esi
xchg esi, ebp
rep movsw word es:[edi], word [esi]
xchg esi, ebp
test bl, 1
je 0x441a81
and ebx, 2
movzx ecx, byte [edx + ebx]
mov byte [esi + ebx], cl
jmp 0x441a81
mov dword [esp], 0x989b9a9d
mov eax, 0xfe0cfc5b
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edi, byte [esp + eax + 0x1f303a5]
mov edx, eax
and edx, edi
mov ebp, edx
and ebp, 2
mov esi, edx
or esi, 0xfffffffd
inc esi
mov ecx, edx
and ecx, 0x5d
imul ecx, esi
or edx, 2
imul edx, ebp
add ecx, edi
sub ecx, edx
add ecx, eax
lea edx, [ecx + ecx]
and edx, 0x137e2470
xor ecx, 0x9bf1238
mov esi, edx
and esi, ecx
xor ecx, edx
lea ecx, [ecx + esi*2]
inc cl
mov byte [esp + eax + 0x1f303a5], cl
inc eax
cmp eax, 0xfe0cfc5f
jne 0x4418d0
mov eax, dword [esp]
mov ecx, dword [0x44fe80]
test ecx, ecx
je 0x441960
xor edx, edx
mov edi, dword [0x44fe84]
mov esi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + edx*8], 0x7789b0cb
je 0x44196a
inc edx
cmp ecx, edx
jne 0x441950
jmp 0x441994
mov esi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
jmp 0x441994
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, eax
je 0x441994
lea eax, [esp + 8]
push 2
push 0
push 0
push eax
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 7
push dword [0x44fe88]
push ecx
call fcn.00440600
add esp, 0x28
test eax, eax
mov edi, dword [esp + 0x28]
js 0x441a81
push 0x1e03da9a
push dword [0x457e9c]
call fcn.00442e20
add esp, 8
push 0
push 0
push ebx
push esi
push edi
push ebp
push dword [esp + 0x20]
call eax
mov ecx, dword [esp + 8]
mov dword [esp + 0xc], ecx
mov dword [esp + 4], 0x989b9a9d
mov edx, 0xfe0cfc5b
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [esp + edx + 0x1f303a9]
mov edi, edx
and edi, ebx
mov ebp, edi
and ebp, 2
mov ecx, edi
or ecx, 0xfffffffd
inc ecx
mov esi, edi
and esi, 0x5d
imul esi, ecx
or edi, 2
imul edi, ebp
add esi, ebx
sub esi, edi
add esi, edx
lea ecx, [esi + esi]
and ecx, 0x137e2470
xor esi, 0x9bf1238
mov edi, ecx
and edi, esi
xor esi, ecx
lea ecx, [esi + edi*2]
inc cl
mov byte [esp + edx + 0x1f303a9], cl
inc edx
cmp edx, 0xfe0cfc5f
jne 0x4419e0
mov edx, dword [0x44fe80]
test edx, edx
je 0x441a81
mov esi, dword [esp + 4]
xor edi, edi
mov ebx, dword [0x44fe84]
nop
nop
nop
nop
nop
cmp dword [ebx + edi*8], 0x7e776f1
je 0x441a60
inc edi
cmp edx, edi
jne 0x441a50
jmp 0x441a81
mov edx, dword [ebx + edi*8 + 4]
cmp edx, esi
je 0x441a81
push dword [esp + 0xc]
push 1
push dword [0x44fe88]
push edx
mov esi, eax
call fcn.00440600
mov eax, esi
add esp, 0x10
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret