Function at 0x4413a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
mov dword [esp], 0x94959697
mov byte [esp + 4], 0
mov eax, 0x24
movzx ecx, byte [esp + eax - 0x24]
mov edx, ecx
and edx, eax
add dl, dl
sub cl, dl
movzx ecx, cl
add ecx, eax
add cl, 0x4c
mov byte [esp + eax - 0x24], cl
inc eax
cmp eax, 0x29
jne 0x4413c0
mov ebx, dword [esp]
mov eax, dword [0x44dd14]
test eax, eax
je 0x44143e
xor ecx, ecx
mov edx, dword [0x44dd18]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x3052ea03
je 0x441410
inc ecx
cmp eax, ecx
jne 0x441400
jmp 0x44143e
mov eax, dword [edx + ecx*8 + 4]
cmp eax, ebx
je 0x44143e
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push 0
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push 0x18
push eax
push dword [0x44dd1c]
call fcn.0043e8e0
add esp, 0x24
mov ebx, eax
mov dword [esp], 0x539291b3
mov word [esp + 4], 0
mov byte [esp + 6], 0
mov eax, 0x9109109c
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax + 0x6ef6ef64]
xor edx, eax
lea ecx, [edx + 0x2ad2acf3]
mov edi, 0xc
sub edi, edx
not edx
or edx, ecx
and edx, 1
and edi, 0xf3
and ecx, 0xc
or ecx, edi
xor ecx, 0xf2
lea ecx, [ecx + edx*2]
mov byte [esp + eax + 0x6ef6ef64], cl
inc eax
cmp eax, 0x910910a3
jne 0x441460
cmp ebx, dword [esp]
jne 0x441676
push dword [esp + 0x10]
call fcn.0043c380
add esp, 4
mov edi, eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xc], ecx
mov dword [esp], 0x94959697
mov byte [esp + 4], 0
mov edx, 0x24
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [esp + edx - 0x24]
mov ecx, ebx
and ecx, edx
add cl, cl
sub bl, cl
movzx ecx, bl
add ecx, edx
add cl, 0x4c
mov byte [esp + edx - 0x24], cl
inc edx
cmp edx, 0x29
jne 0x4414e0
mov ebx, dword [esp]
mov edx, dword [0x44dd14]
test edx, edx
je 0x441570
mov dword [esp + 8], edi
mov ecx, ebp
xor edi, edi
mov ebp, dword [0x44dd18]
nop
nop
nop
nop
nop
nop
cmp dword [ebp + edi*8], 0x3052ea03
je 0x441533
inc edi
cmp edx, edi
jne 0x441520
mov ebp, ecx
jmp 0x44156c
mov edx, dword [ebp + edi*8 + 4]
cmp edx, ebx
mov ebp, ecx
mov edi, dword [esp + 8]
je 0x441570
lea ecx, [esp + 0x10]
push ecx
push dword [esp + 0x10]
push edi
push 0
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push 0x18
push edx
push dword [0x44dd1c]
mov edi, eax
call fcn.0043e8e0
add esp, 0x24
mov ebx, eax
mov eax, edi
mov edi, dword [esp + 8]
test ebp, ebp
je 0x44166d
test ebx, ebx
js 0x44166d
test esi, esi
je 0x441665
mov ecx, dword [edi + 0xc]
shr ecx, 1
mov edx, dword [ebp]
cmp edx, ecx
jb 0x441596
mov edx, ecx
test edx, edx
je 0x44165c
add eax, 0x10
mov ecx, edx
and ecx, 3
mov dword [esp + 0xc], ebx
mov dword [esp + 8], edi
je 0x4415ec
mov ebp, edx
xor edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, word [eax]
xor edx, edx
test bx, bx
setne dl
lea eax, [eax + edx*2]
mov word [esi], bx
add esi, 2
inc edi
cmp ecx, edi
jne 0x4415c0
mov edx, ebp
sub ebp, edi
mov ebx, dword [esp + 0xc]
mov edi, dword [esp + 8]
cmp edx, 4
jae 0x441600
jmp 0x44165c
mov ebp, edx
cmp edx, 4
jb 0x44165c
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ebx, esi
movzx edx, word [eax]
xor ecx, ecx
test dx, dx
setne cl
lea esi, [eax + ecx*2]
mov word [ebx], dx
movzx eax, word [eax + ecx*2]
xor ecx, ecx
test ax, ax
setne cl
lea edx, [esi + ecx*2]
mov word [ebx + 2], ax
movzx eax, word [esi + ecx*2]
xor ecx, ecx
test ax, ax
setne cl
lea edi, [edx + ecx*2]
mov word [ebx + 4], ax
movzx ecx, word [edx + ecx*2]
xor eax, eax
test cx, cx
setne al
mov word [ebx + 6], cx
lea esi, [ebx + 8]
lea eax, [edi + eax*2]
add ebp, 0xfffffffc
jne 0x441600
mov ebx, dword [esp + 0xc]
mov edi, dword [esp + 8]
mov word [esi], 0
mov ebp, dword [esp + 0x34]
mov eax, dword [edi + 0xc]
shr eax, 1
mov dword [ebp], eax
push edi
call fcn.0043c450
add esp, 4
mov eax, ebx
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret