Function at 0x441170
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xb0
mov edi, edx
mov dword [esp + 0x14], ecx
mov ebx, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
push ebx
push 0
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov eax, dword [ebp + 8]
add esp, 0xc
test eax, eax
jle 0x4413fe
mov ecx, dword [ebp + 0x14]
lea eax, [eax + eax*2]
lea eax, [edi + eax*8]
mov dword [esp + 0x1c], eax
sub ecx, esi
mov dword [esp + 0x18], ecx
add ebx, esi
jmp 0x4411e2
mov dword [esi + 0xc], eax
movzx eax, byte [esi]
add eax, 0x13
and eax, 0xfffffffc
mov dword [esi + eax], 0
add esi, eax
add edi, 0x18
cmp edi, dword [esp + 0x1c]
jae 0x4413fe
mov dword [esp + 4], ebx
mov eax, dword [edi + 0x10]
mov dword [esp + 8], eax
push dword [edi + 8]
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
mov byte [esi], al
mov cl, byte [edi]
mov byte [esi + 1], cl
mov ecx, dword [edi + 0x10]
mov dword [esp + 0xc], ecx
mov dword [esi + 8], ecx
mov ecx, dword [edi + 0x14]
mov dword [esi + 4], ecx
lea ebx, [esi + 0x10]
movzx eax, al
push eax
push dword [edi + 8]
push ebx
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
cmp dword [edi + 0x14], 0
je 0x441230
mov word [esi + 2], 0
jmp 0x44125e
mov eax, dword [esp + 8]
add eax, 3
and eax, 0xfffffffc
mov ecx, dword [esp + 4]
sub ecx, eax
mov eax, dword [esp + 0x18]
add eax, ecx
mov word [esi + 2], ax
push dword [esp + 0xc]
push dword [edi + 0xc]
mov dword [esp + 0xc], ecx
push ecx
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
mov ecx, dword [edi + 0x14]
mov eax, dword [ebp + 0x18]
or eax, ecx
jne 0x441280
mov dword [esi + 0xc], 0
mov ebx, dword [esp + 4]
jmp 0x4411c3
mov dword [esp + 8], esi
movzx edx, byte [esi]
test edx, edx
mov dword [esp + 0xc], ecx
je 0x441302
lea esi, [edx - 1]
mov ecx, edx
and ecx, 3
xor eax, eax
cmp esi, 3
jb 0x4412db
and edx, 0xfffffffc
xor eax, eax
nop word cs:[eax + eax]
nop dword [eax]
rol eax, 5
movsx esi, byte [ebx]
xor esi, eax
rol esi, 5
movsx eax, byte [ebx + 1]
xor eax, esi
rol eax, 5
movsx esi, byte [ebx + 2]
xor esi, eax
rol esi, 5
movsx eax, byte [ebx + 3]
add ebx, 4
xor eax, esi
add edx, 0xfffffffc
jne 0x4412b0
test ecx, ecx
je 0x441304
xor edx, edx
nop word cs:[eax + eax]
nop dword [eax + eax]
rol eax, 5
movsx esi, byte [ebx + edx]
xor eax, esi
add edx, 1
cmp ecx, edx
jne 0x4412f0
jmp 0x441304
xor eax, eax
mov esi, dword [esp + 8]
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x441370
mov dword [esi + 0xc], eax
xorps xmm0, xmm0
movaps xmmword [esp + 0x90], xmm0
movaps xmmword [esp + 0x80], xmm0
movaps xmmword [esp + 0x70], xmm0
movaps xmmword [esp + 0x60], xmm0
movaps xmmword [esp + 0x50], xmm0
movaps xmmword [esp + 0x40], xmm0
movaps xmmword [esp + 0x30], xmm0
movaps xmmword [esp + 0x20], xmm0
lea eax, [esp + 0x20]
push eax
push ecx
push dword [esp + 0x1c]
call fcn.0041afb0
add esp, 0xc
test eax, eax
mov ebx, dword [esp + 4]
jne 0x441400
mov eax, dword [esi + 0xc]
rol eax, 0x10
xor eax, dword [esp + 0x28]
jmp 0x4411c0
mov edx, dword [esi + 8]
test edx, edx
mov ebx, dword [esp + 4]
je 0x4411c0
add edx, 3
cmp edx, 4
jb 0x4411c0
mov dword [esp + 0x10], edi
shr edx, 2
cmp dword [esp + 0xc], 0
mov ecx, 0
cmove ecx, ebx
lea ebx, [edx - 1]
mov esi, edx
and esi, 3
je 0x4413c1
xor edi, edi
nop dword [eax + eax]
rol eax, 0x10
xor eax, dword [ecx]
add ecx, 4
add edi, 1
cmp esi, edi
jne 0x4413b0
sub edx, edi
cmp ebx, 3
mov esi, dword [esp + 8]
jb 0x4413f2
xor edi, edi
nop dword [eax]
rol eax, 0x10
xor eax, dword [ecx + edi*4]
rol eax, 0x10
xor eax, dword [ecx + edi*4 + 4]
rol eax, 0x10
xor eax, dword [ecx + edi*4 + 8]
rol eax, 0x10
xor eax, dword [ecx + edi*4 + 0xc]
add edi, 4
cmp edx, edi
jne 0x4413d0
mov dword [esi + 0xc], eax
mov edi, dword [esp + 0x10]
jmp 0x44126f
xor eax, eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret