Function at 0x4405d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x80
mov edi, ecx
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x30], 0x100000
mov dword [esp + 0x18], 0
mov dword [esp + 8], 0x700f0e0d
mov word [esp + 0xc], 0
mov byte [esp + 0xe], 0
mov eax, 0xb1d405bd
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax + 0x4e2bfa4b]
lea edx, [eax + 0x2715fd00]
mov esi, eax
and esi, ecx
or edx, ecx
lea ecx, [esi + esi]
not ecx
add ecx, esi
and ecx, edx
mov edx, ecx
not edx
and edx, 0xb5
and ecx, 0x4a
sub ecx, edx
add cl, 4
mov byte [esp + eax + 0x4e2bfa4b], cl
inc eax
cmp eax, 0xb1d405c4
jne 0x440630
mov eax, dword [esp + 8]
mov ecx, dword [0x452b74]
test ecx, ecx
je 0x4406ce
xor edx, edx
mov esi, dword [0x452b78]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x3e416e49
je 0x4406a0
inc edx
cmp ecx, edx
jne 0x440690
jmp 0x4406ce
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x4406ce
lea eax, [esp + 0x30]
lea edx, [esp + 0x18]
push 4
push 0x3000
push eax
push 0
push edx
push 0xffffffffffffffff
push 6
push ecx
push dword [0x452b7c]
call fcn.00442710
add esp, 0x24
test eax, eax
js 0x440e2a
mov eax, dword [edi + 4]
test eax, eax
mov dword [esp + 0x34], edi
jne 0x440766
push 0xbbf966b4
push dword [0x452b68]
call fcn.004454d0
add esp, 8
test eax, eax
je 0x440726
mov ecx, dword [edi]
test ecx, ecx
je 0x440763
mov dword [esp + 8], 0
lea edx, [esp + 8]
push edx
push ecx
call eax
test eax, eax
je 0x44073f
cmp dword [esp + 8], 0
je 0x44073f
mov dword [edi + 4], 3
jmp 0x440763
mov dword [edi + 4], 1
mov dword [esp + 0x1c], 0
mov dword [esp + 0x28], SysStringLen
jmp 0x44078b
lea eax, [esp + 0x50]
push eax
call fcn.00445d00
add esp, 4
test al, al
je 0x440763
mov eax, dword [esp + 0x50]
mov ecx, 2
cmp eax, 3
je 0x440760
mov ecx, eax
mov dword [edi + 4], ecx
mov eax, dword [edi + 4]
mov ecx, 0x7fff
cmp eax, 2
je 0x440775
mov ecx, 0
mov dword [esp + 0x28], 0xfffeffff
je 0x440787
mov dword [esp + 0x28], SysStringLen
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
mov dword [esp + 8], 0xd9dddbc4
mov byte [esp + 0xc], 0
mov eax, 0x7fa038af
mov ecx, 0x5fc750
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + eax - 0x7fa038a7]
mov edi, eax
and edi, 0x5a8008ba
mov edx, ecx
and edx, 0x494005
or edx, edi
lea edi, [ecx - 0x5fc700]
and edi, esi
xor edx, esi
xor edx, 0x25697005
or edx, edi
mov esi, 0x7e211b6b
sub esi, edx
or esi, 1
add esi, edx
add esi, 0x81dee495
mov ebx, esi
and ebx, 2
mov edi, esi
or esi, 2
imul esi, ebx
xor ebx, 2
and edi, 0xfd
imul edi, ebx
xor edx, 1
add edx, esi
add edx, edi
add dl, 0x94
mov byte [esp + eax - 0x7fa038a7], dl
inc eax
dec ecx
cmp eax, 0x7fa038b4
jne 0x4407e0
mov edx, dword [esp + 8]
mov eax, edx
sar eax, 0x1f
cmp edx, dword [esp + 0x28]
mov dword [esp + 0x2c], eax
mov edi, dword [esp + 0x1c]
sbb eax, edi
mov ebx, dword [esp + 0x34]
jae 0x440d68
mov dword [esp + 0x20], 0
mov dword [esp + 0x14], 0
mov dword [esp + 4], 0
jmp 0x4408d0
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 4]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x14]
mov dword [eax], ecx
mov ecx, dword [esp + 0x20]
mov dword [eax + 8], ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, dword [esp + 0x48]
add edx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
adc eax, dword [esp + 0x54]
cmp edx, dword [esp + 0x28]
mov dword [esp + 0x2c], eax
sbb eax, edi
jae 0x440d68
mov dword [esp + 0x40], edx
mov ecx, ebx
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0x3c]
push edx
call fcn.00440130
mov edx, dword [esp + 0x40]
cmp eax, 0xbfffffff
ja 0x440d68
test eax, eax
js 0x4408b0
cmp dword [esp + 0x64], 0x1000
jne 0x4408b0
test byte [esp + 0x60], 0x66
je 0x4408b0
mov esi, dword [esp + 0x48]
cmp dword [esp + 0x30], esi
mov ecx, dword [esp + 0x4c]
mov eax, 0
mov dword [esp + 0x3c], ecx
sbb eax, ecx
jae 0x440ace
mov dword [esp + 8], 0x700f0e0d
lea eax, [esp + 0xc]
mov byte [eax + 2], 0
mov word [eax], 0
mov eax, 0xb1d405bd
nop
movzx ecx, byte [esp + eax + 0x4e2bfa4b]
lea edx, [eax + 0x2715fd00]
mov edi, eax
and edi, ecx
or edx, ecx
lea ecx, [edi + edi]
not ecx
add ecx, edi
and ecx, edx
mov edx, ecx
not edx
and edx, 0xb5
and ecx, 0x4a
sub ecx, edx
add cl, 4
mov byte [esp + eax + 0x4e2bfa4b], cl
inc eax
cmp eax, 0xb1d405c4
jne 0x440950
mov eax, dword [0x452b74]
test eax, eax
je 0x4409ea
mov ecx, dword [esp + 8]
xor edx, edx
mov edi, dword [0x452b78]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + edx*8], 0x16194952
je 0x4409c0
inc edx
cmp eax, edx
jne 0x4409b0
jmp 0x4409ea
mov eax, dword [edi + edx*8 + 4]
cmp eax, ecx
je 0x4409ea
push 0x8000
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x20]
push ecx
push 0xffffffffffffffff
push 4
push eax
push dword [0x452b7c]
call fcn.00442710
add esp, 0x1c
mov dword [esp + 0x44], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x30], esi
mov dword [esp + 8], 0x700f0e0d
lea eax, [esp + 0xc]
mov byte [eax + 2], 0
mov word [eax], 0
mov eax, 0xb1d405bd
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax + 0x4e2bfa4b]
lea edx, [eax + 0x2715fd00]
mov edi, eax
and edi, ecx
or edx, ecx
lea ecx, [edi + edi]
not ecx
add ecx, edi
and ecx, edx
mov edx, ecx
not edx
and edx, 0xb5
and ecx, 0x4a
sub ecx, edx
add cl, 4
mov byte [esp + eax + 0x4e2bfa4b], cl
inc eax
cmp eax, 0xb1d405c4
jne 0x440a20
mov eax, dword [esp + 8]
mov ecx, dword [0x452b74]
test ecx, ecx
je 0x440abe
xor edx, edx
mov edi, dword [0x452b78]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + edx*8], 0x3e416e49
je 0x440a90
inc edx
cmp ecx, edx
jne 0x440a80
jmp 0x440abe
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, eax
je 0x440abe
push 4
push 0x3000
lea eax, [esp + 0x38]
push eax
push 0
lea eax, [esp + 0x28]
push eax
push 0xffffffffffffffff
push 6
push ecx
push dword [0x452b7c]
call fcn.00442710
add esp, 0x24
test eax, eax
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x40]
js 0x440d68
mov ecx, ebx
lea eax, [esp + 0x70]
push eax
push dword [esp + 0x40]
push esi
push dword [esp + 0x24]
push dword [esp + 0x3c]
push edx
call fcn.00440440
test eax, eax
jns 0x440af7
cmp eax, 0x8000000d
jne 0x4408b0
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov edx, dword [ebp + 0x10]
cmp eax, edx
sbb ecx, 0
jb 0x4408b0
push dword [ebp + 0x14]
push edx
push dword [ebp + 0xc]
push eax
push dword [esp + 0x28]
lea eax, [esp + 0x1c]
push eax
call fcn.00440e40
add esp, 0x18
mov esi, dword [esp + 8]
mov eax, dword [esp + 0xc]
mov dword [esp + 0x5c], eax
cmp esi, eax
je 0x44088c
mov dword [esp + 0x1c], edi
mov dword [esp + 0x68], esi
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 4]
jmp 0x440b94
push dword [esp + 0x14]
call fcn.0040c830
add esp, 4
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x20]
lea eax, [ecx + eax*8]
mov dword [esp + 0x20], eax
mov edx, ecx
add edx, ebx
mov edi, ebx
mov ebx, dword [esp + 0x3c]
mov dword [ecx + edi], ebx
mov eax, dword [esp + 0x6c]
mov dword [ecx + edi + 4], eax
add edx, 8
add esi, 4
cmp esi, dword [esp + 0x5c]
je 0x440d17
mov ebx, dword [esi]
sub ebx, dword [esp + 0x18]
mov eax, ebx
sar eax, 0x1f
add ebx, dword [esp + 0x40]
mov dword [esp + 0x3c], ebx
adc eax, dword [esp + 0x2c]
mov dword [esp + 0x6c], eax
mov ebx, edx
sub ebx, ecx
cmp edx, dword [esp + 0x20]
jne 0x440b73
mov dword [esp + 4], edx
mov dword [esp + 0x14], ecx
mov ecx, ebx
sar ecx, 3
lea eax, [ecx + 1]
mov edx, ecx
shr edx, 1
add edx, ecx
cmp edx, eax
ja 0x440bd5
mov edx, eax
mov dword [esp + 0x20], edx
lea eax, [edx*8]
push eax
call fcn.0040c820
add esp, 4
mov ecx, eax
mov edx, dword [esp + 0x14]
test edx, edx
je 0x440b64
cmp ecx, edx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x38], ecx
jbe 0x440cc2
cmp dword [esp + 4], ecx
jbe 0x440cc2
test ebx, ebx
je 0x440b50
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x38]
add eax, edx
dec eax
mov ecx, dword [esp + 0x14]
add ecx, edx
dec ecx
mov edi, edx
and edi, 7
je 0x440c54
neg edi
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [ecx + edx]
mov byte [eax + edx], bl
dec edx
cmp edi, edx
jne 0x440c40
add ecx, edx
add eax, edx
add edx, dword [esp + 0x24]
mov edi, dword [esp + 0x14]
sub edi, dword [esp + 4]
cmp edi, 0xfffffff8
ja 0x440b50
neg edx
xor edi, edi
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [ecx + edi]
mov byte [eax + edi], bl
movzx ebx, byte [ecx + edi - 1]
mov byte [eax + edi - 1], bl
movzx ebx, byte [ecx + edi - 2]
mov byte [eax + edi - 2], bl
movzx ebx, byte [ecx + edi - 3]
mov byte [eax + edi - 3], bl
movzx ebx, byte [ecx + edi - 4]
mov byte [eax + edi - 4], bl
movzx ebx, byte [ecx + edi - 5]
mov byte [eax + edi - 5], bl
movzx ebx, byte [ecx + edi - 6]
mov byte [eax + edi - 6], bl
movzx ebx, byte [ecx + edi - 7]
mov byte [eax + edi - 7], bl
add edi, 0xfffffff8
cmp edx, edi
jne 0x440c70
jmp 0x440b50
mov edi, ecx
mov ecx, ebx
shr ecx, 2
mov dword [esp + 4], edx
mov eax, dword [esp + 4]
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov ecx, edx
mov edx, ebx
and edx, 0xfffffffc
mov eax, dword [esp + 0x38]
lea edi, [eax + edx]
add edx, ecx
mov ecx, ebx
shr ecx, 1
and ecx, 1
mov eax, edx
mov dword [esp + 4], edi
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
test bl, 1
je 0x440b50
mov eax, dword [esp + 0x24]
and eax, 2
movzx ecx, byte [edx + eax]
mov edx, dword [esp + 4]
mov byte [edx + eax], cl
jmp 0x440b50
mov eax, dword [ebp + 8]
mov dword [eax + 4], edx
mov dword [eax], ecx
mov esi, dword [esp + 0x20]
mov dword [eax + 8], esi
mov eax, dword [esp + 0x68]
test eax, eax
je 0x440d53
mov dword [esp + 4], edx
mov dword [esp + 0x14], ecx
cmp eax, dword [esp + 0x5c]
mov ebx, dword [esp + 0x34]
je 0x440d5f
push eax
call fcn.0040c830
add esp, 4
mov dword [esp + 8], 0
jmp 0x440d5f
mov dword [esp + 4], edx
mov dword [esp + 0x14], ecx
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x1c]
jmp 0x4408b0
mov dword [esp + 8], 0x700f0e0d
mov word [esp + 0xc], 0
mov byte [esp + 0xe], 0
mov eax, 0xb1d405bd
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax + 0x4e2bfa4b]
lea edx, [eax + 0x2715fd00]
mov esi, eax
and esi, ecx
or edx, ecx
lea ecx, [esi + esi]
not ecx
add ecx, esi
and ecx, edx
mov edx, ecx
not edx
and edx, 0xb5
and ecx, 0x4a
sub ecx, edx
add cl, 4
mov byte [esp + eax + 0x4e2bfa4b], cl
inc eax
cmp eax, 0xb1d405c4
jne 0x440d90
mov eax, dword [0x452b74]
test eax, eax
je 0x440e2a
mov ecx, dword [esp + 8]
xor edx, edx
mov esi, dword [0x452b78]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x16194952
je 0x440e00
inc edx
cmp eax, edx
jne 0x440df0
jmp 0x440e2a
mov eax, dword [esi + edx*8 + 4]
cmp eax, ecx
je 0x440e2a
lea ecx, [esp + 0x44]
lea edx, [esp + 0x18]
push 0x8000
push ecx
push edx
push 0xffffffffffffffff
push 4
push eax
push dword [0x452b7c]
call fcn.00442710
add esp, 0x1c
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10