Function at 0x441230
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x518
mov dword [esp + 0x188], 0xcccdcacb
mov dword [esp + 0x18c], 0
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x10]
cmp eax, 7
ja 0x4412c5
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
movzx ecx, byte [esp + ecx + 0x188]
mov edx, eax
xor edx, 0x38ee4eb2
and eax, 0x38ee4eb2
lea eax, [edx + eax*2]
lea edx, [eax + ecx]
and eax, ecx
mov ecx, edx
not ecx
and ecx, eax
add ecx, eax
not eax
and eax, edx
sub eax, ecx
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x68]
add al, 0x86
mov ecx, dword [esp + 0x10]
mov byte [esp + ecx + 0x188], al
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, 8
jb 0x441270
mov eax, dword [esp + 0x188]
mov ecx, dword [0x44f3c8]
test ecx, ecx
je 0x44131a
xor edx, edx
mov esi, dword [0x44f3cc]
nop
nop
cmp dword [esi + edx*8], 0x54ca534e
je 0x4412f0
inc edx
cmp ecx, edx
jne 0x4412e0
jmp 0x44131a
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x44131a
lea eax, [esp + 0xc]
push 2
push 0
push 0
push eax
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 7
push dword [0x44f3d0]
push ecx
call fcn.0043f830
add esp, 0x28
test eax, eax
js 0x441566
push 0x495ce5ca
push dword [0x4573dc]
call fcn.004425e0
add esp, 8
lea ecx, [esp + 0x188]
push 0
push 0x30
push ecx
push 0
push dword [esp + 0x1c]
call eax
mov ecx, dword [esp + 0x190]
mov dword [esp + 8], ecx
mov ebx, dword [esp + 0x194]
mov ecx, dword [esp + 0xc]
mov dword [esp + 4], ecx
mov dword [esp + 0x68], 0xcccdcacb
mov dword [esp + 0x6c], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 7
ja 0x4413dc
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp]
mov edx, dword [esp]
movzx esi, byte [esp + edx + 0x68]
mov edx, ecx
xor edx, 0x38ee4eb2
and ecx, 0x38ee4eb2
lea edx, [edx + ecx*2]
lea ecx, [edx + esi]
and edx, esi
mov esi, ecx
not esi
and esi, edx
add esi, edx
not edx
and edx, ecx
sub edx, esi
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 0x10]
add cl, 0x86
mov edx, dword [esp]
mov byte [esp + edx + 0x68], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 8
jb 0x441390
mov edx, dword [0x44f3c8]
test edx, edx
je 0x441431
mov esi, dword [esp + 0x68]
xor ecx, ecx
mov edi, dword [0x44f3cc]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + ecx*8], 0x625b6034
je 0x441410
inc ecx
cmp edx, ecx
jne 0x441400
jmp 0x441431
mov ecx, dword [edi + ecx*8 + 4]
cmp ecx, esi
je 0x441431
push dword [esp + 4]
push 1
push dword [0x44f3d0]
push ecx
mov esi, eax
call fcn.0043f830
mov eax, esi
add esp, 0x10
test eax, eax
js 0x441566
push 0x20
lea eax, [esp + 0x18c]
push eax
push ebx
push dword [esp + 0x14]
call fcn.00440fc0
add esp, 0x10
test eax, eax
js 0x441566
lea eax, [esp + 0x10]
push 0x58
push eax
push dword [esp + 0x1ac]
push dword [esp + 0x1ac]
call fcn.00440fc0
add esp, 0x10
test eax, eax
js 0x441566
mov edi, dword [ebp + 8]
mov eax, dword [esp + 0x1a0]
mov ecx, dword [esp + 0x1a4]
add eax, 0x10
mov dword [esp + 8], eax
adc ecx, 0
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x68], eax
jmp 0x4414de
cmp cx, dx
je 0x441572
push esi
call fcn.0043c7f0
add esp, 4
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
mov edx, ecx
xor edx, dword [esp + 4]
mov esi, eax
xor esi, dword [esp + 8]
or esi, edx
je 0x441566
push 0x120
lea edx, [esp + 0x6c]
push edx
push ecx
push eax
call fcn.00440fc0
add esp, 0x10
test eax, eax
js 0x441566
movzx eax, word [esp + 0xc2]
push eax
call fcn.0043c770
add esp, 4
mov esi, eax
movzx eax, word [esp + 0xc2]
push eax
push esi
push dword [esp + 0xd4]
push dword [esp + 0xd4]
call fcn.00440fc0
add esp, 0x10
test eax, eax
js 0x4414b9
xor eax, eax
nop
movzx ecx, word [edi + eax]
lea edx, [ecx - 0x41]
cmp dx, 0x1a
jae 0x441540
or ecx, 0x20
movzx edx, word [esi + eax]
lea ebx, [edx - 0x41]
cmp bx, 0x1a
jae 0x441550
or edx, 0x20
test cx, cx
je 0x4414b0
add eax, 2
cmp cx, dx
je 0x441530
jmp 0x4414b0
xor eax, eax
xor edx, edx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edi, dword [esp + 0x98]
mov ebx, dword [esp + 0x9c]
push esi
call fcn.0043c7f0
mov edx, ebx
mov eax, edi
add esp, 4
jmp 0x44156a