Function at 0x4401b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov edi, dword [esp + 0x34]
mov dword [esp + 8], 0xd0cfcecd
mov byte [esp + 0xc], 0
mov eax, 0x2d
mov ecx, 0xd2
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + eax - 0x25]
mov edx, ecx
xor edx, eax
and edx, esi
xor edx, eax
add dl, 0x1f
mov byte [esp + eax - 0x25], dl
inc eax
dec ecx
cmp eax, 0x32
jne 0x4401e0
mov esi, dword [esp + 8]
mov eax, dword [0x44ce80]
test eax, eax
je 0x44024e
xor ecx, ecx
mov edx, dword [0x44ce84]
cmp dword [edx + ecx*8], 0x3602324e
je 0x440220
inc ecx
cmp eax, ecx
jne 0x440210
jmp 0x44024e
mov eax, dword [edx + ecx*8 + 4]
cmp eax, esi
je 0x44024e
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push 1
push dword [esp + 0x40]
push dword [esp + 0x40]
push 0x18
push eax
push dword [0x44ce88]
call fcn.0043c030
add esp, 0x24
mov esi, eax
cmp esi, 0xc0000023
jne 0x44049a
push dword [esp + 0x10]
call fcn.004388d0
add esp, 4
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 8], 0xd0cfcecd
mov byte [esp + 0xc], 0
mov edx, 0x2d
mov esi, 0xd2
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebp, byte [esp + edx - 0x25]
mov ebx, esi
xor ebx, edx
and ebx, ebp
xor ebx, edx
add bl, 0x1f
mov byte [esp + edx - 0x25], bl
inc edx
dec esi
cmp edx, 0x32
jne 0x440290
mov esi, dword [esp + 8]
mov edx, dword [0x44ce80]
test edx, edx
je 0x4402e1
mov dword [esp], ecx
mov ecx, esi
xor esi, esi
mov ebp, dword [0x44ce84]
mov ebx, dword [esp + 0x3c]
nop
nop
nop
nop
nop
nop
cmp dword [ebp + esi*8], 0x3602324e
je 0x4402e7
inc esi
cmp edx, esi
jne 0x4402d0
jmp 0x44031f
mov ebx, dword [esp + 0x3c]
jmp 0x440321
mov edx, dword [ebp + esi*8 + 4]
mov esi, ecx
cmp edx, ecx
je 0x440321
lea esi, [esp + 0x10]
push esi
push dword [esp + 4]
push dword [esp + 0xc]
push 1
push dword [esp + 0x40]
push dword [esp + 0x40]
push 0x18
push edx
push dword [0x44ce88]
mov esi, eax
call fcn.0043c030
add esp, 0x24
mov ecx, eax
mov eax, esi
mov esi, ecx
test esi, esi
mov ebp, dword [esp + 0x44]
mov ecx, dword [esp + 4]
js 0x440491
mov edx, dword [esp + 0x38]
test edx, edx
je 0x44041d
test edi, edi
je 0x440416
mov ecx, dword [ecx + 0x10]
shr ecx, 1
mov ebx, dword [edx]
cmp ebx, ecx
jb 0x440352
mov ebx, ecx
test ebx, ebx
je 0x44039e
add eax, 0x14
mov ecx, ebx
and ecx, 3
mov dword [esp], esi
je 0x4403a4
mov dword [esp + 0x14], ebx
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
movzx ebp, word [eax]
xor edx, edx
test bp, bp
setne dl
lea eax, [eax + edx*2]
mov word [edi], bp
add edi, 2
inc esi
cmp ecx, esi
jne 0x440370
mov ebx, dword [esp + 0x14]
mov ecx, ebx
sub ecx, esi
mov ebp, dword [esp + 0x44]
mov edx, dword [esp + 0x38]
mov esi, dword [esp]
jmp 0x4403a6
mov ebx, dword [esp + 0x3c]
jmp 0x44040d
mov ecx, ebx
cmp ebx, 4
mov ebx, dword [esp + 0x3c]
jb 0x44040d
nop
movzx edx, word [eax]
xor ebx, ebx
test dx, dx
setne bl
lea esi, [eax + ebx*2]
mov word [edi], dx
movzx eax, word [eax + ebx*2]
xor edx, edx
test ax, ax
setne dl
lea ebx, [esi + edx*2]
mov word [edi + 2], ax
movzx eax, word [esi + edx*2]
xor edx, edx
test ax, ax
setne dl
lea esi, [ebx + edx*2]
mov word [edi + 4], ax
movzx edx, word [ebx + edx*2]
xor eax, eax
test dx, dx
setne al
mov word [edi + 6], dx
add edi, 8
lea eax, [esi + eax*2]
add ecx, 0xfffffffc
jne 0x4403b0
mov ebx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
mov esi, dword [esp]
mov word [edi], 0
mov ecx, dword [esp + 4]
mov eax, dword [ecx + 0x10]
shr eax, 1
mov dword [edx], eax
test ebx, ebx
je 0x440426
mov eax, dword [ecx + 4]
mov dword [ebx], eax
test ebp, ebp
je 0x440491
mov dword [esp], esi
cmp dword [esp + 0x40], 0
je 0x440488
mov edx, dword [ebp]
mov eax, dword [ecx + 0xc]
cmp edx, eax
jb 0x440440
mov edx, eax
mov esi, dword [ecx + 8]
add esi, ecx
mov ecx, edx
shr ecx, 2
mov eax, esi
mov ebx, dword [esp + 0x40]
mov edi, ebx
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov eax, edx
and eax, 0xfffffffc
add esi, eax
add eax, ebx
mov ecx, edx
shr ecx, 1
and ecx, 1
mov ebx, esi
mov edi, eax
xchg esi, ebx
rep movsw word es:[edi], word [esi]
xchg esi, ebx
mov ecx, dword [esp + 4]
test dl, 1
je 0x440488
and edx, 2
movzx ecx, byte [esi + edx]
mov byte [eax + edx], cl
mov ecx, dword [esp + 4]
mov eax, dword [ecx + 0xc]
mov dword [ebp], eax
mov esi, dword [esp]
push ecx
call fcn.00438920
add esp, 4
mov eax, esi
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret