Function at 0x440370
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x30
mov dword [esp], 0x32353437
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov eax, 0x1b6f6f60
mov edi, 0x36dedec0
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + eax - 0x1b6f6f60]
mov edx, eax
xor edx, 0xbf7b3e28
mov ecx, edi
and ecx, 0x7ef67c50
lea ebx, [edx + ecx]
add edx, ecx
add edx, 0xe49090a1
mov ecx, esi
not ecx
and edx, ecx
and ecx, 0x879f0dea
and esi, 0x15
or esi, ecx
lea ecx, [ebx + ebx]
add ecx, 0xc9212142
sub ecx, ebx
xor esi, 0x7860f215
add ecx, 0x5f
or ecx, esi
lea esi, [ecx + ecx]
not esi
add esi, ecx
or esi, edx
mov dword [esp + 0x24], esi
mov ecx, dword [esp + 0x24]
lea edx, [ecx + ecx]
mov esi, edx
and esi, 0x3e
sub esi, ecx
and edx, 0xc0
add edx, esi
add dl, 0xe1
mov byte [esp + eax - 0x1b6f6f60], dl
inc eax
add edi, 2
cmp eax, 0x1b6f6f70
jne 0x4403b0
mov esi, dword [esp]
mov eax, dword [0x44c2c8]
test eax, eax
je 0x44048c
xor ecx, ecx
mov edx, dword [0x44c2cc]
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x5fb66e8c
je 0x440460
inc ecx
cmp eax, ecx
jne 0x440450
jmp 0x44048c
mov eax, dword [edx + ecx*8 + 4]
cmp eax, esi
je 0x44048c
lea ecx, [esp + 0x20]
push ecx
push 0
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push 6
push dword [0x44c2d0]
push eax
call fcn.0043c490
add esp, 0x24
mov esi, eax
mov dword [esp], 0x17c36085
mov eax, dword [esp]
lea ecx, [eax + 0x56eef21e]
xor ecx, 0x7f
lea eax, [ecx + eax*2]
add eax, 0xaddde43d
movzx ecx, al
mov dword [esp], 0x17c36062
mov eax, dword [esp]
lea edx, [eax + 0x56eef21e]
xor edx, 0x7f
lea eax, [edx + eax*2]
add eax, 0xaddde43c
shl eax, 8
add eax, 0x100
movzx eax, ax
or eax, ecx
mov dword [esp], 0x17c36062
mov ecx, dword [esp]
lea edx, [ecx + 0x56eef21e]
xor edx, 0x7f
lea ecx, [edx + ecx*2]
add ecx, 0xaddde43c
shl ecx, 0x10
add ecx, 0x10000
mov dword [esp], 0x17c36022
mov edx, dword [esp]
lea edi, [edx + 0x56eef21e]
xor edi, 0x7f
lea edx, [edi + edx*2]
add edx, 0xaddde43c
shl edx, 0x18
and ecx, 0xff0000
or ecx, eax
lea eax, [edx + ecx]
add eax, 0x1000000
mov dword [esp], 0x17c36012
mov ecx, dword [esp]
mov dword [esp], 0x17c36013
mov ecx, dword [esp]
mov dword [esp], 0x17c36014
mov ecx, dword [esp]
mov dword [esp], 0x17c36015
mov ecx, dword [esp]
mov dword [esp], 0x17c36016
mov ecx, dword [esp]
cmp esi, eax
jne 0x4407a0
push dword [esp + 0x20]
call fcn.0043a8c0
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x14], eax
mov dword [esp], 0x32353437
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov ecx, 0x1b6f6f60
mov edx, 0x36dedec0
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [esp + ecx - 0x1b6f6f60]
mov esi, ecx
xor esi, 0xbf7b3e28
mov ebx, edx
and ebx, 0x7ef67c50
lea edi, [esi + ebx]
add esi, ebx
add esi, 0xe49090a1
mov ebx, eax
not ebx
and esi, ebx
and ebx, 0x879f0dea
and eax, 0x15
or eax, ebx
lea ebx, [edi + edi]
add ebx, 0xc9212142
sub ebx, edi
xor eax, 0x7860f215
add ebx, 0x5f
or ebx, eax
lea eax, [ebx + ebx]
not eax
add eax, ebx
or eax, esi
mov dword [esp + 0x24], eax
mov esi, dword [esp + 0x24]
lea eax, [esi + esi]
mov edi, eax
and edi, 0x3e
sub edi, esi
and eax, 0xc0
add eax, edi
add al, 0xe1
mov byte [esp + ecx - 0x1b6f6f60], al
inc ecx
add edx, 2
cmp ecx, 0x1b6f6f70
jne 0x4405b0
mov esi, dword [esp]
mov eax, dword [0x44c2c8]
test eax, eax
je 0x440660
xor ecx, ecx
mov edx, dword [0x44c2cc]
mov ebx, dword [ebp + 0x14]
mov edi, dword [esp + 0x1c]
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x5fb66e8c
je 0x440669
inc ecx
cmp eax, ecx
jne 0x440650
jmp 0x440696
mov ebx, dword [ebp + 0x14]
mov edi, dword [esp + 0x1c]
jmp 0x440696
mov eax, dword [edx + ecx*8 + 4]
cmp eax, esi
je 0x440696
lea ecx, [esp + 0x20]
push ecx
push dword [esp + 0x18]
push edi
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push 6
push dword [0x44c2d0]
push eax
call fcn.0043c490
add esp, 0x24
mov esi, eax
test ebx, ebx
je 0x440797
test esi, esi
js 0x440797
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x440790
mov eax, dword [edi + 0xc]
shr eax, 1
mov ecx, dword [ebx]
cmp ecx, eax
jb 0x4406be
mov ecx, eax
test ecx, ecx
je 0x440787
mov dword [esp + 0x14], esi
add dword [esp + 0x18], 0x10
mov esi, ecx
and esi, 3
je 0x44071a
mov dword [esp + 0x28], ecx
mov ecx, edx
xor edx, edx
mov eax, dword [esp + 0x18]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edi, word [eax]
xor ebx, ebx
test di, di
setne bl
lea eax, [eax + ebx*2]
mov word [ecx], di
add ecx, 2
inc edx
cmp esi, edx
jne 0x4406f0
mov esi, dword [esp + 0x28]
mov edi, esi
sub edi, edx
mov ebx, dword [ebp + 0x14]
mov edx, ecx
mov ecx, esi
jmp 0x440720
mov edi, ecx
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
cmp ecx, 4
jb 0x440787
nop
nop
nop
nop
nop
nop
nop
mov ebx, edx
movzx ecx, word [eax]
xor edx, edx
test cx, cx
setne dl
mov word [ebx], cx
lea ecx, [eax + edx*2]
movzx edx, word [eax + edx*2]
xor eax, eax
test dx, dx
setne al
mov word [ebx + 2], dx
lea edx, [ecx + eax*2]
movzx eax, word [ecx + eax*2]
xor ecx, ecx
test ax, ax
setne cl
mov word [ebx + 4], ax
lea eax, [edx + ecx*2]
movzx ecx, word [edx + ecx*2]
xor edx, edx
test cx, cx
setne dl
lea eax, [eax + edx*2]
mov word [ebx + 6], cx
lea edx, [ebx + 8]
add edi, 0xfffffffc
jne 0x440730
mov ebx, dword [ebp + 0x14]
mov word [edx], 0
mov edi, dword [esp + 0x1c]
mov eax, dword [edi + 0xc]
shr eax, 1
mov dword [ebx], eax
push edi
call fcn.0043a980
add esp, 4
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret