Function at 0x441330
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x29c
mov ebx, dword [0x457784]
mov ebp, dword [0x457780]
mov eax, ebp
or eax, ebx
jne 0x441444
mov dword [esp + 0x94], 0x49c64bde
mov dword [esp + 0x98], 0x45d247d4
mov dword [esp + 0x9c], 0x419043d0
mov dword [esp + 0xa0], 0x7dea7fdc
mov dword [esp + 0xa4], 0x797a7be8
mov word [esp + 0xa8], 0
mov dword [esp + 0x54], 0
mov eax, dword [esp + 0x54]
cmp eax, 0x15
ja 0x44141d
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x54]
movzx edx, byte [esp + ecx + 0x94]
mov ecx, eax
xor ecx, 0xacaff693
add eax, eax
and eax, 0x595fed26
mov esi, eax
and esi, ecx
xor eax, ecx
lea ecx, [eax + esi*2]
lea eax, [ecx + edx]
and ecx, edx
mov edx, eax
xor edx, ecx
mov esi, ecx
not esi
and eax, esi
add eax, eax
sub eax, edx
mov edx, eax
not edx
and edx, ecx
and eax, esi
sub eax, edx
mov dword [esp + 0x19c], eax
mov eax, dword [esp + 0x19c]
add al, 0x21
mov ecx, dword [esp + 0x54]
mov byte [esp + ecx + 0x94], al
inc dword [esp + 0x54]
mov eax, dword [esp + 0x54]
cmp eax, 0x16
jb 0x4413b0
lea eax, [esp + 0x94]
push eax
call fcn.00440fe0
add esp, 4
mov ebp, eax
mov dword [0x457784], edx
mov dword [0x457780], eax
or eax, edx
je 0x441515
mov ebx, edx
lea eax, [esp + 0x54]
push 0x40
push eax
push ebx
push ebp
call fcn.00440dc0
add esp, 0x10
test eax, eax
js 0x441515
mov eax, dword [esp + 0x90]
mov ecx, eax
sar ecx, 0x1f
add eax, ebp
adc ecx, ebx
lea edx, [esp + 0x94]
push 0x108
push edx
push ecx
push eax
call fcn.00440dc0
add esp, 0x10
xor edi, edi
test eax, eax
js 0x441517
cmp dword [esp + 0x120], 0
je 0x441517
mov eax, dword [esp + 0x11c]
mov esi, 0
test eax, eax
je 0x441519
add eax, ebp
mov ecx, ebx
adc ecx, 0
lea edx, [esp + 0x2c]
push 0x28
push edx
push ecx
push eax
call fcn.00440dc0
add esp, 0x10
test eax, eax
js 0x441515
mov ecx, dword [esp + 0x40]
lea esi, [ecx*4]
mov eax, 0xffffffff
cmp ecx, 0x40000000
jae 0x4414de
mov eax, esi
push eax
call fcn.0040c580
add esp, 4
mov edx, dword [esp + 0x48]
add edx, ebp
mov ecx, ebx
adc ecx, 0
push esi
mov dword [esp + 0x10], eax
push eax
push ecx
push edx
call fcn.00440dc0
add esp, 0x10
test eax, eax
js 0x441528
mov eax, dword [esp + 0x40]
test eax, eax
jns 0x441531
mov eax, 0xffffffff
jmp 0x441533
xor edi, edi
xor esi, esi
mov eax, edi
mov edx, esi
add esp, 0x29c
pop esi
pop edi
pop ebx
pop ebp
ret
xor edi, edi
xor esi, esi
jmp 0x441737
add eax, eax
push eax
call fcn.0040c580
add esp, 4
mov esi, dword [esp + 0x44]
add esi, esi
mov ecx, dword [esp + 0x50]
add ecx, ebp
mov edx, ebx
adc edx, 0
push esi
mov dword [esp + 0xc], eax
push eax
push edx
push ecx
call fcn.00440dc0
add esp, 0x10
test eax, eax
js 0x441727
mov ecx, dword [esp + 0x44]
lea esi, [ecx*4]
mov eax, 0xffffffff
cmp ecx, 0x40000000
jae 0x44157f
mov eax, esi
push eax
call fcn.0040c580
add esp, 4
mov edi, eax
mov eax, dword [esp + 0x4c]
add eax, ebp
mov ecx, ebx
adc ecx, 0
push esi
push edi
push ecx
push eax
call fcn.00440dc0
add esp, 0x10
test eax, eax
mov dword [esp + 4], edi
js 0x441715
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
cmp esi, eax
jb 0x4415bb
mov esi, eax
test esi, esi
je 0x441715
xor eax, eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], esi
jmp 0x4415fe
mov eax, 0xb14a5e2
cmp eax, dword [esp + 0x2b0]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
je 0x441748
mov eax, dword [esp + 0x10]
inc eax
cmp eax, esi
je 0x441715
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 + 0x1a0]
push edx
push ecx
push eax
call fcn.00440dc0
add esp, 0x10
cmp eax, 0xbfffffff
ja 0x4415f1
mov ecx, 0xffffffff
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ebx, eax
cmp byte [esp + ecx + 0x19d], 0
lea ecx, [ecx + 1]
lea eax, [eax + 1]
jne 0x441640
mov dword [esp + 0x14], 0x62626013
mov word [esp + 0x18], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 5
ja 0x44169e
mov eax, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 0x14]
add eax, 0x24fa3418
xor eax, edx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x28]
add al, 0x88
mov edx, dword [esp]
mov byte [esp + edx + 0x14], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 6
jb 0x441670
test ecx, ecx
je 0x4415d3
mov edx, dword [esp + 0x14]
mov ebp, 0xb14a5e2
lea esi, [esp + 0x19c]
cmp ecx, 4
jb 0x4416ef
mov eax, ebx
and eax, 0xfffffffc
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 eax, 0xfffffffc
jne 0x4416c0
mov edi, dword [esp + 4]
mov eax, ebp
test cl, 3
je 0x4415d8
and ebx, 3
xor ecx, ecx
nop
movsx eax, byte [esi + ecx]
xor eax, ebp
imul eax, edx
inc ecx
mov ebp, eax
cmp ebx, ecx
jne 0x441700
jmp 0x4415d8
xor edi, edi
xor esi, esi
push dword [esp + 4]
call fcn.0040c590
add esp, 4
jmp 0x44172b
xor edi, edi
xor esi, esi
push dword [esp + 8]
call fcn.0040c590
add esp, 4
push dword [esp + 0xc]
call fcn.0040c590
add esp, 4
jmp 0x441519
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 0x441719