Function at 0x441b40
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x278
mov ebx, dword [0x4578bc]
mov ebp, dword [0x4578b8]
mov eax, ebp
or eax, ebx
jne 0x441c1d
mov dword [esp + 0x48], 0xf37ef166
mov dword [esp + 0x4c], 0xef7aed70
mov dword [esp + 0x50], 0xeb3ce97c
mov dword [esp + 0x54], 0xe772e578
mov dword [esp + 0x58], 0xe3e2e174
mov byte [esp + 0x5c], 0
xor eax, eax
xor ecx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + ecx + 0x48]
mov esi, eax
and esi, 0x1c
mov ebx, ecx
xor ebx, 0xf9797cae
lea edi, [esi + ebx]
add esi, ebx
add esi, 0xfe
mov ebx, 0xaf009701
sub ebx, edi
xor ebx, edx
mov ebp, 0x2f009701
sub ebp, edi
or ebp, ebx
add ebp, edi
lea ebx, [ebp*2 - 0x5e012e02]
mov ebp, 1
sub ebp, edi
and ebp, ebx
not ebx
and ebx, esi
add ebx, edx
sub ebx, ebp
add bl, 0xa4
mov byte [esp + ecx + 0x48], bl
inc ecx
add eax, 2
cmp ecx, 0x15
jne 0x441ba0
lea eax, [esp + 0x48]
push eax
call fcn.004417c0
add esp, 4
mov ebp, eax
mov dword [0x4578bc], edx
mov dword [0x4578b8], eax
or eax, edx
je 0x441cf7
mov ebx, edx
lea eax, [esp + 0x148]
push 0x40
push eax
push ebx
push ebp
call fcn.004415f0
add esp, 0x10
test eax, eax
js 0x441cf7
mov eax, dword [esp + 0x184]
mov ecx, eax
sar ecx, 0x1f
add eax, ebp
adc ecx, ebx
add eax, 0x18
adc ecx, 0
lea edx, [esp + 0x188]
push 0xf0
push edx
push ecx
push eax
call fcn.004415f0
add esp, 0x10
xor edi, edi
test eax, eax
js 0x441cf9
cmp dword [esp + 0x1fc], 0
je 0x441cf9
mov eax, dword [esp + 0x1f8]
mov esi, 0
test eax, eax
je 0x441cfb
add eax, ebp
mov ecx, ebx
adc ecx, 0
lea edx, [esp + 0x20]
push 0x28
push edx
push ecx
push eax
call fcn.004415f0
add esp, 0x10
test eax, eax
js 0x441cf7
mov ecx, dword [esp + 0x34]
lea esi, [ecx*4]
mov eax, 0xffffffff
cmp ecx, 0x40000000
jae 0x441cc0
mov eax, esi
push eax
call fcn.0040c560
add esp, 4
mov edx, dword [esp + 0x3c]
add edx, ebp
mov ecx, ebx
adc ecx, 0
push esi
mov dword [esp + 0x10], eax
push eax
push ecx
push edx
call fcn.004415f0
add esp, 0x10
test eax, eax
js 0x441d0a
mov eax, dword [esp + 0x34]
test eax, eax
jns 0x441d13
mov eax, 0xffffffff
jmp 0x441d15
xor edi, edi
xor esi, esi
mov eax, edi
mov edx, esi
add esp, 0x278
pop esi
pop edi
pop ebx
pop ebp
ret
xor edi, edi
xor esi, esi
jmp 0x441f07
add eax, eax
push eax
call fcn.0040c560
add esp, 4
mov esi, dword [esp + 0x38]
add esi, esi
mov ecx, dword [esp + 0x44]
add ecx, ebp
mov edx, ebx
adc edx, 0
push esi
mov dword [esp + 0xc], eax
push eax
push edx
push ecx
call fcn.004415f0
add esp, 0x10
test eax, eax
js 0x441ef7
mov esi, dword [esp + 0x38]
mov eax, 0xffffffff
cmp esi, 0x40000000
jae 0x441d5f
lea eax, [esi*4]
push eax
call fcn.0040c560
add esp, 4
mov edi, eax
mov eax, esi
and eax, 0xfffffffb
mov ecx, esi
and ecx, 4
or esi, 4
imul esi, ecx
xor ecx, 4
imul ecx, eax
add esi, ecx
mov eax, dword [esp + 0x40]
add eax, ebp
mov ecx, ebx
adc ecx, 0
push esi
push edi
push ecx
push eax
call fcn.004415f0
add esp, 0x10
test eax, eax
mov dword [esp + 4], edi
js 0x441ee5
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
cmp esi, eax
jb 0x441db3
mov esi, eax
test esi, esi
je 0x441ee5
xor eax, eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], esi
jmp 0x441df6
mov ebx, 0xfb520141
cmp ebx, dword [esp + 0x28c]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
je 0x441f18
mov eax, dword [esp + 0x10]
inc eax
cmp eax, esi
je 0x441ee5
mov dword [esp + 0x10], eax
mov eax, dword [edi + eax*4]
add eax, ebp
mov ecx, ebx
adc ecx, 0
push 0x100
lea edx, [esp + 0x4c]
push edx
push ecx
push eax
call fcn.004415f0
add esp, 0x10
test eax, eax
jns 0x441e23
cmp eax, 0x8000000d
jne 0x441de9
mov ecx, 0xffffffff
xor edx, edx
nop
nop
nop
nop
nop
nop
mov eax, edx
cmp byte [esp + ecx + 0x49], 0
lea ecx, [ecx + 1]
lea edx, [edx + 1]
jne 0x441e30
mov dword [esp], 0x22262489
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
mov ebx, edx
add bl, 0xb9
xor bl, byte [esp + edx]
add bl, 0x63
mov byte [esp + edx], bl
inc edx
cmp edx, 4
jne 0x441e50
test ecx, ecx
je 0x441dcb
mov edx, dword [esp]
mov ebp, 0xfb520141
lea esi, [esp + 0x48]
cmp ecx, 4
jb 0x441ebf
mov ebx, eax
and ebx, 0xfffffffc
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movsx edi, byte [esi]
xor edi, ebp
imul edi, edx
movsx ebp, byte [esi + 1]
xor ebp, edi
imul ebp, edx
movsx edi, byte [esi + 2]
xor edi, ebp
imul edi, edx
movsx ebp, byte [esi + 3]
add esi, 4
xor ebp, edi
imul ebp, edx
add ebx, 0xfffffffc
jne 0x441e90
mov edi, dword [esp + 4]
mov ebx, ebp
test cl, 3
je 0x441dd0
and eax, 3
xor ecx, ecx
nop
movsx ebx, byte [esi + ecx]
xor ebx, ebp
imul ebx, edx
inc ecx
mov ebp, ebx
cmp eax, ecx
jne 0x441ed0
jmp 0x441dd0
xor edi, edi
xor esi, esi
push dword [esp + 4]
call fcn.0040c570
add esp, 4
jmp 0x441efb
xor edi, edi
xor esi, esi
push dword [esp + 8]
call fcn.0040c570
add esp, 4
push dword [esp + 0xc]
call fcn.0040c570
add esp, 4
jmp 0x441cfb
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
movzx eax, word [eax + ecx*2]
mov ecx, dword [esp + 0xc]
add ebp, dword [ecx + eax*4]
adc ebx, 0
mov edi, ebp
mov esi, ebx
jmp 0x441ee9