Function at 0x441590
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x2a4
mov ebx, dword [0x4573f4]
mov ebp, dword [0x4573f0]
mov eax, ebp
or eax, ebx
jne 0x441682
mov dword [esp + 0x9c], 0x19a61bae
mov dword [esp + 0xa0], 0xe552e7b4
mov dword [esp + 0xa4], 0xe110e350
mov dword [esp + 0xa8], 0xed5aef4c
mov dword [esp + 0xac], 0xe9eaeb58
mov dword [esp + 0x5c], 0
mov eax, dword [esp + 0x5c]
cmp eax, 0x13
ja 0x44165b
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x5c]
movzx ecx, byte [esp + ecx + 0x9c]
mov edx, eax
xor edx, 0x836a357b
mov esi, eax
xor esi, 0x7c95ca84
or eax, 0x36a357b
and eax, esi
lea eax, [edx + eax*2]
lea edx, [eax + ecx]
and eax, ecx
add eax, eax
sub edx, eax
mov dword [esp + 0x1a4], edx
mov eax, dword [esp + 0x1a4]
add al, 0x99
mov ecx, dword [esp + 0x5c]
mov byte [esp + ecx + 0x9c], al
inc dword [esp + 0x5c]
mov eax, dword [esp + 0x5c]
cmp eax, 0x14
jb 0x441600
lea eax, [esp + 0x9c]
push eax
call fcn.00441230
add esp, 4
mov ebp, eax
mov dword [0x4573f4], edx
mov dword [0x4573f0], eax
or eax, edx
je 0x441753
mov ebx, edx
lea eax, [esp + 0x5c]
push 0x40
push eax
push ebx
push ebp
call fcn.00440fc0
add esp, 0x10
test eax, eax
js 0x441753
mov eax, dword [esp + 0x98]
mov ecx, eax
sar ecx, 0x1f
add eax, ebp
adc ecx, ebx
lea edx, [esp + 0x9c]
push 0x108
push edx
push ecx
push eax
call fcn.00440fc0
add esp, 0x10
xor edi, edi
test eax, eax
js 0x441755
cmp dword [esp + 0x128], 0
je 0x441755
mov eax, dword [esp + 0x124]
mov esi, 0
test eax, eax
je 0x441757
add eax, ebp
mov ecx, ebx
adc ecx, 0
lea edx, [esp + 0x34]
push 0x28
push edx
push ecx
push eax
call fcn.00440fc0
add esp, 0x10
test eax, eax
js 0x441753
mov ecx, dword [esp + 0x48]
lea esi, [ecx*4]
mov eax, 0xffffffff
cmp ecx, 0x40000000
jae 0x44171c
mov eax, esi
push eax
call fcn.0040c690
add esp, 4
mov edx, dword [esp + 0x50]
add edx, ebp
mov ecx, ebx
adc ecx, 0
push esi
mov dword [esp + 0x10], eax
push eax
push ecx
push edx
call fcn.00440fc0
add esp, 0x10
test eax, eax
js 0x441766
mov eax, dword [esp + 0x48]
test eax, eax
jns 0x44176f
mov eax, 0xffffffff
jmp 0x441771
xor edi, edi
xor esi, esi
mov eax, edi
mov edx, esi
add esp, 0x2a4
pop esi
pop edi
pop ebx
pop ebp
ret
xor edi, edi
xor esi, esi
jmp 0x4419c5
add eax, eax
push eax
call fcn.0040c690
add esp, 4
mov esi, dword [esp + 0x4c]
add esi, esi
mov ecx, dword [esp + 0x58]
add ecx, ebp
mov edx, ebx
adc edx, 0
push esi
mov dword [esp + 0xc], eax
push eax
push edx
push ecx
call fcn.00440fc0
add esp, 0x10
test eax, eax
js 0x4419b5
mov ecx, dword [esp + 0x4c]
lea esi, [ecx*4]
mov eax, 0xffffffff
cmp ecx, 0x40000000
jae 0x4417bd
mov eax, esi
push eax
call fcn.0040c690
add esp, 4
mov edi, eax
mov eax, dword [esp + 0x54]
add eax, ebp
mov ecx, ebx
adc ecx, 0
push esi
push edi
push ecx
push eax
call fcn.00440fc0
add esp, 0x10
test eax, eax
mov dword [esp + 0x10], edi
js 0x4419a3
mov esi, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
cmp esi, eax
jb 0x4417f9
mov esi, eax
test esi, esi
je 0x4419a3
xor eax, eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], esi
jmp 0x441840
mov ebp, 0xb14a5e2
cmp ebp, dword [esp + 0x2b8]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x28]
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x24]
je 0x4419d6
mov eax, dword [esp + 0x14]
inc eax
cmp eax, esi
je 0x4419a3
mov dword [esp + 0x14], eax
mov eax, dword [edi + eax*4]
add eax, ebp
mov ecx, ebx
adc ecx, 0
push 0x100
lea edx, [esp + 0x1a8]
push edx
push ecx
push eax
call fcn.00440fc0
add esp, 0x10
cmp eax, 0xbfffffff
ja 0x441833
mov eax, 0xffffffff
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, edx
cmp byte [esp + eax + 0x1a5], 0
lea eax, [eax + 1]
lea edx, [edx + 1]
jne 0x441880
mov dword [esp + 0x1c], 0x22262489
mov word [esp + 0x20], 0
mov dword [esp], 0
mov edx, dword [esp]
cmp edx, 5
ja 0x4418eb
mov edx, dword [esp]
mov esi, dword [esp]
movzx esi, byte [esp + esi + 0x1c]
mov edi, edx
xor edi, 0xace2bdf9
and edx, 0x2ce2bdf9
lea edx, [edi + edx*2]
xor edx, esi
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x30]
add dl, 0x23
mov esi, dword [esp]
mov byte [esp + esi + 0x1c], dl
inc dword [esp]
mov edx, dword [esp]
cmp edx, 6
jb 0x4418b0
test eax, eax
je 0x441811
mov edx, dword [esp + 0x1c]
mov esi, edx
not esi
mov dword [esp + 0x18], esi
mov ebp, 0xb14a5e2
lea ebx, [esp + 0x1a4]
cmp eax, 1
je 0x441977
and ecx, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [esp + 4], ebx
mov esi, dword [esp + 4]
movsx edi, byte [esi]
xor edi, ebp
mov ebp, edi
or ebp, edx
mov esi, edi
and esi, edx
imul esi, ebp
mov ebp, edi
mov ebx, dword [esp + 0x18]
and ebp, ebx
not edi
and edi, edx
imul edi, ebp
add edi, esi
mov esi, dword [esp + 4]
movsx ebp, byte [esi + 1]
xor ebp, edi
mov esi, ebp
or esi, edx
mov edi, ebp
and edi, edx
imul edi, esi
mov esi, ebp
and esi, ebx
not ebp
and ebp, edx
imul ebp, esi
add ebp, edi
mov ebx, dword [esp + 4]
add ebx, 2
add ecx, 0xfffffffe
jne 0x441920
mov esi, dword [esp + 0x18]
test al, 1
je 0x441816
movsx eax, byte [ebx]
xor ebp, eax
mov eax, ebp
or eax, edx
mov ecx, ebp
and ecx, edx
imul ecx, eax
and esi, ebp
not ebp
and ebp, edx
imul ebp, esi
add ebp, ecx
jmp 0x441816
xor edi, edi
xor esi, esi
push dword [esp + 0x10]
call fcn.0040c6a0
add esp, 4
jmp 0x4419b9
xor edi, edi
xor esi, esi
push dword [esp + 8]
call fcn.0040c6a0
add esp, 4
push dword [esp + 0xc]
call fcn.0040c6a0
add esp, 4
jmp 0x441757
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x14]
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 0x4419a7