Function at 0x441170
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov dword [esp + 4], 0xfcfdfafb
mov word [esp + 8], 0
mov byte [esp + 0xa], 0
mov ebx, dword [esp + 0x2c]
mov eax, 0xbb3487aa
mov ecx, 0x17855
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + eax + 0x44cb785a]
mov edi, ecx
and edi, 0x10818
mov edx, eax
and edx, 0x83140727
or edx, edi
mov edi, edx
and edx, 0x80050a3f
xor edx, 0x3b79bd98
or edx, esi
xor esi, 0xb82482bf
xor edi, 0x80040267
or edi, esi
and edx, edi
add edx, 0xd5e01514
mov esi, edx
and esi, 0x19
xor edx, 0x99
lea edx, [edx + esi*2]
inc dl
mov byte [esp + eax + 0x44cb785a], dl
inc eax
dec ecx
cmp eax, 0xbb3487b1
jne 0x4411a0
mov esi, dword [esp + 4]
mov eax, dword [0x44d398]
test eax, eax
je 0x44125a
xor ecx, ecx
mov edx, dword [0x44d39c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x484ce391
je 0x441230
inc ecx
cmp eax, ecx
jne 0x441220
jmp 0x44125a
mov eax, dword [edx + ecx*8 + 4]
cmp eax, esi
je 0x44125a
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push 2
push dword [esp + 0x38]
push 0x14
push eax
push dword [0x44d3a0]
call fcn.0043dc10
add esp, 0x20
mov esi, eax
cmp esi, 0xc0000023
jne 0x4414d9
push dword [esp + 0x10]
call fcn.0043a8b0
add esp, 4
mov dword [esp], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xc], ecx
mov dword [esp + 4], 0xfcfdfafb
mov word [esp + 8], 0
mov byte [esp + 0xa], 0
mov edi, 0xbb3487aa
mov esi, 0x17855
nop
nop
nop
nop
nop
movzx ecx, byte [esp + edi + 0x44cb785a]
mov ebp, esi
and ebp, 0x10818
mov edx, edi
and edx, 0x83140727
or edx, ebp
mov ebp, edx
and edx, 0x80050a3f
xor edx, 0x3b79bd98
or edx, ecx
xor ecx, 0xb82482bf
xor ebp, 0x80040267
or ebp, ecx
and edx, ebp
add edx, 0xd5e01514
mov ecx, edx
and ecx, 0x19
xor edx, 0x99
lea ecx, [edx + ecx*2]
inc cl
mov byte [esp + edi + 0x44cb785a], cl
inc edi
dec esi
cmp edi, 0xbb3487b1
jne 0x4412a0
mov esi, dword [esp + 4]
mov edx, dword [0x44d398]
test edx, edx
je 0x441372
xor ecx, ecx
mov edi, dword [0x44d39c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + ecx*8], 0x484ce391
je 0x441340
mov ebp, ecx
xor ebp, 1
and ecx, 1
lea ecx, [ecx*2]
add ecx, ebp
cmp ecx, edx
jb 0x441320
jmp 0x441372
mov edx, dword [edi + ecx*8 + 4]
cmp edx, esi
je 0x441372
lea ecx, [esp + 0x10]
push ecx
push dword [esp + 0x10]
push dword [esp + 8]
push 2
push dword [esp + 0x38]
push 0x14
push edx
push dword [0x44d3a0]
mov edi, eax
call fcn.0043dc10
add esp, 0x20
mov esi, eax
mov eax, edi
test esi, esi
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
js 0x4414ce
mov edi, dword [esp + 0x30]
test edi, edi
je 0x44146d
test ebx, ebx
je 0x441463
mov ecx, dword [esp]
mov ecx, dword [ecx + 0x10]
shr ecx, 1
mov edx, dword [edi]
cmp edx, ecx
jb 0x4413a6
mov edx, ecx
test edx, edx
je 0x441456
add eax, 0x2c
mov ecx, edx
and ecx, 3
je 0x4413ec
mov dword [esp + 0xc], edx
xor edi, edi
nop
nop
movzx ebp, word [eax]
xor edx, edx
test bp, bp
setne dl
lea eax, [eax + edx*2]
mov word [ebx], bp
add ebx, 2
inc edi
cmp ecx, edi
jne 0x4413c0
mov edx, dword [esp + 0xc]
mov ebp, edx
sub ebp, edi
mov edi, dword [esp + 0x30]
cmp edx, 4
jae 0x441400
jmp 0x441456
mov ebp, edx
cmp edx, 4
jb 0x441456
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, word [eax]
xor ecx, ecx
test dx, dx
setne cl
lea edi, [eax + ecx*2]
mov word [ebx], dx
movzx eax, word [eax + ecx*2]
xor ecx, ecx
test ax, ax
setne cl
lea edx, [edi + ecx*2]
mov word [ebx + 2], ax
movzx eax, word [edi + 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
add ebx, 8
lea eax, [edi + eax*2]
add ebp, 0xfffffffc
jne 0x441400
mov edi, dword [esp + 0x30]
mov word [ebx], 0
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov eax, dword [esp]
mov eax, dword [eax + 0x10]
shr eax, 1
mov dword [edi], eax
mov edi, dword [esp + 0x34]
test edi, edi
je 0x44147d
mov eax, dword [esp]
mov eax, dword [eax + 0x14]
mov dword [edi], eax
mov ebx, dword [esp + 0x38]
test ebx, ebx
mov edi, dword [esp + 0x3c]
je 0x441493
mov eax, dword [esp]
mov eax, dword [eax + 0x18]
shr eax, 1
mov dword [ebx], eax
test edi, edi
je 0x4414a1
mov eax, dword [esp]
mov eax, dword [eax + 0x1c]
shr eax, 1
mov dword [edi], eax
test edx, edx
je 0x4414ad
mov eax, dword [esp]
mov eax, dword [eax + 0x20]
mov dword [edx], eax
test ecx, ecx
je 0x4414bb
mov eax, dword [esp]
mov eax, dword [eax + 0x24]
shr eax, 1
mov dword [ecx], eax
cmp dword [esp + 0x48], 0
je 0x4414ce
mov eax, dword [esp]
mov eax, dword [eax + 0x28]
mov ecx, dword [esp + 0x48]
mov dword [ecx], eax
push dword [esp]
call fcn.0043a930
add esp, 4
mov eax, esi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret