Function at 0x441120
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov dword [esp + 4], 0x4c4d4a4b
mov dword [esp + 8], 0
mov ebx, dword [esp + 0x2c]
xor eax, eax
xor ecx, ecx
nop
movzx esi, byte [esp + ecx + 4]
mov edi, eax
and edi, 4
mov edx, ecx
xor edx, 0xbadbc4f2
add edx, edi
xor edx, esi
lea esi, [edx + 0x59b52745]
mov edi, esi
and edi, 1
and esi, 0xfe
and edx, 1
or edx, esi
lea edx, [edx + edi*2]
mov byte [esp + ecx + 4], dl
inc ecx
add eax, 2
cmp ecx, 8
jne 0x441140
mov esi, dword [esp + 4]
mov eax, dword [0x44cff0]
test eax, eax
je 0x4411da
xor ecx, ecx
mov edx, dword [0x44cff4]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x484ce391
je 0x4411b0
inc ecx
cmp eax, ecx
jne 0x4411a0
jmp 0x4411da
mov eax, dword [edx + ecx*8 + 4]
cmp eax, esi
je 0x4411da
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push 2
push dword [esp + 0x38]
push 0x14
push eax
push dword [0x44cff8]
call fcn.0043def0
add esp, 0x20
mov esi, eax
cmp esi, 0xc0000023
jne 0x441427
push dword [esp + 0x10]
call fcn.0043b840
add esp, 4
mov dword [esp], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xc], ecx
mov dword [esp + 4], 0x4c4d4a4b
mov dword [esp + 8], 0
xor ebp, ebp
xor edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + edi + 4]
mov edx, ebp
and edx, 4
mov esi, edi
xor esi, 0xbadbc4f2
add esi, edx
xor esi, ecx
lea ecx, [esi + 0x59b52745]
mov edx, ecx
and edx, 1
and ecx, 0xfe
and esi, 1
or esi, ecx
lea ecx, [esi + edx*2]
mov byte [esp + edi + 4], cl
inc edi
add ebp, 2
cmp edi, 8
jne 0x441220
mov esi, dword [esp + 4]
mov edx, dword [0x44cff0]
test edx, edx
je 0x441290
xor edi, edi
mov ecx, dword [0x44cff4]
mov ebp, dword [esp + 0x48]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ecx + edi*8], 0x484ce391
je 0x441296
inc edi
cmp edx, edi
jne 0x441280
jmp 0x4412c8
mov ebp, dword [esp + 0x48]
jmp 0x4412c8
mov edx, dword [ecx + edi*8 + 4]
cmp edx, esi
je 0x4412c8
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 [0x44cff8]
mov edi, eax
call fcn.0043def0
add esp, 0x20
mov esi, eax
mov eax, edi
test esi, esi
js 0x44141c
mov edx, dword [esp + 0x30]
test edx, edx
je 0x4413b9
test ebx, ebx
je 0x4413af
mov ecx, dword [esp]
mov ecx, dword [ecx + 0x10]
shr ecx, 1
mov edi, dword [edx]
cmp edi, ecx
jb 0x4412f4
mov edi, ecx
test edi, edi
je 0x4413a6
add eax, 0x2c
mov ecx, edi
and ecx, 3
je 0x44133e
mov dword [esp + 0xc], edi
xor edi, edi
nop
nop
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 0x441310
mov ecx, dword [esp + 0xc]
mov ebp, ecx
sub ebp, edi
mov edi, ecx
mov edx, dword [esp + 0x30]
cmp edi, 4
jae 0x441350
jmp 0x4413a6
mov ebp, edi
cmp edi, 4
jb 0x4413a6
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 0x441350
mov edx, dword [esp + 0x30]
mov word [ebx], 0
mov ebp, dword [esp + 0x48]
mov eax, dword [esp]
mov eax, dword [eax + 0x10]
shr eax, 1
mov dword [edx], eax
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x4413c9
mov eax, dword [esp]
mov eax, dword [eax + 0x14]
mov dword [ecx], eax
mov ebx, dword [esp + 0x38]
test ebx, ebx
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov edi, dword [esp + 0x3c]
je 0x4413e7
mov eax, dword [esp]
mov eax, dword [eax + 0x18]
shr eax, 1
mov dword [ebx], eax
test edi, edi
je 0x4413f5
mov eax, dword [esp]
mov eax, dword [eax + 0x1c]
shr eax, 1
mov dword [edi], eax
test edx, edx
je 0x441401
mov eax, dword [esp]
mov eax, dword [eax + 0x20]
mov dword [edx], eax
test ecx, ecx
je 0x44140f
mov eax, dword [esp]
mov eax, dword [eax + 0x24]
shr eax, 1
mov dword [ecx], eax
test ebp, ebp
je 0x44141c
mov eax, dword [esp]
mov eax, dword [eax + 0x28]
mov dword [ebp], eax
push dword [esp]
call fcn.0043b890
add esp, 4
mov eax, esi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret