Function at 0x44cd50
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 0x44d03d
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.00464180
mov ebx, eax
lea eax, [eax + 1]
mov dword [esp + 0x1c], eax
add eax, eax
cmp eax, esi
ja 0x44cff5
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 0x44d04e
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.0044c8f0
test eax, eax
jne 0x44d023
test ebx, ebx
mov edx, dword [esp + 0x20]
je 0x44ce2f
xor eax, eax
lea esi, [esi]
movzx ecx, byte [edi + eax + 1]
xor byte [esi + eax], cl
add eax, 1
cmp eax, ebx
jne 0x44ce20
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.0044c8f0
mov edx, dword [esp + 0x20]
test eax, eax
jne 0x44d023
mov ecx, dword [esp + 0x24]
xor eax, eax
mov esi, dword [esp + 0x24]
test ecx, ecx
je 0x44ce7f
movzx ecx, byte [edx + eax]
xor byte [ebp + eax], cl
add eax, 1
cmp eax, esi
jne 0x44ce70
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.004646f0
test eax, eax
je 0x44d023
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov dword [esp], ebp
call fcn.00436a00
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 0x44cf76
mov dword [esp + 0x2c], ebp
mov ebp, dword [esp + 0x1c]
jmp 0x44cf03
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 0x44cf00
mov ebp, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
or eax, edx
jne 0x44cff7
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
add eax, 1
sub ebx, eax
cmp ebx, dword [esp + 0xd4]
ja 0x44cfc2
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.004ae080
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], 0x532f00
mov dword [esp + 8], 0x6e
mov dword [esp + 4], 0x70
mov dword [esp], 4
call fcn.00435290
jmp 0x44cfad
xor ebp, ebp
mov dword [esp + 0x10], 0x21f
mov dword [esp + 0xc], 0x532f00
mov dword [esp + 8], pe_nt_image_headers32
mov dword [esp + 4], 0x70
mov dword [esp], 4
call fcn.00435290
mov dword [esp], ebp
mov ebx, 0xffffffff
call fcn.004ae080
add esp, 0xbc
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
call fcn.00459a20
mov dword [esp + 0xe8], eax
jmp 0x44cd77
mov dword [esp + 0x10], 0x1e1
mov dword [esp + 0xc], 0x532f00
mov dword [esp + 8], 0x41
mov dword [esp + 4], 0x70
mov dword [esp], 4
call fcn.00435290
jmp 0x44d023