Function at 0x4417e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xbc
mov ebp, dword [esp + 0xe8]
mov edi, dword [esp + 0xd8]
mov esi, dword [esp + 0xdc]
test ebp, ebp
je 0x441acd
mov ebx, dword [esp + 0xec]
mov eax, dword [esp + 0xec]
test ebx, ebx
cmove eax, dword [esp + 0xe8]
mov dword [esp + 0xec], eax
mov eax, dword [esp + 0xe8]
mov dword [esp], eax
call fcn.00458c20
mov ebx, eax
lea eax, [eax + 1]
mov dword [esp + 0x1c], eax
add eax, eax
cmp eax, esi
ja 0x441a85
lea eax, [esi - 1]
mov dword [esp + 0x24], eax
sub dword [esp + 0x24], ebx
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sub.msvcrt.dll_malloc
test eax, eax
mov ebp, eax
je 0x441ade
mov eax, dword [esp + 0x1c]
lea esi, [esp + 0x30]
mov dword [esp + 4], ebx
mov dword [esp], esi
lea edx, [edi + eax]
mov eax, dword [esp + 0xec]
mov dword [esp + 8], edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0xc], eax
call fcn.00441380
test eax, eax
jne 0x441ab3
test ebx, ebx
mov edx, dword [esp + 0x20]
je 0x4418bf
xor eax, eax
lea esi, [esi]
movzx ecx, byte [edi + eax + 1]
xor byte [esi + eax], cl
add eax, 1
cmp eax, ebx
jne 0x4418b0
mov eax, dword [esp + 0xec]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], esi
mov dword [esp], ebp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x20], edx
mov dword [esp + 4], eax
call fcn.00441380
mov edx, dword [esp + 0x20]
test eax, eax
jne 0x441ab3
mov ecx, dword [esp + 0x24]
xor eax, eax
mov esi, dword [esp + 0x24]
test ecx, ecx
je 0x44190f
movzx ecx, byte [edx + eax]
xor byte [ebp + eax], cl
add eax, 1
cmp eax, esi
jne 0x441900
mov eax, dword [esp + 0xe8]
lea esi, [esp + 0x70]
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], esi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xe4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xe0]
mov dword [esp], eax
call fcn.00459190
test eax, eax
je 0x441ab3
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov dword [esp], ebp
call fcn.0042b500
mov edx, 1
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], eax
movzx eax, byte [edi]
or dword [esp + 0x28], eax
cmp ebx, dword [esp + 0x24]
jae 0x441a06
mov dword [esp + 0x2c], ebp
mov ebp, dword [esp + 0x1c]
jmp 0x441993
add ebp, 1
mov eax, dword [esp + 0x2c]
movzx edi, byte [eax + ebx]
mov eax, edi
xor eax, 0xfffffffe
mov ecx, eax
shr cl, 4
and ecx, eax
mov eax, ecx
shr al, 2
and eax, ecx
mov ecx, eax
shr cl, 1
and ecx, eax
mov eax, edi
not eax
movzx esi, cl
mov ecx, eax
mov edi, esi
shr cl, 4
and edi, edx
and ecx, eax
sub esi, 1
mov eax, ecx
and edx, esi
shr al, 2
and eax, ecx
mov ecx, eax
shr cl, 1
mov byte [esp + 0x1c], cl
lea ecx, [edi - 1]
neg edi
and byte [esp + 0x1c], al
and edi, ebx
and dword [esp + 0x20], ecx
mov ebx, ebp
movzx ecx, byte [esp + 0x1c]
or dword [esp + 0x20], edi
not ecx
and ecx, edx
or dword [esp + 0x28], ecx
cmp ebp, dword [esp + 0x24]
jne 0x441990
mov ebp, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
or eax, edx
jne 0x441a87
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
add eax, 1
sub ebx, eax
cmp ebx, dword [esp + 0xd4]
ja 0x441a52
add eax, ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0xd0]
mov dword [esp + 8], ebx
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov dword [esp], ebp
call fcn.0049e1d0
add esp, 0xbc
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x10], 0x212
mov ebx, 0xffffffff
mov dword [esp + 0xc], 0x4c6720
mov dword [esp + 8], 0x6e
mov dword [esp + 4], 0x70
mov dword [esp], 4
call fcn.00429d90
jmp 0x441a3d
xor ebp, ebp
mov dword [esp + 0x10], 0x21f
mov dword [esp + 0xc], 0x4c6720
mov dword [esp + 8], pe_nt_image_headers32
mov dword [esp + 4], 0x70
mov dword [esp], 4
call fcn.00429d90
mov dword [esp], ebp
mov ebx, 0xffffffff
call fcn.0049e1d0
add esp, 0xbc
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
call fcn.0044e4b0
mov dword [esp + 0xe8], eax
jmp 0x441807
mov dword [esp + 0x10], 0x1e1
mov dword [esp + 0xc], 0x4c6720
mov dword [esp + 8], 0x41
mov dword [esp + 4], 0x70
mov dword [esp], 4
call fcn.00429d90
jmp 0x441ab3