Function at 0x4417e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x78
mov dword [esp + 0x20], ecx
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x2c], 0x100000
mov dword [esp + 0x14], 0
mov dword [esp + 4], 0x101f1e1d
mov word [esp + 8], 0
mov byte [esp + 0xa], 0
xor eax, eax
xor ecx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + ecx + 4]
mov esi, eax
and esi, 0xa
mov edi, ecx
xor edi, 0xf9f82b45
add edi, esi
mov esi, edi
not esi
lea ebx, [edi + esi*2]
inc ebx
xor ebx, edi
and ebx, edx
xor ebx, edi
add bl, 0xa7
mov byte [esp + ecx + 4], bl
inc ecx
add eax, 2
cmp ecx, 7
jne 0x441840
mov eax, dword [esp + 4]
mov ecx, dword [0x452e1c]
test ecx, ecx
je 0x4418ce
xor edx, edx
mov esi, dword [0x452e20]
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0xf3285e74
je 0x4418a0
inc edx
cmp ecx, edx
jne 0x441890
jmp 0x4418ce
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x4418ce
lea eax, [esp + 0x2c]
lea edx, [esp + 0x14]
push 4
push 0x3000
push eax
push 0
push edx
push 0xffffffffffffffff
push 6
push dword [0x452e24]
push ecx
call fcn.00443a10
add esp, 0x24
test eax, eax
mov esi, dword [esp + 0x20]
js 0x441f32
cmp dword [esi + 4], 0
je 0x441ec0
xor edx, edx
cmp dword [esi + 4], 2
mov ebx, 0x7fff
je 0x4418f6
mov ebx, 0
mov dword [esp + 0x54], 0xfffeffff
je 0x441908
mov dword [esp + 0x54], SysStringLen
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x5c], 0
mov edi, 0x10000
mov dword [esp + 0x1c], 0
mov dword [esp], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x30], ebx
jmp 0x441980
mov edi, dword [esp + 0x18]
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x40]
add edi, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
adc edx, dword [esp + 0x4c]
cmp edi, dword [esp + 0x54]
mov eax, edx
sbb eax, ebx
jae 0x441e44
mov dword [esp + 0x38], edx
mov ecx, esi
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x54]
push eax
push edx
push edi
call fcn.00441390
mov edx, dword [esp + 0x38]
cmp eax, 0xbfffffff
ja 0x441e44
mov dword [esp + 0x24], edi
test eax, eax
js 0x441962
cmp dword [esp + 0x60], 0x1000
jne 0x441962
test byte [esp + 0x5c], 0x66
je 0x441962
mov eax, dword [esp + 0x40]
mov dword [esp + 0x28], eax
cmp dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x44]
mov eax, 0
mov dword [esp + 0x34], ecx
sbb eax, ecx
mov edi, dword [esp + 0x24]
jae 0x441b74
mov dword [esp + 4], 0x101f1e1d
lea eax, [esp + 8]
mov byte [eax + 2], 0
mov word [eax], 0
xor eax, eax
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + esi + 4]
mov edi, eax
and edi, 0xa
mov ecx, esi
xor ecx, 0xf9f82b45
add ecx, edi
mov edi, ecx
not edi
lea ebx, [ecx + edi*2]
inc ebx
xor ebx, ecx
and ebx, edx
xor ebx, ecx
add bl, 0xa7
mov byte [esp + esi + 4], bl
inc esi
add eax, 2
cmp esi, 7
jne 0x441a10
mov eax, dword [0x452e1c]
test eax, eax
je 0x441a9a
mov ecx, dword [esp + 4]
xor edx, edx
mov edi, dword [0x452e20]
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + edx*8], 0x731cdbf3
je 0x441a70
inc edx
cmp eax, edx
jne 0x441a60
jmp 0x441a9a
mov eax, dword [edi + edx*8 + 4]
cmp eax, ecx
je 0x441a9a
push 0x8000
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x1c]
push ecx
push 0xffffffffffffffff
push 4
push dword [0x452e24]
push eax
call fcn.00443a10
add esp, 0x1c
mov dword [esp + 0x3c], 0
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x2c], eax
mov dword [esp + 4], 0x101f1e1d
lea eax, [esp + 8]
mov byte [eax + 2], 0
mov word [eax], 0
xor eax, eax
xor ecx, ecx
nop
nop
nop
nop
nop
movzx edx, byte [esp + ecx + 4]
mov esi, eax
and esi, 0xa
mov edi, ecx
xor edi, 0xf9f82b45
add edi, esi
mov esi, edi
not esi
lea ebx, [edi + esi*2]
inc ebx
xor ebx, edi
and ebx, edx
xor ebx, edi
add bl, 0xa7
mov byte [esp + ecx + 4], bl
inc ecx
add eax, 2
cmp ecx, 7
jne 0x441ad0
mov eax, dword [esp + 4]
mov ecx, dword [0x452e1c]
test ecx, ecx
mov ebx, dword [esp + 0x30]
je 0x441b30
xor edx, edx
mov edi, dword [0x452e20]
mov esi, dword [esp + 0x20]
cmp dword [edi + edx*8], 0xf3285e74
je 0x441b36
inc edx
cmp ecx, edx
jne 0x441b20
jmp 0x441b64
mov esi, dword [esp + 0x20]
jmp 0x441b64
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, eax
je 0x441b64
push 4
push 0x3000
lea eax, [esp + 0x34]
push eax
push 0
lea eax, [esp + 0x24]
push eax
push 0xffffffffffffffff
push 6
push dword [0x452e24]
push ecx
call fcn.00443a10
add esp, 0x24
test eax, eax
mov edx, dword [esp + 0x38]
mov edi, dword [esp + 0x24]
js 0x441e44
mov ecx, esi
lea eax, [esp + 0x68]
push eax
push dword [esp + 0x38]
push dword [esp + 0x30]
push dword [esp + 0x20]
push edx
push edi
call fcn.00441650
test eax, eax
jns 0x441b9d
cmp eax, 0x8000000d
jne 0x44195a
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
mov edx, dword [ebp + 0x10]
cmp eax, edx
sbb ecx, 0
mov edi, dword [esp + 0x18]
jb 0x44195e
push dword [ebp + 0x14]
push edx
push dword [ebp + 0xc]
push eax
push dword [esp + 0x24]
lea eax, [esp + 0x18]
push eax
call fcn.00441f80
add esp, 0x18
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0x58], ecx
cmp eax, ecx
je 0x441e1d
mov dword [esp + 0x64], eax
mov esi, eax
mov ecx, dword [esp]
mov edx, dword [esp + 0x24]
jmp 0x441c47
push dword [esp]
call fcn.0040cb70
add esp, 4
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x1c]
lea eax, [ecx + eax*8]
mov dword [esp + 0x1c], eax
mov edi, ecx
mov eax, dword [esp + 0x10]
add edi, eax
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
mov dword [ecx + eax], ebx
mov ebx, eax
mov eax, dword [esp + 0x34]
mov dword [ecx + ebx + 4], eax
add edi, 8
add esi, 4
cmp esi, dword [esp + 0x58]
je 0x441ddb
mov ebx, dword [esi]
sub ebx, dword [esp + 0x14]
mov eax, ebx
sar eax, 0x1f
add ebx, edx
mov dword [esp + 0x28], ebx
adc eax, dword [esp + 0x38]
mov dword [esp + 0x34], eax
mov eax, edi
sub eax, ecx
cmp edi, dword [esp + 0x1c]
jne 0x441c26
mov dword [esp], ecx
mov dword [esp + 0x10], eax
mov ecx, eax
sar ecx, 3
lea edx, [ecx + 1]
mov eax, ecx
shr eax, 1
add eax, ecx
cmp eax, edx
ja 0x441c85
mov eax, edx
mov ebx, eax
and ebx, 8
mov ecx, eax
or ecx, 8
imul ecx, ebx
xor ebx, 8
mov dword [esp + 0x1c], eax
and eax, 0xfffffff7
imul eax, ebx
add ecx, eax
push ecx
call fcn.0040cb60
add esp, 4
mov ecx, eax
mov edx, dword [esp]
test edx, edx
je 0x441c0f
cmp ecx, edx
mov dword [esp + 0x50], ecx
jbe 0x441d82
cmp edi, ecx
jbe 0x441d82
cmp dword [esp + 0x10], 0
je 0x441c00
mov dword [esp + 0x18], edi
mov eax, dword [esp]
mov edx, dword [esp + 0x10]
add eax, edx
dec eax
mov ecx, dword [esp + 0x50]
add ecx, edx
dec ecx
mov edi, edx
and edi, 7
je 0x441d14
neg edi
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [eax + edx]
mov byte [ecx + edx], bl
dec edx
cmp edi, edx
jne 0x441d00
add eax, edx
add ecx, edx
add edx, dword [esp + 0x10]
mov edi, dword [esp]
sub edi, dword [esp + 0x18]
cmp edi, 0xfffffff8
ja 0x441c00
neg edx
xor edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [eax + edi]
mov byte [ecx + edi], bl
movzx ebx, byte [eax + edi - 1]
mov byte [ecx + edi - 1], bl
movzx ebx, byte [eax + edi - 2]
mov byte [ecx + edi - 2], bl
movzx ebx, byte [eax + edi - 3]
mov byte [ecx + edi - 3], bl
movzx ebx, byte [eax + edi - 4]
mov byte [ecx + edi - 4], bl
movzx ebx, byte [eax + edi - 5]
mov byte [ecx + edi - 5], bl
movzx ebx, byte [eax + edi - 6]
mov byte [ecx + edi - 6], bl
movzx ebx, byte [eax + edi - 7]
mov byte [ecx + edi - 7], bl
add edi, 0xfffffff8
cmp edx, edi
jne 0x441d30
jmp 0x441c00
mov eax, ecx
mov ecx, dword [esp + 0x10]
shr ecx, 2
mov ebx, edx
mov edi, eax
xchg esi, ebx
rep movsd dword es:[edi], dword [esi]
xchg esi, ebx
mov ecx, edx
mov edi, dword [esp + 0x10]
mov edx, edi
and edx, 0xfffffffc
lea ebx, [eax + edx]
add edx, ecx
mov ecx, edi
shr ecx, 1
and ecx, 1
mov eax, edx
mov dword [esp + 0x18], ebx
mov edi, ebx
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
test byte [esp + 0x10], 1
je 0x441c00
mov eax, dword [esp + 0x10]
and eax, 2
movzx ecx, byte [edx + eax]
mov edx, dword [esp + 0x18]
mov byte [edx + eax], cl
jmp 0x441c00
mov eax, dword [ebp + 8]
mov dword [eax + 4], edi
mov dword [eax], ecx
mov edx, dword [esp + 0x1c]
mov dword [eax + 8], edx
mov eax, dword [esp + 0x64]
test eax, eax
je 0x441e34
mov dword [esp], ecx
cmp eax, dword [esp + 0x58]
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x30]
je 0x44195e
push eax
call fcn.0040cb70
add esp, 4
mov dword [esp + 4], 0
jmp 0x44195e
mov eax, dword [ebp + 8]
mov dword [eax + 4], edi
mov ecx, dword [esp]
mov dword [eax], ecx
mov ecx, dword [esp + 0x1c]
mov dword [eax + 8], ecx
jmp 0x44195e
mov dword [esp], ecx
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x30]
jmp 0x44195e
mov dword [esp + 4], 0x101f1e1d
mov word [esp + 8], 0
mov byte [esp + 0xa], 0
xor eax, eax
xor ecx, ecx
nop
nop
nop
nop
movzx edx, byte [esp + ecx + 4]
mov esi, eax
and esi, 0xa
mov edi, ecx
xor edi, 0xf9f82b45
add edi, esi
mov esi, edi
not esi
lea ebx, [edi + esi*2]
inc ebx
xor ebx, edi
and ebx, edx
xor ebx, edi
add bl, 0xa7
mov byte [esp + ecx + 4], bl
inc ecx
add eax, 2
cmp ecx, 7
jne 0x441e60
mov eax, dword [0x452e1c]
test eax, eax
je 0x441f32
mov ecx, dword [esp + 4]
xor edx, edx
mov esi, dword [0x452e20]
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x731cdbf3
je 0x441f08
inc edx
cmp eax, edx
jne 0x441eb0
jmp 0x441f32
push 0xf8eb88df
push dword [0x452e10]
call fcn.00445fa0
add esp, 8
test eax, eax
je 0x441f3f
mov ecx, dword [esi]
test ecx, ecx
je 0x4418e4
mov dword [esp + 4], 0
lea edx, [esp + 4]
push edx
push ecx
call eax
test eax, eax
je 0x441f4b
cmp dword [esp + 4], 0
je 0x441f4b
mov dword [esi + 4], 3
jmp 0x4418e4
mov eax, dword [esi + edx*8 + 4]
cmp eax, ecx
je 0x441f32
push 0x8000
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x1c]
push ecx
push 0xffffffffffffffff
push 4
push dword [0x452e24]
push eax
call fcn.00443a10
add esp, 0x1c
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
mov dword [esi + 4], 1
jmp 0x4418e4
lea eax, [esp + 0x48]
push eax
call fcn.00446850
add esp, 4
test al, al
je 0x4418e4
mov eax, dword [esp + 0x48]
mov ecx, 2
cmp eax, 3
je 0x441f70
mov ecx, eax
mov dword [esi + 4], ecx
jmp 0x4418e4